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..1ad29e16d35 --- /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, 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/parameters/gov/irs/gross_income/sources.yaml b/policyengine_us/parameters/gov/irs/gross_income/sources.yaml index 86f909766be..4a8b93cc8b8 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 @@ -75,6 +79,14 @@ 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 - title: 2024 Instructions for Form 1040, Schedule 1 line 8b - Gambling href: https://www.irs.gov/pub/irs-prior/i1040gi--2024.pdf#page=85 - title: 2025 Instructions for Form 1040, Schedule 1 line 8b - Gambling 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..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 @@ -1,11 +1,29 @@ 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 + # 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 + # 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, # 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. + # 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 - sstb_self_employment_income @@ -20,12 +38,20 @@ 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 + # 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/al/tax/income/agi/gross_income_sources.yaml b/policyengine_us/parameters/gov/states/al/tax/income/agi/gross_income_sources.yaml index 2eac188405d..57aabbc393a 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 @@ -25,6 +25,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: @@ -42,10 +46,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 29aba1b9110..61c76044957 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 # IA 1040 line 13, gambling winnings, of the head and spouse. - ia_gambling_winnings @@ -29,9 +33,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..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,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: 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 @@ -105,7 +107,7 @@ values: - tax_exempt_pension_income - veterans_benefits - child_support_received - - strike_benefits + - strike_benefits_excluded_from_gross_income - general_assistance - ssi - mt_ssp @@ -128,7 +130,7 @@ values: - tax_exempt_pension_income - veterans_benefits - child_support_received - - 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..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 @@ -7,6 +7,25 @@ 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. + # 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". 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 # non-PA income # nontaxable military income (military pension benefits excluded per PA-40 SP) @@ -18,7 +37,17 @@ metadata: period: year label: PA eligibility income sources reference: - - title: PA PIT Guide - Chapter 20, Tax Forgiveness, page 15 + - 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: 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" + 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 50b91a15ff2..458600cc00c 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,12 @@ 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: the PIT Guide + # 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 # PA-40 Schedule T line 4: the cost of bets comes off the winnings. - pa_gambling_loss_offset metadata: @@ -25,5 +31,12 @@ 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 + # 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 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 - title: 2025 PA-40 Schedule T - Gambling and Lottery Winnings href: https://www.pa.gov/content/dam/copapwp-pagov/en/revenue/documents/formsandpublications/formsforindividuals/pit/documents/2025/2025_pa-40t.pdf#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 409a999269a..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 @@ -4,7 +4,12 @@ values: - alimony_income - child_support_received - railroad_benefits - - 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. (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 - tax_exempt_retirement_distributions @@ -19,5 +24,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/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", } 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..a878dcb5b87 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/strike_benefits.yaml @@ -0,0 +1,331 @@ +# 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 + 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 + 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: 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: 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: + 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/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..3510a653dd8 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.yaml @@ -0,0 +1,196 @@ +# 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 + 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)(ii), (G)). + 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: + tax_unit: + members: [head, dependent] + households: + household: + 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) + # = 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] + +- 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/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/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..29c67ec1517 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/az_property_tax_credit_strike_benefits.yaml @@ -0,0 +1,34 @@ +# 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 + +- 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 ef56222949f..e2fe19e1643 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/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_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/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..6ab2afb06b5 --- /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,65 @@ +# 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 + +- 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/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 d34c6cb9738..130f995200d 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/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..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 @@ -15,3 +15,32 @@ 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; 72 P.S. +# 7301(o.2)). The exclusion for "payments made by employers or labor unions +# 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: + 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/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..ea03829d942 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_strike_benefits.yaml @@ -0,0 +1,24 @@ +# 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. + +- 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..3390a42e0b6 --- /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,362 @@ +# 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 + +- 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 + +# 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 + +- 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_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_household_spm_resource_parity.py b/policyengine_us/tests/test_household_spm_resource_parity.py index 03be9b7123b..48aef8ebd8d 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", 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 17e7748fa0b..3c36831c717 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. @@ -113,13 +114,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", @@ -200,6 +203,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) @@ -334,6 +338,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)) @@ -372,6 +377,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), @@ -438,6 +445,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( @@ -578,6 +588,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, @@ -590,6 +603,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) @@ -606,6 +621,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) @@ -615,6 +632,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_properties.py b/policyengine_us/tests/test_strike_benefits_properties.py new file mode 100644 index 00000000000..6d1de1253e8 --- /dev/null +++ b/policyengine_us/tests/test_strike_benefits_properties.py @@ -0,0 +1,384 @@ +"""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 (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, 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 + $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: + +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(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 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. + An explicit example puts each measure where counting strike benefits as + pay would change it. +""" + +import numpy as np +from hypothesis import HealthCheck, Phase, example, 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, 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]), + } +) + +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 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": taxable, + "gift": 0.0, + } + if variant == "as_wages": + return { + "employment_income": round(wages + taxable, 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) + 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 len(members) > 1 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", 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, 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): + 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 + # 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, 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 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}, + # 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"]}, + "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)) +# 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"]), + (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..ded07627827 --- /dev/null +++ b/policyengine_us/tests/test_strike_benefits_source_reforms.py @@ -0,0 +1,256 @@ +"""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; 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, 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 +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). + +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, 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 +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", "ND"] + + +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) + + +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], + # 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}, + } + 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] + 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_in_gross_income = 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) + 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 in_gross_income["ND"] == pytest.approx(household_in_gross_income) + assert north_dakota["ND"] == pytest.approx( + HEAD_WAGES + DEPENDENT_WAGES + household_in_gross_income + ) + + +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): + 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/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/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..886f5f66f85 --- /dev/null +++ b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/dependent_adjusted_gross_income.py @@ -0,0 +1,55 @@ +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, 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. + 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" + 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", + "https://www.law.cornell.edu/uscode/text/26/85#c", + ) + + 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) + # 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/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..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 @@ -49,18 +49,27 @@ 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 + # 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 + # 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 + # 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..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 @@ -21,6 +21,12 @@ 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, which the model applies + # 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", ] def formula(tax_unit, period, parameters): @@ -47,7 +53,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/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..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 @@ -25,9 +25,9 @@ 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. - strike = person("strike_benefits", period) - excluded_strike = 0 if "strike_benefits" in sources else strike + # for dependents) holds taxable_strike_benefits, the strike benefits + # other than gifts, when that is a listed source. Line I adds the rest. + 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/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..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 @@ -36,8 +39,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/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/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/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..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 @@ -13,9 +13,22 @@ 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 " + "(dependent_adjusted_gross_income). Members under 18 and members who " + "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. 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, so a flagged member the model selects as claimant " + "has their own income left out." ) defined_for = StateCode.UT @@ -23,21 +36,43 @@ 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 a dependent's adjusted gross + # income comes from that return. + is_dependent = person("is_tax_unit_dependent", period) + own_agi = where( + is_dependent, + person("dependent_adjusted_gross_income", period), + 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)). 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 + ) + 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 = ( 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( - (person_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..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 @@ -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,6 +35,9 @@ def formula(person, period, parameters): taxable_unemployment_compensation = person( "taxable_unemployment_compensation", period ) + # 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, 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/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..b3e4b41a6ae --- /dev/null +++ b/policyengine_us/variables/household/income/person/misc/strike_benefits_excluded_from_gross_income.py @@ -0,0 +1,28 @@ +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. 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 = ( + "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) + 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..38c64799b52 --- /dev/null +++ b/policyengine_us/variables/household/income/person/misc/strike_benefits_in_gross_income.py @@ -0,0 +1,36 @@ +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 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 " + "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 + listed = [ + source + 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/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..3fd85b5cb5f --- /dev/null +++ b/policyengine_us/variables/household/income/person/misc/taxable_strike_benefits.py @@ -0,0 +1,28 @@ +from policyengine_us.model_api import * + + +class taxable_strike_benefits(Variable): + value_type = float + entity = Person + label = "taxable strike benefits" + unit = USD + documentation = ( + "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 = ( + "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) + # 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 601e0405024..6cf5d67362a 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -7845,8 +7845,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 @@ -7862,6 +7863,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 @@ -14430,7 +14432,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? @@ -14455,13 +14457,17 @@ 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 from 2022 in PR 10727; us:strike-benefits-earned-income + 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: @@ -15601,6 +15607,135 @@ 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, 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) + 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 + - 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 + - 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 + 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. The dependent worksheet counts Form 1040 line 1z, which takes strike + 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. 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: + 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 + - 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 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.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 + - 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#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, + 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), 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 + 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 + 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 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: