From 81318db6c8e17e8eb2c15f542729d06497325adf Mon Sep 17 00:00:00 2001 From: PavelMakarchuk Date: Thu, 29 Oct 2026 10:43:48 -0400 Subject: [PATCH] Give the saver's credit its 50% rate at negative AGI The first bracket of gov.irs.credits.retirement_saving.rate.joint started at $0, and a single-amount scale returns 0 below its first threshold, so savers_credit_potential was $0 for a negative adjusted gross income. The Form 8880 line 9 table's first row has no lower bound, and 26 U.S.C. 25B(b)(1) sets the rate only by "not over" amounts. The first threshold is now -.inf. Fixes #10538. Co-Authored-By: Claude Opus 5.5 --- ...-10538-savers-credit-negative-agi.fixed.md | 1 + .../credits/retirement_saving/rate/joint.yaml | 4 +- .../savers_credit_potential.yaml | 58 +++++++++++++++++++ 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 changelog.d/fix-10538-savers-credit-negative-agi.fixed.md create mode 100644 policyengine_us/tests/policy/baseline/gov/irs/credits/retirement_saving/savers_credit_potential.yaml diff --git a/changelog.d/fix-10538-savers-credit-negative-agi.fixed.md b/changelog.d/fix-10538-savers-credit-negative-agi.fixed.md new file mode 100644 index 00000000000..f03ce434f9a --- /dev/null +++ b/changelog.d/fix-10538-savers-credit-negative-agi.fixed.md @@ -0,0 +1 @@ +Give the saver's credit its 50% rate when adjusted gross income is negative, as the Form 8880 line 9 table's first row has no lower bound. diff --git a/policyengine_us/parameters/gov/irs/credits/retirement_saving/rate/joint.yaml b/policyengine_us/parameters/gov/irs/credits/retirement_saving/rate/joint.yaml index c3d5ef170b2..960058499e1 100644 --- a/policyengine_us/parameters/gov/irs/credits/retirement_saving/rate/joint.yaml +++ b/policyengine_us/parameters/gov/irs/credits/retirement_saving/rate/joint.yaml @@ -22,8 +22,10 @@ metadata: href: https://www.irs.gov/pub/irs-drop/n-25-67.pdf#page=3 brackets: + # The first row of the Form 8880 line 9 table has no lower bound ("---"), so + # a negative adjusted gross income takes the highest rate. - threshold: - 2018-01-01: 0 + 2018-01-01: -.inf amount: 2018-01-01: 0.5 - threshold: diff --git a/policyengine_us/tests/policy/baseline/gov/irs/credits/retirement_saving/savers_credit_potential.yaml b/policyengine_us/tests/policy/baseline/gov/irs/credits/retirement_saving/savers_credit_potential.yaml new file mode 100644 index 00000000000..3375d7560a2 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/irs/credits/retirement_saving/savers_credit_potential.yaml @@ -0,0 +1,58 @@ +# The Form 8880 line 9 table's first row has no lower bound ("---" to $23,750 +# for single filers in 2025), and 26 U.S.C. 25B(b)(1) sets the rate only by +# "not over" amounts, so a negative AGI takes the 50% rate. +# IRA contributions cannot exceed compensation (26 U.S.C. 219(b)(1)(B)), so the +# contributor is given compensation above the contributions. +- name: Single filer with negative AGI takes the 50% rate. + period: 2025 + input: + people: + person1: + savers_credit_eligible_person: true + ira_compensation: 10_000 + traditional_ira_contributions_desired: 1_000 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: -8_000 + output: + # Form 8880 line 10: $1,000 * 0.5 = $500. + savers_credit_potential: 500 + +- name: Joint filers with AGI just below zero take the 50% rate. + period: 2025 + input: + people: + person1: + savers_credit_eligible_person: true + ira_compensation: 10_000 + traditional_ira_contributions_desired: 2_000 + person2: + savers_credit_eligible_person: true + ira_compensation: 10_000 + traditional_ira_contributions_desired: 1_000 + tax_units: + tax_unit: + members: [person1, person2] + filing_status: JOINT + adjusted_gross_income: -1 + output: + # ($2,000 + $1,000) * 0.5 = $1,500. + savers_credit_potential: 1_500 + +- name: Single filer with zero AGI takes the 50% rate. + period: 2025 + input: + people: + person1: + savers_credit_eligible_person: true + ira_compensation: 10_000 + traditional_ira_contributions_desired: 1_000 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 0 + output: + savers_credit_potential: 500