Repository navigation
Leave dependents' own items out of DC, Delaware and Ohio subtractions - #9939
Conversation
…turn A tax unit dependent's interest, dividends and capital gains are on the dependent's own return, and federal adjusted gross income (irs_gross_income) leaves them out. State lines that adjust the filers' federal AGI or taxable income summed them over every member, so a child's dividends, gains or interest moved the parents' state tax. Count only the head and spouse (tax_unit_non_dep_add, or a dependent mask on per-person lines) in AZ, DC, DE, IA, IL, MA, MD, ME, MN, MT, ND, NH, OH, PA, SC, UT, VA, VT, WA, WI and WV, and in us_govt_interest, which most states subtract. In formulas edited anyway: North Dakota's net long-term capital gain exclusion is floored at zero and includes capital gain distributions (Form ND-1 line 6 worksheet); Utah's retirement credit counts only the head and spouse as claimants; the West Virginia low-income family credit cites W. Va. Code 11-21-22a(d). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…UT cases The Montana and Utah Social Security credit cases now carry the exact half-cent amounts (1,765.725, 1,847.725 and 259.475) instead of values rounded past the 0.001 margin. In two existing Utah retirement credit cases person2 (age 64) is a tax unit dependent, so their tax-exempt interest is on their own return and no longer enters the modified AGI: 750 instead of 737.5, and 675 instead of 662.5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DC, Delaware and Ohio sum per-person subtractions into the filers' state AGI. A tax unit dependent's own items, which irs_gross_income leaves off the filers' federal return, reduced the parents' state tax. Mask every item for dependents except the Ohio 529 and medical deductions the filer pays for them (new parameter oh...filer_amounts_recorded_on_dependents), through a new person_non_dep_add helper. This subsumes #9894's special case for U.S. government interest. Also count two per-return amounts once: - dc_disability_exclusion returned the return's D-2440 exclusion to every member; it now shares it between the filers by capped payments and leaves out dependents' payments. - oh_unreimbursed_medical_care_expense_deduction_person added the tax-unit insured expense deduction, which `adds` projects onto every member; it now adds each person's prorated share. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Property test: leave DC units with a disabled filer out of the twin invariant, since D.C. Code 47-1803.02(a)(2)(V) tests household AGI, which counts a dependent's income; add a fixed DC couple with a positive D-2440 exclusion and a dependent with payments. - Describe Ohio's 529 dependent share as a modelling convention that matches the pooled tax-unit deduction. - person_non_dep_add starts from a zero array; fix a test name typo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Overlap with #9925. #9925 makes the same Ohio change to I merged both onto
Dropping the Ohio medical hunk here would remove the conflict. Otherwise, whichever PR lands second takes the other's lines. The merge order with #9897's |
Zero the qualifying capital gain deduction for dependent members whose income is excluded from the filers' federal AGI, retaining the existing filer gain/payroll limits and filer-only business deduction. Pin federal, Ohio and modified AGI using actual dependent gain inputs. Add a generated twin comparison for single/joint returns with dependents. Addresses the PR #9876 interaction identified with #9939.
…deductions back in modified AGI (#9876) * Apply Ohio's business income deduction and add it back in modified AGI Ohio deducts the first $250,000 ($125,000 married filing separately) of business income (R.C. 5747.01(A)(28)) and taxes the rest at a flat 3% (R.C. 5747.02(A)(4)). The model taxed all business income at the graduated rates. Modified AGI is Ohio AGI plus the (A)(28) deduction and, from 2026, the (A)(34) qualifying capital gain deduction (R.C. 5747.01(II), 5747.79(B)). Personal exemptions and the exemption credit now use modified AGI (R.C. 5747.025, 5747.022). Fixes #4056 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update Ohio TAXSIM cases for the business income deduction; mirror MAGI in the dependent exemption reform TAXSIM35 does not apply R.C. 5747.01(A)(28); the two 2021 integration cases now carry the form-line derivation with the deduction. The contrib dependent exemption reform's no-op schedule mirrors the baseline, which is stepped by modified AGI (R.C. 5747.025). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Address review: no double exclusion of a deducted qualifying gain; disclose conventions - Joint filing credit qualifying income excludes capital gains only to the extent they are still in Ohio AGI; a gain deducted under R.C. 5747.01(A)(34) is not excluded again (R.C. 5747.05(E)(1)). 2026 test. - The qualifying capital gain deduction cannot exceed the capital gains reported, and its documentation states the per-entity rule of R.C. 5747.79(C)(2). - Label the per-spouse split of a joint business income deduction as a modeling convention; disclose farm rent, Form 4797 gains and 20%-owner compensation as nonbusiness; describe the TAXSIM cases' line 8a as model values; move the MAGI test out of business_income/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Cap the deducted qualifying gain in joint filing credit qualifying income; quote 5747.79(A)(1) A directly set multi-entity deduction above the capital gains reported can no longer cancel the interest, dividend and rent exclusions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Exclude dependent qualifying gains from Ohio filer deductions Zero the qualifying capital gain deduction for dependent members whose income is excluded from the filers' federal AGI, retaining the existing filer gain/payroll limits and filer-only business deduction. Pin federal, Ohio and modified AGI using actual dependent gain inputs. Add a generated twin comparison for single/joint returns with dependents. Addresses the PR #9876 interaction identified with #9939. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Retain main's medical, capital-loss, pension and charitable deduction changes. Exclude dependent income from Massachusetts's new helpers and the 2021 unemployment worksheet. Match core addition rounding in person-level subtraction sums. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Exclude dependent contributions and beneficiary counts before capping the deduction. Allocate person shares among filer contributors. Keep dependent medical shares for care the filer paid for. Extend the Ohio contribution and Massachusetts unemployment worksheet invariants. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep the existing unemployment calculation while reconciling the worksheet with TIR21-6 and IRC 36B(d). Remove the blanket dependent exclusion and its tests. Retain the Massachusetts capital income fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Describe the filer-only sum without implying a source conflict. Keep the new dependent-income cases below the worksheet threshold so they isolate filer scope from the existing Social Security calculation gap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Include the pension exemption in the Social Security reference cases. Remove the dependent capital gain credit from the filer tax expectation and assert zero credit for both people. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restore every file outside the DC, Delaware and Ohio change to its version on main, and drop the capital-income changelog fragment. The branch held an older copy of #9894's first two commits, plus Massachusetts, Iowa and Montana follow-ups to them, and #9894 carries the current version of that work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main already counts the Ohio medical deduction once per return, and the Massachusetts change now lives in #9894, so the fragment names the DC, Delaware and Ohio subtractions, Ohio's 529 deduction and the DC disability income exclusion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 2025 IT 1040 booklet starts the line 44 instructions at the foot of PDF page 25, not page 24. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
de_529_plan_subtraction already multiplies contributions by is_tax_unit_head_or_spouse, so the case guards the subtraction total without depending on the de_subtractions mask. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
US + core hub merge audit, us#9939 at
🤖 Generated with Claude Code |
Leave tax unit dependents' own income and expenses out of the filers' DC, Delaware and Ohio subtractions. Count DC's D-2440 disability income exclusion once per return, and leave dependents' contributions out of Ohio's 529 deduction.
Changes and legal basis
person_non_dep_add, zeroes a tax unit dependent's own items before it adds each person's subtractions.Invariants
addrounding for filers and rejects group variables.Methodology choices
Tests
Pull request run 43725210892 at
4cd89b4fbepassed all 37 jobs on GitHub's merge with main1c3103179f.Added eight helper cases in
test_person_non_dep_add.py, and a Hypothesis property intest_dependent_state_subtractions_invariants.pythat checks the first four invariants above on random DC, Delaware and Ohio tax units. Added DC, Delaware and Ohio cases in which a dependent child has their own items, and Ohio 529 contributor, cap and allocation regressions. Two D-2440 cases cover a dependent's payments and an exclusion counted once per return. The three existing D-2440 cases now expect each filer's share of the return's one exclusion, and the shares sum to the line 10 amounts those cases expected before (200, 10,400 and 7,000).Microsimulation impact
We estimate that this branch raises Ohio income tax by $5 in 2026 on the default dataset, on 2 sampled tax units that carry no weight, and changes no DC or Delaware income tax. DC subtractions fall by $551,205 (1 record, 365 weighted), Delaware subtractions by $2.5m (2 records, 2,846 weighted) and Ohio deductions by $172.7m (5 records, 16,731 weighted). We compared
mainata93cc58d7ewith this branch at4cd89b4fbe.dc_income_taxde_income_taxoh_income_taxdc_disability_exclusiondc_income_subtractionsde_subtractionsoh_529_plan_deductionoh_deductionsstate_income_taxincome_taxhousehold_benefitshousehold_net_incomeAxiom parity
axiom: TheAxiomFoundation/rulespec-us#2246 queued (D.C. Code § 47-1803.02(a)(2)(LL), (M) and (V) with Form D-2440, and R.C. 5747.70 and 5747.01(A)(3), (11), (18), (23), (27) and (31)). The corpus holds no Form D-2440, and its pinned release carries neither R.C. 5747.01 nor R.C. 5747.70. TheAxiomFoundation/rulespec-us#1424 queued (the IRC § 1(g)(7) election, which moves a child's interest and dividends onto a parent's return).
us-de:policies/income_tax/resident_core_liability_pipeline#de_pit_2026_profile_candidate_other_statutory_subtractionstakes Delaware's refund subtraction from the taxpayer's own refund in federal adjusted gross income (companion testsupported modifications depreciation and schedule branch). TheAxiomFoundation/rulespec-us#1513 queued (the DE529 subtraction). For 2026,us-dc:policies/income_tax/2026_resident_liability_source_holdtakes DC's 47-1803.02(a)(2)(A), (E) and (L) exclusions from the return's own federally taxable amounts (companion testsingle_direct_exclusions_build_district_adjusted_gross_income_then_hold).🤖 Generated with Claude Code