From feacb1beb1723730d7dd3f8aae8155b54ad2484a Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 8 Nov 2026 16:22:23 -0500 Subject: [PATCH 01/12] Count strike benefits other than gifts in federal gross income Publication 525 counts strike and lockout benefits a union pays as income unless the facts clearly show the union meant them as gifts, and Form 1040 reports them on line 1h from 2022. Publications 596 and 503 make the taxable benefits earned income. - Split strike_benefits into tax_exempt_strike_benefits (the gift part, an input) and taxable_strike_benefits (the rest). - Add taxable_strike_benefits to the federal gross income sources, EITC earned income, adjusted_earnings and the dependent earned income sources. - Pennsylvania subtracts it again (72 P.S. 7301(d)(vi)); Mississippi, Iowa, Alabama and Arkansas add it to their own income bases; Utah, Montana and Arizona now add only the gift part as nontaxable income, so nothing counts twice. Refs #9919 Co-Authored-By: Claude Opus 5.5 --- .../strike-benefits-gross-income.fixed.md | 1 + .../gov/irs/gross_income/sources.yaml | 12 + .../dependent/earned_income_sources.yaml | 13 +- .../tax/income/agi/gross_income_sources.yaml | 13 +- .../gross_income/sources/individual.yaml | 11 + .../income/gross_income/sources/joint.yaml | 11 + .../ia/tax/income/gross_income/sources.yaml | 10 +- .../states/ms/tax/income/income_sources.yaml | 4 + .../gross_income_sources.yaml | 8 +- .../tax/income/nontaxable_income_sources.yaml | 9 + .../nontaxable_income/sources.yaml | 8 +- .../gov/irs/income/strike_benefits.yaml | 258 ++++++++++++++++++ .../al/tax/income/al_strike_benefits.yaml | 22 ++ .../ar/tax/income/ar_strike_benefits.yaml | 23 ++ ..._property_tax_credit_household_income.yaml | 56 +++- ...z_property_tax_credit_strike_benefits.yaml | 23 ++ .../ca/tax/income/ca_adjusted_earnings.yaml | 9 + .../ia/tax/income/ia_strike_benefits.yaml | 23 ++ .../ms/tax/income/ms_strike_benefits.yaml | 23 ++ ...wner_or_renter_credit_strike_benefits.yaml | 44 +++ .../pa/tax/income/pa_strike_benefits.yaml | 23 ++ ...meowner_renter_relief_strike_benefits.yaml | 25 ++ .../test_az_property_tax_credit_household.py | 55 ++-- ...t_az_property_tax_credit_source_reforms.py | 47 +++- .../tests/test_strike_benefits_properties.py | 228 ++++++++++++++++ policyengine_us/tools/default_uprating.py | 1 + .../earned_income/eitc_earned_income.py | 8 + .../gov/irs/income/adjusted_earnings.py | 25 +- .../al/tax/income/al_other_additions.py | 3 +- .../ar/tax/income/ar_other_additions.py | 3 +- ...z_property_tax_credit_nontaxable_income.py | 9 +- .../ca/tax/income/ca_adjusted_earnings.py | 5 +- .../ia/tax/income/ia_other_additions.py | 3 +- .../income/person/misc/strike_benefits.py | 6 + .../person/misc/tax_exempt_strike_benefits.py | 21 ++ .../person/misc/taxable_strike_benefits.py | 24 ++ 36 files changed, 1004 insertions(+), 63 deletions(-) create mode 100644 changelog.d/strike-benefits-gross-income.fixed.md create mode 100644 policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/al/tax/income/al_strike_benefits.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/ar_strike_benefits.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_strike_benefits.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_strike_benefits.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/ms_strike_benefits.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_strike_benefits.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml create mode 100644 policyengine_us/tests/test_strike_benefits_properties.py create mode 100644 policyengine_us/variables/household/income/person/misc/tax_exempt_strike_benefits.py create mode 100644 policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py diff --git a/changelog.d/strike-benefits-gross-income.fixed.md b/changelog.d/strike-benefits-gross-income.fixed.md new file mode 100644 index 00000000000..55aa97fc6aa --- /dev/null +++ b/changelog.d/strike-benefits-gross-income.fixed.md @@ -0,0 +1 @@ +Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources. diff --git a/policyengine_us/parameters/gov/irs/gross_income/sources.yaml b/policyengine_us/parameters/gov/irs/gross_income/sources.yaml index a2474e69e74..2e622484a30 100644 --- a/policyengine_us/parameters/gov/irs/gross_income/sources.yaml +++ b/policyengine_us/parameters/gov/irs/gross_income/sources.yaml @@ -4,6 +4,10 @@ values: - irs_employment_income # Dependent care benefits above the IRC 129 exclusion (Form 1040 line 1e). - taxable_dependent_care_benefits + # Strike and lockout benefits a union pays, in cash or other property, + # unless the facts clearly show the union meant them as gifts (Pub. 525); + # Form 1040 line 1h from 2022. + - taxable_strike_benefits - self_employment_income - sstb_self_employment_income - partnership_s_corp_income @@ -72,3 +76,11 @@ metadata: href: https://www.irs.gov/pub/irs-prior/f1040s1--2024.pdf#page=1 - title: 2024 Instructions for Schedule E (Form 1040), Part III - Income or Loss From Estates and Trusts href: https://www.irs.gov/pub/irs-prior/i1040se--2024.pdf#page=11 + - title: IRS Publication 525 (2025), Taxable and Nontaxable Income - Strike and lockout benefits + href: https://www.irs.gov/pub/irs-prior/p525--2025.pdf#page=36 + - title: IRS Publication 525 (2010), Taxable and Nontaxable Income - Strike and lockout benefits + href: https://www.irs.gov/pub/irs-prior/p525--2010.pdf#page=36 + - title: 2025 Form 1040 instructions, line 1h - Strike or lockout benefits (other than bona fide gifts) + href: https://www.irs.gov/pub/irs-prior/i1040gi--2025.pdf#page=24 + - title: United States v. Kaiser, 363 U.S. 299 (1960) - strike assistance found to be a gift on the facts + href: https://www.govinfo.gov/content/pkg/USREPORTS-363/pdf/USREPORTS-363-299.pdf diff --git a/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml b/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml index 46c4877a2f0..025e9fd452b 100644 --- a/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml +++ b/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml @@ -4,8 +4,10 @@ values: # Form 1040 line 1z (wages): line 1a, the total of Form(s) W-2, box 1, # which leaves out elective deferrals and dependent care benefits, - irs_employment_income - # plus line 1e, taxable dependent care benefits (Form 2441 line 26). + # plus line 1e, taxable dependent care benefits (Form 2441 line 26), - taxable_dependent_care_benefits + # plus line 1h, strike or lockout benefits other than bona fide gifts. + - taxable_strike_benefits # Schedule 1 line 3 (business income, Schedule C). - self_employment_income - sstb_self_employment_income @@ -20,12 +22,13 @@ metadata: href: https://www.law.cornell.edu/uscode/text/26/6012 - title: 26 U.S. Code § 63(c)(5) - limitation on basic standard deduction in the case of certain dependents href: https://www.law.cornell.edu/uscode/text/26/63#c_5 - # Line 1a is the total of Form(s) W-2, box 1 (page 23); an elective - # deferral "isn't included as income in box 1 of your Form W-2" (page - # 25). Worksheet footnote (page 35): "Generally, your earned income is + # Line 1a is the total of Form(s) W-2, box 1 (page 23); line 1h includes + # "Strike or lockout benefits (other than bona fide gifts)" (page 24); an + # elective deferral "isn't included as income in box 1 of your Form W-2" + # (page 25). Worksheet footnote (page 35): "Generally, your earned income is # the total of the amount(s) you reported on Form 1040 or 1040-SR, line # 1z, and Schedule 1, lines 3, 6, 8r, 8t, and 8u minus the amount, if # any, on Schedule 1, line 15." Schedule 1 line 5 (rents, royalties, # partnerships, S corporations and trusts) is not on the list. - - title: "2025 Form 1040 instructions, line 1a and Standard Deduction Worksheet for Dependents #page 23,25,35" + - title: "2025 Form 1040 instructions, lines 1a and 1h and Standard Deduction Worksheet for Dependents #page 23-25,35" href: https://www.irs.gov/pub/irs-prior/i1040gi--2025.pdf#page=23 diff --git a/policyengine_us/parameters/gov/states/al/tax/income/agi/gross_income_sources.yaml b/policyengine_us/parameters/gov/states/al/tax/income/agi/gross_income_sources.yaml index 3fe236f9846..4ea44db0398 100644 --- a/policyengine_us/parameters/gov/states/al/tax/income/agi/gross_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/al/tax/income/agi/gross_income_sources.yaml @@ -22,6 +22,10 @@ values: # Form 40, Part I, line 5: rents, royalties, partnerships, S corporations, # trusts and estates (Alabama Schedule E, Part II). - estate_income + # Part I, other income: "All income is subject to Alabama income tax + # unless specifically exempted by state law" (booklet page 7). Gifts are + # on the list of income not to report; strike benefits are not. + - taxable_strike_benefits - al_other_additions metadata: @@ -39,10 +43,11 @@ metadata: href: https://www.taxformfinder.org/forms/2023/2023-alabama-form-40.pdf#page=2 - title: 2024 Alabama Income Tax Instructions href: https://www.revenue.alabama.gov/wp-content/uploads/2025/01/24f40bk.pdf#page=7 - # Examples of income to report (page 7), Part I line 7, other income - # (page 15), and Part I line 5, rents, royalties, partnerships, estates, - # trusts, etc. (page 15). - - title: "2025 Alabama Income Tax Instructions, Form 40 Booklet #page 7,15" + # Examples of income to report and not to report (page 7), line 7, + # other income (page 8), Part I line 7, other income (page 15), and + # Part I line 5, rents, royalties, partnerships, estates, trusts, etc. + # (page 15). + - title: "2025 Alabama Income Tax Instructions, Form 40 Booklet #page 7-8,15" href: https://www.revenue.alabama.gov/wp-content/uploads/2026/01/25f40bk.pdf#page=7 - title: Code of Alabama 1975 Section 40-18-25(b) (income and deductions of beneficiaries of estates and trusts) href: https://alison.legislature.state.al.us/code-of-alabama?section=40-18-25 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/sources/individual.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/sources/individual.yaml index a72d06791d1..037e473c5da 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/sources/individual.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/sources/individual.yaml @@ -28,6 +28,10 @@ values: # winnings before July 1, 2019. The model has a single gambling_winnings # input and does not separate them. - gambling_winnings # Line 20, other income (Form AR-OI) + # Gross income is "all income (before deductions) other than income + # specifically described as exempt"; gifts are exempt, strike + # benefits are not (2025 instructions, pages 9-11). + - taxable_strike_benefits # Line 20, other income (Form AR-OI) - ar_other_additions # Line 20 # Act 141 of 2017 added unemployment compensation to gross income for tax # years beginning on or after January 1, 2018. Act 154 of 2021 then exempted @@ -52,6 +56,7 @@ values: - farm_operations_income # Line 20, Schedule F - total_unemployment_compensation # Line 21 - gambling_winnings # Line 22, other income (Form AR-OI) + - taxable_strike_benefits # Line 22, other income (Form AR-OI) - ar_other_additions # Line 22 2020-01-01: - irs_employment_income # Line 8 @@ -72,6 +77,7 @@ values: - farm_rent_income # Line 19, Form 4835 rent is reported on Schedule E - farm_operations_income # Line 20, Schedule F - gambling_winnings # Line 22, other income (Form AR-OI) + - taxable_strike_benefits # Line 22, other income (Form AR-OI) - ar_other_additions # Line 22 2022-01-01: - irs_employment_income # Line 8 @@ -98,6 +104,7 @@ values: - farm_operations_income # Line 20, Schedule F - total_unemployment_compensation # Line 21 - gambling_winnings # Line 22, other income (Form AR-OI) + - taxable_strike_benefits # Line 22, other income (Form AR-OI) - ar_other_additions # Line 22 metadata: @@ -113,6 +120,10 @@ metadata: href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1000FandAR1000NRInstructions.pdf#page=10 - title: Arkansas 2017 Individual Income Tax Instructions (Act 141 of 2017 makes unemployment compensation taxable from tax year 2018) href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1000FandAR1000NRInstructions.pdf#page=5 + # Page 9: "Gross income is all income (before deductions) other than + # income specifically described as exempt on pages 10 and 11." + - title: "Arkansas 2025 Individual Income Tax Forms and Instructions, gross income definition and exempt income #page 9-11" + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=9 - title: Arkansas 2025 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=13 - title: Arkansas 2025 Individual Income Tax Forms and Instructions (gambling winnings are subject to tax, reported on Form AR-OI line 4 and carried to Line 22) diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/sources/joint.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/sources/joint.yaml index f1fb7a9be87..70165c24ee6 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/sources/joint.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/sources/joint.yaml @@ -28,6 +28,10 @@ values: # winnings before July 1, 2019. The model has a single gambling_winnings # input and does not separate them. - gambling_winnings # Line 20, other income (Form AR-OI) + # Gross income is "all income (before deductions) other than income + # specifically described as exempt"; gifts are exempt, strike + # benefits are not (2025 instructions, pages 9-11). + - taxable_strike_benefits # Line 20, other income (Form AR-OI) - ar_other_additions # Line 20 # Act 141 of 2017 added unemployment compensation to gross income for tax # years beginning on or after January 1, 2018. Act 154 of 2021 then exempted @@ -52,6 +56,7 @@ values: - farm_operations_income # Line 20, Schedule F - total_unemployment_compensation # Line 21 - gambling_winnings # Line 22, other income (Form AR-OI) + - taxable_strike_benefits # Line 22, other income (Form AR-OI) - ar_other_additions # Line 22 2020-01-01: - irs_employment_income # Line 8 @@ -72,6 +77,7 @@ values: - farm_rent_income # Line 19, Form 4835 rent is reported on Schedule E - farm_operations_income # Line 20, Schedule F - gambling_winnings # Line 22, other income (Form AR-OI) + - taxable_strike_benefits # Line 22, other income (Form AR-OI) - ar_other_additions # Line 22 2022-01-01: - irs_employment_income # Line 8 @@ -98,6 +104,7 @@ values: - farm_operations_income # Line 20, Schedule F - total_unemployment_compensation # Line 21 - gambling_winnings # Line 22, other income (Form AR-OI) + - taxable_strike_benefits # Line 22, other income (Form AR-OI) - ar_other_additions # Line 22 metadata: @@ -113,6 +120,10 @@ metadata: href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1000FandAR1000NRInstructions.pdf#page=10 - title: Arkansas 2017 Individual Income Tax Instructions (Act 141 of 2017 makes unemployment compensation taxable from tax year 2018) href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1000FandAR1000NRInstructions.pdf#page=5 + # Page 9: "Gross income is all income (before deductions) other than + # income specifically described as exempt on pages 10 and 11." + - title: "Arkansas 2025 Individual Income Tax Forms and Instructions, gross income definition and exempt income #page 9-11" + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=9 - title: Arkansas 2025 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=13 - title: Arkansas 2025 Individual Income Tax Forms and Instructions (gambling winnings are subject to tax, reported on Form AR-OI line 4 and carried to Line 22) diff --git a/policyengine_us/parameters/gov/states/ia/tax/income/gross_income/sources.yaml b/policyengine_us/parameters/gov/states/ia/tax/income/gross_income/sources.yaml index af73d758e57..802b053a627 100644 --- a/policyengine_us/parameters/gov/states/ia/tax/income/gross_income/sources.yaml +++ b/policyengine_us/parameters/gov/states/ia/tax/income/gross_income/sources.yaml @@ -18,6 +18,10 @@ values: - farm_operations_income - taxable_unemployment_compensation - miscellaneous_income + # Line 14 takes "taxable income not reported on lines 1-13"; line 1 is + # W-2 income only. Strike benefits are federal Schedule 1 line 8 income + # in 2021 and Form 1040 line 1h income from 2022. + - taxable_strike_benefits - ia_other_additions metadata: @@ -27,9 +31,11 @@ metadata: - title: 2021 IA1040 Iowa Income Tax Return, Lines 1-14 href: https://revenue.iowa.gov/sites/default/files/2022-01/IA1040%2841-001%29.pdf#page=1 # Line 10, rents, royalties, partnerships, estates, etc., is on page 19. - - title: "2021 IA1040 Income Tax Return instructions #page 12,19" + # Line 14, other income, is on pages 21-22. + - title: "2021 IA1040 Income Tax Return instructions #page 12,19,21-22" href: https://revenue.iowa.gov/media/2650/download?inline#page=12 - title: 2022 IA1040 Iowa Income Tax Return, Lines 1-14 href: https://revenue.iowa.gov/sites/default/files/2023-01/2022IA1040%2841001%29.pdf#page=1 - - title: "2022 IA1040 Income Tax Return instructions #page 11,19" + # Line 14, other income, is on pages 20-21. + - title: "2022 IA1040 Income Tax Return instructions #page 11,19,20-21" href: https://revenue.iowa.gov/media/2721/download?inline#page=11 diff --git a/policyengine_us/parameters/gov/states/ms/tax/income/income_sources.yaml b/policyengine_us/parameters/gov/states/ms/tax/income/income_sources.yaml index 1fba876a4c9..43503f9060c 100644 --- a/policyengine_us/parameters/gov/states/ms/tax/income/income_sources.yaml +++ b/policyengine_us/parameters/gov/states/ms/tax/income/income_sources.yaml @@ -2,6 +2,10 @@ description: Mississippi counts these income sources toward adjusted gross incom values: 2021-01-01: - irs_employment_income # Wages, salaries, tips, etc. + # Line 38 also includes "strike and lockout benefits paid by a union + # from union dues ... unless the facts clearly show that such benefits + # were intended as a gift" (2022 and 2025 instructions, page 10). + - taxable_strike_benefits - self_employment_income - sstb_self_employment_income - partnership_s_corp_income diff --git a/policyengine_us/parameters/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/gross_income_sources.yaml b/policyengine_us/parameters/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/gross_income_sources.yaml index d4a4ad7bffb..0b812018b42 100644 --- a/policyengine_us/parameters/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/gross_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/gross_income_sources.yaml @@ -51,7 +51,9 @@ values: - tax_exempt_pension_income - veterans_benefits # § 15-30-2337(9)(a)(i) – veterans' disability benefits - child_support_received # § 15-30-2337(9)(a)(iv) – support money - - strike_benefits # § 15-30-2337(9)(a)(v) – nontaxable strike benefits + # § 15-30-2337(9)(a)(v) – nontaxable strike benefits; taxable ones are in + # federal AGI. + - tax_exempt_strike_benefits - general_assistance # § 15-30-2337(9)(a)(vi) – cash public assistance # Government assistance (Schedule 2EC line 16 from 2024; "disability # benefits including ... SSI payments and workers' compensation" and @@ -105,7 +107,7 @@ values: - tax_exempt_pension_income - veterans_benefits - child_support_received - - strike_benefits + - tax_exempt_strike_benefits - general_assistance - ssi - mt_ssp @@ -128,7 +130,7 @@ values: - tax_exempt_pension_income - veterans_benefits - child_support_received - - strike_benefits + - tax_exempt_strike_benefits - general_assistance - ssi - mt_ssp diff --git a/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml b/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml index 4f20466d5ad..50bd6cbb93c 100644 --- a/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml @@ -13,6 +13,9 @@ values: # third-party insurer payments, and disability distributions (61 Pa. # Code 101.6(c)(1)). Regular sick leave pay is in employment income. - taxable_disability_benefits + # Strike benefits are never taxable as PA compensation (72 P.S. + # 7301(d)(vi)). Federal gross income holds the part that is not a gift. + - taxable_strike_benefits metadata: unit: currency-USD label: PA nontaxable income sources @@ -23,3 +26,9 @@ metadata: href: https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/061/chapter101/s101.6.html - title: "2024 Pennsylvania PIT Return Instructions (PA-40 IN), nontaxable sick pay and disability benefits and Code 3 disability distributions #page 8,13" href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/formsforindividuals/pit/documents/2024/2024_pa-40in.pdf#page=8 + # The guide lists strike benefits among the "Income Items Never Taxable + # as PA Compensation", and under "Pennsylvania Nontaxable Benefits" + # quotes 72 P.S. 7301(d)(vi), which leaves out of compensation payments + # by employers or labor unions for programs covering strike benefits. + - title: Pennsylvania Personal Income Tax Guide, Gross Compensation - income items never taxable as PA compensation + href: https://www.pa.gov/agencies/revenue/forms-and-publications/pa-personal-income-tax-guide/gross-compensation.html#IncomeItemsNeverTaxablePA diff --git a/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml b/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml index 409a999269a..865a1371d07 100644 --- a/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml +++ b/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml @@ -4,7 +4,9 @@ values: - alimony_income - child_support_received - railroad_benefits - - strike_benefits + # Nontaxable strike benefits (59-2a-101(20)(a)(v)); taxable ones are in + # federal adjusted gross income. + - tax_exempt_strike_benefits - tax_exempt_interest_income - tax_exempt_pension_income - tax_exempt_retirement_distributions @@ -19,5 +21,5 @@ metadata: period: year label: Utah homeowner's/renter's relief modeled nontaxable income sources reference: - - title: Utah Code Section 59-2a-101 - href: https://le.utah.gov/xcode/Title59/Chapter2A/C59-2a_2026010120250507.pdf#page=5 + - title: "Utah Code Section 59-2a-101(17) and (20) #page 3-4" + href: https://le.utah.gov/xcode/Title59/Chapter2A/C59-2a_2026010120250507.pdf#page=3 diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml new file mode 100644 index 00000000000..eab9a65eb45 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml @@ -0,0 +1,258 @@ +# Strike and lockout benefits. +# +# Publication 525 (2025), page 36: "Benefits paid to you by a union as strike +# or lockout benefits, including both cash and the FMV of other property, are +# usually included in your income as compensation. You can exclude these +# benefits from your income only when the facts clearly show that the union +# intended them as gifts to you." +# Form 1040 instructions (2025), line 1h: "Strike or lockout benefits (other +# than bona fide gifts)." +# Publication 596 (2025), page 8: "If strike and lockout benefits are +# taxable, the benefits are generally earned income." +# Publication 503 (2025), page 4: "Earned income also includes strike +# benefits and any disability pay you report as wages." +# +# strike_benefits is the total a union pays; tax_exempt_strike_benefits is +# the part the facts show to be a gift (IRC 102(a)); taxable_strike_benefits +# is the rest. +# +# 2025 amounts from Rev. Proc. 2024-40: earned income credit with one +# qualifying child, earned income amount $12,730, maximum credit $4,328, +# phaseout from $23,350 of AGI for filers other than joint filers (sec. +# 3.06(1)); standard deduction of a dependent, the greater of $1,350 or $450 +# plus earned income (sec. 3.15(2)). The credit percentage for one child is +# 34% (IRC 32(b)(1)(A)). + +- name: The gift part of strike benefits is not taxable + period: 2025 + input: + strike_benefits: 10_000 + tax_exempt_strike_benefits: 4_000 + output: + taxable_strike_benefits: 6_000 + +- name: A gift part above the total leaves no taxable strike benefits + period: 2025 + input: + strike_benefits: 3_000 + tax_exempt_strike_benefits: 5_000 + output: + taxable_strike_benefits: 0 + +- name: 2025, strike benefits are gross income and adjusted gross income + period: 2025 + input: + people: + head: + age: 40 + strike_benefits: 20_000 + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: TX + output: + irs_gross_income: 20_000 + adjusted_gross_income: 20_000 + +- name: 2025, strike benefits the union meant as gifts are not gross income + period: 2025 + input: + people: + head: + age: 40 + strike_benefits: 20_000 + tax_exempt_strike_benefits: 20_000 + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: TX + output: + irs_gross_income: 0 + adjusted_gross_income: 0 + +- name: 2015, strike benefits were gross income before Form 1040 had line 1h + period: 2015 + input: + people: + head: + age: 40 + strike_benefits: 10_000 + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: TX + output: + irs_gross_income: 10_000 + +- name: 2025, taxable strike benefits are earned income for the EITC + period: 2025 + input: + people: + head: + age: 35 + strike_benefits: 20_000 + child: + age: 6 + tax_units: + tax_unit: + members: [head, child] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, child] + state_code: TX + output: + eitc_earned_income: 20_000 + # Earned income of $20,000 passes the $12,730 earned income amount and + # AGI of $20,000 is under the $23,350 phaseout threshold: the $4,328 + # maximum credit. + eitc: 4_328 + +- name: 2025, strike benefits add to wages in the EITC phase-in + period: 2025 + input: + people: + head: + age: 35 + employment_income: 5_000 + strike_benefits: 5_000 + child: + age: 6 + tax_units: + tax_unit: + members: [head, child] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, child] + state_code: TX + output: + eitc_earned_income: 10_000 + # 34% of $10,000. + eitc: 3_400 + +- name: 2025, strike benefits received as gifts are not earned income + period: 2025 + input: + people: + head: + age: 35 + strike_benefits: 20_000 + tax_exempt_strike_benefits: 20_000 + child: + age: 6 + tax_units: + tax_unit: + members: [head, child] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, child] + state_code: TX + output: + eitc_earned_income: 0 + eitc: 0 + +- name: 2025, a spouse's strike benefits are earned income for the child and dependent care credit + period: 2025 + input: + people: + head: + age: 40 + employment_income: 50_000 + spouse: + age: 40 + strike_benefits: 2_000 + child: + age: 5 + tax_units: + tax_unit: + members: [head, spouse, child] + filing_status: JOINT + tax_unit_childcare_expenses: 6_000 + households: + household: + members: [head, spouse, child] + state_code: TX + output: + adjusted_earnings: [50_000, 2_000, 0] + spouse_earned: 2_000 + # The lower-earning spouse's earned income caps the expenses (IRC + # 21(d)(1)(B)), below the $3,000 limit for one child (IRC 21(c)(1)). + cdcc_relevant_expenses: 2_000 + +- name: 2025, a dependent's strike benefits raise the dependent's standard deduction + period: 2025 + input: + people: + head: + age: 20 + strike_benefits: 5_000 + claimed_as_dependent_on_another_return: true + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: TX + output: + # max($1,350, $450 + $5,000). + basic_standard_deduction: 5_450 + +- name: 2025, a dependent with $2,000 of strike benefits need not file + period: 2025 + input: + filing_status: SINGLE + age: 19 + claimed_as_dependent_on_another_return: true + strike_benefits: 2_000 + output: + # Strike benefits are earned income (Form 1040 line 1h, part of line 1z, + # which the worksheet footnote counts): earned income of $2,000 is not + # over $15,750, there is no unearned income, and gross income of $2,000 + # is not more than the larger of $1,350 or $2,000 plus $450. + tax_unit_is_required_to_file: false + +- name: 2025, a dependent with $2,000 of interest must file + period: 2025 + input: + filing_status: SINGLE + age: 19 + claimed_as_dependent_on_another_return: true + taxable_interest_income: 2_000 + output: + # Unearned income of $2,000 is over $1,350. + tax_unit_is_required_to_file: true + +- name: 2026, strike benefits stay gross income + period: 2026 + input: + people: + head: + age: 40 + strike_benefits: 10_000 + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: TX + output: + irs_gross_income: 10_000 + adjusted_gross_income: 10_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/al/tax/income/al_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/al/tax/income/al_strike_benefits.yaml new file mode 100644 index 00000000000..30b7ef528bf --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/al/tax/income/al_strike_benefits.yaml @@ -0,0 +1,22 @@ +# "All income is subject to Alabama income tax unless specifically +# exempted by state law" (2025 Form 40 booklet, page 7). Strike benefits +# are not on the booklet's list of income not to report. + +- name: 2025, strike benefits are Alabama gross income + period: 2025 + input: + people: + head: + age: 40 + employment_income: 50_000 + strike_benefits: 10_000 + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: AL + output: + al_agi: 60_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/ar_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/ar_strike_benefits.yaml new file mode 100644 index 00000000000..0b67c3c1aad --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/ar_strike_benefits.yaml @@ -0,0 +1,23 @@ +# "Gross income is all income (before deductions) other than income +# specifically described as exempt on pages 10 and 11" (2025 AR1000F +# instructions, page 9). Strike benefits are not on that list; gifts are. + +- name: 2025, strike benefits are Arkansas gross income + period: 2025 + input: + people: + head: + age: 40 + employment_income: 50_000 + strike_benefits: 10_000 + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: AR + output: + ar_gross_income_indiv: 60_000 + ar_gross_income_joint: 60_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_household_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_household_income.yaml index 7a7b193ae23..dd37c318404 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_household_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_household_income.yaml @@ -155,13 +155,14 @@ az_property_tax_credit_unemployment: 1_000 az_property_tax_credit_household_income: 1_000 -- name: Strike benefits left out of federal gross income are household income +- name: Strike benefits a union meant as gifts are household income period: 2025 input: people: head: age: 70 strike_benefits: 2_000 + tax_exempt_strike_benefits: 2_000 rent: 6_000 tax_units: tax_unit: @@ -178,6 +179,30 @@ # Table 1, 1,951 - 2,050 -> 435. az_property_tax_credit: 435 +- name: Strike benefits in federal gross income count once + period: 2025 + input: + people: + head: + age: 70 + strike_benefits: 2_000 + rent: 6_000 + tax_units: + tax_unit: + members: [head] + households: + household: + members: [head] + state_code: AZ + output: + # Publication 525: strike benefits other than gifts are income, so + # adjusted gross income holds them and line I adds nothing. + adjusted_gross_income: 2_000 + az_property_tax_credit_nontaxable_income: 0 + az_property_tax_credit_household_income: 2_000 + # Table 1, 1,951 - 2,050 -> 435. + az_property_tax_credit: 435 + - name: Alimony that is not federally taxable is household income period: 2025 input: @@ -236,6 +261,7 @@ age: 17 is_tax_unit_dependent: true strike_benefits: 1_000 + tax_exempt_strike_benefits: 1_000 alimony_income: 500 divorce_year: 2020 tax_units: @@ -251,6 +277,34 @@ # Table 2, 0 - 2,500 -> 502. az_property_tax_credit: 502 +- name: A dependent's taxable strike benefits count once + period: 2025 + input: + people: + head: + age: 70 + rent: 6_000 + child: + age: 17 + is_tax_unit_dependent: true + strike_benefits: 1_000 + alimony_income: 500 + divorce_year: 2020 + tax_units: + tax_unit: + members: [head, child] + households: + household: + members: [head, child] + state_code: AZ + output: + # The dependent's federal gross income holds the $1,000 of strike + # benefits; line H adds the $500 of alimony. + az_property_tax_credit_nontaxable_income: [0, 500] + az_property_tax_credit_household_income: 1_500 + # Table 2, 0 - 2,500 -> 502. + az_property_tax_credit: 502 + - name: A co-resident's IRA deduction does not reduce household income period: 2025 input: diff --git a/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_strike_benefits.yaml new file mode 100644 index 00000000000..bbed7d2b42f --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_strike_benefits.yaml @@ -0,0 +1,23 @@ +# ARS 43-1072(H)(6) counts adjusted gross income as the department defines +# it plus "nontaxable strike benefits" ((6)(c); Form 140PTC line I). The +# strike benefits that are not gifts are in federal gross income, which the +# household income already counts, so line I takes the gift part. + +- name: 2025, taxable strike benefits are not Arizona line I income + period: 2025 + input: + age: 70 + strike_benefits: 10_000 + state_code: AZ + output: + az_property_tax_credit_nontaxable_income: 0 + +- name: 2025, the gift part of strike benefits is Arizona line I income + period: 2025 + input: + age: 70 + strike_benefits: 10_000 + tax_exempt_strike_benefits: 4_000 + state_code: AZ + output: + az_property_tax_credit_nontaxable_income: 4_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_adjusted_earnings.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_adjusted_earnings.yaml index 9e3c99fcf86..ed533bca435 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_adjusted_earnings.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_adjusted_earnings.yaml @@ -38,3 +38,12 @@ adjusted_earnings: 0 # max(4,000 - 5,000, 0) = 0. ca_adjusted_earnings: 0 + +- name: 2025, strike benefits are California earned income for the dependent care credit + # FTB 3506 (2025) line 4: "Earned income includes: ... Strike benefits." + period: 2025 + input: + strike_benefits: 2_000 + state_code: CA + output: + ca_adjusted_earnings: 2_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_strike_benefits.yaml new file mode 100644 index 00000000000..3c33680f8d6 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_strike_benefits.yaml @@ -0,0 +1,23 @@ +# IA 1040 line 14 takes "taxable income not reported on lines 1-13" (2022 +# IA 1040 instructions, page 20); Iowa net income starts from federal +# adjusted gross income (Iowa Code 422.7). + +- name: 2022, strike benefits are Iowa gross income + period: 2022 + input: + people: + head: + age: 40 + employment_income: 50_000 + strike_benefits: 10_000 + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: IA + output: + ia_gross_income: 60_000 + ia_net_income: 60_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/ms_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/ms_strike_benefits.yaml new file mode 100644 index 00000000000..bfa5c4bc57b --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/ms_strike_benefits.yaml @@ -0,0 +1,23 @@ +# Line 38 includes "strike and lockout benefits paid by a union from union +# dues, including both cash and the fair market value of goods received, +# unless the facts clearly show that such benefits were intended as a +# gift" (2025 Mississippi resident income tax instructions, page 10). + +- name: 2025, strike benefits are Mississippi income + period: 2025 + input: + people: + head: + age: 40 + employment_income: 50_000 + strike_benefits: 10_000 + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: MS + output: + ms_agi: 60_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_strike_benefits.yaml new file mode 100644 index 00000000000..487a90f5056 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_strike_benefits.yaml @@ -0,0 +1,44 @@ +# Gross household income is federal adjusted gross income plus the items in +# MCA 15-30-2337(9)(a), which include "nontaxable strike benefits" +# (subsection (9)(a)(v)). Strike benefits count once: the taxable part +# through federal adjusted gross income, the gift part as a listed item. + +- name: 2025, taxable strike benefits count once in Montana gross household income + period: 2025 + input: + people: + person1: + age: 75 + strike_benefits: 10_000 + # Keeps the model from computing SSI, which also counts. + ssi: 0 + tax_units: + tax_unit: + members: [person1] + households: + household: + members: [person1] + state_name: MT + output: + mt_elderly_homeowner_or_renter_credit_gross_household_income: 10_000 + +- name: 2025, taxable and gift strike benefits together count once + period: 2025 + input: + people: + person1: + age: 75 + strike_benefits: 10_000 + tax_exempt_strike_benefits: 4_000 + ssi: 0 + tax_units: + tax_unit: + members: [person1] + households: + household: + members: [person1] + state_name: MT + output: + # $6,000 in federal adjusted gross income plus $4,000 of nontaxable + # strike benefits. + mt_elderly_homeowner_or_renter_credit_gross_household_income: 10_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml new file mode 100644 index 00000000000..7dc140e0670 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml @@ -0,0 +1,23 @@ +# 72 P.S. 7301(d)(vi) leaves strike benefits out of compensation, and the +# PA Personal Income Tax Guide lists them among the "Income Items Never +# Taxable as PA Compensation". Pennsylvania taxable income starts from +# federal gross income here, so the federal amount is subtracted. + +- name: 2025, strike benefits are not Pennsylvania taxable income + period: 2025 + input: + people: + head: + age: 40 + employment_income: 50_000 + strike_benefits: 10_000 + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: PA + output: + pa_total_taxable_income: 50_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml new file mode 100644 index 00000000000..7803126cb7d --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml @@ -0,0 +1,25 @@ +# Utah Code 59-2a-101(17) defines income as federal adjusted gross income +# plus nontaxable income, and (20)(a) defines nontaxable income as "amounts +# excluded from adjusted gross income under the Internal Revenue Code", +# including "nontaxable strike benefits" ((20)(a)(v)). Strike benefits in +# federal adjusted gross income count there, so only the gift part is +# nontaxable income. + +- name: 2025, taxable strike benefits are not Utah nontaxable income + period: 2025 + input: + age: 70 + strike_benefits: 10_000 + state_code: UT + output: + ut_homeowner_renter_relief_nontaxable_income: 0 + +- name: 2025, the gift part of strike benefits is Utah nontaxable income + period: 2025 + input: + age: 70 + strike_benefits: 10_000 + tax_exempt_strike_benefits: 3_000 + state_code: UT + output: + ut_homeowner_renter_relief_nontaxable_income: 3_000 diff --git a/policyengine_us/tests/test_az_property_tax_credit_household.py b/policyengine_us/tests/test_az_property_tax_credit_household.py index f0e2719ef8b..d17e85fc83c 100644 --- a/policyengine_us/tests/test_az_property_tax_credit_household.py +++ b/policyengine_us/tests/test_az_property_tax_credit_household.py @@ -12,8 +12,8 @@ Hypothesis draws Arizona homes of one to three tax units, each with a head, an optional spouse and an optional dependent, and with wages, Arizona and -other-state unemployment, strike benefits, alimony (taxable or not), rent and -property tax. Each example builds one simulation that holds the drawn homes +other-state unemployment, strike benefits (some of them gifts), alimony +(taxable or not), rent and property tax. Each example builds one simulation that holds the drawn homes and the variants the properties compare them with, so few simulations run: 1. Every tax unit in a home sees the same household income, the sum of the @@ -23,11 +23,12 @@ 2. At most one tax unit per home has a positive credit. 3. The claimant's credit is at least what any other eligible tax unit in the home would get as claimant. -4. In a one-tax-unit home, household income equals the tax unit's income - before this change (federal AGI plus dependents' gross income, here wages, - all unemployment and taxable alimony), plus strike benefits and nontaxable - alimony, minus Arizona unemployment. Other-state unemployment was already - in the earlier income, as part of all unemployment, so it stays. +4. In a one-tax-unit home, household income equals the tax unit's federal + AGI plus dependents' gross income (here wages, all unemployment, taxable + alimony and strike benefits other than gifts), plus strike benefits + received as gifts and nontaxable alimony, minus Arizona unemployment. + Other-state unemployment is already in federal AGI, as part of all + unemployment, so it stays. 5. Raising a co-resident's wages never raises the home's total credit. Every member of a home of two or more lives with others and uses Table 2, which never rises with income (checked first). @@ -69,6 +70,7 @@ @st.composite def _person(draw, adult: bool) -> dict: unemployment = draw(SMALL) + strike = draw(SMALL) return { "age": draw(st.integers(60, 85) if adult else st.integers(5, 17)), "employment_income": draw(MONEY if adult else SMALL), @@ -77,7 +79,11 @@ def _person(draw, adult: bool) -> dict: "az_other_state_unemployment_compensation": round( unemployment * draw(st.sampled_from([0, 0.5, 1])), 2 ), - "strike_benefits": draw(SMALL), + "strike_benefits": strike, + # The part of the strike benefits the union meant as a gift. + "tax_exempt_strike_benefits": round( + strike * draw(st.sampled_from([0, 0, 0.5, 1])), 2 + ), "alimony_income": draw(SMALL), # 2010 is before the TCJA cutoff (taxable), 2020 after it (not). "divorce_year": draw(st.sampled_from([2010, 2020])), @@ -151,22 +157,29 @@ def _changed(homes: list, change) -> list: return copied -def _reference_unit_income(unit: dict) -> float: - """The tax unit's income before this change: wages, all unemployment and - taxable alimony of every member (federal AGI for the filers, gross income - for a dependent; no other income or deductions are drawn).""" - return sum( +def _taxable(v: dict) -> float: + """A person's federal gross income here: wages, all unemployment, taxable + alimony and strike benefits other than gifts.""" + return ( v["employment_income"] + v["unemployment_compensation"] + (v["alimony_income"] if v["divorce_year"] < 2019 else 0) - for _, v in unit["members"] + + v["strike_benefits"] + - v["tax_exempt_strike_benefits"] ) +def _reference_unit_income(unit: dict) -> float: + """Federal AGI for the filers plus gross income for a dependent (no other + income or deductions are drawn).""" + return sum(_taxable(v) for _, v in unit["members"]) + + def _added(unit: dict) -> float: - """Strike benefits and nontaxable alimony.""" + """Strike benefits received as gifts and nontaxable alimony.""" return sum( - v["strike_benefits"] + (v["alimony_income"] if v["divorce_year"] >= 2019 else 0) + v["tax_exempt_strike_benefits"] + + (v["alimony_income"] if v["divorce_year"] >= 2019 else 0) for _, v in unit["members"] ) @@ -271,7 +284,7 @@ def add_other_state_uc(v): base = slice(0, n) base_units = [unit for home in homes for unit in home] base_unit_home = unit_home[unit_home < n] - # 4. One-tax-unit homes: the earlier income plus the added items, less + # 4. One-tax-unit homes: federal gross income plus the added items, less # Arizona unemployment (the drawn unemployment less its other-state part). for h, home in enumerate(homes): if len(home) == 1: @@ -284,13 +297,7 @@ def add_other_state_uc(v): expected = _reference_unit_income(unit) + _added(unit) - arizona_uc assert abs(household_income[h] - expected) < 0.01 # The reference matches the model's federal AGI for the filers. - filers = sum( - v["employment_income"] - + v["unemployment_compensation"] - + (v["alimony_income"] if v["divorce_year"] < 2019 else 0) - for r, v in unit["members"] - if r != "dependent" - ) + filers = sum(_taxable(v) for r, v in unit["members"] if r != "dependent") unit_index = base_units.index(unit) agi = sim.calculate("adjusted_gross_income", YEAR)[unit_index] assert abs(agi - filers) < 0.01 diff --git a/policyengine_us/tests/test_az_property_tax_credit_source_reforms.py b/policyengine_us/tests/test_az_property_tax_credit_source_reforms.py index 57ef0d940e3..a22093a542b 100644 --- a/policyengine_us/tests/test_az_property_tax_credit_source_reforms.py +++ b/policyengine_us/tests/test_az_property_tax_credit_source_reforms.py @@ -3,9 +3,9 @@ az_property_tax_credit_agi takes taxable_unemployment_compensation out of federal AGI, and az_property_tax_credit_nontaxable_income adds the alimony -that federal gross income leaves out, only as far as -gov.irs.gross_income.sources lists the source. These tests drop both sources -and check that each amount is still counted exactly once. +and strike benefits that federal gross income leaves out, only as far as +gov.irs.gross_income.sources lists the source. These tests drop all three +sources and check that each amount is still counted exactly once. Two Arizona single filers, one per household, aged 40, with no other income or deductions: @@ -15,6 +15,8 @@ (excluded by ARS 43-1072(I)). - "alimony": $20,000 wages and $4,000 alimony under a 2010 divorce, so taxable_alimony_income is the full $4,000 at baseline. +- "strike": $20,000 wages and $6,000 strike benefits, $1,000 of them a gift, + so taxable_strike_benefits is $5,000 at baseline. """ import numpy as np @@ -27,11 +29,15 @@ YEAR = 2025 -DROPPED = ["taxable_unemployment_compensation", "taxable_alimony_income"] +DROPPED = [ + "taxable_unemployment_compensation", + "taxable_alimony_income", + "taxable_strike_benefits", +] class drop_sources(Reform): - # One reform drops both sources: neither filer has the other's income, so + # One reform drops all three sources: no filer has another's income, so # each branch is checked on its own household, and only one reformed # system is built. def apply(self): @@ -60,6 +66,12 @@ def _situation() -> dict: "alimony_income": {year: 4_000}, "divorce_year": {year: 2010}, }, + "strike": { + "age": {year: 40}, + "employment_income": {year: 20_000}, + "strike_benefits": {year: 6_000}, + "tax_exempt_strike_benefits": {year: 1_000}, + }, } return { "people": people, @@ -71,7 +83,8 @@ def _situation() -> dict: } -UC, ALIMONY = 0, 1 # Index of each filer's person, tax unit and household. +# Index of each filer's person, tax unit and household. +UC, ALIMONY, STRIKE = 0, 1, 2 @pytest.fixture(scope="module") @@ -122,3 +135,25 @@ def test_alimony_left_out_of_gross_income_is_added_in_full(baseline, reformed): sim.calculate("az_property_tax_credit_household_income", YEAR)[ALIMONY], 24_000, ) + + +def test_strike_benefits_left_out_of_gross_income_are_added_in_full(baseline, reformed): + # $6,000 of strike benefits less the $1,000 gift. + assert baseline.calculate("taxable_strike_benefits", YEAR)[STRIKE] == 5_000 + # Federal AGI: 20,000 + 5,000 = 25,000 at baseline, 20,000 under the reform. + assert baseline.calculate("adjusted_gross_income", YEAR)[STRIKE] == 25_000 + assert reformed.calculate("adjusted_gross_income", YEAR)[STRIKE] == 20_000 + # Nontaxable strike benefits (line I) = strike benefits - the part federal + # gross income holds. Baseline: 6,000 - 5,000 = 1,000. Reform: none is + # held, so all 6,000. Reading taxable_strike_benefits under the reform + # would give 1,000. + nontaxable = "az_property_tax_credit_nontaxable_income" + assert baseline.calculate(nontaxable, YEAR)[STRIKE] == 1_000 + assert reformed.calculate(nontaxable, YEAR)[STRIKE] == 6_000 + # Household income counts the strike benefits once either way: + # baseline 25,000 + 1,000; reform 20,000 + 6,000. Both 26,000. + for sim in (baseline, reformed): + assert np.isclose( + sim.calculate("az_property_tax_credit_household_income", YEAR)[STRIKE], + 26_000, + ) diff --git a/policyengine_us/tests/test_strike_benefits_properties.py b/policyengine_us/tests/test_strike_benefits_properties.py new file mode 100644 index 00000000000..46272f96e33 --- /dev/null +++ b/policyengine_us/tests/test_strike_benefits_properties.py @@ -0,0 +1,228 @@ +"""Property and differential tests for strike and lockout benefits. + +Publication 525 counts strike and lockout benefits a union pays as income +unless the facts clearly show the union meant them as gifts (IRC 102(a)). +Publication 596 makes the taxable benefits earned income for the EITC, and +Publication 503 for the child and dependent care credit. The model splits +strike_benefits into tax_exempt_strike_benefits (the gift part, an input) and +taxable_strike_benefits (the rest). + +Hypothesis draws filers with wages, strike benefits, a gift share and zero to +three children. Each example builds one 2025 simulation that holds every +drawn household in several variants: + +- "base": the drawn wages W, strike benefits S and gift part G. +- "no_gift": W, S - G of strike benefits and no gift part. +- "as_wages": W + S - G of wages and no strike benefits. +- "state_base" and "state_split_free" in Utah, Montana and Arizona: no + children, W + $25,000 of wages and S of strike benefits, with the gift part + G or none of it a gift. + +Invariants, for every drawn household: + +1. Split: taxable_strike_benefits = max(0, S - G), within [0, S]. +2. Gross income: irs_gross_income = W + taxable_strike_benefits. +3. Gift neutrality (differential): the gift part enters federal income tax + nowhere, so "base" and "no_gift" owe the same. +4. Wage parity (differential): with up to two children, federal income tax, + the EITC and the refundable CTC are the same whether an amount comes as + wages or as taxable strike benefits ("no_gift" against "as_wages"); the + earned income each reads is the same too. + Intended difference: with three or more children the refundable CTC can + instead be the excess of social security taxes over the EITC (IRC + 24(d)(1)(B)(ii)); wages carry those taxes and strike benefits do not, so + "as_wages" never owes more than "no_gift". +5. Counted once: Utah homeowner and renter relief household income (Utah Code + 59-2a-101(17), (20)(a)(v)), Montana elderly homeowner/renter credit gross + household income (MCA 15-30-2337(9)(a)(v)) and Arizona property tax credit + household income (ARS 43-1072(H)(6)(c)) count strike benefits once, the + taxable part through federal adjusted gross income and the gift part as + nontaxable income, so the split leaves them unchanged. Montana's measure + also counts federal refundable credits, which move with adjusted gross + income, so the state cases have no children and $25,000 more wages, which + keeps the EITC at zero in both (checked). +""" + +import numpy as np +from hypothesis import HealthCheck, Phase, given, settings +from hypothesis import strategies as st + +from policyengine_us import Simulation + +YEAR = 2025 + +MONEY = st.sampled_from(["zero", "small", "large"]).flatmap( + lambda size: { + "zero": st.just(0.0), + "small": st.floats(0, 15_000).map(lambda x: round(x, 2)), + # Under $150,000 in all, far from the additional Medicare tax and + # any other payroll threshold. + "large": st.floats(15_000, 70_000).map(lambda x: round(x, 2)), + }[size] +) + +FILER = st.fixed_dictionaries( + { + "wages": MONEY, + "strike": MONEY, + "gift_share": st.sampled_from([0, 0, 0.5, 1]), + "children": st.integers(0, 3), + } +) + +FILERS = st.lists(FILER, min_size=4, max_size=6) + +FEDERAL_VARIANTS = ["base", "no_gift", "as_wages"] +STATE_VARIANTS = ["state_base", "state_split_free"] +# Wages added in the state cases, enough to end a childless filer's EITC. +STATE_EXTRA_WAGES = 25_000 +STATES = ["UT", "MT", "AZ"] + + +def _amounts(filer: dict, variant: str) -> dict: + wages, strike = filer["wages"], filer["strike"] + gift = round(strike * filer["gift_share"], 2) + if variant == "base": + return {"employment_income": wages, "strike_benefits": strike, "gift": gift} + if variant == "no_gift": + return { + "employment_income": wages, + "strike_benefits": round(strike - gift, 2), + "gift": 0.0, + } + if variant == "as_wages": + return { + "employment_income": round(wages + strike - gift, 2), + "strike_benefits": 0.0, + "gift": 0.0, + } + if variant in STATE_VARIANTS: + return { + "employment_income": wages + STATE_EXTRA_WAGES, + "strike_benefits": strike, + "gift": gift if variant == "state_base" else 0.0, + } + raise ValueError(variant) + + +def _situation(filers: list) -> tuple: + """One household per (filer, variant, state); returns the situation and + the (filer index, variant, state) of each household in order.""" + year = str(YEAR) + people, tax_units, households, index = {}, {}, {}, [] + cases = [(i, v, "TX") for i in range(len(filers)) for v in FEDERAL_VARIANTS] + cases += [ + (i, v, s) for s in STATES for i in range(len(filers)) for v in STATE_VARIANTS + ] + for n, (i, variant, state) in enumerate(cases): + filer = filers[i] + amounts = _amounts(filer, variant) + head = f"head_{n}" + people[head] = { + "age": {year: 40}, + "employment_income": {year: amounts["employment_income"]}, + "strike_benefits": {year: amounts["strike_benefits"]}, + "tax_exempt_strike_benefits": {year: amounts["gift"]}, + } + members = [head] + children = filer["children"] if state == "TX" else 0 + for c in range(children): + child = f"child_{n}_{c}" + people[child] = {"age": {year: 6 + c}} + members.append(child) + tax_units[f"tax_unit_{n}"] = { + "members": members, + "filing_status": {year: "HEAD_OF_HOUSEHOLD" if children else "SINGLE"}, + } + households[f"household_{n}"] = { + "members": members, + "state_code": {year: state}, + } + index.append((i, variant, state)) + situation = {"people": people, "tax_units": tax_units, "households": households} + return situation, index + + +@settings( + max_examples=5, + deadline=None, + derandomize=True, + database=None, + # Each example builds one large simulation, so shrinking a failure would + # take many minutes; the failing draw is reported unshrunk. + phases=[Phase.explicit, Phase.reuse, Phase.generate], + suppress_health_check=[HealthCheck.too_slow, HealthCheck.data_too_large], +) +@given(filers=FILERS) +def test_strike_benefit_invariants(filers): + situation, index = _situation(filers) + sim = Simulation(situation=situation) + position = {case: n for n, case in enumerate(index)} + + heads = sim.calculate("is_tax_unit_head", YEAR).astype(bool) + + def value(variable, i, variant, state="TX"): + # Each case has one tax unit, one household and one head, in case + # order; a person-level variable is read for the head. + values = sim.calculate(variable, YEAR) + if sim.tax_benefit_system.variables[variable].entity.key == "person": + values = values[heads] + return values[position[(i, variant, state)]] + + for i, filer in enumerate(filers): + wages, strike = filer["wages"], filer["strike"] + gift = round(strike * filer["gift_share"], 2) + taxable = max(0.0, strike - gift) + + # 1. Split. + split = value("taxable_strike_benefits", i, "base") + assert abs(split - taxable) < 0.01 + assert -0.01 <= split <= strike + 0.01 + + # 2. Gross income. + assert abs(value("irs_gross_income", i, "base") - (wages + taxable)) < 0.01 + + # 3. Gift neutrality. + for variable in ["income_tax", "adjusted_gross_income", "eitc"]: + assert ( + abs(value(variable, i, "base") - value(variable, i, "no_gift")) < 0.01 + ), variable + + # 4. Wage parity. + for variable in ["eitc_earned_income", "adjusted_gross_income"]: + assert ( + abs(value(variable, i, "no_gift") - value(variable, i, "as_wages")) + < 0.01 + ), variable + assert ( + abs( + value("adjusted_earnings", i, "no_gift") + - value("adjusted_earnings", i, "as_wages") + ) + < 0.01 + ) + if filer["children"] <= 2: + for variable in ["income_tax", "eitc", "refundable_ctc"]: + assert ( + abs(value(variable, i, "no_gift") - value(variable, i, "as_wages")) + < 0.01 + ), variable + else: + assert ( + value("income_tax", i, "as_wages") + <= value("income_tax", i, "no_gift") + 0.01 + ) + + # 5. Counted once. + for state, variable in [ + ("UT", "ut_homeowner_renter_relief_household_income"), + ("MT", "mt_elderly_homeowner_or_renter_credit_gross_household_income"), + ("AZ", "az_property_tax_credit_household_income"), + ]: + for variant in STATE_VARIANTS: + assert value("eitc", i, variant, state) == 0 + base = value(variable, i, "state_base", state) + split_free = value(variable, i, "state_split_free", state) + assert abs(base - split_free) < 0.01, (state, base, split_free) + # The measure holds the whole amount, not just the taxable part. + assert base >= wages + STATE_EXTRA_WAGES + strike - 0.01, (state, base) diff --git a/policyengine_us/tools/default_uprating.py b/policyengine_us/tools/default_uprating.py index 854117721e1..46a4e21cf13 100644 --- a/policyengine_us/tools/default_uprating.py +++ b/policyengine_us/tools/default_uprating.py @@ -96,6 +96,7 @@ "long_term_capital_gains", "traditional_401k_contributions_desired", "strike_benefits", + "tax_exempt_strike_benefits", "other_medical_expenses", "over_the_counter_health_expenses", "health_insurance_premiums_without_medicare_part_b", diff --git a/policyengine_us/variables/gov/irs/credits/earned_income/eitc_earned_income.py b/policyengine_us/variables/gov/irs/credits/earned_income/eitc_earned_income.py index 3216d3abea2..a738b70280f 100644 --- a/policyengine_us/variables/gov/irs/credits/earned_income/eitc_earned_income.py +++ b/policyengine_us/variables/gov/irs/credits/earned_income/eitc_earned_income.py @@ -14,6 +14,9 @@ class eitc_earned_income(Variable): "https://www.law.cornell.edu/uscode/text/26/106#d", "https://www.irs.gov/publications/p596", "https://www.irs.gov/instructions/i1040gi", + # Strike and lockout benefits as earned income. + "https://www.irs.gov/pub/irs-prior/p596--2025.pdf#page=8", + "https://www.irs.gov/pub/irs-prior/p596--2010.pdf#page=12", ) def formula(tax_unit, period, parameters): @@ -35,6 +38,11 @@ def formula(tax_unit, period, parameters): # Taxable disability pensions before minimum retirement age # (Form 1040 line 1h; Pub. 596). "earned_disability_benefits", + # Taxable strike and lockout benefits, also Form 1040 line 1h: + # "If strike and lockout benefits are taxable, the benefits are + # generally earned income" (Pub. 596 (2025)). Pub. 596 (2010) + # called strike benefits a union pays its members earned income. + "taxable_strike_benefits", ] gross_earned_income = sum( tax_unit_non_dep_sum(source, tax_unit, period) diff --git a/policyengine_us/variables/gov/irs/income/adjusted_earnings.py b/policyengine_us/variables/gov/irs/income/adjusted_earnings.py index 2f67fbad293..67844c5b239 100644 --- a/policyengine_us/variables/gov/irs/income/adjusted_earnings.py +++ b/policyengine_us/variables/gov/irs/income/adjusted_earnings.py @@ -4,10 +4,11 @@ def earnings_before_zero_floor(person, period, parameters, taxable_wages): """ IRC 32(c)(2) earned income before the zero floor: wages measured as - taxable_wages, plus self-employment earnings, less the deductible part - of self-employment tax. States that tax a different wage base, such as - California, pass their own taxable wages so that a business loss offsets - those wages before the floor. + taxable_wages, disability pay reported as wages, strike benefits and + self-employment earnings, less the deductible part of self-employment + tax. States that tax a different wage base, such as California, pass + their own taxable wages so that a business loss offsets those wages + before the floor. """ p = parameters(period).gov.irs.ald.misc adjustment = ( @@ -16,9 +17,15 @@ def earnings_before_zero_floor(person, period, parameters, taxable_wages): * person("self_employment_tax", period) ) excluded_wages = person("employment_income", period) - taxable_wages - # Disability pay reported as wages is earned income (Pub. 503 (2024), - # file page 4). - earnings = add(person, period, ["earned_income", "earned_disability_benefits"]) + # "Earned income also includes strike benefits and any disability pay you + # report as wages", and "Generally, only taxable compensation is + # included" (Pub. 503 (2025), file page 4). FTB 3506 line 4 lists both + # for California. + earnings = add( + person, + period, + ["earned_income", "earned_disability_benefits", "taxable_strike_benefits"], + ) return earnings - excluded_wages - adjustment @@ -30,7 +37,8 @@ class adjusted_earnings(Variable): documentation = ( "Earned income for the IRC 129(b) limit (IRC 129(e)(2), Form 2441 " "lines 18-19): W-2 box 1 wages, which leave out pre-tax payroll " - "deductions and all dependent care benefits, plus self-employment " + "deductions and all dependent care benefits, plus disability pay " + "reported as wages, strike benefits (Pub. 503) and self-employment " "earnings less the deductible part of self-employment tax. Taxable " "dependent care benefits (Form 1040 line 1e) stay out, though they " "count toward earned income under IRC 32(c)(2) and 21(d). It sets each spouse's earned income limit " @@ -45,6 +53,7 @@ class adjusted_earnings(Variable): "https://www.law.cornell.edu/uscode/text/26/129#e_2", "https://www.law.cornell.edu/uscode/text/26/402#e_3", "https://www.irs.gov/pub/irs-prior/i2441--2025.pdf#page=4", + "https://www.irs.gov/pub/irs-prior/p503--2025.pdf#page=4", ) def formula(person, period, parameters): diff --git a/policyengine_us/variables/gov/states/al/tax/income/al_other_additions.py b/policyengine_us/variables/gov/states/al/tax/income/al_other_additions.py index 6a023d0b860..09cf458d7e0 100644 --- a/policyengine_us/variables/gov/states/al/tax/income/al_other_additions.py +++ b/policyengine_us/variables/gov/states/al/tax/income/al_other_additions.py @@ -10,7 +10,8 @@ class al_other_additions(Variable): defined_for = StateCode.AL documentation = ( "Alabama other additions to Alabama gross income reported on " - "Form 40, Page 2, Part I, Line 7 (Other income), entered as a positive amount." + "Form 40, Page 2, Part I, Line 7 (Other income), entered as a positive " + "amount, excluding strike benefits, which PolicyEngine already includes." ) reference = ( "https://www.revenue.alabama.gov/wp-content/uploads/2026/01/25f40bk.pdf#page=15" diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_other_additions.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_other_additions.py index 24e0e240453..d95cb63d4df 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_other_additions.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_other_additions.py @@ -11,6 +11,7 @@ class ar_other_additions(Variable): documentation = ( "Arkansas other additions to gross income reported on Form AR1000F, " "Line 22 (Line 20 before 2018), entered as a positive amount, " - "excluding gambling winnings, which PolicyEngine already reports on this line." + "excluding gambling winnings and strike benefits, which PolicyEngine " + "already reports on this line." ) reference = "https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=14" diff --git a/policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_nontaxable_income.py b/policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_nontaxable_income.py index dd6aaf7d7dc..8853a594549 100644 --- a/policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_nontaxable_income.py +++ b/policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_nontaxable_income.py @@ -25,9 +25,14 @@ def formula(person, period, parameters): sources = parameters(period).gov.irs.gross_income.sources # Federal gross income (irs_gross_income for members who are not # dependents, the same sources in az_property_tax_credit_dependent_income - # for dependents) holds strike benefits only if they are a listed source. + # for dependents) holds taxable_strike_benefits, the strike benefits + # other than gifts, when that is a listed source. Line I adds the rest. strike = person("strike_benefits", period) - excluded_strike = 0 if "strike_benefits" in sources else strike + if "taxable_strike_benefits" in sources: + taxable_strike = person("taxable_strike_benefits", period) + excluded_strike = max_(strike - taxable_strike, 0) + else: + excluded_strike = strike # Line H counts "all alimony received by each member of the household"; # federal gross income holds taxable_alimony_income (alimony under # pre-2019 divorce instruments). diff --git a/policyengine_us/variables/gov/states/ca/tax/income/ca_adjusted_earnings.py b/policyengine_us/variables/gov/states/ca/tax/income/ca_adjusted_earnings.py index 936f7853fa0..5785b3b8c75 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/ca_adjusted_earnings.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/ca_adjusted_earnings.py @@ -11,8 +11,9 @@ class ca_adjusted_earnings(Variable): documentation = ( "Earned income subject to California tax: California wages, which " "count the payroll HSA contributions that federal W-2 box 1 wages " - "leave out, plus self-employment earnings, less the deductible part " - "of self-employment tax, floored at zero." + "leave out, plus disability pay reported as wages, strike benefits " + "(FTB 3506 line 4) and self-employment earnings, less the deductible " + "part of self-employment tax, floored at zero." ) unit = USD definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/ia/tax/income/ia_other_additions.py b/policyengine_us/variables/gov/states/ia/tax/income/ia_other_additions.py index 7bd784c10a9..389055e521b 100644 --- a/policyengine_us/variables/gov/states/ia/tax/income/ia_other_additions.py +++ b/policyengine_us/variables/gov/states/ia/tax/income/ia_other_additions.py @@ -11,7 +11,8 @@ class ia_other_additions(Variable): documentation = ( "Iowa other additions to taxable income reported on Form IA 1040 from 2023, " "Schedule 1, Line 11, Column A; before 2023, IA 1040 Line 14, entered as a positive amount, " - "excluding miscellaneous income, which PolicyEngine already includes." + "excluding miscellaneous income and strike benefits, which PolicyEngine " + "already includes." ) # PDF pages 69-71 and 20-22 reference = ( diff --git a/policyengine_us/variables/household/income/person/misc/strike_benefits.py b/policyengine_us/variables/household/income/person/misc/strike_benefits.py index a5b7a148f1a..21244e4f951 100644 --- a/policyengine_us/variables/household/income/person/misc/strike_benefits.py +++ b/policyengine_us/variables/household/income/person/misc/strike_benefits.py @@ -6,4 +6,10 @@ class strike_benefits(Variable): entity = Person label = "strike benefits" unit = USD + documentation = ( + "Strike and lockout benefits a union pays, in cash or the fair market " + "value of other property, including any part that is a gift. See " + "taxable_strike_benefits and tax_exempt_strike_benefits." + ) definition_period = YEAR + reference = ("https://www.irs.gov/pub/irs-prior/p525--2025.pdf#page=36",) diff --git a/policyengine_us/variables/household/income/person/misc/tax_exempt_strike_benefits.py b/policyengine_us/variables/household/income/person/misc/tax_exempt_strike_benefits.py new file mode 100644 index 00000000000..c4b3c638e4e --- /dev/null +++ b/policyengine_us/variables/household/income/person/misc/tax_exempt_strike_benefits.py @@ -0,0 +1,21 @@ +from policyengine_us.model_api import * + + +class tax_exempt_strike_benefits(Variable): + value_type = float + entity = Person + label = "tax-exempt strike benefits" + unit = USD + documentation = ( + "The part of strike_benefits excluded from gross income as a gift " + "(IRC 102): benefits the facts clearly show the union meant as gifts " + "(Pub. 525). Defaults to zero, because strike and lockout benefits " + "are usually income." + ) + definition_period = YEAR + reference = ( + "https://www.law.cornell.edu/uscode/text/26/102#a", + "https://www.irs.gov/pub/irs-prior/p525--2025.pdf#page=36", + # Strike assistance found to be a gift on the facts. + "https://www.govinfo.gov/content/pkg/USREPORTS-363/pdf/USREPORTS-363-299.pdf", + ) diff --git a/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py b/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py new file mode 100644 index 00000000000..aa2b18f59bf --- /dev/null +++ b/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py @@ -0,0 +1,24 @@ +from policyengine_us.model_api import * + + +class taxable_strike_benefits(Variable): + value_type = float + entity = Person + label = "taxable strike benefits" + unit = USD + documentation = ( + "The part of strike_benefits included in gross income: strike and " + "lockout benefits other than gifts (Pub. 525). They are earned income " + "(Pub. 596), reported on Form 1040 line 1h from 2022." + ) + definition_period = YEAR + reference = ( + "https://www.irs.gov/pub/irs-prior/p525--2025.pdf#page=36", + "https://www.irs.gov/pub/irs-prior/p596--2025.pdf#page=8", + "https://www.irs.gov/pub/irs-prior/i1040gi--2025.pdf#page=24", + ) + + def formula(person, period, parameters): + strike_benefits = person("strike_benefits", period) + tax_exempt = person("tax_exempt_strike_benefits", period) + return max_(0, strike_benefits - tax_exempt) From 7878698dde97fa7891ba4b0ef3e7156288b4ae42 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 8 Nov 2026 16:42:02 -0500 Subject: [PATCH 02/12] Record strike benefits as earned income in the source-conflict backlog Section 32(c)(2)(A)(i) and Treas. Reg. 1.32-2(c)(2) don't name strike benefits; Publications 596 and 503 count taxable strike benefits as earned income. Add us:strike-benefits-earned-income (gap-fill) and point us:dependent-deduction-worksheet-earned-income at this PR, which adds line 1h to the worksheet's earned income. Co-Authored-By: Claude Opus 5.5 --- source_conflicts/candidates.yaml | 43 +++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 2674b4e9be5..b1b59436ec6 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -13097,13 +13097,16 @@ candidates: - policyengine_us/variables/gov/irs/income/taxable_income/deductions/standard_deduction/basic_standard_deduction.py prs: - https://github.com/PolicyEngine/policyengine-us/pull/10272 + - https://github.com/PolicyEngine/policyengine-us/pull/10727 state: unreviewed note: 'PE-US follows the worksheet: earned income is W-2 box 1 wages (after elective deferrals), earned disability benefits and Schedule 1 business and farm income, less the deductible part of self-employment tax, summed for the head and spouse and floored at zero; the Medicaid filing test and Oregon''s and Hawaii''s dependent deductions read the same measure (standard_deduction_worksheet_earned_income_person.py, standard_deduction_worksheet_earned_income.py, filing_requirement/dependent/earned_income_sources.yaml, basic_standard_deduction.py). Verify the line 15 subtraction - for partnership self-employment income, which the list leaves out.' + for partnership self-employment income, which the list leaves out. Strike or lockout benefits other than bona fide + gifts (Form 1040 line 1h, part of line 1z) joined the list in PR 10727; us:strike-benefits-earned-income records + the earned income question.' - id: us:education-benefits-joint-claimed-spouse program: income-tax years: @@ -13923,6 +13926,44 @@ candidates: 2025 CFR editions carry the same sentence at 685.208(b)(2), so the question runs from the model's first minimum_payment value in 2016. Issue 10567 reports the double minimum. +- id: us:strike-benefits-earned-income + program: income-tax + years: + from: 2010 + type: tax + question: Are taxable strike and lockout benefits a union pays earned income for the earned income credit, the + child and dependent care credit and the dependent standard deduction? + sources: + - kind: statute + citation: 26 U.S.C. 32(c)(2)(A)(i) + url: https://www.law.cornell.edu/uscode/text/26/32#c_2_A_i + - kind: guidance + citation: Publication 596 (2025), page 8, Strike and lockout benefits + url: https://www.irs.gov/pub/irs-prior/p596--2025.pdf#page=8 + - kind: guidance + citation: Publication 503 (2025), page 4, Earned income + url: https://www.irs.gov/pub/irs-prior/p503--2025.pdf#page=4 + readings: + statute: Section 32(c)(2)(A)(i) counts wages, salaries, tips and other employee compensation includible in gross + income; neither it nor Treas. Reg. 1.32-2(c)(2) names strike benefits, which a union rather than an employer pays. + other: Publication 596 makes taxable strike and lockout benefits generally earned income, and Publication 503 says + earned income includes strike benefits. + example: A 2025 head of household with one child and $20,000 of taxable strike benefits and no other income gets the + $4,328 maximum earned income credit; with the benefits outside earned income the credit is zero. + pe_us: + follows: gap-fill + code: + - policyengine_us/variables/gov/irs/credits/earned_income/eitc_earned_income.py + - policyengine_us/variables/gov/irs/income/adjusted_earnings.py + - policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/10727 + state: unreviewed + note: 'PE-US follows the publications: taxable_strike_benefits (strike_benefits less the tax_exempt_strike_benefits + gift part) counts in eitc_earned_income (the EITC, and the refundable CTC through ctc_phase_in_relevant_earnings), + in earnings_before_zero_floor (adjusted_earnings: the child and dependent care credit, section 129 and the + California dependent care credit) and in the dependent earned income sources (standard deduction worksheet and + filing test). Payroll taxes do not read it.' - id: us:student-loan-interest-joint-claimed-spouse program: income-tax years: From bfa2a697f227be3001cba4d43132e0dc4f1922a7 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 8 Nov 2026 16:45:20 -0500 Subject: [PATCH 03/12] Map taxable strike benefits to SPM resources in the parity test Every federal gross income source must reach SPM resources or carry a reason it doesn't (#9919). strike_benefits, the whole union payment, is in market income, so it counts the cash behind taxable_strike_benefits. Co-Authored-By: Claude Opus 5.5 --- policyengine_us/tests/test_household_spm_resource_parity.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policyengine_us/tests/test_household_spm_resource_parity.py b/policyengine_us/tests/test_household_spm_resource_parity.py index b3d554e469a..c3843a01411 100644 --- a/policyengine_us/tests/test_household_spm_resource_parity.py +++ b/policyengine_us/tests/test_household_spm_resource_parity.py @@ -95,6 +95,9 @@ # employment_income holds these benefits: irs_employment_income subtracts # them, and the part above the IRC 129 exclusion returns here. "taxable_dependent_care_benefits": "employment_income", + # strike_benefits holds the whole union payment, the gift part included; + # gross income takes the part that is not a gift. + "taxable_strike_benefits": "strike_benefits", "self_employment_income": "self_employment_income", "sstb_self_employment_income": "sstb_self_employment_income", "partnership_s_corp_income": "partnership_s_corp_income", From 4bd8bc4b1a09ee4fda3ba9f5f769122005a7e0d1 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 13:42:58 -0500 Subject: [PATCH 04/12] Add taxable strike benefits to the Arkansas line-comment map The code-health test pins each Arkansas gross income source to its AR1000F line for the year. Taxable strike benefits go on other income (Form AR-OI): line 20 on the 2015-2017 form and line 22 from 2018. Refs #9919 Co-Authored-By: Claude Opus 5.5 --- .../test_ar_gross_income_source_line_comments.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/policyengine_us/tests/code_health/test_ar_gross_income_source_line_comments.py b/policyengine_us/tests/code_health/test_ar_gross_income_source_line_comments.py index f42e262f694..5e9738520b1 100644 --- a/policyengine_us/tests/code_health/test_ar_gross_income_source_line_comments.py +++ b/policyengine_us/tests/code_health/test_ar_gross_income_source_line_comments.py @@ -11,13 +11,14 @@ 13 business income (Schedule C), 14 capital gains, 16 nonqualified IRA distributions and taxable annuities, 17A/17B employer pensions and qualified IRAs, where military retirement and disability retirement also go, 18 Schedule -E (rents, royalties, partnerships, S corporations, estates and trusts), 19 Schedule F, 20 other income (Form AR-OI, including gambling winnings). +E (rents, royalties, partnerships, S corporations, estates and trusts), 19 Schedule F, 20 other income (Form AR-OI, including gambling winnings and +taxable strike benefits). TY2018+ AR1000F (2018 booklet, form on #page=15; 2022 and 2025 AR1000F, #page=2): 13 business income, 14 capital gains, 16 nonqualified IRA distributions, 17 military retirement (17A/17B on the 2018 form), 18A/18B employer pensions and qualified IRAs, 19 Schedule E, 20 Schedule F, -21 unemployment, 22 other income. +21 unemployment, 22 other income (Form AR-OI). The check reads the YAML text without importing the model, so it costs nothing. A new source must be added to EXPECTED_LINES after checking the form. @@ -54,6 +55,7 @@ "farm_rent_income": "18", "farm_operations_income": "19", "gambling_winnings": "20", + "taxable_strike_benefits": "20", "ar_other_additions": "20", } @@ -82,6 +84,7 @@ "unemployment_compensation": "21", "total_unemployment_compensation": "21", "gambling_winnings": "22", + "taxable_strike_benefits": "22", "ar_other_additions": "22", } From 3666b67c3506c74af15c88345dd43608243a64e3 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 15:38:48 -0500 Subject: [PATCH 05/12] Answer the first review: Utah dependents, pre-2022 years, shared cap, AMT and PA - Utah homeowner's and renter's relief counts an adult dependent's own adjusted gross income (59-2a-101(15)): dependent_gross_income less their own above-the-line deductions. - The dependent earned income list takes strike benefits from 2022, when Form 1040 line 1h first puts them in line 1z; before that the worksheet counted line 1 and Schedule 1 lines 3 and 6. - Utah, Montana and Arizona read one variable, strike_benefits_excluded_from_gross_income, for the part federal gross income leaves out, so a reform that drops taxable_strike_benefits from gross income still counts the whole amount once. - The kiddie tax support test and the AMT child exemption cap leave strike benefits out of earned income (IRC 911(d)(2); Form 8615). - Pennsylvania Tax Forgiveness eligibility income counts strike benefits (PIT Guide, Tax Forgiveness, pages 5-6). - The property test draws an adult dependent with wages and strike benefits, and sums Montana's per-person measure over the household. Refs #9919 Co-Authored-By: Claude Opus 5.5 --- .../strike-benefits-gross-income.fixed.md | 2 +- .../dependent/earned_income_sources.yaml | 21 ++++ .../gross_income_sources.yaml | 10 +- .../eligibility_income_sources.yaml | 8 ++ .../nontaxable_income/sources.yaml | 7 +- .../gov/irs/income/strike_benefits.yaml | 36 ++++++ .../exemption/amt_exemption.yaml | 17 +++ .../kiddie_tax/amt_kiddie_tax_applies.yaml | 20 ++++ .../forgiveness/pa_eligibility_income.yaml | 24 ++++ ...meowner_renter_relief_strike_benefits.yaml | 113 ++++++++++++++++++ .../tests/test_strike_benefits_properties.py | 111 ++++++++++++----- .../exemption/amt_exemption.py | 11 +- .../kiddie_tax/amt_kiddie_tax_applies.py | 13 +- ...z_property_tax_credit_nontaxable_income.py | 7 +- ...omeowner_renter_relief_household_income.py | 22 +++- ...ike_benefits_excluded_from_gross_income.py | 31 +++++ source_conflicts/candidates.yaml | 33 +++-- 17 files changed, 424 insertions(+), 62 deletions(-) create mode 100644 policyengine_us/variables/household/income/person/misc/strike_benefits_excluded_from_gross_income.py diff --git a/changelog.d/strike-benefits-gross-income.fixed.md b/changelog.d/strike-benefits-gross-income.fixed.md index 55aa97fc6aa..4d50f12b93e 100644 --- a/changelog.d/strike-benefits-gross-income.fixed.md +++ b/changelog.d/strike-benefits-gross-income.fixed.md @@ -1 +1 @@ -Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources. +Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources, Pennsylvania Tax Forgiveness eligibility income and the nontaxable income of Utah, Montana and Arizona property relief; count an adult dependent's own income in Utah homeowner's and renter's relief household income. diff --git a/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml b/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml index 025e9fd452b..8f94c18e29f 100644 --- a/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml +++ b/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml @@ -1,12 +1,26 @@ description: The Internal Revenue Service counts these gross income sources as earned income of a filer who can be claimed as a dependent, both for the standard deduction worksheet for dependents and for the unearned income filing test. The earned portion of taxable disability benefits is counted separately; other gross income is unearned income. values: 2010-01-01: + # Form 1040 line 1 (line 7 before 2018; wages): the total of Form(s) W-2, + # box 1, which leaves out elective deferrals and dependent care benefits, + - irs_employment_income + # plus taxable dependent care benefits (Form 2441 line 26), + - taxable_dependent_care_benefits + # Schedule 1 line 3 (business income, Schedule C). + - self_employment_income + - sstb_self_employment_income + # Schedule 1 line 6 (farm income, Schedule F). + - farm_operations_income + 2022-01-01: # Form 1040 line 1z (wages): line 1a, the total of Form(s) W-2, box 1, # which leaves out elective deferrals and dependent care benefits, - irs_employment_income # plus line 1e, taxable dependent care benefits (Form 2441 line 26), - taxable_dependent_care_benefits # plus line 1h, strike or lockout benefits other than bona fide gifts. + # Line 1h first lists them in 2022; the instructions for earlier years + # name no line for them, and Publication 17 (2018, 2021) discusses them + # under other income. - taxable_strike_benefits # Schedule 1 line 3 (business income, Schedule C). - self_employment_income @@ -32,3 +46,10 @@ metadata: # partnerships, S corporations and trusts) is not on the list. - title: "2025 Form 1040 instructions, lines 1a and 1h and Standard Deduction Worksheet for Dependents #page 23-25,35" href: https://www.irs.gov/pub/irs-prior/i1040gi--2025.pdf#page=23 + # Worksheet footnote (2021): "Generally, your earned income is the total of + # the amount(s) you reported on Form 1040 or 1040-SR, line 1, and Schedule + # 1, lines 3 and 6, minus the amount, if any, on Schedule 1, line 15." + - title: "2021 Form 1040 instructions, Standard Deduction Worksheet for Dependents" + href: https://www.irs.gov/pub/irs-prior/i1040gi--2021.pdf + - title: "2022 Form 1040 instructions, line 1h, strike or lockout benefits" + href: https://www.irs.gov/pub/irs-prior/i1040gi--2022.pdf diff --git a/policyengine_us/parameters/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/gross_income_sources.yaml b/policyengine_us/parameters/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/gross_income_sources.yaml index 0b812018b42..961b7e384c1 100644 --- a/policyengine_us/parameters/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/gross_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/gross_income_sources.yaml @@ -51,9 +51,9 @@ values: - tax_exempt_pension_income - veterans_benefits # § 15-30-2337(9)(a)(i) – veterans' disability benefits - child_support_received # § 15-30-2337(9)(a)(iv) – support money - # § 15-30-2337(9)(a)(v) – nontaxable strike benefits; taxable ones are in - # federal AGI. - - tax_exempt_strike_benefits + # § 15-30-2337(9)(a)(v) – nontaxable strike benefits: the part federal + # gross income leaves out, since taxable ones are in federal AGI. + - strike_benefits_excluded_from_gross_income - general_assistance # § 15-30-2337(9)(a)(vi) – cash public assistance # Government assistance (Schedule 2EC line 16 from 2024; "disability # benefits including ... SSI payments and workers' compensation" and @@ -107,7 +107,7 @@ values: - tax_exempt_pension_income - veterans_benefits - child_support_received - - tax_exempt_strike_benefits + - strike_benefits_excluded_from_gross_income - general_assistance - ssi - mt_ssp @@ -130,7 +130,7 @@ values: - tax_exempt_pension_income - veterans_benefits - child_support_received - - tax_exempt_strike_benefits + - strike_benefits_excluded_from_gross_income - general_assistance - ssi - mt_ssp diff --git a/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml b/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml index 1e6f936e1f2..9fd3f818308 100644 --- a/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml @@ -7,6 +7,12 @@ values: # non-taxable dividends and gains # insurance proceeds and inheritances (Schedule SP line 4, includes survivor annuities) - military_retirement_pay_survivors + # Strike benefits a union pays, which PA taxable income leaves out (72 P.S. + # 7301(d)(vi)): eligibility income counts "all other income received in + # the form of cash and property from any other source", gifts of cash + # included, and excludes only payments employers or unions make for + # programs covering strike benefits (PIT Guide, Tax Forgiveness). + - strike_benefits # gifts awards and prizes # non-PA income # nontaxable military income (military pension benefits excluded per PA-40 SP) @@ -18,6 +24,8 @@ metadata: period: year label: PA eligibility income sources reference: + - title: PA PIT Guide - Chapter 20, Tax Forgiveness, eligibility income and its exclusions, page 5-6 + href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/papersonalincometaxguide/documents/pitguide_taxforgiveness.pdf#page=5 - title: PA PIT Guide - Chapter 20, Tax Forgiveness, page 15 href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/papersonalincometaxguide/documents/pitguide_taxforgiveness.pdf#page=5 - title: PA Form PA-40 Instructions, page 1 diff --git a/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml b/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml index 865a1371d07..b365bbf0be6 100644 --- a/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml +++ b/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml @@ -4,9 +4,10 @@ values: - alimony_income - child_support_received - railroad_benefits - # Nontaxable strike benefits (59-2a-101(20)(a)(v)); taxable ones are in - # federal adjusted gross income. - - tax_exempt_strike_benefits + # Nontaxable strike benefits (59-2a-101(20)(a)(v)): the part federal + # gross income leaves out, since the taxable part is in federal adjusted + # gross income. + - strike_benefits_excluded_from_gross_income - tax_exempt_interest_income - tax_exempt_pension_income - tax_exempt_retirement_distributions diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml index eab9a65eb45..a7f65d41008 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml @@ -227,6 +227,42 @@ # is not more than the larger of $1,350 or $2,000 plus $450. tax_unit_is_required_to_file: false +- name: 2021, a dependent's strike benefits are not worksheet earned income + period: 2021 + input: + people: + head: + age: 20 + strike_benefits: 5_000 + claimed_as_dependent_on_another_return: true + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + state_code: TX + output: + # The 2021 worksheet footnote counts Form 1040 line 1 and Schedule 1 + # lines 3 and 6; the 2021 instructions name no line for strike benefits, + # which line 1h (inside line 1z) takes from 2022. Rev. Proc. 2020-45 sec. + # 3.16(2): the greater of $1,100 or $350 plus earned income, so + # max($1,100, $350 + $0). + basic_standard_deduction: 1_100 + +- name: 2021, a dependent with $2,000 of strike benefits must file + period: 2021 + input: + filing_status: SINGLE + age: 19 + claimed_as_dependent_on_another_return: true + strike_benefits: 2_000 + output: + # Before 2022 the worksheet does not count strike benefits as earned + # income, so they are unearned income: $2,000 is over $1,100. + tax_unit_is_required_to_file: true + - name: 2025, a dependent with $2,000 of interest must file period: 2025 input: diff --git a/policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.yaml b/policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.yaml index 4a2bbb8c002..81a12aebb04 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.yaml @@ -83,6 +83,23 @@ # amt_exemption = min(34,475, 17,500) = 17,500 amt_exemption: 17_500 +- name: Strike benefits are not earned income for the child limitation + period: 2017 + input: + amt_income: 20_000 + amt_kiddie_tax_applies: true + employment_income: 2_000 + strike_benefits: 8_000 + filing_status: SINGLE + output: + # IRC 59(j)(1)(A) uses earned income under IRC 911(d)(2), "amounts + # received as compensation for personal services actually rendered"; + # strike benefits a union pays are not. Rev. Proc. 2016-55 sec. 3.10 and + # 3.11: $54,300 for a single filer, and a cap of earned income plus + # $7,500. No phase-out at $20,000 of AMT income. + # amt_exemption = min(54,300, 2,000 + 7,500) = 9,500 + amt_exemption: 9_500 + - name: 2018 single 18-year-old receives the ordinary exemption at the transition period: 2018 input: diff --git a/policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.yaml b/policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.yaml index f8adc12c0f3..15e16c69d1f 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.yaml @@ -177,6 +177,26 @@ # 10,000 > 0.5 * 19,998 = 9,999. amt_kiddie_tax_applies: false +- name: Strike benefits do not count toward an 18-year-old's earned income in the support test + period: 2017 + input: + people: + head: + age: 18 + employment_income: 4_000 + strike_benefits: 8_000 + care_and_support_costs: 20_000 + is_tax_unit_head: true + tax_units: + unit: + members: [head] + filing_status: SINGLE + output: + # Form 8615 instructions: "Earned income includes wages, tips, and other + # payments received for personal services performed." Strike benefits + # are not, so earned income is $4,000 <= 0.5 * 20,000 = 10,000. + amt_kiddie_tax_applies: true + - name: A full-time student aged 22 whose earnings are under half of support is covered period: 2017 input: diff --git a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml index e1ab38e4072..d4fe24bfe96 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml @@ -15,3 +15,27 @@ military_retirement_pay_survivors: 10_000 output: pa_eligibility_income: 15_000 + +# Eligibility income counts "all other income received in the form of cash +# and property from any other source", including gifts of cash, unless +# specifically excluded (PIT Guide, Tax Forgiveness, page 5). Strike benefits +# a union pays are not on the exclusion list, which names only payments +# employers or unions make for programs covering strike benefits. +- name: Case 3, strike benefits are PA tax forgiveness eligibility income though not PA taxable income. + period: 2025 + input: + state_code: PA + employment_income: 5_000 + strike_benefits: 4_000 + output: + pa_eligibility_income: 9_000 + +- name: Case 4, strike benefits the union meant as gifts are eligibility income too. + period: 2025 + input: + state_code: PA + employment_income: 5_000 + strike_benefits: 4_000 + tax_exempt_strike_benefits: 1_500 + output: + pa_eligibility_income: 9_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml index 7803126cb7d..479e596455d 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml @@ -23,3 +23,116 @@ state_code: UT output: ut_homeowner_renter_relief_nontaxable_income: 3_000 + +- name: 2025, a gift part above the total counts only the total + period: 2025 + input: + age: 70 + strike_benefits: 3_000 + tax_exempt_strike_benefits: 5_000 + state_code: UT + output: + # Nontaxable strike benefits are the part federal gross income leaves + # out, which is never more than the benefits received. + ut_homeowner_renter_relief_nontaxable_income: 3_000 + +# Household income is "all income received by all members of a claimant's +# household" 18 or older (59-2a-101(15)). An adult dependent's adjusted gross +# income is on their own return, so it counts like anyone else's. +- name: 2025, an adult dependent's taxable strike benefits are household income + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + strike_benefits: 5_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, dependent] + state_code: UT + output: + # $30,000 of the head's AGI plus the dependent's own AGI of $5,000; the + # head's AGI leaves the dependent's income out. + adjusted_gross_income: 30_000 + ut_homeowner_renter_relief_household_income: 35_000 + +- name: 2025, an adult dependent's strike benefits count once if all are a gift + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + strike_benefits: 5_000 + tax_exempt_strike_benefits: 5_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, dependent] + state_code: UT + output: + # $30,000 plus $5,000 of nontaxable strike benefits. + ut_homeowner_renter_relief_household_income: 35_000 + +- name: 2025, an adult dependent's wages are household income + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 5_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, dependent] + state_code: UT + output: + ut_homeowner_renter_relief_household_income: 35_000 + +- name: 2025, a dependent under 18 adds no household income + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + dependent: + age: 16 + is_tax_unit_dependent: true + employment_income: 5_000 + strike_benefits: 2_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, dependent] + state_code: UT + output: + # 59-2a-101(15)(b)(i) leaves out income of a member under 18. + ut_homeowner_renter_relief_household_income: 30_000 diff --git a/policyengine_us/tests/test_strike_benefits_properties.py b/policyengine_us/tests/test_strike_benefits_properties.py index 46272f96e33..45d9a12db19 100644 --- a/policyengine_us/tests/test_strike_benefits_properties.py +++ b/policyengine_us/tests/test_strike_benefits_properties.py @@ -7,16 +7,19 @@ strike_benefits into tax_exempt_strike_benefits (the gift part, an input) and taxable_strike_benefits (the rest). -Hypothesis draws filers with wages, strike benefits, a gift share and zero to -three children. Each example builds one 2025 simulation that holds every -drawn household in several variants: +Hypothesis draws filers with wages, strike benefits, a gift share (above one +for a gift input larger than the benefits) and zero to three children, and an +adult dependent with its own wages, strike benefits and gift share. Each +example builds one 2025 simulation that holds every drawn household in several +variants: - "base": the drawn wages W, strike benefits S and gift part G. -- "no_gift": W, S - G of strike benefits and no gift part. -- "as_wages": W + S - G of wages and no strike benefits. +- "no_gift": W, max(0, S - G) of strike benefits and no gift part. +- "as_wages": W + max(0, S - G) of wages and no strike benefits. - "state_base" and "state_split_free" in Utah, Montana and Arizona: no - children, W + $25,000 of wages and S of strike benefits, with the gift part - G or none of it a gift. + children, W + $60,000 of wages and S of strike benefits, and a full-time + student dependent aged 20 with the drawn wages and strike benefits, with + each person's gift part as drawn or none of it a gift. Invariants, for every drawn household: @@ -33,14 +36,15 @@ 24(d)(1)(B)(ii)); wages carry those taxes and strike benefits do not, so "as_wages" never owes more than "no_gift". 5. Counted once: Utah homeowner and renter relief household income (Utah Code - 59-2a-101(17), (20)(a)(v)), Montana elderly homeowner/renter credit gross - household income (MCA 15-30-2337(9)(a)(v)) and Arizona property tax credit - household income (ARS 43-1072(H)(6)(c)) count strike benefits once, the - taxable part through federal adjusted gross income and the gift part as - nontaxable income, so the split leaves them unchanged. Montana's measure - also counts federal refundable credits, which move with adjusted gross - income, so the state cases have no children and $25,000 more wages, which - keeps the EITC at zero in both (checked). + 59-2a-101(15), (17), (20)(a)(v)), Montana elderly homeowner/renter credit + gross household income (MCA 15-30-2337(9)(a)(v)) and Arizona property tax + credit household income (ARS 43-1072(H)(6)(c)) count every adult member's + strike benefits once, the taxable part through adjusted gross income (an + adult dependent's own) and the gift part, never more than the benefits, as + nontaxable income, so the split leaves them unchanged and they hold the + whole amount. Montana's measure also counts federal refundable credits, + which move with adjusted gross income, so the state cases have $60,000 + more wages, which keeps the EITC at zero in both (checked). """ import numpy as np @@ -65,8 +69,11 @@ { "wages": MONEY, "strike": MONEY, - "gift_share": st.sampled_from([0, 0, 0.5, 1]), + "gift_share": st.sampled_from([0, 0, 0.5, 1, 1.5]), "children": st.integers(0, 3), + "dependent_wages": MONEY, + "dependent_strike": MONEY, + "dependent_gift_share": st.sampled_from([0, 0.5, 1, 1.5]), } ) @@ -74,25 +81,27 @@ FEDERAL_VARIANTS = ["base", "no_gift", "as_wages"] STATE_VARIANTS = ["state_base", "state_split_free"] -# Wages added in the state cases, enough to end a childless filer's EITC. -STATE_EXTRA_WAGES = 25_000 +# Wages added in the state cases, enough to end the EITC of a head of +# household with one qualifying child (the dependent). +STATE_EXTRA_WAGES = 60_000 STATES = ["UT", "MT", "AZ"] def _amounts(filer: dict, variant: str) -> dict: wages, strike = filer["wages"], filer["strike"] gift = round(strike * filer["gift_share"], 2) + taxable = round(max(0.0, strike - gift), 2) if variant == "base": return {"employment_income": wages, "strike_benefits": strike, "gift": gift} if variant == "no_gift": return { "employment_income": wages, - "strike_benefits": round(strike - gift, 2), + "strike_benefits": taxable, "gift": 0.0, } if variant == "as_wages": return { - "employment_income": round(wages + strike - gift, 2), + "employment_income": round(wages + taxable, 2), "strike_benefits": 0.0, "gift": 0.0, } @@ -130,9 +139,27 @@ def _situation(filers: list) -> tuple: child = f"child_{n}_{c}" people[child] = {"age": {year: 6 + c}} members.append(child) + if state != "TX": + strike = filer["dependent_strike"] + gift = round(strike * filer["dependent_gift_share"], 2) + people[f"dependent_{n}"] = { + "age": {year: 20}, + "is_full_time_student": {year: True}, + # Without marital units every member shares the head's, which + # would make this adult the spouse. + "is_tax_unit_dependent": {year: True}, + "employment_income": {year: filer["dependent_wages"]}, + "strike_benefits": {year: strike}, + "tax_exempt_strike_benefits": { + year: gift if variant == "state_base" else 0.0 + }, + } + members.append(f"dependent_{n}") tax_units[f"tax_unit_{n}"] = { "members": members, - "filing_status": {year: "HEAD_OF_HOUSEHOLD" if children else "SINGLE"}, + "filing_status": { + year: "HEAD_OF_HOUSEHOLD" if len(members) > 1 else "SINGLE" + }, } households[f"household_{n}"] = { "members": members, @@ -161,12 +188,16 @@ def test_strike_benefit_invariants(filers): heads = sim.calculate("is_tax_unit_head", YEAR).astype(bool) - def value(variable, i, variant, state="TX"): + def value(variable, i, variant, state="TX", household_total=False): # Each case has one tax unit, one household and one head, in case - # order; a person-level variable is read for the head. - values = sim.calculate(variable, YEAR) - if sim.tax_benefit_system.variables[variable].entity.key == "person": - values = values[heads] + # order; a person-level variable is read for the head, or summed + # over the household when household_total is set. + if household_total: + values = sim.calculate(variable, YEAR, map_to="household") + else: + values = sim.calculate(variable, YEAR) + if sim.tax_benefit_system.variables[variable].entity.key == "person": + values = values[heads] return values[position[(i, variant, state)]] for i, filer in enumerate(filers): @@ -221,8 +252,26 @@ def value(variable, i, variant, state="TX"): ]: for variant in STATE_VARIANTS: assert value("eitc", i, variant, state) == 0 - base = value(variable, i, "state_base", state) - split_free = value(variable, i, "state_split_free", state) - assert abs(base - split_free) < 0.01, (state, base, split_free) - # The measure holds the whole amount, not just the taxable part. - assert base >= wages + STATE_EXTRA_WAGES + strike - 0.01, (state, base) + # Montana's measure is per person, and Montana's net household + # income sums it over the household, so the test sums it too. + base = value(variable, i, "state_base", state, household_total=True) + split_free = value( + variable, i, "state_split_free", state, household_total=True + ) + # float32 sums carry about 1e-7 of relative error. + tolerance = max(0.01, 1e-6 * abs(base)) + assert abs(base - split_free) < tolerance, (state, base, split_free) + # The measure holds both people's whole amounts, not just the + # taxable parts. + floor = ( + wages + + STATE_EXTRA_WAGES + + strike + + filer["dependent_wages"] + + filer["dependent_strike"] + ) + assert base >= floor - tolerance, (state, base, floor) + # The dependent is a dependent, so their income is not in the + # head's adjusted gross income. + agi = value("adjusted_gross_income", i, "state_split_free", state) + assert agi <= wages + STATE_EXTRA_WAGES + strike + tolerance, agi diff --git a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py index 1b29beecbed..16e3de22f80 100644 --- a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py +++ b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py @@ -57,10 +57,17 @@ def formula(tax_unit, period, parameters): # uses adjusted_earnings, which leaves out pre-tax payroll deductions. # IRC 59(j)(1)(A) counts the child's own earned income, and a covered # filer never files jointly, so the cap reads only the head's earnings. + # Strike benefits, which adjusted_earnings counts for the child and + # dependent care credit (Pub. 503), are not compensation for personal + # services actually rendered, so they come out here (floored at zero, + # which gives the same result as leaving them out before the floor). person = tax_unit.members - adj_earnings = tax_unit.sum( - person("adjusted_earnings", period) * person("is_tax_unit_head", period) + earned = max_( + person("adjusted_earnings", period) + - person("taxable_strike_benefits", period), + 0, ) + adj_earnings = tax_unit.sum(earned * person("is_tax_unit_head", period)) child_amount = p.exemption.child.amount exemption_cap = where( diff --git a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py index 6719e6753ac..1dd9921d9eb 100644 --- a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py +++ b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py @@ -21,6 +21,8 @@ class amt_kiddie_tax_applies(Variable): "https://www.law.cornell.edu/uscode/text/26/1#g_2", "https://www.irs.gov/pub/irs-prior/i6251--2017.pdf#page=10", "https://www.irs.gov/pub/irs-prior/p929--2021.pdf", + # Earned income for the support test (line 4 of the conditions). + "https://www.irs.gov/pub/irs-prior/i8615--2025.pdf#page=2", ] def formula(tax_unit, period, parameters): @@ -47,7 +49,16 @@ def formula(tax_unit, period, parameters): # half of the child's support. Every living person has some support, # so zero means nobody reported it, and the model treats the test as # met. - earned_income = tax_unit.sum(person("adjusted_earnings", period) * is_head) + # Form 8615 instructions: "Earned income includes wages, tips, and + # other payments received for personal services performed." Strike + # benefits, which adjusted_earnings counts for the child and dependent + # care credit (Pub. 503), are not, so they come out here. + earned = max_( + person("adjusted_earnings", period) + - person("taxable_strike_benefits", period), + 0, + ) + earned_income = tax_unit.sum(earned * is_head) support = tax_unit.sum(person("care_and_support_costs", period) * is_head) support_reported = support > 0 meets_support_test = ~support_reported | ( diff --git a/policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_nontaxable_income.py b/policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_nontaxable_income.py index 8853a594549..9a3f99eff50 100644 --- a/policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_nontaxable_income.py +++ b/policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_nontaxable_income.py @@ -27,12 +27,7 @@ def formula(person, period, parameters): # dependents, the same sources in az_property_tax_credit_dependent_income # for dependents) holds taxable_strike_benefits, the strike benefits # other than gifts, when that is a listed source. Line I adds the rest. - strike = person("strike_benefits", period) - if "taxable_strike_benefits" in sources: - taxable_strike = person("taxable_strike_benefits", period) - excluded_strike = max_(strike - taxable_strike, 0) - else: - excluded_strike = strike + excluded_strike = person("strike_benefits_excluded_from_gross_income", period) # Line H counts "all alimony received by each member of the household"; # federal gross income holds taxable_alimony_income (alimony under # pre-2019 divorce instruments). diff --git a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py index 5cdac989557..b470de4b62a 100644 --- a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py +++ b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py @@ -13,9 +13,13 @@ class ut_homeowner_renter_relief_household_income(Variable): "https://le.utah.gov/xcode/Title59/Chapter2A/C59-2a_2026010120250507.pdf#page=1", ) documentation = ( - "Counts adult household members' adjusted gross income. Parent and " - "grandparent exclusions are not modeled because household relationship " - "data do not identify those relatives." + "Counts adult household members' income: federal adjusted gross income " + "plus nontaxable income (Utah Code 59-2a-101(15), (17)). A tax unit " + "dependent's adjusted gross income is on their own return, so it is " + "their own gross income (dependent_gross_income) less their own " + "above-the-line deductions. Parent and grandparent exclusions are not " + "modeled because household relationship data do not identify those " + "relatives." ) defined_for = StateCode.UT @@ -23,6 +27,16 @@ def formula(household, period, parameters): p = parameters(period).gov.states.ut.tax.property.homeowner_renter_relief person = household.members person_agi = person("adjusted_gross_income_person", period) + # Household income counts every member 18 or older (59-2a-101(15)). + # adjusted_gross_income_person is zero for a tax unit dependent, whose + # income is on their own return, so an adult dependent's adjusted + # gross income is their own gross income less their own above-the-line + # deductions. + is_dependent = person("is_tax_unit_dependent", period) + dependent_agi = person("dependent_gross_income", period) - person( + "above_the_line_deductions_person", period + ) + own_agi = where(is_dependent, dependent_agi, person_agi) nontaxable_income = person( "ut_homeowner_renter_relief_nontaxable_income", period ) @@ -39,5 +53,5 @@ def formula(household, period, parameters): * tax_unit_agi ) return household.sum( - (person_agi + nontaxable_income) * is_adult + tax_unit_agi_fallback + (own_agi + nontaxable_income) * is_adult + tax_unit_agi_fallback ) diff --git a/policyengine_us/variables/household/income/person/misc/strike_benefits_excluded_from_gross_income.py b/policyengine_us/variables/household/income/person/misc/strike_benefits_excluded_from_gross_income.py new file mode 100644 index 00000000000..ab285b25ec9 --- /dev/null +++ b/policyengine_us/variables/household/income/person/misc/strike_benefits_excluded_from_gross_income.py @@ -0,0 +1,31 @@ +from policyengine_us.model_api import * + + +class strike_benefits_excluded_from_gross_income(Variable): + value_type = float + entity = Person + label = "strike benefits excluded from federal gross income" + unit = USD + documentation = ( + "The part of strike_benefits that federal gross income leaves out: " + "the nontaxable strike benefits that Utah homeowner's and renter's " + "relief, Montana's elderly homeowner/renter credit and Arizona's " + "property tax credit add to federal income. With " + "taxable_strike_benefits among the gross income sources, this is the " + "gift part, at most the whole amount; without it, the whole amount." + ) + definition_period = YEAR + reference = ( + "https://www.law.cornell.edu/uscode/text/26/102#a", + "https://www.irs.gov/pub/irs-prior/p525--2025.pdf#page=36", + ) + + def formula(person, period, parameters): + strike_benefits = person("strike_benefits", period) + sources = parameters(period).gov.irs.gross_income.sources + if "taxable_strike_benefits" not in sources: + return strike_benefits + # taxable_strike_benefits is max(0, strike - gift part), so this is the + # gift part capped at the whole amount. + taxable = person("taxable_strike_benefits", period) + return max_(strike_benefits - taxable, 0) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index b1b59436ec6..12daa152296 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -13105,8 +13105,8 @@ candidates: read the same measure (standard_deduction_worksheet_earned_income_person.py, standard_deduction_worksheet_earned_income.py, filing_requirement/dependent/earned_income_sources.yaml, basic_standard_deduction.py). Verify the line 15 subtraction for partnership self-employment income, which the list leaves out. Strike or lockout benefits other than bona fide - gifts (Form 1040 line 1h, part of line 1z) joined the list in PR 10727; us:strike-benefits-earned-income records - the earned income question.' + gifts (Form 1040 line 1h, part of line 1z) joined the list from 2022 in PR 10727; us:strike-benefits-earned-income + records the earned income question.' - id: us:education-benefits-joint-claimed-spouse program: income-tax years: @@ -13932,7 +13932,7 @@ candidates: from: 2010 type: tax question: Are taxable strike and lockout benefits a union pays earned income for the earned income credit, the - child and dependent care credit and the dependent standard deduction? + child and dependent care credit, the dependent standard deduction and the kiddie tax? sources: - kind: statute citation: 26 U.S.C. 32(c)(2)(A)(i) @@ -13943,11 +13943,22 @@ candidates: - kind: guidance citation: Publication 503 (2025), page 4, Earned income url: https://www.irs.gov/pub/irs-prior/p503--2025.pdf#page=4 + - kind: instructions + citation: Form 1040 instructions (2022), line 1h, and (2021), Standard Deduction Worksheet for Dependents footnote + url: https://www.irs.gov/pub/irs-prior/i1040gi--2022.pdf + - kind: statute + citation: 26 U.S.C. 911(d)(2), as used by 26 U.S.C. 1(g)(2)(A)(ii)(II) and 59(j)(1)(A) + url: https://www.law.cornell.edu/uscode/text/26/911#d_2 readings: statute: Section 32(c)(2)(A)(i) counts wages, salaries, tips and other employee compensation includible in gross income; neither it nor Treas. Reg. 1.32-2(c)(2) names strike benefits, which a union rather than an employer pays. + Section 911(d)(2) counts amounts received as compensation for personal services actually rendered, which strike + benefits are not. other: Publication 596 makes taxable strike and lockout benefits generally earned income, and Publication 503 says - earned income includes strike benefits. + earned income includes strike benefits. The dependent worksheet counts Form 1040 line 1z, which takes strike + benefits through line 1h from 2022; the 2021 and earlier instructions name no line for them, Publication 17 + discusses them under other income, and the worksheet then counted line 1 and Schedule 1 lines 3 and 6. + Publication 501 describes earned income as compensation for personal services performed. example: A 2025 head of household with one child and $20,000 of taxable strike benefits and no other income gets the $4,328 maximum earned income credit; with the benefits outside earned income the credit is zero. pe_us: @@ -13956,14 +13967,18 @@ candidates: - policyengine_us/variables/gov/irs/credits/earned_income/eitc_earned_income.py - policyengine_us/variables/gov/irs/income/adjusted_earnings.py - policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml + - policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py + - policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py prs: - https://github.com/PolicyEngine/policyengine-us/pull/10727 state: unreviewed - note: 'PE-US follows the publications: taxable_strike_benefits (strike_benefits less the tax_exempt_strike_benefits - gift part) counts in eitc_earned_income (the EITC, and the refundable CTC through ctc_phase_in_relevant_earnings), - in earnings_before_zero_floor (adjusted_earnings: the child and dependent care credit, section 129 and the - California dependent care credit) and in the dependent earned income sources (standard deduction worksheet and - filing test). Payroll taxes do not read it.' + note: 'PE-US follows the publications and forms: taxable_strike_benefits (strike_benefits less the + tax_exempt_strike_benefits gift part) counts from 2010 in eitc_earned_income (the EITC, and the refundable CTC + through ctc_phase_in_relevant_earnings) and in earnings_before_zero_floor (adjusted_earnings: the child and + dependent care credit, section 129 and the California dependent care credit), and from 2022, when line 1h puts it + in line 1z, in the dependent earned income sources (standard deduction worksheet and filing test). The kiddie tax + support test and the AMT child exemption cap follow section 911(d)(2) and the Form 8615 definition (payments for + personal services performed) and leave it out of adjusted_earnings. Payroll taxes do not read it.' - id: us:student-loan-interest-joint-claimed-spouse program: income-tax years: From 65958e1c7ae8fd1314b679fea4a8b1911dcf6fd5 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 16:30:20 -0500 Subject: [PATCH 06/12] Answer the second review of strike benefits - Utah relief counts an adult dependent's own adjusted gross income (new dependent_adjusted_gross_income: losses netted within 1211(b), above-the-line deductions taken, taxable social security counted once), leaves out a parent's or grandparent's income under 59-2a-101(15)(b), and counts no nontaxable unemployment for a dependent. - California's AMT child exemption (Schedule P line 8, earned income for personal services) leaves out strike benefits, as the federal cap does. - Pennsylvania subtracts strike_benefits_in_gross_income, the part federal gross income holds under any source list, so a reform that lists the whole amount still keeps it out of PA taxable income. - A negative gift input no longer adds to taxable strike benefits. - The kiddie tax comment cites the 2017 Form 8615 instructions the model applies; the dependent worksheet comments name the pre-2022 lines. - New tests: source-list reforms across UT, MT, AZ and PA; strike benefits are not pay for personal services (federal and California AMT child measures); Utah dependents, losses and parents; a 2022 dependent filing test. The PA candidate cites the Tax Forgiveness and Gross Compensation guides. Refs #9919 Co-Authored-By: Claude Opus 5.5 --- .../strike-benefits-gross-income.fixed.md | 2 +- .../dependent/earned_income_sources.yaml | 6 +- .../eligibility_income_sources.yaml | 26 +++- .../tax/income/nontaxable_income_sources.yaml | 10 +- .../nontaxable_income/sources.yaml | 4 +- .../code_health/test_source_conflicts.py | 1 + .../gov/irs/income/strike_benefits.yaml | 37 +++++ ...z_property_tax_credit_strike_benefits.yaml | 11 ++ .../ca_amt_exemption.yaml | 30 ++++ ...wner_or_renter_credit_strike_benefits.yaml | 21 +++ .../forgiveness/pa_eligibility_income.yaml | 9 +- .../pa/tax/income/pa_strike_benefits.yaml | 8 +- ...meowner_renter_relief_strike_benefits.yaml | 140 ++++++++++++++++++ .../tests/test_strike_benefits_properties.py | 93 +++++++++++- .../test_strike_benefits_source_reforms.py | 140 ++++++++++++++++++ .../dependent_adjusted_gross_income.py | 40 +++++ .../kiddie_tax/amt_kiddie_tax_applies.py | 7 +- .../exemption/ca_amt_exemption.py | 10 +- ...omeowner_renter_relief_household_income.py | 29 ++-- ...meowner_renter_relief_nontaxable_income.py | 14 +- ...ike_benefits_excluded_from_gross_income.py | 17 +-- .../misc/strike_benefits_in_gross_income.py | 30 ++++ .../person/misc/taxable_strike_benefits.py | 4 +- source_conflicts/candidates.yaml | 78 +++++++++- 24 files changed, 702 insertions(+), 65 deletions(-) create mode 100644 policyengine_us/tests/test_strike_benefits_source_reforms.py create mode 100644 policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py create mode 100644 policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py diff --git a/changelog.d/strike-benefits-gross-income.fixed.md b/changelog.d/strike-benefits-gross-income.fixed.md index 4d50f12b93e..e1260248f6d 100644 --- a/changelog.d/strike-benefits-gross-income.fixed.md +++ b/changelog.d/strike-benefits-gross-income.fixed.md @@ -1 +1 @@ -Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources, Pennsylvania Tax Forgiveness eligibility income and the nontaxable income of Utah, Montana and Arizona property relief; count an adult dependent's own income in Utah homeowner's and renter's relief household income. +Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources, Pennsylvania Tax Forgiveness eligibility income and the nontaxable income of Utah, Montana and Arizona property relief; leave them out of the kiddie tax support test and the federal and California AMT child exemptions; count an adult dependent's own adjusted gross income in Utah homeowner's and renter's relief household income, and leave out a parent's or grandparent's income. diff --git a/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml b/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml index 8f94c18e29f..5f1394b885d 100644 --- a/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml +++ b/policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml @@ -6,10 +6,12 @@ values: - irs_employment_income # plus taxable dependent care benefits (Form 2441 line 26), - taxable_dependent_care_benefits - # Schedule 1 line 3 (business income, Schedule C). + # business income (Schedule C): Form 1040 line 12 through 2017, Schedule 1 + # line 12 in 2018 and Schedule 1 line 3 from 2019, - self_employment_income - sstb_self_employment_income - # Schedule 1 line 6 (farm income, Schedule F). + # and farm income (Schedule F): Form 1040 line 18 through 2017, Schedule 1 + # line 18 in 2018 and Schedule 1 line 6 from 2019. - farm_operations_income 2022-01-01: # Form 1040 line 1z (wages): line 1a, the total of Form(s) W-2, box 1, diff --git a/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml b/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml index 9fd3f818308..3a26d5821ea 100644 --- a/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml @@ -7,11 +7,19 @@ values: # non-taxable dividends and gains # insurance proceeds and inheritances (Schedule SP line 4, includes survivor annuities) - military_retirement_pay_survivors - # Strike benefits a union pays, which PA taxable income leaves out (72 P.S. - # 7301(d)(vi)): eligibility income counts "all other income received in - # the form of cash and property from any other source", gifts of cash - # included, and excludes only payments employers or unions make for - # programs covering strike benefits (PIT Guide, Tax Forgiveness). + # Strike benefits a union pays, which PA taxable income leaves out. + # Eligibility income is "all moneys or property ... received of whatever + # nature and from whatever source derived" (72 P.S. 7301(o.2)). Its (vi) + # exclusion covers "payments made by employers or labor unions for + # programs covering ... strike benefits", which 61 Pa. Code 101.6(c)(9) + # reads, for the same words in the compensation definition, as payments + # to a strike benefit plan. The Tax Forgiveness guide repeats the (vi) + # words in its exclusions and counts employee payments to a cafeteria + # plan for strike benefits. Schedule SP (2025) line 10 counts "any + # payments received from other persons outside your household", line 5 + # counts gifts, and the list of income not to include leaves strike + # benefits out. So the whole union payment counts, gift part included + # (us-pa:tax-forgiveness-strike-benefits in candidates.yaml). - strike_benefits # gifts awards and prizes # non-PA income @@ -26,7 +34,11 @@ metadata: reference: - title: PA PIT Guide - Chapter 20, Tax Forgiveness, eligibility income and its exclusions, page 5-6 href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/papersonalincometaxguide/documents/pitguide_taxforgiveness.pdf#page=5 - - title: PA PIT Guide - Chapter 20, Tax Forgiveness, page 15 - href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/papersonalincometaxguide/documents/pitguide_taxforgiveness.pdf#page=5 + - title: 72 P.S. 7301(o.2), poverty income + href: https://www.palegis.us/statutes/unconsolidated/law-information/view-statute?txtType=HTM&SessYr=1971&ActNum=0002.&ChapterNum=003.&SectionNum=001.&SubsectionNum=0 + - title: 61 Pa. Code 101.6(c)(9), payments for strike benefit plans + href: https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/061/chapter101/s101.6.html + - title: "2025 PA-40 instructions, Schedule SP Section III, lines 5 and 10 and the income not to include #page 38-39" + href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/formsforindividuals/pit/documents/2025/2025_pa-40in.pdf#page=38 - title: PA Form PA-40 Instructions, page 1 href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/formsforindividuals/pit/documents/2021/2021_pa-40in.pdf#page=39 diff --git a/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml b/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml index 50bd6cbb93c..fbf36a5b839 100644 --- a/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml @@ -13,9 +13,11 @@ values: # third-party insurer payments, and disability distributions (61 Pa. # Code 101.6(c)(1)). Regular sick leave pay is in employment income. - taxable_disability_benefits - # Strike benefits are never taxable as PA compensation (72 P.S. - # 7301(d)(vi)). Federal gross income holds the part that is not a gift. - - taxable_strike_benefits + # Strike benefits are never taxable as PA compensation: the PIT Guide + # lists them among the income items never taxable as compensation. Only + # the part federal gross income holds (the part that is not a gift) is + # subtracted, so a federal reform that drops it leaves PA income as it is. + - strike_benefits_in_gross_income metadata: unit: currency-USD label: PA nontaxable income sources @@ -30,5 +32,7 @@ metadata: # as PA Compensation", and under "Pennsylvania Nontaxable Benefits" # quotes 72 P.S. 7301(d)(vi), which leaves out of compensation payments # by employers or labor unions for programs covering strike benefits. + # The model follows the guide's list; us-pa:tax-forgiveness-strike-benefits + # in source_conflicts/candidates.yaml records how the (vi) words read. - title: Pennsylvania Personal Income Tax Guide, Gross Compensation - income items never taxable as PA compensation href: https://www.pa.gov/agencies/revenue/forms-and-publications/pa-personal-income-tax-guide/gross-compensation.html#IncomeItemsNeverTaxablePA diff --git a/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml b/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml index b365bbf0be6..1750cdb8a53 100644 --- a/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml +++ b/policyengine_us/parameters/gov/states/ut/tax/property/homeowner_renter_relief/nontaxable_income/sources.yaml @@ -6,7 +6,9 @@ values: - railroad_benefits # Nontaxable strike benefits (59-2a-101(20)(a)(v)): the part federal # gross income leaves out, since the taxable part is in federal adjusted - # gross income. + # gross income. (20)(b) leaves out gifts and contributions from + # tax-exempt nongovernmental sources, but (a)(v) names nontaxable strike + # benefits, which are gifts from a union, so the specific item governs. - strike_benefits_excluded_from_gross_income - tax_exempt_interest_income - tax_exempt_pension_income diff --git a/policyengine_us/tests/code_health/test_source_conflicts.py b/policyengine_us/tests/code_health/test_source_conflicts.py index 59c143f2fdc..ea54f0bd1c0 100644 --- a/policyengine_us/tests/code_health/test_source_conflicts.py +++ b/policyengine_us/tests/code_health/test_source_conflicts.py @@ -141,6 +141,7 @@ "policyengine_us/parameters/gov/states/mo/tax/income/deductions/federal_income_tax/ignored_credits.yaml": 1, "policyengine_us/parameters/gov/states/mt/tax/income/subtractions/disability_income/cap.yaml": 1, "policyengine_us/parameters/gov/states/or/ohcs/liheap/payment/income_band.yaml": 1, + "policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml": 1, "policyengine_us/parameters/gov/states/sd/dss/liheap/income/limits/table/in_effect.yaml": 1, "policyengine_us/parameters/gov/states/ut/dwf/ccap/copay/income_limits.yaml": 1, "policyengine_us/parameters/gov/states/vt/tax/income/agi/student_loan_interest/income_limit.yaml": 1, diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml index a7f65d41008..a878dcb5b87 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml @@ -38,6 +38,27 @@ tax_exempt_strike_benefits: 5_000 output: taxable_strike_benefits: 0 + strike_benefits_in_gross_income: 0 + # The part federal gross income leaves out is at most the total. + strike_benefits_excluded_from_gross_income: 3_000 + +- name: The part in federal gross income and the part left out add to the total + period: 2025 + input: + strike_benefits: 10_000 + tax_exempt_strike_benefits: 4_000 + output: + strike_benefits_in_gross_income: 6_000 + strike_benefits_excluded_from_gross_income: 4_000 + +- name: A gift part below zero does not add to the benefits received + period: 2025 + input: + strike_benefits: 10_000 + tax_exempt_strike_benefits: -2_000 + output: + taxable_strike_benefits: 10_000 + strike_benefits_excluded_from_gross_income: 0 - name: 2025, strike benefits are gross income and adjusted gross income period: 2025 @@ -263,6 +284,22 @@ # income, so they are unearned income: $2,000 is over $1,100. tax_unit_is_required_to_file: true +- name: 2022, a dependent's strike benefits are worksheet earned income + period: 2022 + input: + filing_status: SINGLE + age: 19 + claimed_as_dependent_on_another_return: true + strike_benefits: 5_000 + output: + # From 2022 the worksheet counts Form 1040 line 1z, which holds line 1h + # strike benefits. Rev. Proc. 2021-45 sec. 3.15(2): the greater of $1,150 + # or $400 plus earned income, so 400 + 5,000 = 5,400. + basic_standard_deduction: 5_400 + # Earned income of $5,000 is under the $12,950 single standard deduction, + # and there is no unearned income, so the dependent need not file. + tax_unit_is_required_to_file: false + - name: 2025, a dependent with $2,000 of interest must file period: 2025 input: diff --git a/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_strike_benefits.yaml index bbed7d2b42f..29c67ec1517 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_strike_benefits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_strike_benefits.yaml @@ -21,3 +21,14 @@ state_code: AZ output: az_property_tax_credit_nontaxable_income: 4_000 + +- name: 2025, a gift part above the total counts only the total + period: 2025 + input: + age: 70 + strike_benefits: 3_000 + tax_exempt_strike_benefits: 5_000 + state_code: AZ + output: + # Line I takes the nontaxable part, never more than the $3,000 received. + az_property_tax_credit_nontaxable_income: 3_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/alternative_minimum_tax/ca_amt_exemption.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/alternative_minimum_tax/ca_amt_exemption.yaml index 6d2c72207c4..a7b52e029fb 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/alternative_minimum_tax/ca_amt_exemption.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/alternative_minimum_tax/ca_amt_exemption.yaml @@ -194,3 +194,33 @@ # Worksheet lines 7-10): min(8,300 + 5,000, 84,550) = 13,300. The # federal IRC 59(j) amount of 8,200 would give 13,200. ca_amt_exemption: 13_300 + +- name: Child exemption leaves strike benefits out of earned income + period: 2025 + input: + people: + person1: + age: 17 + is_tax_unit_head: true + is_qualifying_child_dependent: true + employment_income: 5_000 + strike_benefits: 8_000 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + ca_amti: 50_000 + households: + household: + members: [person1] + state_code: CA + output: + # The dependent care credit counts strike benefits (FTB 3506 line 4), so + # ca_head_earned is 5,000 + 8,000 = 13,000. + ca_head_earned: 13_000 + # Worksheet line 8 counts "wages, tips, and other payments received for + # personal services performed", which strike benefits are not: 5,000. + # Adult exemption: AMTI below the 347,808 threshold, so 92,749. Child + # (2025 Schedule P (540) instructions, line 22, Exemption Worksheet lines + # 7-10): min(9,750 + 5,000, 92,749) = 14,750. + ca_amt_exemption: 14_750 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_strike_benefits.yaml index 487a90f5056..6ab2afb06b5 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_strike_benefits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_strike_benefits.yaml @@ -42,3 +42,24 @@ # $6,000 in federal adjusted gross income plus $4,000 of nontaxable # strike benefits. mt_elderly_homeowner_or_renter_credit_gross_household_income: 10_000 + +- name: 2025, a gift part above the total counts only the total + period: 2025 + input: + people: + person1: + age: 75 + strike_benefits: 3_000 + tax_exempt_strike_benefits: 5_000 + ssi: 0 + tax_units: + tax_unit: + members: [person1] + households: + household: + members: [person1] + state_name: MT + output: + # None is in federal adjusted gross income, and the nontaxable part is + # never more than the $3,000 received. + mt_elderly_homeowner_or_renter_credit_gross_household_income: 3_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml index d4fe24bfe96..d8c0d50b920 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml @@ -18,9 +18,12 @@ # Eligibility income counts "all other income received in the form of cash # and property from any other source", including gifts of cash, unless -# specifically excluded (PIT Guide, Tax Forgiveness, page 5). Strike benefits -# a union pays are not on the exclusion list, which names only payments -# employers or unions make for programs covering strike benefits. +# specifically excluded (PIT Guide, Tax Forgiveness, page 5; 72 P.S. +# 7301(o.2)). The exclusion for "payments made by employers or labor unions +# for programs covering ... strike benefits" reaches payments to a strike +# benefit plan (61 Pa. Code 101.6(c)(9) reads the same words that way), and +# Schedule SP (2025) counts payments from persons outside the household +# (line 10) and gifts (line 5), so the strike benefits a union pays count. - name: Case 3, strike benefits are PA tax forgiveness eligibility income though not PA taxable income. period: 2025 input: diff --git a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml index 7dc140e0670..43bf30d8181 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml @@ -1,7 +1,7 @@ -# 72 P.S. 7301(d)(vi) leaves strike benefits out of compensation, and the -# PA Personal Income Tax Guide lists them among the "Income Items Never -# Taxable as PA Compensation". Pennsylvania taxable income starts from -# federal gross income here, so the federal amount is subtracted. +# The PA Personal Income Tax Guide lists strike benefits among the "Income +# Items Never Taxable as PA Compensation", beside 72 P.S. 7301(d)(vi). +# Pennsylvania taxable income starts from federal gross income here, so the +# amount federal gross income holds is subtracted. - name: 2025, strike benefits are not Pennsylvania taxable income period: 2025 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml index 479e596455d..59ee169c6e2 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml @@ -136,3 +136,143 @@ output: # 59-2a-101(15)(b)(i) leaves out income of a member under 18. ut_homeowner_renter_relief_household_income: 30_000 + +# A dependent's adjusted gross income is figured on their own return under +# IRC 62: losses net against income, and taxable Social Security is part of +# it, so the rest of the benefit is the nontaxable part (59-2a-101(17), +# (20)(a)(vii)). +- name: 2025, an adult dependent's Social Security counts once + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 40_000 + social_security_survivors: 10_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, dependent] + state_code: UT + output: + # IRC 86 on the dependent's own return: provisional income 40,000 + + # 10,000 / 2 = 45,000. Taxable: min(85% x 10,000, 85% x (45,000 - 34,000) + # + min(4,500, 5,000)) = min(8,500, 13,850) = 8,500. + dependent_taxable_social_security: [0, 8_500] + dependent_adjusted_gross_income: [0, 48_500] + # Nontaxable: 10,000 - 8,500 = 1,500. + ut_homeowner_renter_relief_nontaxable_income: [0, 1_500] + # 30,000 + 48,500 + 1,500. + ut_homeowner_renter_relief_household_income: 80_000 + +- name: 2025, an adult dependent's capital loss counts up to the IRC 1211(b) limit + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 8_000 + short_term_capital_gains: -5_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, dependent] + state_code: UT + output: + # 8,000 less the 3,000 loss limit. + dependent_adjusted_gross_income: [0, 5_000] + ut_homeowner_renter_relief_household_income: 35_000 + +- name: 2025, an adult dependent's business loss nets against their wages + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 8_000 + self_employment_income: -3_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, dependent] + state_code: UT + output: + dependent_adjusted_gross_income: [0, 5_000] + ut_homeowner_renter_relief_household_income: 35_000 + +- name: 2025, an adult dependent's self-employment tax deduction is their own + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + self_employment_income: 10_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, dependent] + state_code: UT + absolute_error_margin: 0.1 + output: + # Self-employment tax: 10,000 x 92.35% x 15.3% = 1,412.96; half of it, + # 706.48, is deductible. 10,000 - 706.48 = 9,293.52. + dependent_adjusted_gross_income: [0, 9_293.52] + ut_homeowner_renter_relief_household_income: 39_293.52 + +- name: 2025, a parent of the claimant adds no household income + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + parent: + age: 92 + is_tax_unit_dependent: true + is_parent_of_filer_or_spouse: true + taxable_interest_income: 4_000 + strike_benefits: 1_000 + tax_exempt_strike_benefits: 1_000 + tax_units: + tax_unit: + members: [head, parent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, parent] + state_code: UT + output: + # 59-2a-101(15)(b)(ii) leaves out a parent's or grandparent's income. + ut_homeowner_renter_relief_household_income: 30_000 diff --git a/policyengine_us/tests/test_strike_benefits_properties.py b/policyengine_us/tests/test_strike_benefits_properties.py index 45d9a12db19..f348ff64ec7 100644 --- a/policyengine_us/tests/test_strike_benefits_properties.py +++ b/policyengine_us/tests/test_strike_benefits_properties.py @@ -41,10 +41,16 @@ credit household income (ARS 43-1072(H)(6)(c)) count every adult member's strike benefits once, the taxable part through adjusted gross income (an adult dependent's own) and the gift part, never more than the benefits, as - nontaxable income, so the split leaves them unchanged and they hold the - whole amount. Montana's measure also counts federal refundable credits, - which move with adjusted gross income, so the state cases have $60,000 - more wages, which keeps the EITC at zero in both (checked). + nontaxable income, so the split leaves them unchanged and they equal the + members' wages plus their whole strike benefits. Montana's measure also + counts federal refundable credits, which move with adjusted gross income, + so the state cases have $60,000 more wages, which keeps the EITC at zero + in both (checked). +6. Personal services (differential): with alternative minimum taxable income + held fixed, strike benefits change neither the kiddie tax support test nor + the federal AMT child exemption cap (2017; IRC 59(j), 911(d)(2)), nor + California's AMT child exemption (2025 Schedule P (540), Exemption + Worksheet line 8), all of which count only payments for personal services. """ import numpy as np @@ -262,16 +268,89 @@ def value(variable, i, variant, state="TX", household_total=False): tolerance = max(0.01, 1e-6 * abs(base)) assert abs(base - split_free) < tolerance, (state, base, split_free) # The measure holds both people's whole amounts, not just the - # taxable parts. - floor = ( + # taxable parts, and nothing else: the drawn households have no + # other income, and the extra wages keep every refundable credit + # Montana counts at zero. + total = ( wages + STATE_EXTRA_WAGES + strike + filer["dependent_wages"] + filer["dependent_strike"] ) - assert base >= floor - tolerance, (state, base, floor) + assert abs(base - total) < tolerance, (state, base, total) # The dependent is a dependent, so their income is not in the # head's adjusted gross income. agi = value("adjusted_gross_income", i, "state_split_free", state) assert agi <= wages + STATE_EXTRA_WAGES + strike + tolerance, agi + + +CHILD = st.fixed_dictionaries( + { + "wages": MONEY, + "strike": MONEY, + "gift_share": st.sampled_from([0, 0.5, 1.5]), + # Under 18; under 24 and a full-time student; or 19 and not a student, + # who is outside the kiddie tax. + "age": st.sampled_from([(16, False), (20, True), (19, False)]), + "support": st.sampled_from([0, 10_000, 40_000]), + } +) + + +def _child_situation(children: list, year: int, state: str) -> dict: + """Two single-person tax units per drawn child, with and without the + strike benefits, in the given year and state.""" + people, tax_units, households = {}, {}, {} + y = str(year) + for i, child in enumerate(children): + age, student = child["age"] + gift = round(child["strike"] * child["gift_share"], 2) + for variant, strike in [("with", child["strike"]), ("without", 0.0)]: + name = f"{variant}_{i}" + people[name] = { + "age": {y: age}, + "is_full_time_student": {y: student}, + "is_qualifying_child_dependent": {y: True}, + "employment_income": {y: child["wages"]}, + "strike_benefits": {y: strike}, + "tax_exempt_strike_benefits": {y: gift if strike else 0.0}, + "care_and_support_costs": {y: child["support"]}, + } + tax_units[f"unit_{name}"] = { + "members": [name], + "filing_status": {y: "SINGLE"}, + # Held fixed, so only the earned income measures can differ. + "amt_income": {y: 50_000}, + "ca_amti": {y: 50_000}, + } + households[f"home_{name}"] = { + "members": [name], + "state_code": {y: state}, + } + return {"people": people, "tax_units": tax_units, "households": households} + + +@settings( + max_examples=5, + deadline=None, + derandomize=True, + database=None, + phases=[Phase.explicit, Phase.reuse, Phase.generate], + suppress_health_check=[HealthCheck.too_slow, HealthCheck.data_too_large], +) +@given(children=st.lists(CHILD, min_size=4, max_size=6)) +def test_strike_benefits_are_not_pay_for_personal_services(children): + for year, state, variables in [ + (2017, "TX", ["amt_kiddie_tax_applies", "amt_exemption"]), + (2025, "CA", ["ca_amt_exemption"]), + ]: + sim = Simulation(situation=_child_situation(children, year, state)) + for variable in variables: + values = sim.calculate(variable, year) + # Tax units alternate with and without strike benefits. + assert np.allclose(values[0::2], values[1::2], atol=0.01), ( + year, + variable, + values, + ) diff --git a/policyengine_us/tests/test_strike_benefits_source_reforms.py b/policyengine_us/tests/test_strike_benefits_source_reforms.py new file mode 100644 index 00000000000..caa707c5e75 --- /dev/null +++ b/policyengine_us/tests/test_strike_benefits_source_reforms.py @@ -0,0 +1,140 @@ +"""State measures that read strike benefits beside federal income, under +reforms that change how federal gross income counts them. + +strike_benefits_in_gross_income is the part of strike_benefits that federal +gross income holds, and strike_benefits_excluded_from_gross_income is the +rest. Utah homeowner's and renter's relief, Montana's elderly +homeowner/renter credit and Arizona's property tax credit add the rest to +federal income; Pennsylvania subtracts the part federal gross income holds +and then counts the whole amount in Tax Forgiveness eligibility income. + +Invariant: under current law, under a reform that drops +taxable_strike_benefits from gov.irs.gross_income.sources (a federal +exclusion, as the Tax Cut for Striking Workers Act proposes), and under one +that lists the whole strike_benefits instead, every measure counts each +dollar of strike benefits exactly once, and Pennsylvania taxable income +never holds any of it. + +One single filer per state, aged 70, with $20,000 of wages and $6,000 of +strike benefits, $1,000 of them a gift. +""" + +import pytest +from policyengine_core.periods import instant +from policyengine_core.reforms import Reform + +from policyengine_us import Simulation + +YEAR = 2025 +WAGES = 20_000 +STRIKE = 6_000 +GIFT = 1_000 +STATES = ["UT", "MT", "AZ", "PA"] + + +def _sources_reform(change): + class sources_reform(Reform): + def apply(self): + def modify(parameters): + node = parameters.gov.irs.gross_income.sources + start = instant(f"{YEAR}-01-01") + node.update( + start=start, + stop=instant(f"{YEAR}-12-31"), + value=change(list(node(start))), + ) + return parameters + + self.modify_parameters(modify) + + return sources_reform + + +def _drop(sources): + return [s for s in sources if s != "taxable_strike_benefits"] + + +def _swap(sources): + # Idempotent: the reform's modify function can run more than once. + kept = [ + s for s in sources if s not in ("taxable_strike_benefits", "strike_benefits") + ] + return kept + ["strike_benefits"] + + +def _situation(): + year = str(YEAR) + people = { + state: { + "age": {year: 70}, + "employment_income": {year: WAGES}, + "strike_benefits": {year: STRIKE}, + "tax_exempt_strike_benefits": {year: GIFT}, + # Keeps the model from computing SSI, which Montana counts. + "ssi": {year: 0}, + } + for state in STATES + } + return { + "people": people, + "tax_units": {f"{s}_unit": {"members": [s]} for s in STATES}, + "households": { + f"{s}_home": {"members": [s], "state_code": {year: s}} for s in STATES + }, + } + + +SCENARIOS = { + # (reform, part in federal gross income) + "current law": (None, STRIKE - GIFT), + "federal exclusion": (_sources_reform(_drop), 0), + "whole amount in gross income": (_sources_reform(_swap), STRIKE), +} + + +@pytest.fixture(scope="module", params=list(SCENARIOS)) +def scenario(request): + reform, in_gross_income = SCENARIOS[request.param] + sim = Simulation(situation=_situation(), reform=reform) + return sim, in_gross_income + + +def _person(sim, variable): + return dict(zip(STATES, sim.calculate(variable, YEAR))) + + +def test_split_follows_the_gross_income_sources(scenario): + sim, in_gross_income = scenario + for state, value in _person(sim, "strike_benefits_in_gross_income").items(): + assert value == pytest.approx(in_gross_income), state + for state, value in _person( + sim, "strike_benefits_excluded_from_gross_income" + ).items(): + assert value == pytest.approx(STRIKE - in_gross_income), state + for state, value in _person(sim, "irs_gross_income").items(): + assert value == pytest.approx(WAGES + in_gross_income), state + + +def test_property_relief_counts_strike_benefits_once(scenario): + sim, _ = scenario + expected = WAGES + STRIKE + households = dict( + zip(STATES, sim.calculate("ut_homeowner_renter_relief_household_income", YEAR)) + ) + assert households["UT"] == pytest.approx(expected) + households = dict( + zip(STATES, sim.calculate("az_property_tax_credit_household_income", YEAR)) + ) + assert households["AZ"] == pytest.approx(expected) + montana = _person( + sim, "mt_elderly_homeowner_or_renter_credit_gross_household_income" + ) + assert montana["MT"] == pytest.approx(expected) + + +def test_pennsylvania_never_taxes_strike_benefits(scenario): + sim, _ = scenario + taxable = dict(zip(STATES, sim.calculate("pa_total_taxable_income", YEAR))) + assert taxable["PA"] == pytest.approx(WAGES) + eligibility = dict(zip(STATES, sim.calculate("pa_eligibility_income", YEAR))) + assert eligibility["PA"] == pytest.approx(WAGES + STRIKE) diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py new file mode 100644 index 00000000000..3dacdf96aa7 --- /dev/null +++ b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py @@ -0,0 +1,40 @@ +from policyengine_us.model_api import * +from policyengine_us.variables.gov.irs.income.taxable_income.adjusted_gross_income.irs_gross_income.social_security.dependent_taxable_ss_magi import ( + PERSON_ABOVE_THE_LINE_DEDUCTIONS, + dependent_income_and_deductions, +) + + +class dependent_adjusted_gross_income(Variable): + value_type = float + entity = Person + label = "Dependent's adjusted gross income" + unit = USD + documentation = """ + The adjusted gross income of IRC 62 on a tax unit dependent's own return: + their gross income with business losses, and capital losses within the + IRC 1211(b) limit, netted; less their own above-the-line deductions; plus + their taxable Social Security. It shares dependent_taxable_ss_magi's + income measure, so unemployment compensation counts in full (the IRC + 85(c) exclusion applied only in 2020), taxable dependent care benefits + are left out, and above-the-line deductions the model records only for + the tax unit (health savings account contributions, which IRC 223(b)(6) + denies to dependents anyway) are not attributed to dependents. + """ + definition_period = YEAR + defined_for = "is_tax_unit_dependent" + reference = ( + "https://www.law.cornell.edu/uscode/text/26/62#a", + "https://www.law.cornell.edu/uscode/text/26/1211#b", + "https://www.law.cornell.edu/uscode/text/26/86#a", + ) + + def formula(person, period, parameters): + income, _ = dependent_income_and_deductions(person, period, parameters) + deductions = [ + PERSON_ABOVE_THE_LINE_DEDUCTIONS[deduction] + for deduction in parameters(period).gov.irs.ald.deductions + if deduction in PERSON_ABOVE_THE_LINE_DEDUCTIONS + ] + taxable_social_security = person("dependent_taxable_social_security", period) + return income - add(person, period, deductions) + taxable_social_security diff --git a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py index 1dd9921d9eb..96d8d62cb3a 100644 --- a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py +++ b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py @@ -21,8 +21,11 @@ class amt_kiddie_tax_applies(Variable): "https://www.law.cornell.edu/uscode/text/26/1#g_2", "https://www.irs.gov/pub/irs-prior/i6251--2017.pdf#page=10", "https://www.irs.gov/pub/irs-prior/p929--2021.pdf", - # Earned income for the support test (line 4 of the conditions). - "https://www.irs.gov/pub/irs-prior/i8615--2025.pdf#page=2", + # Earned income for the support test, which the model applies + # through 2017. The instructions then counted Form 1040 lines 7, 12 + # and 18 (wages, business and farm income) and named no line for + # strike benefits. + "https://www.irs.gov/pub/irs-prior/i8615--2017.pdf#page=2", ] def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py b/policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py index 69a1c065487..bdb9f1a81b4 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py @@ -36,8 +36,14 @@ def formula(tax_unit, period, parameters): exemption_amount_child = p.child.amount # Line 8: "wages, tips, and other payments received for personal # services performed", which in California include payroll HSA - # contributions. - earned_income = tax_unit("ca_head_earned", period) + # contributions. Strike benefits, which ca_head_earned counts for the + # dependent care credit (FTB 3506 line 4), are not payments for + # personal services, so they come out here (floored at zero, which + # gives the same result as leaving them out before the floor). + strike_benefits = tax_unit.sum( + person("taxable_strike_benefits", period) * is_head + ) + earned_income = max_(tax_unit("ca_head_earned", period) - strike_benefits, 0) # Line 9 total_reduced_exemption_amount = exemption_amount_child + earned_income # Line 10 diff --git a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py index b470de4b62a..03dce968ed1 100644 --- a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py +++ b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py @@ -15,11 +15,10 @@ class ut_homeowner_renter_relief_household_income(Variable): documentation = ( "Counts adult household members' income: federal adjusted gross income " "plus nontaxable income (Utah Code 59-2a-101(15), (17)). A tax unit " - "dependent's adjusted gross income is on their own return, so it is " - "their own gross income (dependent_gross_income) less their own " - "above-the-line deductions. Parent and grandparent exclusions are not " - "modeled because household relationship data do not identify those " - "relatives." + "dependent's adjusted gross income is on their own return " + "(dependent_adjusted_gross_income). Members under 18 and members who " + "are a parent or grandparent of the filer or spouse are left out " + "(59-2a-101(15)(b))." ) defined_for = StateCode.UT @@ -29,18 +28,24 @@ def formula(household, period, parameters): person_agi = person("adjusted_gross_income_person", period) # Household income counts every member 18 or older (59-2a-101(15)). # adjusted_gross_income_person is zero for a tax unit dependent, whose - # income is on their own return, so an adult dependent's adjusted - # gross income is their own gross income less their own above-the-line - # deductions. + # income is on their own return, so a dependent's adjusted gross + # income comes from that return. is_dependent = person("is_tax_unit_dependent", period) - dependent_agi = person("dependent_gross_income", period) - person( - "above_the_line_deductions_person", period + own_agi = where( + is_dependent, + person("dependent_adjusted_gross_income", period), + person_agi, ) - own_agi = where(is_dependent, dependent_agi, person_agi) nontaxable_income = person( "ut_homeowner_renter_relief_nontaxable_income", period ) is_adult = person("age", period) >= p.adult_age_threshold + # Income of a member who is a parent or grandparent of the claimant or + # the claimant's spouse is left out (59-2a-101(15)(b)(ii)). + parent_or_grandparent = person("is_parent_of_filer_or_spouse", period) | person( + "is_grandparent_of_filer_or_spouse", period + ) + counted = is_adult & ~parent_or_grandparent tax_unit_person_agi = person.tax_unit.sum(person_agi) tax_unit_agi = person.tax_unit("adjusted_gross_income", period) tax_unit_has_adult = ( @@ -53,5 +58,5 @@ def formula(household, period, parameters): * tax_unit_agi ) return household.sum( - (own_agi + nontaxable_income) * is_adult + tax_unit_agi_fallback + (own_agi + nontaxable_income) * counted + tax_unit_agi_fallback ) diff --git a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_nontaxable_income.py b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_nontaxable_income.py index 3ea3d1d381b..b19fdf362b4 100644 --- a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_nontaxable_income.py +++ b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_nontaxable_income.py @@ -17,7 +17,15 @@ def formula(person, period, parameters): listed_sources = add(person, period, p.nontaxable_income.sources) social_security = person("social_security", period) ssdi = person("social_security_disability", period) - taxable_social_security = person("taxable_social_security", period) + # A tax unit dependent's taxable Social Security is on their own return + # (dependent_adjusted_gross_income); taxable_social_security holds only + # the head's and spouse's. + is_dependent = person("is_tax_unit_dependent", period) + taxable_social_security = where( + is_dependent, + person("dependent_taxable_social_security", period), + person("taxable_social_security", period), + ) nontaxable_social_security = max_( 0, social_security - ssdi - taxable_social_security ) @@ -27,7 +35,9 @@ def formula(person, period, parameters): taxable_unemployment_compensation = person( "taxable_unemployment_compensation", period ) - nontaxable_unemployment_compensation = max_( + # A dependent's adjusted gross income already counts all of their + # unemployment compensation, so none of it is added here. + nontaxable_unemployment_compensation = ~is_dependent * max_( 0, total_unemployment_compensation - taxable_unemployment_compensation, ) diff --git a/policyengine_us/variables/household/income/person/misc/strike_benefits_excluded_from_gross_income.py b/policyengine_us/variables/household/income/person/misc/strike_benefits_excluded_from_gross_income.py index ab285b25ec9..b3e4b41a6ae 100644 --- a/policyengine_us/variables/household/income/person/misc/strike_benefits_excluded_from_gross_income.py +++ b/policyengine_us/variables/household/income/person/misc/strike_benefits_excluded_from_gross_income.py @@ -10,9 +10,11 @@ class strike_benefits_excluded_from_gross_income(Variable): "The part of strike_benefits that federal gross income leaves out: " "the nontaxable strike benefits that Utah homeowner's and renter's " "relief, Montana's elderly homeowner/renter credit and Arizona's " - "property tax credit add to federal income. With " - "taxable_strike_benefits among the gross income sources, this is the " - "gift part, at most the whole amount; without it, the whole amount." + "property tax credit add to federal income. It is the whole amount " + "less strike_benefits_in_gross_income, floored at zero: the gift part " + "(at most the whole amount) under current law, the whole amount under " + "a reform that drops taxable_strike_benefits from gross income, and " + "zero under one that lists strike_benefits itself." ) definition_period = YEAR reference = ( @@ -22,10 +24,5 @@ class strike_benefits_excluded_from_gross_income(Variable): def formula(person, period, parameters): strike_benefits = person("strike_benefits", period) - sources = parameters(period).gov.irs.gross_income.sources - if "taxable_strike_benefits" not in sources: - return strike_benefits - # taxable_strike_benefits is max(0, strike - gift part), so this is the - # gift part capped at the whole amount. - taxable = person("taxable_strike_benefits", period) - return max_(strike_benefits - taxable, 0) + in_gross_income = person("strike_benefits_in_gross_income", period) + return max_(strike_benefits - in_gross_income, 0) diff --git a/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py b/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py new file mode 100644 index 00000000000..bc439c354e5 --- /dev/null +++ b/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py @@ -0,0 +1,30 @@ +from policyengine_us.model_api import * + + +class strike_benefits_in_gross_income(Variable): + value_type = float + entity = Person + label = "strike benefits in federal gross income" + unit = USD + documentation = ( + "The part of strike_benefits that federal gross income counts: " + "taxable_strike_benefits while it is among the gross income sources " + "(as it is under current law), or the whole amount under a reform " + "that lists strike_benefits itself. States that subtract strike " + "benefits from federal income, such as Pennsylvania, subtract this, " + "so a reform that drops them from federal gross income never takes " + "other income out of a state base." + ) + definition_period = YEAR + reference = ( + "https://www.law.cornell.edu/uscode/text/26/61#a", + "https://www.irs.gov/pub/irs-prior/p525--2025.pdf#page=36", + ) + + def formula(person, period, parameters): + sources = parameters(period).gov.irs.gross_income.sources + in_gross_income = 0 + for source in ["strike_benefits", "taxable_strike_benefits"]: + if source in sources: + in_gross_income = in_gross_income + person(source, period) + return in_gross_income diff --git a/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py b/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py index aa2b18f59bf..a2071db3b66 100644 --- a/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py +++ b/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py @@ -20,5 +20,7 @@ class taxable_strike_benefits(Variable): def formula(person, period, parameters): strike_benefits = person("strike_benefits", period) - tax_exempt = person("tax_exempt_strike_benefits", period) + # A gift part below zero is not a gift, so it never adds to the + # benefits received. + tax_exempt = max_(0, person("tax_exempt_strike_benefits", period)) return max_(0, strike_benefits - tax_exempt) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 12daa152296..01740fbab37 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -13932,7 +13932,8 @@ candidates: from: 2010 type: tax question: Are taxable strike and lockout benefits a union pays earned income for the earned income credit, the - child and dependent care credit, the dependent standard deduction and the kiddie tax? + child and dependent care credit, the dependent standard deduction and filing test, the kiddie tax and the AMT child + exemption? sources: - kind: statute citation: 26 U.S.C. 32(c)(2)(A)(i) @@ -13949,6 +13950,12 @@ candidates: - kind: statute citation: 26 U.S.C. 911(d)(2), as used by 26 U.S.C. 1(g)(2)(A)(ii)(II) and 59(j)(1)(A) url: https://www.law.cornell.edu/uscode/text/26/911#d_2 + - kind: instructions + citation: Form 8615 instructions (2017), page 2, Earned income + url: https://www.irs.gov/pub/irs-prior/i8615--2017.pdf#page=2 + - kind: instructions + citation: 2025 Schedule P (540) instructions, line 22, Exemption Worksheet line 8 + url: https://www.ftb.ca.gov/forms/2025/2025-540-p-instructions.html readings: statute: Section 32(c)(2)(A)(i) counts wages, salaries, tips and other employee compensation includible in gross income; neither it nor Treas. Reg. 1.32-2(c)(2) names strike benefits, which a union rather than an employer pays. @@ -13956,9 +13963,13 @@ candidates: benefits are not. other: Publication 596 makes taxable strike and lockout benefits generally earned income, and Publication 503 says earned income includes strike benefits. The dependent worksheet counts Form 1040 line 1z, which takes strike - benefits through line 1h from 2022; the 2021 and earlier instructions name no line for them, Publication 17 - discusses them under other income, and the worksheet then counted line 1 and Schedule 1 lines 3 and 6. - Publication 501 describes earned income as compensation for personal services performed. + benefits through line 1h from 2022; the earlier instructions name no line for them, Publication 17 discusses + them under other income, and the worksheet then counted wages (Form 1040 line 7 through 2017, line 1 from 2018) + and the business and farm income lines. Publication 501 describes earned income as compensation for personal + services performed, and the filing test reads the same list as the worksheet. The Form 8615 instructions define + earned income as wages, tips and other payments received for personal services performed; from 2022 they add + that it is generally Form 1040 line 1z plus Schedule 1 lines 3 and 6, which then holds strike benefits. California's + Schedule P worksheet uses the same personal services words. example: A 2025 head of household with one child and $20,000 of taxable strike benefits and no other income gets the $4,328 maximum earned income credit; with the benefits outside earned income the credit is zero. pe_us: @@ -13969,16 +13980,67 @@ candidates: - policyengine_us/parameters/gov/irs/income/filing_requirement/dependent/earned_income_sources.yaml - policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py - policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py + - policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py prs: - https://github.com/PolicyEngine/policyengine-us/pull/10727 state: unreviewed note: 'PE-US follows the publications and forms: taxable_strike_benefits (strike_benefits less the tax_exempt_strike_benefits gift part) counts from 2010 in eitc_earned_income (the EITC, and the refundable CTC through ctc_phase_in_relevant_earnings) and in earnings_before_zero_floor (adjusted_earnings: the child and - dependent care credit, section 129 and the California dependent care credit), and from 2022, when line 1h puts it - in line 1z, in the dependent earned income sources (standard deduction worksheet and filing test). The kiddie tax - support test and the AMT child exemption cap follow section 911(d)(2) and the Form 8615 definition (payments for - personal services performed) and leave it out of adjusted_earnings. Payroll taxes do not read it.' + dependent care credit, section 129, and the state dependent care credits and deductions and EITC-based credits + that adopt these federal measures, California''s dependent care credit included), and from 2022, when line 1h puts + it in line 1z, in the dependent earned income sources (standard deduction worksheet and filing test). The kiddie tax + support test and the AMT child exemption cap, which the model applies through 2017, follow section 911(d)(2) and + the 2017 Form 8615 definition and leave it out of adjusted_earnings; California''s AMT child exemption leaves it out + of the head''s earned income the same way. Payroll taxes do not read it.' +- id: us-pa:tax-forgiveness-strike-benefits + program: income-tax + years: + from: 2004 + type: tax + question: Does 72 P.S. 7301(o.2)(vi) leave the strike benefits a union pays out of Pennsylvania Tax Forgiveness + eligibility income? + sources: + - kind: statute + citation: 72 P.S. 7301(o.2)(vi) and 7301(d)(vi) + url: https://www.palegis.us/statutes/unconsolidated/law-information/view-statute?txtType=HTM&SessYr=1971&ActNum=0002.&ChapterNum=003.&SectionNum=001.&SubsectionNum=0 + - kind: regulation + citation: 61 Pa. Code 101.6(c)(9) + url: https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/061/chapter101/s101.6.html + - kind: instructions + citation: 2025 PA-40 instructions, Schedule SP Section III, lines 5 and 10 + url: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/formsforindividuals/pit/documents/2025/2025_pa-40in.pdf#page=38 + - kind: guidance + citation: Pennsylvania Personal Income Tax Guide, Tax Forgiveness, eligibility income and its exclusions + url: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/papersonalincometaxguide/documents/pitguide_taxforgiveness.pdf#page=5 + - kind: guidance + citation: Pennsylvania Personal Income Tax Guide, Gross Compensation, nontaxable benefits + url: https://www.pa.gov/agencies/revenue/forms-and-publications/pa-personal-income-tax-guide/gross-compensation.html#IncomeItemsNeverTaxablePA + readings: + statute: Poverty income is all moneys or property received from whatever source, except (vi) payments made by + employers or labor unions for programs covering strike benefits. Read as reaching the benefits a striker + receives, it leaves them out of eligibility income. The Gross Compensation guide reads the same words in + 7301(d)(vi) that way for compensation; it quotes them, then calls strike benefits nontaxable "provided that the + program does not discriminate" and lists them among income items never taxable as compensation. + other: 61 Pa. Code 101.6(c)(9) reads the same words in the compensation definition as payments to a strike benefit + plan. The Tax Forgiveness guide repeats the statute's words in its exclusions, and its inclusions count gifts, + cash from persons outside the household and employee payments to a cafeteria plan for strike benefits. The 2025 + Schedule SP counts gifts (line 5) and payments received from persons outside the household (line 10), and its + list of income not to include leaves strike benefits out. + example: A 2025 single filer with $5,000 of wages and $4,000 of strike benefits has eligibility income of $9,000 when + the benefits count and $5,000 when they do not. + pe_us: + follows: gap-fill + code: + - policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml + - policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/10727 + state: unreviewed + note: 'PE-US counts the whole union payment, gift part included, in eligibility income, following the regulation + and Schedule SP, and keeps strike benefits out of PA taxable income, following the Gross Compensation guide''s list + of income never taxable as compensation. The department''s compensation reading, applied to the same words in + 7301(o.2)(vi), would leave them out of eligibility income instead.' - id: us:student-loan-interest-joint-claimed-spouse program: income-tax years: From a2002e89e05f7ed2b7dc4c96f91ae7b7477d6576 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 17:22:15 -0500 Subject: [PATCH 07/12] Answer the third review of the strike benefits PR Utah household income: the tax-unit AGI fallback honours the head's parent or grandparent flag, and the documentation says the flags describe a member's relation to their own tax unit's filer. A dependent's estate and trust losses now net in their modified AGI, as loss_ald nets them for filers. Pennsylvania: the compensation comment cites 72 P.S. 7301(d) ("received for services rendered") and drops the code-health exception; the Tax Forgiveness record cites 61 Pa. Code 101.1 and 123.3. Invariant 6 gains explicit examples that fail if any AMT or kiddie tax subtraction is dropped, and the source-reform test adds a head with an adult dependent and records why federal earned income keeps strike benefits under an exclusion reform. New YAML for dependent_adjusted_gross_income and three Utah cases. Refs #9919 Co-Authored-By: Claude Opus 5.5 --- .../strike-benefits-gross-income.fixed.md | 2 +- .../eligibility_income_sources.yaml | 25 ++- .../tax/income/nontaxable_income_sources.yaml | 11 +- .../code_health/test_source_conflicts.py | 1 - .../dependent_adjusted_gross_income.yaml | 146 ++++++++++++++++++ .../forgiveness/pa_eligibility_income.yaml | 10 +- .../pa/tax/income/pa_strike_benefits.yaml | 5 +- ...meowner_renter_relief_strike_benefits.yaml | 84 ++++++++++ .../tests/test_strike_benefits_properties.py | 30 +++- .../test_strike_benefits_source_reforms.py | 70 ++++++++- .../dependent_adjusted_gross_income.py | 10 +- .../dependent_taxable_ss_magi.py | 5 +- .../kiddie_tax/amt_kiddie_tax_applies.py | 7 +- .../exemption/ca_amt_exemption.py | 5 +- ...omeowner_renter_relief_household_income.py | 17 +- .../misc/strike_benefits_in_gross_income.py | 15 +- .../person/misc/taxable_strike_benefits.py | 8 +- source_conflicts/candidates.yaml | 47 +++--- 18 files changed, 434 insertions(+), 64 deletions(-) create mode 100644 policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml diff --git a/changelog.d/strike-benefits-gross-income.fixed.md b/changelog.d/strike-benefits-gross-income.fixed.md index e1260248f6d..ce830768ecf 100644 --- a/changelog.d/strike-benefits-gross-income.fixed.md +++ b/changelog.d/strike-benefits-gross-income.fixed.md @@ -1 +1 @@ -Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources, Pennsylvania Tax Forgiveness eligibility income and the nontaxable income of Utah, Montana and Arizona property relief; leave them out of the kiddie tax support test and the federal and California AMT child exemptions; count an adult dependent's own adjusted gross income in Utah homeowner's and renter's relief household income, and leave out a parent's or grandparent's income. +Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources, except Pennsylvania's, which leaves them out of taxable income and counts them in Tax Forgiveness eligibility income; Utah, Montana and Arizona property relief now count only the gift part as nontaxable income. Leave strike benefits out of the kiddie tax support test and the federal and California AMT child exemptions. Count an adult dependent's own adjusted gross income in Utah homeowner's and renter's relief household income, and leave out the income of a parent or grandparent of the claimant or spouse. Net a dependent's estate and trust losses in the modified adjusted gross income for their taxable Social Security and IRA deduction. diff --git a/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml b/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml index 3a26d5821ea..33e9dd999f9 100644 --- a/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml @@ -11,14 +11,19 @@ values: # Eligibility income is "all moneys or property ... received of whatever # nature and from whatever source derived" (72 P.S. 7301(o.2)). Its (vi) # exclusion covers "payments made by employers or labor unions for - # programs covering ... strike benefits", which 61 Pa. Code 101.6(c)(9) - # reads, for the same words in the compensation definition, as payments - # to a strike benefit plan. The Tax Forgiveness guide repeats the (vi) - # words in its exclusions and counts employee payments to a cafeteria - # plan for strike benefits. Schedule SP (2025) line 10 counts "any - # payments received from other persons outside your household", line 5 - # counts gifts, and the list of income not to include leaves strike - # benefits out. So the whole union payment counts, gift part included + # programs covering ... strike benefits". The poverty income regulation + # (61 Pa. Code 101.1, applied by 123.3) reads those words as "payments + # made by employers to labor unions for programs covering ... strike + # benefits", counts "gifts of cash or property" and "other income not + # specified as 'Income Not Included'", and its list of income not + # included leaves strike benefits out; 61 Pa. Code 101.6(c)(9) reads the + # same words in the compensation definition as payments to a strike + # benefit plan. The Tax Forgiveness guide repeats the (vi) words in its + # exclusions and counts employee payments to a cafeteria plan for strike + # benefits. Schedule SP (2025) line 10 counts "any payments received from + # other persons outside your household", line 5 counts gifts, and its + # list of income not to include leaves strike benefits out. So the whole + # union payment counts, gift part included # (us-pa:tax-forgiveness-strike-benefits in candidates.yaml). - strike_benefits # gifts awards and prizes @@ -36,6 +41,10 @@ metadata: href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/papersonalincometaxguide/documents/pitguide_taxforgiveness.pdf#page=5 - title: 72 P.S. 7301(o.2), poverty income href: https://www.palegis.us/statutes/unconsolidated/law-information/view-statute?txtType=HTM&SessYr=1971&ActNum=0002.&ChapterNum=003.&SectionNum=001.&SubsectionNum=0 + - title: 61 Pa. Code 101.1, poverty income (i)(F), (ii) and (iii) + href: https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/061/chapter101/s101.1.html + - title: 61 Pa. Code 123.3, taxability under special provisions + href: https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/061/chapter123/s123.3.html - title: 61 Pa. Code 101.6(c)(9), payments for strike benefit plans href: https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/061/chapter101/s101.6.html - title: "2025 PA-40 instructions, Schedule SP Section III, lines 5 and 10 and the income not to include #page 38-39" diff --git a/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml b/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml index fbf36a5b839..4688414ad07 100644 --- a/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml @@ -28,11 +28,10 @@ metadata: href: https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/061/chapter101/s101.6.html - title: "2024 Pennsylvania PIT Return Instructions (PA-40 IN), nontaxable sick pay and disability benefits and Code 3 disability distributions #page 8,13" href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/formsforindividuals/pit/documents/2024/2024_pa-40in.pdf#page=8 - # The guide lists strike benefits among the "Income Items Never Taxable - # as PA Compensation", and under "Pennsylvania Nontaxable Benefits" - # quotes 72 P.S. 7301(d)(vi), which leaves out of compensation payments - # by employers or labor unions for programs covering strike benefits. - # The model follows the guide's list; us-pa:tax-forgiveness-strike-benefits - # in source_conflicts/candidates.yaml records how the (vi) words read. + # Compensation is remuneration "received for services rendered" (72 P.S. + # 7301(d)), which a union's strike benefit is not, and the guide lists + # strike benefits among the "Income Items Never Taxable as PA + # Compensation". Pennsylvania taxable income starts here from federal + # gross income, so the part of strike benefits it holds is subtracted. - title: Pennsylvania Personal Income Tax Guide, Gross Compensation - income items never taxable as PA compensation href: https://www.pa.gov/agencies/revenue/forms-and-publications/pa-personal-income-tax-guide/gross-compensation.html#IncomeItemsNeverTaxablePA diff --git a/policyengine_us/tests/code_health/test_source_conflicts.py b/policyengine_us/tests/code_health/test_source_conflicts.py index ea54f0bd1c0..59c143f2fdc 100644 --- a/policyengine_us/tests/code_health/test_source_conflicts.py +++ b/policyengine_us/tests/code_health/test_source_conflicts.py @@ -141,7 +141,6 @@ "policyengine_us/parameters/gov/states/mo/tax/income/deductions/federal_income_tax/ignored_credits.yaml": 1, "policyengine_us/parameters/gov/states/mt/tax/income/subtractions/disability_income/cap.yaml": 1, "policyengine_us/parameters/gov/states/or/ohcs/liheap/payment/income_band.yaml": 1, - "policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml": 1, "policyengine_us/parameters/gov/states/sd/dss/liheap/income/limits/table/in_effect.yaml": 1, "policyengine_us/parameters/gov/states/ut/dwf/ccap/copay/income_limits.yaml": 1, "policyengine_us/parameters/gov/states/vt/tax/income/agi/student_loan_interest/income_limit.yaml": 1, diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml new file mode 100644 index 00000000000..c513f0d8da7 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml @@ -0,0 +1,146 @@ +# The adjusted gross income of IRC 62 on a tax unit dependent's own return: +# gross income with losses netted, less the dependent's own above-the-line +# deductions, plus their taxable Social Security (IRC 86). + +- name: 2025, a filer who is not a dependent has none + period: 2025 + input: + people: + head: + age: 45 + employment_income: 50_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 8_000 + tax_units: + tax_unit: + members: [head, dependent] + households: + household: + members: [head, dependent] + output: + # The head's income is on the tax unit's return, not a dependent's. + dependent_adjusted_gross_income: [0, 8_000] + +- name: 2025, a capital loss counts up to the IRC 1211(b) limit + period: 2025 + input: + people: + head: + age: 45 + employment_income: 50_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 8_000 + short_term_capital_gains: -5_000 + tax_units: + tax_unit: + members: [head, dependent] + households: + household: + members: [head, dependent] + output: + # IRC 1211(b): 3,000 of the 5,000 loss offsets other income. + dependent_adjusted_gross_income: [0, 5_000] + +- name: 2025, a self-employment loss nets against wages + period: 2025 + input: + people: + head: + age: 45 + employment_income: 50_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 8_000 + self_employment_income: -3_000 + tax_units: + tax_unit: + members: [head, dependent] + households: + household: + members: [head, dependent] + output: + dependent_adjusted_gross_income: [0, 5_000] + +- name: 2025, an estate or trust loss nets against wages + period: 2025 + input: + people: + head: + age: 45 + employment_income: 50_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 8_000 + estate_income: -2_000 + tax_units: + tax_unit: + members: [head, dependent] + households: + household: + members: [head, dependent] + output: + # Schedule E, Part III: 8,000 - 2,000. The same netting sets the + # modified adjusted gross income of IRC 86(b)(2). + dependent_taxable_ss_magi: [0, 6_000] + dependent_adjusted_gross_income: [0, 6_000] + +- name: 2025, the dependent's own above-the-line deductions come off + period: 2025 + input: + people: + head: + age: 45 + employment_income: 50_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + taxable_interest_income: 10_000 + early_withdrawal_penalty: 1_000 + tax_units: + tax_unit: + members: [head, dependent] + households: + household: + members: [head, dependent] + output: + # IRC 62(a)(9): 10,000 - 1,000. + dependent_adjusted_gross_income: [0, 9_000] + +- name: 2025, taxable Social Security is part of it + period: 2025 + input: + people: + head: + age: 45 + employment_income: 50_000 + parent: + age: 70 + is_tax_unit_dependent: true + is_tax_unit_spouse: false + social_security_retirement: 20_000 + taxable_interest_income: 30_000 + tax_units: + tax_unit: + members: [head, parent] + households: + household: + members: [head, parent] + output: + # IRC 86 with the unmarried amounts: provisional income 30,000 + + # 20,000 / 2 = 40,000. Paragraph (1): min(10,000, (40,000 - 25,000) / 2) + # = 7,500. Bracket: min(7,500, (34,000 - 25,000) / 2) = 4,500. Taxable: + # min(85% x (40,000 - 34,000) + 4,500, 85% x 20,000) = min(9,600, + # 17,000) = 9,600. + dependent_taxable_social_security: [0, 9_600] + dependent_adjusted_gross_income: [0, 39_600] diff --git a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml index d8c0d50b920..11bf76e68f5 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_eligibility_income.yaml @@ -20,10 +20,12 @@ # and property from any other source", including gifts of cash, unless # specifically excluded (PIT Guide, Tax Forgiveness, page 5; 72 P.S. # 7301(o.2)). The exclusion for "payments made by employers or labor unions -# for programs covering ... strike benefits" reaches payments to a strike -# benefit plan (61 Pa. Code 101.6(c)(9) reads the same words that way), and -# Schedule SP (2025) counts payments from persons outside the household -# (line 10) and gifts (line 5), so the strike benefits a union pays count. +# for programs covering ... strike benefits" reaches payments into a strike +# benefit program: the poverty income regulation, 61 Pa. Code 101.1 (i)(F), +# reads it as payments "by employers to labor unions", and (ii) counts gifts +# and other income its (iii) list leaves in. Schedule SP (2025) counts +# payments from persons outside the household (line 10) and gifts (line 5), +# so the strike benefits a union pays count. - name: Case 3, strike benefits are PA tax forgiveness eligibility income though not PA taxable income. period: 2025 input: diff --git a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml index 43bf30d8181..ea03829d942 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml @@ -1,5 +1,6 @@ -# The PA Personal Income Tax Guide lists strike benefits among the "Income -# Items Never Taxable as PA Compensation", beside 72 P.S. 7301(d)(vi). +# Compensation is remuneration received for services rendered (72 P.S. +# 7301(d)), and the PA Personal Income Tax Guide lists strike benefits among +# the "Income Items Never Taxable as PA Compensation". # Pennsylvania taxable income starts from federal gross income here, so the # amount federal gross income holds is subtracted. diff --git a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml index 59ee169c6e2..3390a42e0b6 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_strike_benefits.yaml @@ -276,3 +276,87 @@ output: # 59-2a-101(15)(b)(ii) leaves out a parent's or grandparent's income. ut_homeowner_renter_relief_household_income: 30_000 + +- name: 2025, a parent filing their own return adds no household income if flagged + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + parent: + age: 92 + is_parent_of_filer_or_spouse: true + tax_units: + claimant_unit: + members: [head] + filing_status: SINGLE + parent_unit: + members: [parent] + filing_status: SINGLE + # Adjusted gross income given for the return, not for a person. + adjusted_gross_income: 10_000 + marital_units: + head_marital_unit: + members: [head] + parent_marital_unit: + members: [parent] + households: + household: + members: [head, parent] + state_code: UT + output: + # 59-2a-101(15)(b)(ii): the parent's 10,000 is left out. + ut_homeowner_renter_relief_household_income: 30_000 + +- name: 2025, a return's adjusted gross income adds to an adult dependent's own + period: 2025 + input: + people: + head: + age: 70 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 5_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + # Adjusted gross income given for the head's return, not for a person. + adjusted_gross_income: 30_000 + households: + household: + members: [head, dependent] + state_code: UT + output: + # 30,000 on the head's return plus the dependent's own 5,000. + ut_homeowner_renter_relief_household_income: 35_000 + +- name: 2025, an adult dependent's estate loss nets against their wages + period: 2025 + input: + people: + head: + age: 70 + employment_income: 30_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 8_000 + estate_income: -2_000 + tax_units: + tax_unit: + members: [head, dependent] + filing_status: HEAD_OF_HOUSEHOLD + households: + household: + members: [head, dependent] + state_code: UT + output: + # A trust or estate loss on Schedule E, Part III, nets in adjusted gross + # income (IRC 62): 8,000 - 2,000. + dependent_adjusted_gross_income: [0, 6_000] + ut_homeowner_renter_relief_household_income: 36_000 diff --git a/policyengine_us/tests/test_strike_benefits_properties.py b/policyengine_us/tests/test_strike_benefits_properties.py index f348ff64ec7..6d1de1253e8 100644 --- a/policyengine_us/tests/test_strike_benefits_properties.py +++ b/policyengine_us/tests/test_strike_benefits_properties.py @@ -51,10 +51,12 @@ the federal AMT child exemption cap (2017; IRC 59(j), 911(d)(2)), nor California's AMT child exemption (2025 Schedule P (540), Exemption Worksheet line 8), all of which count only payments for personal services. + An explicit example puts each measure where counting strike benefits as + pay would change it. """ import numpy as np -from hypothesis import HealthCheck, Phase, given, settings +from hypothesis import HealthCheck, Phase, example, given, settings from hypothesis import strategies as st from policyengine_us import Simulation @@ -310,6 +312,9 @@ def _child_situation(children: list, year: int, state: str) -> dict: name = f"{variant}_{i}" people[name] = { "age": {y: age}, + # A lone child heads their own return; the model makes only + # adults heads by default. + "is_tax_unit_head": {y: True}, "is_full_time_student": {y: student}, "is_qualifying_child_dependent": {y: True}, "employment_income": {y: child["wages"]}, @@ -340,6 +345,29 @@ def _child_situation(children: list, year: int, state: str) -> dict: suppress_health_check=[HealthCheck.too_slow, HealthCheck.data_too_large], ) @given(children=st.lists(CHILD, min_size=4, max_size=6)) +# Cases where counting strike benefits as pay would change each measure: a +# student of 20 whose $4,000 of wages pass the support test (no more than +# half of $20,000) but whose wages plus $8,000 of strike benefits would not, +# and a child of 16 whose exemption caps would rise by $8,000 (federal 2017: +# $7,500 plus earned income; California 2025: $9,750 plus earned income). +@example( + children=[ + { + "wages": 4_000.0, + "strike": 8_000.0, + "gift_share": 0, + "age": (20, True), + "support": 20_000, + }, + { + "wages": 5_000.0, + "strike": 8_000.0, + "gift_share": 0, + "age": (16, False), + "support": 0, + }, + ] +) def test_strike_benefits_are_not_pay_for_personal_services(children): for year, state, variables in [ (2017, "TX", ["amt_kiddie_tax_applies", "amt_exemption"]), diff --git a/policyengine_us/tests/test_strike_benefits_source_reforms.py b/policyengine_us/tests/test_strike_benefits_source_reforms.py index caa707c5e75..97265c551c3 100644 --- a/policyengine_us/tests/test_strike_benefits_source_reforms.py +++ b/policyengine_us/tests/test_strike_benefits_source_reforms.py @@ -16,7 +16,20 @@ never holds any of it. One single filer per state, aged 70, with $20,000 of wages and $6,000 of -strike benefits, $1,000 of them a gift. +strike benefits, $1,000 of them a gift; and one household per state whose +head, aged 70, has $80,000 of wages (which ends the EITC that Montana's +measure would count) and $6,000 of strike benefits ($1,000 a gift), with an +adult dependent, a full-time student aged 20, who has $5,000 of wages and +$4,000 of strike benefits ($500 a gift). + +The federal earned income measures (eitc_earned_income, adjusted_earnings +and the dependent earned income list) keep reading taxable_strike_benefits +under these reforms. The Tax Cut for Striking Workers Act (S. 2779, 119th +Congress), which would exclude strike benefits from gross income in a new +IRC 139M, also adds 139M to the IRC 32(c)(2)(B)(vi) election that lets a +filer count excluded combat pay as earned income for the EITC. A reform for +that bill needs its own election logic; these reforms test only the state +measures. """ import pytest @@ -132,6 +145,61 @@ def test_property_relief_counts_strike_benefits_once(scenario): assert montana["MT"] == pytest.approx(expected) +HEAD_WAGES = 80_000 +DEPENDENT_WAGES = 5_000 +DEPENDENT_STRIKE = 4_000 +DEPENDENT_GIFT = 500 + + +def _household_situation(): + year = str(YEAR) + people, tax_units, households = {}, {}, {} + for state in STATES: + head, dependent = f"{state}_head", f"{state}_dependent" + people[head] = { + "age": {year: 70}, + "employment_income": {year: HEAD_WAGES}, + "strike_benefits": {year: STRIKE}, + "tax_exempt_strike_benefits": {year: GIFT}, + "ssi": {year: 0}, + } + people[dependent] = { + "age": {year: 20}, + "is_full_time_student": {year: True}, + "is_tax_unit_dependent": {year: True}, + "employment_income": {year: DEPENDENT_WAGES}, + "strike_benefits": {year: DEPENDENT_STRIKE}, + "tax_exempt_strike_benefits": {year: DEPENDENT_GIFT}, + "ssi": {year: 0}, + } + tax_units[f"{state}_unit"] = {"members": [head, dependent]} + households[f"{state}_home"] = { + "members": [head, dependent], + "state_code": {year: state}, + } + return {"people": people, "tax_units": tax_units, "households": households} + + +@pytest.fixture(scope="module", params=list(SCENARIOS)) +def household_scenario(request): + reform, _ = SCENARIOS[request.param] + return Simulation(situation=_household_situation(), reform=reform) + + +def test_adult_dependents_strike_benefits_count_once(household_scenario): + sim = household_scenario + expected = HEAD_WAGES + STRIKE + DEPENDENT_WAGES + DEPENDENT_STRIKE + for variable, state in [ + ("ut_homeowner_renter_relief_household_income", "UT"), + ("az_property_tax_credit_household_income", "AZ"), + ("mt_elderly_homeowner_or_renter_credit_gross_household_income", "MT"), + ]: + values = dict(zip(STATES, sim.calculate(variable, YEAR, map_to="household"))) + assert values[state] == pytest.approx(expected), (variable, values) + taxable = dict(zip(STATES, sim.calculate("pa_total_taxable_income", YEAR))) + assert taxable["PA"] == pytest.approx(HEAD_WAGES) + + def test_pennsylvania_never_taxes_strike_benefits(scenario): sim, _ = scenario taxable = dict(zip(STATES, sim.calculate("pa_total_taxable_income", YEAR))) diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py index 3dacdf96aa7..07c477d01db 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py @@ -12,10 +12,12 @@ class dependent_adjusted_gross_income(Variable): unit = USD documentation = """ The adjusted gross income of IRC 62 on a tax unit dependent's own return: - their gross income with business losses, and capital losses within the - IRC 1211(b) limit, netted; less their own above-the-line deductions; plus - their taxable Social Security. It shares dependent_taxable_ss_magi's - income measure, so unemployment compensation counts in full (the IRC + their gross income with business, rental, farm, partnership and estate + losses, and capital losses within the IRC 1211(b) limit, netted; less + their own above-the-line deductions; plus their taxable Social Security. + The IRC 461(l) limit on excess business losses is not applied. It + shares dependent_taxable_ss_magi's income measure, so unemployment + compensation counts in full (the IRC 85(c) exclusion applied only in 2020), taxable dependent care benefits are left out, and above-the-line deductions the model records only for the tax unit (health savings account contributions, which IRC 223(b)(6) diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/dependent_taxable_ss_magi.py b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/dependent_taxable_ss_magi.py index 1b712f483cb..a5dfde6c86b 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/dependent_taxable_ss_magi.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/dependent_taxable_ss_magi.py @@ -3,7 +3,9 @@ DEPENDENT_GROSS_INCOME_SOURCE_OVERRIDES, ) -# Gross income sources whose losses loss_ald deducts from gross income. +# Gross income sources whose losses loss_ald deducts from gross income +# (limited_business_loss: Schedule C, F and E items, estate and trust +# losses included). BUSINESS_LOSS_SOURCES = [ "self_employment_income", "sstb_self_employment_income", @@ -11,6 +13,7 @@ "farm_operations_income", "farm_rent_income", "rental_income", + "estate_income", ] # Above-the-line deductions the model can attribute to one person, keyed by diff --git a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py index 96d8d62cb3a..0ded0ef22f2 100644 --- a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py +++ b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/kiddie_tax/amt_kiddie_tax_applies.py @@ -22,9 +22,10 @@ class amt_kiddie_tax_applies(Variable): "https://www.irs.gov/pub/irs-prior/i6251--2017.pdf#page=10", "https://www.irs.gov/pub/irs-prior/p929--2021.pdf", # Earned income for the support test, which the model applies - # through 2017. The instructions then counted Form 1040 lines 7, 12 - # and 18 (wages, business and farm income) and named no line for - # strike benefits. + # through 2017: "wages, tips, and other payments received for + # personal services performed" (page 2). The instructions' sentence + # naming Form 1040 lines 7, 12 and 18 covers a child's trade or + # business in which capital is not an income-producing factor. "https://www.irs.gov/pub/irs-prior/i8615--2017.pdf#page=2", ] diff --git a/policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py b/policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py index bdb9f1a81b4..e44d8b7d3c5 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py @@ -8,7 +8,10 @@ class ca_amt_exemption(Variable): defined_for = StateCode.CA unit = USD definition_period = YEAR - reference = "https://www.ftb.ca.gov/forms/2022/2022-540-p-instructions.html" + reference = ( + "https://www.ftb.ca.gov/forms/2022/2022-540-p-instructions.html", + "https://www.ftb.ca.gov/forms/2025/2025-540-p-instructions.html", + ) def formula(tax_unit, period, parameters): p = parameters(period).gov.states.ca.tax.income.amt.exemption diff --git a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py index 03dce968ed1..772fa8a26a1 100644 --- a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py +++ b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py @@ -17,8 +17,13 @@ class ut_homeowner_renter_relief_household_income(Variable): "plus nontaxable income (Utah Code 59-2a-101(15), (17)). A tax unit " "dependent's adjusted gross income is on their own return " "(dependent_adjusted_gross_income). Members under 18 and members who " - "are a parent or grandparent of the filer or spouse are left out " - "(59-2a-101(15)(b))." + "are a parent or grandparent of the claimant or spouse are left out " + "(59-2a-101(15)(b)). The model marks the second group with " + "is_parent_of_filer_or_spouse and is_grandparent_of_filer_or_spouse, " + "which describe a member's relation to the filer of their own tax " + "unit. That filer is the claimant in a household with one tax unit. " + "A claimant's parent who files their own return counts unless they " + "carry one of the flags." ) defined_for = StateCode.UT @@ -41,7 +46,10 @@ def formula(household, period, parameters): ) is_adult = person("age", period) >= p.adult_age_threshold # Income of a member who is a parent or grandparent of the claimant or - # the claimant's spouse is left out (59-2a-101(15)(b)(ii)). + # the claimant's spouse is left out (59-2a-101(15)(b)(ii)). The flags + # describe the member's relation to the filer of their own tax unit, + # which is the claimant when the household has one tax unit; a parent + # who files their own return is left out only if flagged. parent_or_grandparent = person("is_parent_of_filer_or_spouse", period) | person( "is_grandparent_of_filer_or_spouse", period ) @@ -51,10 +59,13 @@ def formula(household, period, parameters): tax_unit_has_adult = ( person.tax_unit("age_head", period) >= p.adult_age_threshold ) | (person.tax_unit("age_spouse", period) >= p.adult_age_threshold) + # The fallback sits on the head, so the head's own flag decides + # whether it counts. tax_unit_agi_fallback = ( (tax_unit_person_agi == 0) * person("is_tax_unit_head", period) * tax_unit_has_adult + * ~parent_or_grandparent * tax_unit_agi ) return household.sum( diff --git a/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py b/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py index bc439c354e5..6a828be2517 100644 --- a/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py +++ b/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py @@ -7,7 +7,9 @@ class strike_benefits_in_gross_income(Variable): label = "strike benefits in federal gross income" unit = USD documentation = ( - "The part of strike_benefits that federal gross income counts: " + "The part of a person's strike_benefits that federal gross income " + "counts, on whichever return reports it (a tax unit dependent's on " + "their own): " "taxable_strike_benefits while it is among the gross income sources " "(as it is under current law), or the whole amount under a reform " "that lists strike_benefits itself. States that subtract strike " @@ -23,8 +25,9 @@ class strike_benefits_in_gross_income(Variable): def formula(person, period, parameters): sources = parameters(period).gov.irs.gross_income.sources - in_gross_income = 0 - for source in ["strike_benefits", "taxable_strike_benefits"]: - if source in sources: - in_gross_income = in_gross_income + person(source, period) - return in_gross_income + listed = [ + source + for source in ["strike_benefits", "taxable_strike_benefits"] + if source in sources + ] + return add(person, period, listed) diff --git a/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py b/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py index a2071db3b66..3fd85b5cb5f 100644 --- a/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py +++ b/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py @@ -7,9 +7,11 @@ class taxable_strike_benefits(Variable): label = "taxable strike benefits" unit = USD documentation = ( - "The part of strike_benefits included in gross income: strike and " - "lockout benefits other than gifts (Pub. 525). They are earned income " - "(Pub. 596), reported on Form 1040 line 1h from 2022." + "Strike and lockout benefits other than gifts, which federal gross " + "income includes under current law (Pub. 525); " + "strike_benefits_in_gross_income follows the gross income sources " + "under a reform. They are earned income (Pub. 596), reported on Form " + "1040 line 1h from 2022." ) definition_period = YEAR reference = ( diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 01740fbab37..ff7db04b4bb 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -13072,7 +13072,7 @@ candidates: - id: us:dependent-deduction-worksheet-earned-income program: income-tax years: - from: 2024 + from: 2010 type: tax question: Where section 63(c)(5) leaves earned income undefined, should the dependent standard deduction use the Form 1040 worksheet's reported-income measure? @@ -13106,7 +13106,8 @@ candidates: filing_requirement/dependent/earned_income_sources.yaml, basic_standard_deduction.py). Verify the line 15 subtraction for partnership self-employment income, which the list leaves out. Strike or lockout benefits other than bona fide gifts (Form 1040 line 1h, part of line 1z) joined the list from 2022 in PR 10727; us:strike-benefits-earned-income - records the earned income question.' + records the earned income question. The list runs from 2010, when the worksheet already counted reported income + (Form 1040 lines 7, 12 and 18 minus line 27).' - id: us:education-benefits-joint-claimed-spouse program: income-tax years: @@ -13967,9 +13968,10 @@ candidates: them under other income, and the worksheet then counted wages (Form 1040 line 7 through 2017, line 1 from 2018) and the business and farm income lines. Publication 501 describes earned income as compensation for personal services performed, and the filing test reads the same list as the worksheet. The Form 8615 instructions define - earned income as wages, tips and other payments received for personal services performed; from 2022 they add - that it is generally Form 1040 line 1z plus Schedule 1 lines 3 and 6, which then holds strike benefits. California's - Schedule P worksheet uses the same personal services words. + earned income as wages, tips and other payments received for personal services performed; their sentence naming + the Form 1040 lines (lines 7, 12 and 18 in 2017, line 1z and Schedule 1 lines 3 and 6 from 2022) covers a child's + trade or business in which capital is not an income-producing factor. California's Schedule P worksheet uses the + same personal services words. example: A 2025 head of household with one child and $20,000 of taxable strike benefits and no other income gets the $4,328 maximum earned income credit; with the benefits outside earned income the credit is zero. pe_us: @@ -14004,6 +14006,9 @@ candidates: - kind: statute citation: 72 P.S. 7301(o.2)(vi) and 7301(d)(vi) url: https://www.palegis.us/statutes/unconsolidated/law-information/view-statute?txtType=HTM&SessYr=1971&ActNum=0002.&ChapterNum=003.&SectionNum=001.&SubsectionNum=0 + - kind: regulation + citation: 61 Pa. Code 101.1, poverty income (i)(F), (ii) and (iii), applied by 61 Pa. Code 123.3 + url: https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/061/chapter101/s101.1.html - kind: regulation citation: 61 Pa. Code 101.6(c)(9) url: https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/061/chapter101/s101.6.html @@ -14017,30 +14022,34 @@ candidates: citation: Pennsylvania Personal Income Tax Guide, Gross Compensation, nontaxable benefits url: https://www.pa.gov/agencies/revenue/forms-and-publications/pa-personal-income-tax-guide/gross-compensation.html#IncomeItemsNeverTaxablePA readings: - statute: Poverty income is all moneys or property received from whatever source, except (vi) payments made by - employers or labor unions for programs covering strike benefits. Read as reaching the benefits a striker - receives, it leaves them out of eligibility income. The Gross Compensation guide reads the same words in - 7301(d)(vi) that way for compensation; it quotes them, then calls strike benefits nontaxable "provided that the - program does not discriminate" and lists them among income items never taxable as compensation. - other: 61 Pa. Code 101.6(c)(9) reads the same words in the compensation definition as payments to a strike benefit - plan. The Tax Forgiveness guide repeats the statute's words in its exclusions, and its inclusions count gifts, - cash from persons outside the household and employee payments to a cafeteria plan for strike benefits. The 2025 + statute: Poverty income is all moneys or property "received of whatever nature and from whatever source derived", + not including (vi) "payments made by employers or labor unions for programs covering hospitalization, sickness, + disability or death, supplemental unemployment benefits, strike benefits, Social Security and retirement". The + words do not say whether they mean payments into such a program or the benefits a striker receives from it. + other: The poverty income regulation, 61 Pa. Code 101.1 (i)(F), restates (vi) as "payments made by employers to + labor unions for programs covering" those benefits; its (ii) counts "gifts of cash or property" and "other income + not specified as 'Income Not Included'", and its (iii) list of income not included leaves strike benefits out. + 61 Pa. Code 101.6(c)(9) reads the same words in the compensation definition as payments to a strike benefit plan. + The Tax Forgiveness guide repeats the statute's words in its exclusions, and its inclusions count gifts, cash + from persons outside the household and employee payments to a cafeteria plan for strike benefits. The 2025 Schedule SP counts gifts (line 5) and payments received from persons outside the household (line 10), and its - list of income not to include leaves strike benefits out. + list of income not to include leaves strike benefits out. Only the Gross Compensation guide's framing points + the other way. After quoting 7301(d)(vi) in its cafeteria plan section, it calls strike benefits nontaxable + "provided that the program does not discriminate". example: A 2025 single filer with $5,000 of wages and $4,000 of strike benefits has eligibility income of $9,000 when the benefits count and $5,000 when they do not. pe_us: follows: gap-fill code: - policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml - - policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml prs: - https://github.com/PolicyEngine/policyengine-us/pull/10727 state: unreviewed - note: 'PE-US counts the whole union payment, gift part included, in eligibility income, following the regulation - and Schedule SP, and keeps strike benefits out of PA taxable income, following the Gross Compensation guide''s list - of income never taxable as compensation. The department''s compensation reading, applied to the same words in - 7301(o.2)(vi), would leave them out of eligibility income instead.' + note: 'PE-US counts the whole union payment, gift part included, in eligibility income, following 61 Pa. Code 101.1, + the Tax Forgiveness guide and Schedule SP where the statute''s words leave the question open. PA taxable income + leaves strike benefits out under either reading: compensation is remuneration "received for services rendered" + (7301(d)), and the Gross Compensation guide lists strike benefits among income items never taxable as + compensation.' - id: us:student-loan-interest-joint-claimed-spouse program: income-tax years: From 3d53af56923834d9103f69c42f3c6cc88db7bf8e Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 17:53:51 -0500 Subject: [PATCH 08/12] Answer the fourth review of the strike benefits PR strike_benefits_in_gross_income returns zero when no strike benefit source is listed, rather than add()'s empty result, which let an earlier-year input carry over. The Utah household income documentation names the multi-unit cases the parent and grandparent flags miss, and a dependent AGI test case uses a qualifying child. The source-reform docstring sets out what a reform for S. 2779 needs beyond the gross income sources (EITC election, refundable CTC phase-in under IRC 24(d)(1), the dependent earned income list). Comment and record fixes: Pennsylvania nontaxable list wording, the Gross Compensation anchor, Form 8615's 2022 worksheet sentence, and the Montana test citation. Refs #9919 Co-Authored-By: Claude Opus 5.5 --- .../tax/income/nontaxable_income_sources.yaml | 11 ++++---- .../dependent_adjusted_gross_income.yaml | 13 +++++----- ..._renter_credit_gross_household_income.yaml | 5 +++- .../test_strike_benefits_source_reforms.py | 26 +++++++++++++------ ...omeowner_renter_relief_household_income.py | 6 ++++- .../misc/strike_benefits_in_gross_income.py | 3 +++ source_conflicts/candidates.yaml | 11 ++++---- 7 files changed, 49 insertions(+), 26 deletions(-) diff --git a/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml b/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml index 4688414ad07..ac651d06df9 100644 --- a/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml +++ b/policyengine_us/parameters/gov/states/pa/tax/income/nontaxable_income_sources.yaml @@ -14,9 +14,10 @@ values: # Code 101.6(c)(1)). Regular sick leave pay is in employment income. - taxable_disability_benefits # Strike benefits are never taxable as PA compensation: the PIT Guide - # lists them among the income items never taxable as compensation. Only - # the part federal gross income holds (the part that is not a gift) is - # subtracted, so a federal reform that drops it leaves PA income as it is. + # lists them among the income items never taxable as compensation. The + # list subtracts only the part federal gross income holds (under current + # law, the part that is not a gift), so PA income stays the same under a + # federal reform that drops strike benefits or counts all of them. - strike_benefits_in_gross_income metadata: unit: currency-USD @@ -31,7 +32,7 @@ metadata: # Compensation is remuneration "received for services rendered" (72 P.S. # 7301(d)), which a union's strike benefit is not, and the guide lists # strike benefits among the "Income Items Never Taxable as PA - # Compensation". Pennsylvania taxable income starts here from federal - # gross income, so the part of strike benefits it holds is subtracted. + # Compensation". Pennsylvania taxable income starts from federal gross + # income, so this list subtracts the part of strike benefits it holds. - title: Pennsylvania Personal Income Tax Guide, Gross Compensation - income items never taxable as PA compensation href: https://www.pa.gov/agencies/revenue/forms-and-publications/pa-personal-income-tax-guide/gross-compensation.html#IncomeItemsNeverTaxablePA diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml index c513f0d8da7..4d5cb38e8be 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml @@ -124,18 +124,19 @@ head: age: 45 employment_income: 50_000 - parent: - age: 70 + dependent: + # A qualifying child has no gross income test (IRC 152(c)). + age: 20 is_tax_unit_dependent: true - is_tax_unit_spouse: false - social_security_retirement: 20_000 + is_full_time_student: true + social_security_survivors: 20_000 taxable_interest_income: 30_000 tax_units: tax_unit: - members: [head, parent] + members: [head, dependent] households: household: - members: [head, parent] + members: [head, dependent] output: # IRC 86 with the unmarried amounts: provisional income 30,000 + # 20,000 / 2 = 40,000. Paragraph (1): min(10,000, (40,000 - 25,000) / 2) diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_gross_household_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_gross_household_income.yaml index 2814d4ac976..d63d04be5f4 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_gross_household_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/credits/elderly_homeowner_or_renter/mt_elderly_homeowner_or_renter_credit_gross_household_income.yaml @@ -19,7 +19,10 @@ members: [person1] state_name: MT output: - # § 15-30-2337(9)(a)(i), (iv), (v), (vi). Sum: 5,000 + 3,000 + 2,000 + 1,000. + # § 15-30-2337(9)(a)(i), (iv) and (vi), plus the $2,000 of strike benefits, + # none a gift, which federal adjusted gross income holds (Pub. 525); only + # a gift part would be (9)(a)(v) "nontaxable strike benefits". + # Sum: 5,000 + 3,000 + 2,000 + 1,000. mt_elderly_homeowner_or_renter_credit_gross_household_income: 11_000 - name: Untaxed Social Security is fully counted in gross household income diff --git a/policyengine_us/tests/test_strike_benefits_source_reforms.py b/policyengine_us/tests/test_strike_benefits_source_reforms.py index 97265c551c3..c9bbf616a8e 100644 --- a/policyengine_us/tests/test_strike_benefits_source_reforms.py +++ b/policyengine_us/tests/test_strike_benefits_source_reforms.py @@ -22,14 +22,24 @@ adult dependent, a full-time student aged 20, who has $5,000 of wages and $4,000 of strike benefits ($500 a gift). -The federal earned income measures (eitc_earned_income, adjusted_earnings -and the dependent earned income list) keep reading taxable_strike_benefits -under these reforms. The Tax Cut for Striking Workers Act (S. 2779, 119th -Congress), which would exclude strike benefits from gross income in a new -IRC 139M, also adds 139M to the IRC 32(c)(2)(B)(vi) election that lets a -filer count excluded combat pay as earned income for the EITC. A reform for -that bill needs its own election logic; these reforms test only the state -measures. +These reforms test only the state measures; they edit only the gross income +sources, so the federal earned income measures keep reading +taxable_strike_benefits. A reform for the Tax Cut for Striking Workers Act +(S. 2779, 119th Congress), which would exclude strike benefits from gross +income in a new IRC 139M, needs more: +- the bill adds 139M to the IRC 32(c)(2)(B)(vi) election that lets a filer + count excluded combat pay as earned income for the EITC, so + eitc_earned_income needs election logic; +- the refundable CTC phase-in (ctc_phase_in_relevant_earnings, which reads + eitc_earned_income) counts earned income "taken into account in computing + taxable income", and IRC 24(d)(1) deems only section 112 amounts to be, so + it must leave the excluded benefits out; +- the dependent earned income list + (gov.irs.income.filing_requirement.dependent.earned_income_sources) counts + Form 1040 line 1z, which an exclusion would leave without strike benefits, + so the reform must edit that list; +- adjusted_earnings (the child and dependent care credit) needs its own + reading. """ import pytest diff --git a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py index 772fa8a26a1..d0d600772e9 100644 --- a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py +++ b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py @@ -23,7 +23,11 @@ class ut_homeowner_renter_relief_household_income(Variable): "which describe a member's relation to the filer of their own tax " "unit. That filer is the claimant in a household with one tax unit. " "A claimant's parent who files their own return counts unless they " - "carry one of the flags." + "carry one of the flags. In a household of more than one tax unit a " + "flag can also leave out a member who is related only to another " + "unit's filer, and ut_homeowner_renter_relief_selected_claimant takes " + "the oldest eligible head or spouse as the claimant whether or not " + "they carry a flag." ) defined_for = StateCode.UT diff --git a/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py b/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py index 6a828be2517..38c64799b52 100644 --- a/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py +++ b/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py @@ -30,4 +30,7 @@ def formula(person, period, parameters): for source in ["strike_benefits", "taxable_strike_benefits"] if source in sources ] + if not listed: + # add() over an empty list returns no array. + return person.empty_array() return add(person, period, listed) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index ff7db04b4bb..0b73b356e64 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -13968,10 +13968,11 @@ candidates: them under other income, and the worksheet then counted wages (Form 1040 line 7 through 2017, line 1 from 2018) and the business and farm income lines. Publication 501 describes earned income as compensation for personal services performed, and the filing test reads the same list as the worksheet. The Form 8615 instructions define - earned income as wages, tips and other payments received for personal services performed; their sentence naming - the Form 1040 lines (lines 7, 12 and 18 in 2017, line 1z and Schedule 1 lines 3 and 6 from 2022) covers a child's - trade or business in which capital is not an income-producing factor. California's Schedule P worksheet uses the - same personal services words. + earned income as wages, tips and other payments received for personal services performed. In 2017 their one + sentence naming Form 1040 lines (7, 12 and 18) covers a child's trade or business in which capital is not an + income-producing factor. From 2022 the Alternate Worksheet for line 1 adds that earned income is "Generally" Form + 1040 line 1z and Schedule 1 lines 3 and 6, which would hold taxable strike benefits; the model applies the + support test only through 2017. California's Schedule P worksheet uses the same personal services words. example: A 2025 head of household with one child and $20,000 of taxable strike benefits and no other income gets the $4,328 maximum earned income credit; with the benefits outside earned income the credit is zero. pe_us: @@ -14020,7 +14021,7 @@ candidates: url: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/papersonalincometaxguide/documents/pitguide_taxforgiveness.pdf#page=5 - kind: guidance citation: Pennsylvania Personal Income Tax Guide, Gross Compensation, nontaxable benefits - url: https://www.pa.gov/agencies/revenue/forms-and-publications/pa-personal-income-tax-guide/gross-compensation.html#IncomeItemsNeverTaxablePA + url: https://www.pa.gov/agencies/revenue/forms-and-publications/pa-personal-income-tax-guide/gross-compensation.html#NontaxableBenefits readings: statute: Poverty income is all moneys or property "received of whatever nature and from whatever source derived", not including (vi) "payments made by employers or labor unions for programs covering hospitalization, sickness, From a6507aa83839287116ff0f3fc50b99bd3efe23a2 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 18:16:32 -0500 Subject: [PATCH 09/12] Answer the fifth review of the strike benefits PR - amt_exemption: the 2017 Form 8615 instructions name Form 1040 line 7 only where they total lines for a child whose trade or business uses no capital; say so, and quote their earned income words. - Utah household income: state that a flagged member the model selects as claimant has their own income left out. - The dependent AGI Social Security case gives the student a disability, since survivors benefits past 19 need one (42 U.S.C. 402(d)(1)(B)). - The S. 2779 note: adjusted_earnings takes earned income from IRC 32(c)(2) through Treas. Reg. 1.21-2(b)(3) and IRC 129(e)(2), so the bill's election reaches it too. - candidates.yaml cites the 2022 Form 8615 Alternate Worksheet. Co-Authored-By: Claude Opus 5.5 --- .../dependent_adjusted_gross_income.yaml | 5 ++++- .../tests/test_strike_benefits_source_reforms.py | 6 ++++-- .../exemption/amt_exemption.py | 14 ++++++++------ .../ut_homeowner_renter_relief_household_income.py | 3 ++- source_conflicts/candidates.yaml | 3 +++ 5 files changed, 21 insertions(+), 10 deletions(-) diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml index 4d5cb38e8be..d22450ff2c3 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml @@ -125,10 +125,13 @@ age: 45 employment_income: 50_000 dependent: - # A qualifying child has no gross income test (IRC 152(c)). + # A qualifying child has no gross income test (IRC 152(c)), and a + # child disabled before 22 keeps survivors benefits past 19 + # (42 U.S.C. 402(d)(1)(B)). age: 20 is_tax_unit_dependent: true is_full_time_student: true + is_disabled: true social_security_survivors: 20_000 taxable_interest_income: 30_000 tax_units: diff --git a/policyengine_us/tests/test_strike_benefits_source_reforms.py b/policyengine_us/tests/test_strike_benefits_source_reforms.py index c9bbf616a8e..793f6c34d6e 100644 --- a/policyengine_us/tests/test_strike_benefits_source_reforms.py +++ b/policyengine_us/tests/test_strike_benefits_source_reforms.py @@ -38,8 +38,10 @@ (gov.irs.income.filing_requirement.dependent.earned_income_sources) counts Form 1040 line 1z, which an exclusion would leave without strike benefits, so the reform must edit that list; -- adjusted_earnings (the child and dependent care credit) needs its own - reading. +- adjusted_earnings, which the child and dependent care credit and the + IRC 129 exclusion read, takes its meaning of earned income from IRC + 32(c)(2) (Treas. Reg. 1.21-2(b)(3), IRC 129(e)(2)), so the bill's election + reaches it as well. """ import pytest diff --git a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py index 16e3de22f80..2800b06fdf0 100644 --- a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py +++ b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py @@ -49,12 +49,14 @@ def formula(tax_unit, period, parameters): # A reduced exemption amount is applied to kiddie tax filers kiddie_tax_applies = tax_unit("amt_kiddie_tax_applies", period) # IRC 59(j) uses earned income under IRC 911(d)(2): "amounts - # received as compensation for personal services". Traditional - # elective deferrals are not treated as made available to the - # employee (IRC 402(e)(3)). The 2017 Form 8615 instructions, for the - # same children and the same 911(d)(2) definition, generally take - # earned income from Form 1040 line 7 (taxable wages), so the cap - # uses adjusted_earnings, which leaves out pre-tax payroll deductions. + # received as compensation for personal services". IRC 402(e)(3) + # treats traditional elective deferrals as not made available to the + # employee. The 2017 Form 8615 instructions, for the same children + # and the same 911(d)(2) definition, count "wages, tips, and other + # payments received for personal services performed", and where they + # total Form 1040 lines (for a child whose trade or business uses no + # capital) they start from line 7, taxable wages. So the cap uses + # adjusted_earnings, which leaves out pre-tax payroll deductions. # IRC 59(j)(1)(A) counts the child's own earned income, and a covered # filer never files jointly, so the cap reads only the head's earnings. # Strike benefits, which adjusted_earnings counts for the child and diff --git a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py index d0d600772e9..bc8999d1856 100644 --- a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py +++ b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_household_income.py @@ -27,7 +27,8 @@ class ut_homeowner_renter_relief_household_income(Variable): "flag can also leave out a member who is related only to another " "unit's filer, and ut_homeowner_renter_relief_selected_claimant takes " "the oldest eligible head or spouse as the claimant whether or not " - "they carry a flag." + "they carry a flag, so a flagged member the model selects as claimant " + "has their own income left out." ) defined_for = StateCode.UT diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 0b73b356e64..0001900face 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -13954,6 +13954,9 @@ candidates: - kind: instructions citation: Form 8615 instructions (2017), page 2, Earned income url: https://www.irs.gov/pub/irs-prior/i8615--2017.pdf#page=2 + - kind: instructions + citation: Form 8615 instructions (2022), page 3, Alternate Worksheet for Form 8615, Line 1, line D + url: https://www.irs.gov/pub/irs-prior/i8615--2022.pdf#page=3 - kind: instructions citation: 2025 Schedule P (540) instructions, line 22, Exemption Worksheet line 8 url: https://www.ftb.ca.gov/forms/2025/2025-540-p-instructions.html From 3d42389e59671b4204e03f428d01996135b51d61 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 18:24:31 -0500 Subject: [PATCH 10/12] Leave the gift part of strike benefits out of North Dakota renter's refund income PolicyEngine/policyengine-us#10697 merged first, so this PR reconciles the two. N.D.C.C. 57-02-08.1(5)(c) leaves out "any amount excluded from income by federal or state law", and IRC 102(a) excludes the strike benefits a union pays as a gift (Pub. 525). nd_renters_refund_federally_excluded_income now subtracts strike_benefits_excluded_from_gross_income, capped at the benefits received, so renter's refund income holds the part federal gross income holds under current law and under source reforms. The ND invariant test moves strike_benefits from the components gross income omits to the partly excluded ones and draws strike benefits with a gift part; the source-reform test adds North Dakota; ND YAML cases cover the gift part and a gift input above the benefits received. Co-Authored-By: Claude Opus 5.5 --- .../strike-benefits-gross-income.fixed.md | 2 +- ...ters_refund_federally_excluded_income.yaml | 24 +++++++++++++ .../nd_renters_refund_income.yaml | 14 ++++++++ ...est_nd_renters_refund_income_exclusions.py | 32 +++++++++++++---- .../test_strike_benefits_source_reforms.py | 34 ++++++++++++++++--- ...enters_refund_federally_excluded_income.py | 17 ++++++++-- source_conflicts/candidates.yaml | 6 ++-- 7 files changed, 112 insertions(+), 17 deletions(-) diff --git a/changelog.d/strike-benefits-gross-income.fixed.md b/changelog.d/strike-benefits-gross-income.fixed.md index ce830768ecf..b5661205b91 100644 --- a/changelog.d/strike-benefits-gross-income.fixed.md +++ b/changelog.d/strike-benefits-gross-income.fixed.md @@ -1 +1 @@ -Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources, except Pennsylvania's, which leaves them out of taxable income and counts them in Tax Forgiveness eligibility income; Utah, Montana and Arizona property relief now count only the gift part as nontaxable income. Leave strike benefits out of the kiddie tax support test and the federal and California AMT child exemptions. Count an adult dependent's own adjusted gross income in Utah homeowner's and renter's relief household income, and leave out the income of a parent or grandparent of the claimant or spouse. Net a dependent's estate and trust losses in the modified adjusted gross income for their taxable Social Security and IRA deduction. +Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources, except Pennsylvania's, which leaves them out of taxable income and counts them in Tax Forgiveness eligibility income; Utah, Montana and Arizona property relief now count only the gift part as nontaxable income, and North Dakota's renter's refund leaves it out. Leave strike benefits out of the kiddie tax support test and the federal and California AMT child exemptions. Count an adult dependent's own adjusted gross income in Utah homeowner's and renter's relief household income, and leave out the income of a parent or grandparent of the claimant or spouse. Net a dependent's estate and trust losses in the modified adjusted gross income for their taxable Social Security and IRA deduction. diff --git a/policyengine_us/tests/policy/baseline/gov/states/nd/tax/property/renters_refund/nd_renters_refund_federally_excluded_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/nd/tax/property/renters_refund/nd_renters_refund_federally_excluded_income.yaml index 573b5afd1a7..f3ff9318be5 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/nd/tax/property/renters_refund/nd_renters_refund_federally_excluded_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/nd/tax/property/renters_refund/nd_renters_refund_federally_excluded_income.yaml @@ -55,6 +55,30 @@ market_income: 3_000 nd_renters_refund_federally_excluded_income: 3_000 +- name: Strike benefits a union paid as a gift leave income, and the rest stays. + period: 2026 + absolute_error_margin: 0.01 + input: + age: 40 + state_code: ND + strike_benefits: 6_000 + tax_exempt_strike_benefits: 1_000 + output: + # IRC 102(a) leaves the gift out of gross income (Publication 525 (2025), + # page 36); the other 5,000 is in it. + nd_renters_refund_federally_excluded_income: 1_000 + +- name: A gift part above the strike benefits received leaves only what was received. + period: 2026 + absolute_error_margin: 0.01 + input: + age: 40 + state_code: ND + strike_benefits: 2_000 + tax_exempt_strike_benefits: 5_000 + output: + nd_renters_refund_federally_excluded_income: 2_000 + - name: A source reported only as a total counts in full. period: 2026 absolute_error_margin: 0.01 diff --git a/policyengine_us/tests/policy/baseline/gov/states/nd/tax/property/renters_refund/nd_renters_refund_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/nd/tax/property/renters_refund/nd_renters_refund_income.yaml index 3712cce127d..0c95b39a99b 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/nd/tax/property/renters_refund/nd_renters_refund_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/nd/tax/property/renters_refund/nd_renters_refund_income.yaml @@ -327,6 +327,20 @@ # executed after 2018 (IRS Topic 452). nd_renters_refund_income: 10_000 +- name: North Dakota leaves out the strike benefits a union paid as a gift. + period: 2026 + absolute_error_margin: 0.01 + input: + age: 40 + state_code: ND + employment_income: 20_000 + strike_benefits: 6_000 + tax_exempt_strike_benefits: 1_000 + output: + # IRC 102(a) leaves the 1,000 gift out of gross income (Publication 525 + # (2025), page 36), so 20,000 + 6,000 - 1,000. + nd_renters_refund_income: 25_000 + - name: North Dakota counts alimony under a divorce instrument executed before 2019. period: 2026 absolute_error_margin: 0.01 diff --git a/policyengine_us/tests/test_nd_renters_refund_income_exclusions.py b/policyengine_us/tests/test_nd_renters_refund_income_exclusions.py index 696a9d785f5..c9b9be51fc7 100644 --- a/policyengine_us/tests/test_nd_renters_refund_income_exclusions.py +++ b/policyengine_us/tests/test_nd_renters_refund_income_exclusions.py @@ -5,8 +5,8 @@ income by federal or state law with the exception of income from social security benefits". nd_renters_refund_income starts from market_income. That counts wages before payroll deductions, and the tax-exempt parts of interest, -pensions, retirement distributions, disability benefits and alimony, so the -variable subtracts nd_renters_refund_federally_excluded_income. The federal +pensions, retirement distributions, disability benefits, alimony and strike +benefits, so the variable subtracts nd_renters_refund_federally_excluded_income. The federal model also deducts four exclusions above the line, so market_income holds that income too, and the variable subtracts them as well (excluded_deductions). @@ -37,12 +37,13 @@ line. The statute's federal exclusions and the federal model agree on every shared source. For interest, pensions, retirement distributions, disability benefits and the deducted exclusions, the two sides read different inputs. - For wages and alimony both read the same federal variables, so the YAML - cases and invariant 4 test those against the law. + For wages, alimony and strike benefits both read the same federal + variables, so the YAML cases and invariant 4 test those against the law. 4. Moving a dollar from the taxable form of a source to its excluded form lowers renter's refund income by that dollar, beside a loss elsewhere in income, as long as income stays above zero. So does marking a dollar of - income as one of the exclusions the model deducts above the line. A dollar + income as one of the exclusions the model deducts above the line, or a + dollar of strike benefits as a gift from the union. A dollar of social security raises it by a dollar, however much of the benefit federal law taxes. @@ -112,13 +113,15 @@ "taxable_alimony_income", "Pub. L. 115-97 section 11051: instruments executed after 2018", ), + "strike_benefits": ( + "taxable_strike_benefits", + "IRC 102(a): the part a union paid as a gift (IRS Publication 525)", + ), } # Components that federal gross income leaves out although federal law does # not exclude them in general. North Dakota counts them. COUNTED_THOUGH_GROSS_INCOME_OMITS = { - "strike_benefits": "IRS Publication 525 counts strike benefits as income " - "unless the facts show the union meant them as gifts", "gi_cash_assistance": "a guaranteed income payment is a gift (IRC 102) or " "public assistance, which the statute counts, depending on the payer, and " "the input records neither", @@ -199,6 +202,7 @@ ), "disability_benefits": ("disability_benefits", "tax_exempt_disability_benefits"), "alimony_income": ("alimony_income", "divorce_year"), + "strike_benefits": ("strike_benefits", "tax_exempt_strike_benefits"), } assert set(SOURCE_INPUTS) == set(PARTLY_EXCLUDED) @@ -333,6 +337,7 @@ def shared_sources(draw): for name in PAYROLL_DEDUCTIONS } disability = draw(amount) + strike = draw(amount) other_wages = draw(st.integers(min_value=0, max_value=150_000)) taxable_interest = draw(amount) adoption = draw(st.integers(min_value=0, max_value=other_wages)) @@ -371,6 +376,8 @@ def shared_sources(draw): ), "alimony_income": draw(amount), "divorce_year": draw(st.sampled_from([2010, 2018, 2019, 2024])), + "strike_benefits": strike, + "tax_exempt_strike_benefits": draw(st.integers(min_value=0, max_value=strike)), "self_employment_income": draw(amount), "qualified_dividend_income": draw(amount), "non_qualified_dividend_income": draw(amount), @@ -436,6 +443,9 @@ def any_sources(draw): inputs["capital_gains"] = draw(st.integers(min_value=-60_000, max_value=40_000)) inputs["rental_income"] = draw(st.integers(min_value=-60_000, max_value=40_000)) inputs["strike_benefits"] = draw(amount) + if draw(st.booleans()): + # A gift part larger than the benefits received. + inputs["tax_exempt_strike_benefits"] = inputs["strike_benefits"] + draw(amount) inputs["social_security_retirement"] = draw(amount) for name in draw( st.sets( @@ -576,6 +586,9 @@ def test_a_dollar_moved_to_its_excluded_form_leaves_income( adoption = {**base, "qualified_adoption_assistance_expense": min(moved, wages)} puerto_rico = {**base, "puerto_rico_income": moved} american_samoa = {**base, "specified_possession_income": moved} + # A dollar of strike benefits the union paid as a gift (IRC 102(a)). + strike = {**base, "strike_benefits": taxable} + gift = {**strike, "tax_exempt_strike_benefits": moved} households += [ base, shifted, @@ -588,6 +601,8 @@ def test_a_dollar_moved_to_its_excluded_form_leaves_income( adoption, puerto_rico, american_samoa, + strike, + gift, ] (income,) = calculate(households, "nd_renters_refund_income") size = len(households) // len(SHIFTS) @@ -604,6 +619,8 @@ def test_a_dollar_moved_to_its_excluded_form_leaves_income( adoption, puerto_rico, american_samoa, + strike, + gift, ) = income[size * group : size * group + size] assert base - shifted == pytest.approx(moved, abs=TOLERANCE) assert base - deferred == pytest.approx(deferral, abs=TOLERANCE) @@ -613,6 +630,7 @@ def test_a_dollar_moved_to_its_excluded_form_leaves_income( assert base - adoption == pytest.approx(min(moved, wages), abs=TOLERANCE) assert base - puerto_rico == pytest.approx(moved, abs=TOLERANCE) assert base - american_samoa == pytest.approx(moved, abs=TOLERANCE) + assert strike - gift == pytest.approx(moved, abs=TOLERANCE) def test_alimony_leaves_income_only_under_a_post_2018_instrument(): diff --git a/policyengine_us/tests/test_strike_benefits_source_reforms.py b/policyengine_us/tests/test_strike_benefits_source_reforms.py index 793f6c34d6e..a56bc5ebf25 100644 --- a/policyengine_us/tests/test_strike_benefits_source_reforms.py +++ b/policyengine_us/tests/test_strike_benefits_source_reforms.py @@ -6,14 +6,16 @@ rest. Utah homeowner's and renter's relief, Montana's elderly homeowner/renter credit and Arizona's property tax credit add the rest to federal income; Pennsylvania subtracts the part federal gross income holds -and then counts the whole amount in Tax Forgiveness eligibility income. +and then counts the whole amount in Tax Forgiveness eligibility income; and +North Dakota's renter's refund subtracts the rest from market income. Invariant: under current law, under a reform that drops taxable_strike_benefits from gov.irs.gross_income.sources (a federal exclusion, as the Tax Cut for Striking Workers Act proposes), and under one that lists the whole strike_benefits instead, every measure counts each -dollar of strike benefits exactly once, and Pennsylvania taxable income -never holds any of it. +dollar of strike benefits exactly once, Pennsylvania taxable income never +holds any of it, and North Dakota renter's refund income holds exactly the +part federal gross income holds. One single filer per state, aged 70, with $20,000 of wages and $6,000 of strike benefits, $1,000 of them a gift; and one household per state whose @@ -54,7 +56,7 @@ WAGES = 20_000 STRIKE = 6_000 GIFT = 1_000 -STATES = ["UT", "MT", "AZ", "PA"] +STATES = ["UT", "MT", "AZ", "PA", "ND"] def _sources_reform(change): @@ -184,7 +186,13 @@ def _household_situation(): "tax_exempt_strike_benefits": {year: DEPENDENT_GIFT}, "ssi": {year: 0}, } - tax_units[f"{state}_unit"] = {"members": [head, dependent]} + tax_units[f"{state}_unit"] = { + "members": [head, dependent], + # The head pays a Medicare Part B premium, which North Dakota + # subtracts as a medical cost paid; zero keeps the sums to wages + # and strike benefits. + "itemized_medical_expenses": {year: 0}, + } households[f"{state}_home"] = { "members": [head, dependent], "state_code": {year: state}, @@ -210,6 +218,22 @@ def test_adult_dependents_strike_benefits_count_once(household_scenario): assert values[state] == pytest.approx(expected), (variable, values) taxable = dict(zip(STATES, sim.calculate("pa_total_taxable_income", YEAR))) assert taxable["PA"] == pytest.approx(HEAD_WAGES) + in_gross_income = dict( + zip( + STATES, + sim.calculate("strike_benefits_in_gross_income", YEAR, map_to="tax_unit"), + ) + ) + north_dakota = dict(zip(STATES, sim.calculate("nd_renters_refund_income", YEAR))) + assert north_dakota["ND"] == pytest.approx( + HEAD_WAGES + DEPENDENT_WAGES + in_gross_income["ND"] + ) + + +def test_north_dakota_counts_what_federal_gross_income_holds(scenario): + sim, in_gross_income = scenario + income = dict(zip(STATES, sim.calculate("nd_renters_refund_income", YEAR))) + assert income["ND"] == pytest.approx(WAGES + in_gross_income) def test_pennsylvania_never_taxes_strike_benefits(scenario): diff --git a/policyengine_us/variables/gov/states/nd/tax/property/renters_refund/nd_renters_refund_federally_excluded_income.py b/policyengine_us/variables/gov/states/nd/tax/property/renters_refund/nd_renters_refund_federally_excluded_income.py index 3ae041d4716..6a1e9580e8c 100644 --- a/policyengine_us/variables/gov/states/nd/tax/property/renters_refund/nd_renters_refund_federally_excluded_income.py +++ b/policyengine_us/variables/gov/states/nd/tax/property/renters_refund/nd_renters_refund_federally_excluded_income.py @@ -13,8 +13,10 @@ class nd_renters_refund_federally_excluded_income(Variable): "from renter's refund income: the payroll deductions federal law " "excludes from wages, tax-exempt interest, the nontaxable part of " "pensions and of retirement account distributions, disability " - "benefits from a plan the recipient paid for, and alimony under a " - "divorce or separation instrument executed after 2018. Each part is at " + "benefits from a plan the recipient paid for, alimony under a divorce " + "or separation instrument executed after 2018, and the strike benefits " + "federal gross income leaves out (under current law, the part a union " + "paid as a gift). Each part is at " "least zero and at most the market_income component it comes from. " "nd_renters_refund_income also subtracts the federal exclusions the " "model deducts above the line." @@ -45,6 +47,9 @@ class nd_renters_refund_federally_excluded_income(Variable): "https://www.law.cornell.edu/uscode/text/26/104#a_3", # Alimony under an instrument executed after 2018. "https://www.irs.gov/taxtopics/tc452", + # Strike benefits a union paid as a gift (IRC 102(a)). + "https://www.law.cornell.edu/uscode/text/26/102#a", + "https://www.irs.gov/pub/irs-prior/p525--2025.pdf#page=36", ) defined_for = StateCode.ND @@ -98,6 +103,13 @@ def excluded_part(component, excluded): excluded_alimony = excluded_part( alimony, alimony - person("taxable_alimony_income", period) ) + # Strike benefits federal gross income leaves out: under current law + # the part a union paid as a gift (IRC 102(a); Pub. 525), and the + # whole amount under a reform that excludes them from gross income. + strike_benefits = excluded_part( + person("strike_benefits", period), + person("strike_benefits_excluded_from_gross_income", period), + ) return ( payroll_exclusions + interest @@ -105,4 +117,5 @@ def excluded_part(component, excluded): + retirement_distributions + disability_benefits + excluded_alimony + + strike_benefits ) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 13a7089dcc7..81e60039ab3 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -7003,8 +7003,9 @@ candidates: adoption assistance (IRC 137(a)); income of bona fide residents of Puerto Rico from sources there (IRC 933) and of American Samoa from sources there or from a business there (IRC 931(a), which reaches only a possession with an implementing agreement in effect, 26 CFR 1.931-1(c)(1), and which IRS Publication 570 applies only to - American Samoa); and alimony under a divorce or separation instrument executed after 2018, since Pub. L. 115-97 - section 11051 repealed IRC 71 and 61(a)(8). + American Samoa); alimony under a divorce or separation instrument executed after 2018, since Pub. L. 115-97 + section 11051 repealed IRC 71 and 61(a)(8); and gifts (IRC 102(a)), which take in the strike benefits a union + pays as a gift (IRS Publication 525). other: Item 10 lists pensions "including military pension and I.R.A.", salaries and wages, dividends and interest, and alimony as income. The application asks for income from salary and wages (line 5) and from interest (line 6), and its instructions for lines 4 to 9 list most of the same sources. Neither leaves out the amounts federal @@ -7020,6 +7021,7 @@ candidates: - policyengine_us/parameters/gov/states/nd/tax/property/renters_refund/market_income_components.yaml prs: - https://github.com/PolicyEngine/policyengine-us/pull/10697 + - https://github.com/PolicyEngine/policyengine-us/pull/10727 state: ruled note: The statute names the exclusion, so it governs over the general lists, as in us-nd:renters-refund-insurance-proceeds. The definition also counts "other retirement benefits", but the exception From e5596f1e5dab379694f41a0838152832c6ccaead Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 23:09:08 -0500 Subject: [PATCH 11/12] Take a dependent's 2020 unemployment exclusion out of their AGI Main's #10175 gives each person their own IRC 85(c) exclusion and counts unemployment compensation in full in the dependent income measure, which dependent_adjusted_gross_income starts from. The dependent's own return leaves out the excluded part, so the new variable now subtracts it, and Utah relief counts it as nontaxable income for dependents and filers alike, as main does. A 2020 case and a 2021 case pin it. #10175 also nets a dependent's estate losses, so this PR no longer changes dependent_taxable_ss_magi, and the changelog drops that line. Co-Authored-By: Claude Opus 5.5 --- .../strike-benefits-gross-income.fixed.md | 2 +- .../dependent_adjusted_gross_income.yaml | 48 ++++++++++++++++++- .../dependent_adjusted_gross_income.py | 29 +++++++---- .../dependent_taxable_ss_magi.py | 4 +- ...meowner_renter_relief_nontaxable_income.py | 7 +-- 5 files changed, 74 insertions(+), 16 deletions(-) diff --git a/changelog.d/strike-benefits-gross-income.fixed.md b/changelog.d/strike-benefits-gross-income.fixed.md index b5661205b91..1ad29e16d35 100644 --- a/changelog.d/strike-benefits-gross-income.fixed.md +++ b/changelog.d/strike-benefits-gross-income.fixed.md @@ -1 +1 @@ -Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources, except Pennsylvania's, which leaves them out of taxable income and counts them in Tax Forgiveness eligibility income; Utah, Montana and Arizona property relief now count only the gift part as nontaxable income, and North Dakota's renter's refund leaves it out. Leave strike benefits out of the kiddie tax support test and the federal and California AMT child exemptions. Count an adult dependent's own adjusted gross income in Utah homeowner's and renter's relief household income, and leave out the income of a parent or grandparent of the claimant or spouse. Net a dependent's estate and trust losses in the modified adjusted gross income for their taxable Social Security and IRA deduction. +Count strike and lockout benefits other than gifts in federal gross income and as earned income, and carry them through the state income tax bases that list federal income sources, except Pennsylvania's, which leaves them out of taxable income and counts them in Tax Forgiveness eligibility income; Utah, Montana and Arizona property relief now count only the gift part as nontaxable income, and North Dakota's renter's refund leaves it out. Leave strike benefits out of the kiddie tax support test and the federal and California AMT child exemptions. Count an adult dependent's own adjusted gross income in Utah homeowner's and renter's relief household income, and leave out the income of a parent or grandparent of the claimant or spouse. diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml index d22450ff2c3..3510a653dd8 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml @@ -127,7 +127,7 @@ dependent: # A qualifying child has no gross income test (IRC 152(c)), and a # child disabled before 22 keeps survivors benefits past 19 - # (42 U.S.C. 402(d)(1)(B)). + # (42 U.S.C. 402(d)(1)(B)(ii), (G)). age: 20 is_tax_unit_dependent: true is_full_time_student: true @@ -148,3 +148,49 @@ # 17,000) = 9,600. dependent_taxable_social_security: [0, 9_600] dependent_adjusted_gross_income: [0, 39_600] + +- name: 2020, the dependent's own return excludes up to $10,200 of unemployment compensation + period: 2020 + input: + people: + head: + age: 45 + employment_income: 50_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 5_000 + unemployment_compensation: 12_000 + tax_units: + tax_unit: + members: [head, dependent] + households: + household: + members: [head, dependent] + output: + # IRC 85(c)(1): the dependent's AGI without the compensation, 5,000, + # falls below the $150,000 cutoff, so 10,200 of the 12,000 is excluded. + dependent_adjusted_gross_income: [0, 6_800] + +- name: 2021, unemployment compensation counts in full + period: 2021 + input: + people: + head: + age: 45 + employment_income: 50_000 + dependent: + age: 20 + is_tax_unit_dependent: true + is_full_time_student: true + employment_income: 5_000 + unemployment_compensation: 12_000 + tax_units: + tax_unit: + members: [head, dependent] + households: + household: + members: [head, dependent] + output: + dependent_adjusted_gross_income: [0, 17_000] diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py index 07c477d01db..886f5f66f85 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py @@ -15,13 +15,13 @@ class dependent_adjusted_gross_income(Variable): their gross income with business, rental, farm, partnership and estate losses, and capital losses within the IRC 1211(b) limit, netted; less their own above-the-line deductions; plus their taxable Social Security. - The IRC 461(l) limit on excess business losses is not applied. It - shares dependent_taxable_ss_magi's income measure, so unemployment - compensation counts in full (the IRC - 85(c) exclusion applied only in 2020), taxable dependent care benefits - are left out, and above-the-line deductions the model records only for - the tax unit (health savings account contributions, which IRC 223(b)(6) - denies to dependents anyway) are not attributed to dependents. + Business losses count within the IRC 461(l) limit, as for the filers. + It starts from dependent_taxable_ss_magi's income measure and takes out + the unemployment compensation the dependent excludes under IRC 85(c), + which applied only in 2020. As in that measure, taxable dependent care + benefits stay out, and the model attributes no above-the-line deduction + it records only for the tax unit (health savings account contributions, + which IRC 223(b)(6) denies to dependents anyway). """ definition_period = YEAR defined_for = "is_tax_unit_dependent" @@ -29,6 +29,7 @@ class dependent_adjusted_gross_income(Variable): "https://www.law.cornell.edu/uscode/text/26/62#a", "https://www.law.cornell.edu/uscode/text/26/1211#b", "https://www.law.cornell.edu/uscode/text/26/86#a", + "https://www.law.cornell.edu/uscode/text/26/85#c", ) def formula(person, period, parameters): @@ -39,4 +40,16 @@ def formula(person, period, parameters): if deduction in PERSON_ABOVE_THE_LINE_DEDUCTIONS ] taxable_social_security = person("dependent_taxable_social_security", period) - return income - add(person, period, deductions) + taxable_social_security + # The income measure counts all unemployment compensation received + # (IRC 86(b)(2)(A)); the dependent's own return leaves out what IRC + # 85(c) excludes, which taxable_unemployment_compensation figures. + received = max_(0, person("total_unemployment_compensation", period)) + excluded_unemployment_compensation = max_( + 0, received - person("taxable_unemployment_compensation", period) + ) + return ( + income + - excluded_unemployment_compensation + - add(person, period, deductions) + + taxable_social_security + ) diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/dependent_taxable_ss_magi.py b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/dependent_taxable_ss_magi.py index 40d7b172533..aa51a392aad 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/dependent_taxable_ss_magi.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/dependent_taxable_ss_magi.py @@ -3,9 +3,7 @@ DEPENDENT_GROSS_INCOME_SOURCE_OVERRIDES, ) -# Gross income sources whose losses loss_ald deducts from gross income -# (limited_business_loss: Schedule C, F and E items, estate and trust -# losses included). +# Gross income sources whose losses loss_ald deducts from gross income. BUSINESS_LOSS_SOURCES = [ "self_employment_income", "sstb_self_employment_income", diff --git a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_nontaxable_income.py b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_nontaxable_income.py index b19fdf362b4..807056e5ae4 100644 --- a/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_nontaxable_income.py +++ b/policyengine_us/variables/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief_nontaxable_income.py @@ -35,9 +35,10 @@ def formula(person, period, parameters): taxable_unemployment_compensation = person( "taxable_unemployment_compensation", period ) - # A dependent's adjusted gross income already counts all of their - # unemployment compensation, so none of it is added here. - nontaxable_unemployment_compensation = ~is_dependent * max_( + # The compensation federal adjusted gross income leaves out (the IRC + # 85(c) exclusion of 2020), for dependents, whose own return excludes + # it (dependent_adjusted_gross_income), and filers alike. + nontaxable_unemployment_compensation = max_( 0, total_unemployment_compensation - taxable_unemployment_compensation, ) From 6f2b5364dd797445c20481dcd9cce08218daa8ed Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 23:09:08 -0500 Subject: [PATCH 12/12] Answer the sixth review's nits - The household North Dakota check now pins the part of strike benefits in federal gross income per scenario (8,500, 0, 10,000), so it no longer compares the model with itself. - us-pa:tax-forgiveness-strike-benefits quotes Schedule SP line 10's cafeteria plan item, which supports the payments-into-a-program reading. - The amt_exemption comment follows the 2017 Form 8615 wording on lines 7, 12 and 18. - The dependent AGI case cites 42 U.S.C. 402(d)(1)(B)(ii) and (G). Co-Authored-By: Claude Opus 5.5 --- .../test_strike_benefits_source_reforms.py | 18 +++++++++++++++--- .../exemption/amt_exemption.py | 8 ++++---- source_conflicts/candidates.yaml | 6 ++++-- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/policyengine_us/tests/test_strike_benefits_source_reforms.py b/policyengine_us/tests/test_strike_benefits_source_reforms.py index a56bc5ebf25..ded07627827 100644 --- a/policyengine_us/tests/test_strike_benefits_source_reforms.py +++ b/policyengine_us/tests/test_strike_benefits_source_reforms.py @@ -200,14 +200,25 @@ def _household_situation(): return {"people": people, "tax_units": tax_units, "households": households} +# Part of the household's strike benefits in federal gross income, per +# scenario: the head's and the dependent's benefits less their gifts under +# current law, none under the exclusion, all of them when listed whole. +HOUSEHOLD_IN_GROSS_INCOME = { + "current law": STRIKE - GIFT + DEPENDENT_STRIKE - DEPENDENT_GIFT, + "federal exclusion": 0, + "whole amount in gross income": STRIKE + DEPENDENT_STRIKE, +} + + @pytest.fixture(scope="module", params=list(SCENARIOS)) def household_scenario(request): reform, _ = SCENARIOS[request.param] - return Simulation(situation=_household_situation(), reform=reform) + sim = Simulation(situation=_household_situation(), reform=reform) + return sim, HOUSEHOLD_IN_GROSS_INCOME[request.param] def test_adult_dependents_strike_benefits_count_once(household_scenario): - sim = household_scenario + sim, household_in_gross_income = household_scenario expected = HEAD_WAGES + STRIKE + DEPENDENT_WAGES + DEPENDENT_STRIKE for variable, state in [ ("ut_homeowner_renter_relief_household_income", "UT"), @@ -225,8 +236,9 @@ def test_adult_dependents_strike_benefits_count_once(household_scenario): ) ) north_dakota = dict(zip(STATES, sim.calculate("nd_renters_refund_income", YEAR))) + assert in_gross_income["ND"] == pytest.approx(household_in_gross_income) assert north_dakota["ND"] == pytest.approx( - HEAD_WAGES + DEPENDENT_WAGES + in_gross_income["ND"] + HEAD_WAGES + DEPENDENT_WAGES + household_in_gross_income ) diff --git a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py index 2800b06fdf0..8e056bacdf2 100644 --- a/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py +++ b/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py @@ -53,10 +53,10 @@ def formula(tax_unit, period, parameters): # treats traditional elective deferrals as not made available to the # employee. The 2017 Form 8615 instructions, for the same children # and the same 911(d)(2) definition, count "wages, tips, and other - # payments received for personal services performed", and where they - # total Form 1040 lines (for a child whose trade or business uses no - # capital) they start from line 7, taxable wages. So the cap uses - # adjusted_earnings, which leaves out pre-tax payroll deductions. + # payments received for personal services performed", and where + # capital is not an income-producing factor they total lines 7, 12 + # and 18 of Form 1040, starting from line 7, taxable wages. So the cap + # uses adjusted_earnings, which leaves out pre-tax payroll deductions. # IRC 59(j)(1)(A) counts the child's own earned income, and a covered # filer never files jointly, so the cap reads only the head's earnings. # Strike benefits, which adjusted_earnings counts for the child and diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 551fc2ce3de..6cf5d67362a 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -15716,8 +15716,10 @@ candidates: 61 Pa. Code 101.6(c)(9) reads the same words in the compensation definition as payments to a strike benefit plan. The Tax Forgiveness guide repeats the statute's words in its exclusions, and its inclusions count gifts, cash from persons outside the household and employee payments to a cafeteria plan for strike benefits. The 2025 - Schedule SP counts gifts (line 5) and payments received from persons outside the household (line 10), and its - list of income not to include leaves strike benefits out. Only the Gross Compensation guide's framing points + Schedule SP counts gifts (line 5), payments received from persons outside the household and, as the guide does, + "Nontaxable payments to your employer's cafeteria plan for hospitalization, sickness, disability, or death, + supplemental unemployment, or strike benefits" (line 10), and its list of income not to include leaves strike + benefits out. Only the Gross Compensation guide's framing points the other way. After quoting 7301(d)(vi) in its cafeteria plan section, it calls strike benefits nontaxable "provided that the program does not discriminate". example: A 2025 single filer with $5,000 of wages and $4,000 of strike benefits has eligibility income of $9,000 when