Skip to content

Add Illinois's and Ohio's claim of right repayment subtractions (35 ILCS 5/203(a)(2)(P), R.C. 5747.01(A)(12)) - #10195

Merged
MaxGhenis merged 76 commits into
mainfrom
il-oh-claim-of-right
Nov 9, 2026
Merged

MaxGhenis merged 76 commits into
mainfrom
il-oh-claim-of-right

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Illinois and Ohio each let a filer take a repayment of income held under a claim of right off federal AGI. Illinois allows its subtraction when the federal return claims section 1341 relief, and Ohio allows its deduction for any repayment section 1341 covers. PolicyEngine had neither rule, so a repayment changed nothing in either state. This PR adds both.

  • claim_of_right_relief_claimed (federal, tax unit): the return has a repayment over $3,000, and either federal tax uses the section 1341(a)(5) credit or the return itemizes and deducts the repayment under (a)(4). Only Illinois reads it.
  • il_claim_of_right_subtraction (tax unit): the repayment when the return claims relief. It joins gov.states.il.tax.income.base.subtractions (Schedule M line 15).
  • oh_claim_of_right_deduction (person): each filer's repayment when the return's total exceeds the section 1341 threshold, less the part (A)(12) excludes. It joins gov.states.oh.tax.income.deductions.deductions (Schedule of Adjustments line 29 in 2025).
  • oh_claim_of_right_repayment_not_deductible (person input): the part (A)(12) excludes: income Ohio AGI left out when received, income that qualified then for the Ohio resident or nonresident credit (R.C. 5747.05(A) or (B)), and amounts that reduce Ohio AGI on another line.

The law

Illinois. 35 ILCS 5/203(a)(2)(P) subtracts "the deduction used to compute the federal income tax credit" under section 1341, or "any itemized deduction taken from adjusted gross income" for the same restoration. 86 Ill. Adm. Code 100.2465(b) sets the credit branch's amount at "the amount of the repayment that would otherwise have been deductible in that taxable year". The Schedule M instructions for line 15 repeat the statute in 2017 (PDF p. 2), 2021 (p. 3) and 2025 (p. 3).

Ohio. R.C. 5747.01(A)(12) deducts the section 1341(a)(2) deduction to the extent it "is allowable for repayment of an item that was included in the taxpayer's adjusted gross income for a prior taxable year". The item also must not have qualified that year for a credit under R.C. 5747.05(A) or (B), and the deduction must not otherwise reduce AGI.

The IT 1040 booklets add a condition the statute lacks: the federal return must claim the repayment as a Schedule A deduction or a credit. Every booklet from 2021 (line 23, PDF p. 17) through 2025 (line 29, PDF p. 23) carries it.

Design notes

  • Illinois follows the federal return, and Ohio follows its statute. Illinois's statute turns on what the federal return claims, so its subtraction reads claim_of_right_relief_claimed. Ohio's statute asks only that the deduction be allowable, and we follow the statute over the booklets' added condition. Ohio's deduction therefore applies whichever federal method governs and whether or not the federal return itemizes. The two texts part ways when a return's federal methods tie and it takes the standard deduction: a $10,000 repayment with no earlier-year federal decrease gives $10,000 under the statute and nothing under the booklets.
  • An eligible return claims relief by taking the credit or itemizing the deduction. claim_of_right_relief_claimed holds when the credit branch's tax, rounded to the cent, falls below the deduction branch's, or when the deduction branch itemizes. Where the methods tie, (a)(4) governs, and a return taking the standard deduction deducts nothing, so Illinois subtracts nothing ("any itemized deduction taken").
  • Ohio keeps the section 1341 threshold. Nonbusiness repayments totaling $3,000 or less on a return fall outside section 1341, so they stay miscellaneous itemized deductions (section 67(b)(9)), which section 67(h), formerly 67(g), disallows from 2018. Ohio deducts only an allowable amount, so those repayments get nothing.
  • Illinois subtracts the whole repayment under either method. Under the credit method the Illinois subtraction equals the repayment that "would otherwise have been deductible" (100.2465(b)), and under the deduction method it equals the itemized deduction taken. Both equal the head's and spouse's repayment. From 2026 the federal section 68 limit reduces total itemized deductions and has no rule allocating the reduction to one deduction, so the model reads "the itemized deduction taken" as the whole Schedule A amount.
  • Ohio works per person, like every other item in Ohio's deduction list. A dependent's repayment belongs on the dependent's own return.
  • State income tax doesn't feed the federal choice. Illinois reads federal itemization, and federal SALT reads state_withheld_income_tax in place of computed state tax.
  • Repayments move out of the catch-all inputs. il_other_subtractions and oh_other_subtractions now document that they exclude these repayments. A user who entered a repayment in either should move it to claim_of_right_repayment, or it counts twice.

