Repository navigation
Count all of Wisconsin's listed income in homestead credit household income - #11176
Conversation
…income Add child support (including amounts recorded on the child), maintenance outside AGI, county relief, veterans' benefits, nontaxable retirement distributions, 401(k) and 403(b) deferrals, deducted IRA and self-employed plan contributions, workers' compensation and the untaxed part of disability insurance, as Wis. Stat. 71.52(6) and the 2025 Schedule H lines 9d-9j and 11b require. For the earned income test (71.52(1g)), count a partner's net earnings from self-employment instead of partnership and S corporation income. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11176 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 2 +1
Lines 24 35 +11
Branches 0 1 +1
=========================================
+ Hits 24 35 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
… out of gross income Covers the fallback in wi_homestead_nontaxable_alimony when federal gross income doesn't list taxable_alimony_income, which codecov flagged as the one uncovered patch line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hua7450
left a comment
There was a problem hiding this comment.
Thanks, David. Each new source matches a clause of Wis. Stat. 71.52(6) and a 2025 Schedule H line. None double counts an amount already in AGI: alimony uses the untaxed remainder, and disability and retirement use the tax-exempt part. Counting the claimant and spouse only, plus child support recorded on a dependent, follows 71.52(4)-(5). Using a partner's net earnings from self-employment for the earned-income test matches 71.52(1g). No existing test input changed. Approving.
Optional:
- The $24,680 boundary. New Case 20 in
wi_homestead_eligible.yamlexpects exactly 24,680 to be ineligible, citing the instructions' "less than $24,680". 71.54(1)(cm) bars the credit only when income "exceeds $24,680". The credit is 0 either way (8.785% × 16,620 = 1,460.07, above the 1,460 cap). A comment quoting the statute next to the form, or dropping that one assertion, would cover it. - Case 23b. It sits between Cases 23 and 24, and it hard-codes a copy of the federal gross income source list that will drift when main adds a source. Renumbering it as the last case and noting where the list came from would fix both. The PR body's test list doesn't mention it.
- Shared alimony helper (follow-up).
wi_homestead_nontaxable_alimonyis the fourth copy ofalimony_income - taxable_alimony_income, after AZ and ND, and the Montana and Utah PRs in this series add more. One federal person-level variable could replace them all later.
Part of #10812 (state credit income audit).
What was wrong
wi_homestead_income(Schedule H line 13) started from adjusted gross income and added only tax-exempt interest, nontaxable Social Security, pensions and unemployment compensation, SSI, the state supplement and W-2 (TANF). Wis. Stat. 71.52(6) adds many more amounts "to the extent not included in Wisconsin adjusted gross income", and the 2025 Schedule H instructions (pages 13-14) give each its line. The model left out child support, maintenance outside AGI, county relief, veterans' benefits, nontaxable IRA and 401(k)-type distributions, 401(k) and 403(b) deferrals, deducted IRA and self-employed plan contributions, workers' compensation and the untaxed part of disability (loss of time) insurance.The eligibility test for a claimant under 62 who isn't disabled counted S corporation income as earned income. Wis. Stat. 71.52(1g) defines earned income as wages and other employee compensation "plus the amount of the claimant's net earnings from self-employment". An S corporation shareholder's distributive share isn't net earnings from self-employment (IRC 1402(a)).
What changes
Household income: new entries in
homestead/income/sources.yaml, each cited in the file to its 71.52(6) clause and Schedule H line:child_support_receivedwi_homestead_nontaxable_alimony(new)general_assistanceveterans_benefitstax_exempt_retirement_distributionstraditional_401k_contributions,traditional_403b_contributionstraditional_ira_deduction,self_employed_pension_contribution_aldworkers_compensation,tax_exempt_disability_benefitspre_tax_contributions. That variable also holds pre-tax health premiums, HSA payroll contributions and dependent care benefits, which aren't deferred compensation.wi_homestead_nontaxable_alimony(person level) isalimony_income−taxable_alimony_income, the pattern AZ and ND use. AGI already holds maintenance under a pre-2019 instrument, so maintenance counts once.homestead/income/all_member_sources.yamlholdschild_support_received. The formula passes it totax_unit_non_dep_addasinclude_dependents, the same mechanism as the federalfiler_amounts_recorded_on_dependents, so support counts even when the data puts it on the child. Every other source still counts for the claimant and spouse only (71.52(4)), so a dependent's own workers' compensation, veterans' benefits and the like stay out.tanf, so they don't touch the lines Count railroad benefits in state tax worksheets, income tests and limits as each state's law does #10722 (railroad benefits) inserts afterfiler_tax_exempt_social_security. The two changes are compatible and should merge without conflict.Eligibility:
homestead/eligible/earnings_sources.yaml.partnership_s_corp_incomeis replaced bypartnership_self_employment_net_earnings(Schedule K-1 box 14), the source the Wisconsin married couple credit already uses. The file now cites 71.52(1g) as well. Definition 4 on page 7 of the instructions reads the same way: "Wages, salaries, tips, other employee compensation, and net earnings from self-employment".Who is affected
The homestead credit is refundable, so each change moves Wisconsin income tax in the opposite direction from the credit.
Tests
wi_homestead_income.yaml: audit cases 1-8 become Cases 20, 22, 24, 26, 27, 29, 31 and 32 (child support, untaxed maintenance, workers' compensation, veterans' benefits, IRA contribution, 401(k) deferral, nontaxable IRA distribution, county relief). Expected values are unchanged.wi_homestead_eligible.yaml: the S corporation case becomes Case 16 (expectedfalse).wi_homestead_credit.yamlCase 7).Not in this PR
Other Wisconsin homestead gaps from the #10812 audit:
Tested on Modal: run
w1-wi-a, 239/239 passed (232 YAML files: the Wisconsin test folder, every partner test and the household state-tax tests that read the credit; and 7 pytest files: the source-conflict guard, parameter keys, reference URLs, the Wisconsin claimable-filer and statutory invariants, the Wisconsin retirement election and household SPM resource parity).🤖 Generated with Claude Code