Indiana, Massachusetts and West Virginia (#10196), New Jersey (#10198), Hawaii (#10200) and Arkansas (#10203) use the same federal input in their own PRs.

Not modeled:

  • Repayments deducted in arriving at AGI, such as repaid business income. claim_of_right_repayment excludes them.
  • The law of each year before 2021. The Illinois subtraction and Ohio deduction lists start in 2021, and the model extends each list's first entry back to 2015 (policyengine_us/system.py), so the relief also applies in 2015–2020. We haven't checked those years against each year's law. Before 2018 a repayment of $3,000 or less counted as a federal miscellaneous itemized deduction, which the model doesn't carry.

Household examples (2025, single, age 40)

Household No repayment Repays $10,000
Illinois: wages $40,000, earlier-year federal decrease $2,200 Federal $2,671.50; IL $1,838.93 Federal $471.50 (credit); IL $1,343.93 ($495 less: 4.95% of $10,000)
Illinois: wages $100,000, charity $20,000, decrease $400 Federal $11,456.04; IL $4,808.92 Federal $9,256.04 (deduction, itemizing); IL $4,313.92
Illinois: wages $40,000, decrease $0 Federal $2,671.50; IL $1,838.93 Federal $2,671.50 (deduction, standard deduction); IL $1,838.93
Ohio: wages $40,000, decrease $2,200 Federal $2,671.50; OH $659.63 Federal $471.50; OH $364.63 ($295 less: 2.75% of $10,000, plus Ohio's $20 exemption credit)
Ohio: wages $40,000, decrease $0 Federal $2,671.50; OH $659.63 Federal $2,671.50; OH $364.63

Tests

Each YAML case takes its expected values from the cited form:

  • gov/irs/credits/claim_of_right/claim_of_right_relief_claimed.yaml, 5 cases: the credit; the deduction while itemizing; the deduction with the standard deduction; no qualifying repayment; a method flag without one.
  • gov/states/il/tax/income/subtractions/il_claim_of_right_subtraction.yaml, 8 cases, including the $3,000 boundary, a joint return with a dependent, and two integration cases with the method derived (base income, taxable income and tax at 4.95%).
  • gov/states/oh/tax/income/deductions/oh_claim_of_right_deduction.yaml, 11 cases. They cover both federal methods, itemizing and with the standard deduction, income Ohio excluded or credited, and a federal credit that doesn't override those exclusions. They also cover a joint return with a dependent, another state, an integration case to Ohio taxable income, and repayments of $3,000 and $3,001. One couple's spouse falls below the joint filing credit's $500 test ($3,500 of wages, $3,100 repaid).

tests/unit/test_il_oh_claim_of_right_properties.py (the Rest job's remaining group) needs Python because the federal method and the itemizing choice come from the branch computations, and each check compares separate simulations.

Invariants (over a 216-return grid: state × repayment × earlier-year decrease × wages × charity)

  1. Each federal method. Fix the credit method, or the deduction method on a return that itemizes. Illinois income tax then equals a simulation with no repayment and the eligible repayment entered through il_other_subtractions. Ohio taxable income then equals a simulation with no repayment and wages lower by it (where wages cover it). With the deduction method fixed on a return taking the standard deduction, Illinois income tax equals the no-repayment simulation, and Ohio taxable income still equals the lower-wage one.
  2. The model's own choice. Every eligible Illinois return with a positive earlier-year decrease matches that reference, every eligible Ohio return matches it whatever the decrease, and every ineligible return matches the no-repayment simulation.
  3. Never raises; monotone (single filers). Neither state's income tax exceeds its no-repayment value for the grid's single filers, some repayment lowers it, and it never rises as the repayment grows (also across $3,000). On a joint Ohio return it can rise, because amounts deducted on the Schedule of Adjustments don't count toward the joint filing credit's $500 test. The deduction can take a spouse below that test (YAML case 8; 2025 instructions, line 12, PDF p. 29).

Restoring the federal-claim condition in Ohio fails 2 YAML cases and 2 property tests, and dropping Ohio's threshold fails 1 YAML case and 2 property tests.

test_claim_of_right_section_1341_properties.py now holds an explicit, sourced map of the states whose own relief applies under the federal credit method (Arkansas, Hawaii, Illinois, Indiana, Massachusetts, New Jersey, Ohio, West Virginia) and the variable that carries each. Each listed state whose variable exists must lower the household's tax by more than $1, and every other state stays unchanged, apart from the three that deduct federal tax. #10196, #10198, #10200 and #10203 carry the identical file, so they merge in any order.

Cost

The property file adds about 6 s to the remaining group, measured locally, and its process peaks at 1.41 GB including the model import, which the group's process already holds. It builds six simulations of 216 single-person returns and frees them at teardown.

Microsimulation impact

We estimate no change in 2025. No record in the default dataset carries claim_of_right_repayment, and each new amount needs a repayment, so no record changes in il_base_income, oh_agi, state_income_tax, income_tax or household_net_income.

Axiom

axiom: TheAxiomFoundation/rulespec-us#1798 queued

rulespec-us has no us-il/statutes/35/5/203 module and no us-oh/statutes/5747/01 module. The corpus holds (P) at us-il/statute/35/5/203-current/block-1 and (A)(12) at us-oh/statute/5747.01.

impact: none in 2025; no record in the default dataset carries claim_of_right_repayment

🤖 Generated with Claude Code

MaxGhenis and others added 16 commits October 9, 2026 08:50
G.S. 105-153.5(a)(2)d, added by S.L. 2016-5 for 2014 and later, lets North
Carolina itemizers deduct repayments of income included in AGI in an earlier
year under a claim of right (Form D-400 Schedule A line 8). Repayments above
$3,000 are deductible in full; smaller ones are reduced by 2% of federal AGI
less other miscellaneous itemized deductions, which the 2016 and 2025 NCDOR
worksheets both reproduce. PE had no input for these repayments, so it adds
claim_of_right_repayment (person level; only the head's and spouse's count)
and moves North Carolina's uncapped itemized items into a parameter list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…C taxed

Review r1 (subfleet 20261009-090558-nc-itemized-review):
- S.L. 2026-31 section 1.8 rewrites G.S. 105-153.5(a)(2)d for taxable years
  beginning on or after January 1, 2026: the repaid amount must have been
  included in AGI "as modified in G.S. 105-153.5 and G.S. 105-153.6" in the
  earlier year. New person input
  nc_claim_of_right_repayment_excluded_from_income (the part NC deducted when
  received, such as repaid Social Security) and a dated parameter apply it.
- Count only the head's and spouse's other miscellaneous expenses against
  the pre-2018 floor; a dependent's are on the dependent's return.
- The property grid now varies property taxes (so the $20,000 cap binds) and
  adds a 2026 grid for the excluded part.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h Carolina's 1341(a)(5) bar and G.S. 105-266.2 payment (WIP)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es that exclude them (AZ, KS, WI, MO, OR, VA); property tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fragment

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…to keep it at two seconds

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…urn-level prior-year inputs, California and Montana flows

- The branches that fix the claim of right method start from inputs only, and
  the itemization branches settle the method in the parent first, so a tax
  liability calculated before the method is known cannot leak into them.
- Ties are compared to the cent, so a one-cent difference picks the credit.
- The prior-year federal decrease and NC increase are return-level inputs
  defined on chapter 1 and Article 4 tax.
- California leaves out the federal deduction (Schedule CA Part II line 16);
  Montana deducts it through 2023 (Form 2 itemized line 18).
- Section 67(g) is now 67(h); document the Arizona and NC coverage limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review r2 found that with itemization branching off, tax_liability_if_not_itemizing
used the parent's method when calculated first but chose its own after
income_tax. The itemizing branches now take the method as an input. A branch
keeps its parent's cache when an override equals the value the parent already
holds, so ordinary simulations still share it. Adds the review's Texas
household as an order test under both itemization settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… branches only when someone qualifies

Review r3 showed that keeping a parent's cache when an override equals the
parent's current value can reuse tax calculated before another input
changed. Branches again drop inherited values whenever the parent knows an
overridden variable. The itemizing branches add the claim of right method as
an override only when some tax unit repays more than $3,000, so simulations
without a qualifying repayment keep sharing the parent's cache. Adds the
review's stale-parent sequence as a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…th use tax

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ate property test

Under the federal credit method, section 1341(b)(3) keeps the repayment out of
every state that only follows the federal deduction, so their tax must not
change. States with their own claim of right relief may lower tax under either
method. The test now reads which states have their own rule from the model's
variable names (<state>_claim_of_right_...), so a state PR adds its variables
without editing this list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Illinois (35 ILCS 5/203(a)(2)(P), Schedule M line 15) and Ohio
(R.C. 5747.01(A)(12), Schedule of Adjustments line 29) take the repayment off
federal AGI when the federal return claims section 1341 relief: the credit, or
the Schedule A deduction on a return that itemizes. A new federal variable,
claim_of_right_relief_claimed, says which. Ohio excludes income that qualified
for its resident or nonresident credit when received (a new person-level
input).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…perty tests for Illinois and Ohio

claim_of_right_relief_claimed now also requires the section 1341 threshold,
as claim_of_right_credit does, so a method flag entered on a return without a
qualifying repayment claims nothing. The property tests found this: with the
credit method fixed as an input, a $2,000 repayment got the Illinois
subtraction.

The new tests check, over a grid, that each subtraction is the repayment
exactly when the federal return claims relief; that an eligible return always
claims relief when the earlier year's tax fell; that Illinois tax equals a
simulation using the existing Schedule M input and Ohio taxable income one with
wages lower by the repayment; and that neither state's tax rises.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eral credit

Reviews of #10195, #10196 and #10198 found that reading own-rule states from
variable names weakened the cross-state test: North Carolina and Montana lost
their exact check, nothing asserted that a state's own relief actually lowered
its tax, and any future <state>_claim_of_right_ input would exempt a state.

Now an explicit, sourced map names each state whose relief applies under the
federal credit method and the variable that carries it. Under that method each
listed state whose variable is in the model must lower the household's tax by
more than $1, and every other state's tax must not change. The same commit is
on every state branch, so they still merge in any order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis added a commit that referenced this pull request Oct 13, 2026
…eral credit

Reviews of #10195, #10196 and #10198 found that reading own-rule states from
variable names weakened the cross-state test: North Carolina and Montana lost
their exact check, nothing asserted that a state's own relief actually lowered
its tax, and any future <state>_claim_of_right_ input would exempt a state.

Now an explicit, sourced map names each state whose relief applies under the
federal credit method and the variable that carries it. Under that method each
listed state whose variable is in the model must lower the household's tax by
more than $1, and every other state's tax must not change. The same commit is
on every state branch, so they still merge in any order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…estating tests

- oh_claim_of_right_repayment_qualified_for_credit becomes
  oh_claim_of_right_repayment_not_deductible. R.C. 5747.01(A)(12)(a) also
  requires that the item was included in Ohio AGI (not only that it did not
  qualify for a 5747.05 credit), and (b) bars amounts that reduce Ohio AGI on
  another line; the input now covers all three.
- Ohio's documentation says the federal-claim condition comes from the
  department's IT 1040 instructions; the statute requires only that the
  deduction be allowable.
- Illinois's subtraction notes that from 2026 the section 68 limit reduces
  total itemized deductions, not the claim of right deduction taken.
- The property test no longer restates the formulas. Every check compares
  simulations: each fixed federal method against a reference built from the
  existing Schedule M input (Illinois) or lower wages (Ohio), the model's own
  choice against that reference whenever the earlier tax fell, and tax never
  rising. Five single-line mutants each fail it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis added a commit that referenced this pull request Oct 13, 2026
…eral credit

Reviews of #10195, #10196 and #10198 found that reading own-rule states from
variable names weakened the cross-state test: North Carolina and Montana lost
their exact check, nothing asserted that a state's own relief actually lowered
its tax, and any future <state>_claim_of_right_ input would exempt a state.

Now an explicit, sourced map names each state whose relief applies under the
federal credit method and the variable that carries it. Under that method each
listed state whose variable is in the model must lower the household's tax by
more than $1, and every other state's tax must not change. The same commit is
on every state branch, so they still merge in any order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis added a commit that referenced this pull request Oct 13, 2026
…eral credit

Reviews of #10195, #10196 and #10198 found that reading own-rule states from
variable names weakened the cross-state test: North Carolina and Montana lost
their exact check, nothing asserted that a state's own relief actually lowered
its tax, and any future <state>_claim_of_right_ input would exempt a state.

Now an explicit, sourced map names each state whose relief applies under the
federal credit method and the variable that carries it. Under that method each
listed state whose variable is in the model must lower the household's tax by
more than $1, and every other state's tax must not change. The same commit is
on every state branch, so they still merge in any order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 2 commits October 13, 2026 02:35
…section 68 reading

- A YAML case shows the Ohio deduction can cost a couple the joint filing
  credit: the 2025 instructions exclude amounts deducted on the Schedule of
  Adjustments from each spouse's qualifying income, and a spouse left with
  $400 fails the $500 test.
- The Illinois comment states that reading the 2026 'itemized deduction
  taken' as the whole Schedule A amount is the model's reading; section 68 has
  no allocation rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Ohio test

Review r3 of #10195: a joint Ohio return can lose the joint filing credit
(YAML case 8), so the docstring states the property for the tested grid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ondition

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude and others added 23 commits November 3, 2026 20:45
Conflicts resolved:
- Wisconsin itemized deduction credit: keep main's explicit Schedule 1
  component list (#10311) and add claim_of_right_deduction to it, so the
  section 1341 repayment stays in the credit base as this PR intends
  under Wis. Stat. 71.07(5)(a)6-7.
- Alabama and Wisconsin YAML tests: keep both sides' cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 2025

The 2024 Form 2 Worksheet A reduces the federal deduction by the capped
state-income-tax addback before line 3's zero floor. The 2025 form stops
adjusting line 2 and reports the addback on Schedule I line 4, a Montana
addition after the floor, as MCA 15-30-2120(1) treats the (2)(j) item
alongside the other additions. A new boolean parameter is true in 2024 and
false from 2025 (2026 follows the 2025 form by convention), and both
mt_taxable_income_joint and mt_federal_deductions read it.

Adds 2025 and 2026 YAML witnesses (the review's AGI 10,000 / itemized
20,000 household gives 4,250 in 2025), keeps the 2024 pre-floor witnesses,
limits the property test to 2024, and points the misc_deductions comment at
mt_taxable_income_joint, which is what reads the federal base.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ala. Admin. Code r. 810-3-15-.20(1)(d)2 subtracts all credits shown as
payments on the federal return, and its current text dates from a 2010
amendment, so it governs every year the parameter covers, not only 2021 on.
The legacy pre-2021 list (total AOC, no section 1341 credit or net PTC) is
dropped, and the 2020 case that pinned it now expects
5,000 - 1,000 - 1,500 - 1,000 - 750 = 750.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main's backlog still described the code before this PR: AL, MO and WI as
following the worksheets and OR as unknown. The head follows the statute or
regulation in all four, so set pe_us.follows to statute and state to ruled,
replace the notes that said a model change was still needed, start AL's
years in 2015 (the corrected credit list now applies from the parameter's
first year), and cite ORS 316.685(1)(b), the EITC-only disregard the OR
code follows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 2017 Montana Form 2 with Legal References now 404s at its original
address; cite the Wayback Machine copy of 2024-01-07, whose PDF p. 6
Schedule III lines 25, 26 and 28 the reviewer confirmed. Drop the "2023 HB
109" reference: its URL mixes HB0199 and HB0109, returns 404, and what it
was meant to support could not be confirmed; MCA 15-30-2120 is already
cited for the deduction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both cases set claim_of_right_credit as an input that neither formula reads,
so they only checked that income_tax passes through. They now use the
federal integration case 4 household (2025, $40,000 wages, $10,000
repayment, $2,200 prior-year decrease), where the credit method wins and
flows through income_tax: 2,671.50 - 2,200 = 471.50. Missouri deducts
25% x 471.50 = 117.875 and Oregon subtracts 471.50. Adding the credit back
in either formula fails its case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main's #10186 made the 2020 itemization choice compare two branches with
different AGI (the 2020 above-the-line charitable deduction), and no
invariant in this file ran on that path. Add 2020 to YEARS (last, so the
tests that read YEARS[0] and YEARS[1] keep 2025 and 2026) and run the
calculation-order test in 2020 as well. Every existing assertion is kept;
all 58 tests pass. Locally the file went from 182 s to 220 s and its peak
RSS from 3.2 GB to 3.5 GB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The claim-of-right fragment described the Montana work as repayment
treatment, but from 2024 every Montana filer's taxable income now starts
from the federal base (all six mt_taxable_income_joint cases changed), and
every Alabama AOC claimant now subtracts only the refundable part.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…6 case

The old 2025 case supplied a positive QBI deduction at a binding floor, which
the model can't produce before 2026. From 2026 the 199A(i) $400 minimum can
exceed taxable income, so a derived household now pins the order: MCA
15-30-2101(22) and 15-30-2120(2)(i) add the deduction back to federal
taxable income before Form 2's line 7 floor, giving 0, not 400.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwQq6JfLQkf8A2aNSw51a4
Once #10093 nets the premium tax credit in Oregon's subtraction, this
household's modeled credit would zero the subtraction. Pinning it keeps the
case isolating the section 1341 credit at 471.50.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwQq6JfLQkf8A2aNSw51a4
YEARS is (2024,), so the Schedule 1-A draw and the year >= 2025 branches
never ran; YAML cases cover 2025 and 2026.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwQq6JfLQkf8A2aNSw51a4
mt_taxable_income_joint computes its own deduction term from
taxable_income_deductions, which also holds the QBI deduction and the
Schedule 1-A deductions, so the two differ (e.g. 15,750 against 21,750 in
the 2025 tip case) and the formula can't read this variable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwQq6JfLQkf8A2aNSw51a4
The code applies the regulation's list from 2015, but worksheets before 2018
went unchecked, so the item can't claim a conflict for 2015-2017.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwQq6JfLQkf8A2aNSw51a4
The comment argued from federal taxable income having no floor, which
would also remove the line 3 floor the code keeps for Montana's other
additions. The order follows the form: line 2 leaves the QBI deduction
out, and line 3 floors line 1 minus line 2 at zero.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwQq6K4hbmpvP2YevFmELw
Main removed gov.household.household_refundable_credits and
gov.household.household_tax_before_refundable_credits, which no formula
read after it dropped the abolish-tax structural reforms. This branch had
added North Carolina to both. The merge keeps the removal; this branch's
North Carolina entries stay in gov.household.household_refundable_state_credits
and the gov.states.household lists.

Main's new North Carolina use tax case under the payroll tax repeal enters
nc_income_tax, which this branch's state list no longer reads: the list now
counts North Carolina tax before refundable credits. The case now enters
nc_income_tax_before_refundable_credits, and its totals stay at 1,020.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#10094 also adds an entry to
source_conflicts/candidates.yaml. Git merges the two cleanly, and the
merged register keeps unique ids.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o branch

The shared property test keeps main's two-state deduction list and its
Alabama, Missouri and Oregon case, and this branch's relief-state map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main carries the federal section 1341 work, so its changelog fragments
leave this branch. The Oregon files and the candidate list follow main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
R.C. 5747.01(A)(12) requires an allowable deduction. The IT 1040
instructions add that the federal return claimed relief, which the
statute does not ask. The deduction now applies to every repayment that
section 1341 covers, whichever federal method applies and whether or not
the return itemizes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oh_other_subtractions now names the claim of right line among the deductions
PolicyEngine computes, as the Illinois and Indiana inputs do. The Ohio
deduction's documentation gives the reason a repayment of $3,000 or less fails,
and the changelog tells users with a repayment in either catch-all to move it.
Test and documentation wording follows the statute-first reading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis merged commit 50674a5 into main Nov 9, 2026
36 checks passed
@MaxGhenis
MaxGhenis deleted the il-oh-claim-of-right branch November 9, 2026 09:09
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Merging at 6f9c95eb6e as an admin squash with --match-head-commit, past the required-review gate.

  • Checks: gh pr checks passes all 36 checks at this head, including pull request run 42582286920 (36 of 36 jobs). GitHub reports the PR MERGEABLE, and no change request stands.
  • An independent review at 856ff8c67c, after the merges of Model the claim of right repayment deduction and credit (26 U.S.C. 1341) and North Carolina's rules that depend on it #10038 and main, asked for one documentation fix: Ohio's catch-all input had to name this deduction, or a user could enter a repayment twice.
  • An independent delta review approved 6f9c95eb6e. The commits after 856ff8c67c change the changelog, one YAML case name, one test docstring and documentation strings, and no formula or expected value moved.
  • On a tree that composes all five claim-of-right PRs on main at fc521b4f6c, the source-conflict guard (103 of 103) and the shared section 1341 property file (58 of 58) pass. So do the relief flag (5 of 5), Illinois (8 of 8) and Ohio (11 of 11) cases and the Illinois and Ohio property file (3 of 3).
  • The review ran each mutation the description lists, and each household figure in the description matches a simulation to the cent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants