Repository navigation
Apply New Jersey, Ohio, Oklahoma and Pennsylvania rules for a filer whom another taxpayer can claim as a dependent - #10043
Conversation
The federal standard deduction and 17 state formulas read only whether the tax-unit head is claimed elsewhere, so a joint return where one spouse can be claimed was taxed differently depending on which spouse was labelled head. Each formula now applies its jurisdiction's rule for that case (either spouse, single filers only, per spouse, or only when every filer is claimed), using two new label-independent helpers. Adds swap-pair YAML cases and a Hypothesis property test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… barred The New Mexico, Maine and Hawaii renters gates counted filers who are not claimed elsewhere, so a tax unit with neither a head nor a spouse (252 in the default dataset) looked like one whose every filer was claimed. A new helper, every_filer_is_dependent_elsewhere, requires a claimed filer and no unclaimed one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ss EITC - Hawaii's dependent standard deduction uses earned income net of the deductible part of self-employment tax, as the N-11 worksheet does. - New Mexico's medical care credit needs a filer who is both 65 or older and not a dependent when a filer is a dependent elsewhere (NMSA 7-2-18.13). - The federal EITC without a qualifying child requires that no filer can be claimed as a dependent (IRC 32(c)(1)(A)(ii)(III), Publication 596), so Missouri's working family credit no longer reaches such a couple. - Hawaii's food/excise credit keeps minor children receiving public support (HRS 235-55.85(c)) on a joint return where one spouse can be claimed. - Comments label the readings the law does not settle, and the property test covers the EITC and the food/excise exemption amount. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… meaning - The federal and Oregon dependent worksheets use earned income net of the deductible part of self-employment tax, as Hawaii's now does. - Hawaii's food/excise minor-child count excludes children who can be claimed by another taxpayer and the filers themselves (Form N-311 line 3). - claimed_as_dependent_on_another_return documents what it stands for: a §151 deduction for the person is allowable to another taxpayer, so a person whose would-be claimer files only for a refund is not one (Publications 501 and 596); rules on actually being claimed read it too. - Hawaii's renters comment labels the mixed joint reading as an inference; the Hawaii dependent threshold cites HRS 235-2.4(a)(3) on its page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A filer who can be claimed on another return is treated as having no dependents (IRC 152(b)(1); on a joint return either spouse counts) and has no personal exemption (IRC 151(d)(2)); one who is claimed gets no education credits (25A(g)(3)), student loan interest deduction (221(c)) or recovery rebate (6428(d)(2), 6428A(d)(2), 6428B(c)(2)). The model read none of these. Now the child tax credit and credit for other dependents, the under-13 child and dependent care qualifying person, exemptions_count and its RI, DE, OH, OR, WI, HI and NM readers, the recovery rebates, the education credits and the student loan interest deduction apply them symmetrically for joint returns. Georgia keeps its own counts; the HI, WI and Treasury exemption reforms follow the corrected count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… dependent A return on which the filer (or, if joint, either spouse) can be claimed as a dependent has no dependents (IRC 152(b)(1)), and these states count only federal dependents. Now, on such a return: - New Jersey gives no dependent or college-dependent exemption and no child tax credit, and its childless EITC age fallback applies the federal dependency test (P.L.2021 c.130) and the filer-only age test; - North Dakota gives no stillborn child subtraction (Schedule ND-1SA line 8); - Ohio's nonpublic school tuition credit counts tuition for the taxpayer's dependents only (R.C. 5747.75, 5747.01(O)); - Oklahoma gives a claimable filer no regular exemption (Form 511 item F), counts no dependents, counts only allowable exemptions for the sales tax credit (68 O.S. 5011(D)), and its frozen-2020 childless EITC applies the dependency and filer-only age tests; - Pennsylvania gives no dependent child allowance, and Tax Forgiveness covers only the tax of a filer who is not claimable or whose claiming parent qualifies (Tax Reform Code 301(c.2), Schedule SP), so one claimable spouse leaves the other's separate claim. The NJ and OK dependent-exemption reforms, the repeal-state-dependent- exemptions reform's Oklahoma count and TAXSIM's PA rate follow suit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Child and dependent care: childcare expenses do not count on a return with a claimable filer unless a child under 13 still qualifies (IRC 21(b)(2)(A)(ii)). - Tuition and fees deduction: not allowed to a filer who can be claimed (IRC 222(c)(3)), so the education credit bar no longer makes such a filer eligible. - Recovery rebates: the Armed Forces exception waives the identification rule only, not the exclusion of a spouse who is another taxpayer's dependent. - Georgia: the contributed refundable credit and SB 520 reforms count the same children as ga_ctc_potential through a new ga_ctc_eligible_child. - Education credits and student loan interest read the claimed input directly, since IRC 25A(g)(3) and 221(c) turn on an actual claim. - One reference per source document; quote IRC 24(h)(4)(A) exactly. - Tests: mixed-recipient care, tuition deduction, military rebates, Georgia refund cap, and the swapped New Mexico rebate case; the property test now covers the state readers of the exemption count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/exemptions/personal/oh_personal_exemptions_eligible.yaml
#10024 now separates three facts: is claimed, can be claimed, and the would-be claimant's filing exception. - IRC 152(b)(1) gates (child tax credit, credit for other dependents, under-13 care child and its expenses, dependents in exemptions_count, ARPA dependents, Ohio dependents, the Hawaii and Wisconsin reforms) read head_or_spouse_is_dependent_elsewhere_without_filing_exception, so a filer within the Publication 501 exception keeps their dependents. - Own exemptions, recovery rebates and the tuition deduction read claimability. - Education credits and student loan interest keep reading the claimed input. - Tests: the filing exception and a filer who can be claimed but is not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#10024's food/excise credit, Act 115 rebate and renters credit took claimable filers off exemptions_count themselves. exemptions_count now leaves them out (and, outside the filing exception, the return's dependents), so those credits read it as it is; the filing-exception cases were one exemption short. The renters credit also leaves out a dependent who can be claimed by another taxpayer (Schedule X counts only people who cannot be), as the food/excise credit already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Education credits: a dependent student is not eligible on a return whose filer can be claimed outside the filing exception (IRC 25A(f)(1)(A)(iii), 152(b)(1)); the filer's own eligibility still turns on an actual claim. - Recovery rebates: no credit when every filer is a dependent of another taxpayer (IRC 6428B(a)); the CARES and CAA child prerequisite is a spouse with a valid SSN, whether or not that spouse is an eligible individual. - Child and dependent care: cdcc_qualifying_childcare_expenses holds the expense rule, and the single-parent work requirement reform and California's expenses read it. - References: Georgia HB 136 page 3; one entry per recovery rebate statute; quote IRC 24(h)(4)(A) exactly in the test comment. - Tests: dependent students, the two rebate cases, the reform and California expenses, and the Hawaii, Wisconsin and Treasury reforms with a claimable filer under both labellings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Education credits: is_barred_from_education_credits_by_dependency holds the claimed-filer and dependent-student rules; both eligibility formulas and the reconciliation SSN reform's Lifetime Learning Credit read it, so the reform no longer turns a barred student's tuition into that credit. - Child and dependent care: childcare counts when any child under 18 is still a qualifying individual, so an incapacitated child aged 13 to 17 keeps it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Setting meets_eitc_identification_requirements on one person made it an input for every person, so the other spouse lost their SSN too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…claimable-filer-nj-pa
… where each state's rule does
After the input split on the federal branch:
- the 152(b)(1) "no dependents" gates (NJ dependent, college and child tax
credit counts, ND stillborn subtraction, OH tuition credit, OK dependent
exemptions and sales tax credit dependents, PA dependent child allowance,
the NJ/OK reform copies and TAXSIM's PA rate) and the childless EITC tests
(NJ fallback, OK frozen 2020) read
head_or_spouse_is_dependent_elsewhere_without_filing_exception, so a
would-be claimant who files only for a refund leaves them in place;
- Oklahoma's own regular exemption (Form 511: "if you can be claimed")
reads claimable_as_dependent_on_another_return, here and in the
repeal-state-dependent-exemptions copy;
- the NJ line 58 condition ("not listed as a dependent on another tax
return") and Pennsylvania's Tax Forgiveness filer test and separate-claim
split ("a dependent on another person's federal tax return") read the
actual claim, claimed_as_dependent_on_another_return.
The property test draws claimability, the claim and the exception per adult.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nt who files only for a refund Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Status (owner session resumed 2026-10-11 ~16:00Z; not for adoption):
|
Add the Oklahoma Legislature's compiled Title 68 to ok_stc's references, beside the OSCN link. 68 O.S. 5011 starts on PDF page 1633, and subsections C and D sit on page 1634. Replace the Justia link for N.J.S.A. 54A:3-1.1 in nj_dependents_attending_college_exemption with the New Jersey Legislature's statutes database, and point its IRC 152(b)(1) link at uscode.house.gov. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Oklahoma computes its earned income credit under the federal requirements in effect for 2020 (68 O.S. 2357.43). In the comment of ok_federal_eitc_demographic_eligible, we credited the claimant filing exception to 2020 Publication 596, but the IRS prints none in that edition's Rule 12. The IRS prints the exception in Rule 12 from the 2022 edition. In its volunteer guide for 2020 returns, it applies the exception to the question whether another taxpayer can claim the filer (Publication 4012, page C-3, note 5). Replace the Justia and Cornell links with the Oklahoma Legislature's compiled Title 68 (PDF page 930) and the 2020 edition of the United States Code on govinfo. Add 2025 Publication 596 and Publication 4012 to the references. State the same reading in the ok_eitc.yaml case and show its arithmetic: 5% of min($5,000 x 7.65%, $538) = 5% of $382.50 = $19.125. No formula or expected value changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…nflict Add us-ok:eitc-2020-rules-claimant-filing-exception to source_conflicts/candidates.yaml. Oklahoma freezes the federal EITC requirements at 2020. IRC 32(c)(1)(A)(ii)(III) reads the same in the 2020 and 2024 editions of the Code, and we read it for Oklahoma as we do for the federal credit: a would-be claimant who has no filing requirement and files no return or only for a refund doesn't bar a childless filer. The IRS prints no such exception in Rule 12 of 2020 Publication 596 or in question 6 of the 2020 Form 1040 EIC steps. For example, a single childless filer aged 30 with $5,000 of wages in 2025 gets $19.125 under our reading and $0 under the 2020 publication. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
David, here's where each item of your review stands at
Three independent AI reviews followed yours. The first, at 🤖 Generated with Claude Code |
The commits since this review answer S1 to S3 and every suggestion, and the axiom line now names a queued pe-parity request for each provision (S4). My reply above maps each item to its commit, file and lines.
|
US + core hub merge audit, us#10043 at
🤖 Generated with Claude Code |
Summary
We apply the dependent-filer rules in New Jersey, Ohio, Oklahoma and Pennsylvania, and record that North Dakota's stillborn subtraction has no dependency condition. We check both spouses on joint returns.
The formulas distinguish claimability from the filing exception, under which every would-be claimant has no filing requirement and files no return or files only for a refund:
claimable_as_dependent_on_another_return.head_or_spouse_is_dependent_elsewhere_without_filing_exception.The New Jersey and Oklahoma dependent-exemption reforms and Oklahoma's count in
repeal_state_dependent_exemptionsfollow the corresponding formulas. TAXSIM's Pennsylvania forgiveness rate takes the same dependent gate and keeps its own base. It doubles the base for every separate filer and reads the unit's own eligibility income, so it doesn't follow #10666's base for separated filers.North Carolina's child deduction counts the children for whom a filer gets the federal child tax credit, and main's formula already gives a claimable filer none. We add cases and property checks for it and change no North Carolina formula.
Source readings and results
New Jersey childless EITC
New Jersey lawmakers require every federal EITC qualification except age under N.J.S.A. 54A:4-7(a)(4). The Division of Taxation adds a sentence to the NJ-1040 line 58 instructions: "You are not listed as a dependent on another tax return." P.L. 2021, c.130; 2025 NJ-1040 instructions, page 44.
We follow the statute. The federal test in IRC 32(c)(1)(A)(ii)(III), with the claimant filing exception, already bars a filer whom another taxpayer can claim, whether or not a return lists them. We set the same line 58 instructions aside for married separate filers in #10307.
For example, a single childless filer aged 20 earns $5,000 in 2025, and a claimant who files only for a refund lists them as a dependent. The filer gets
40% × $649 = $259.60. Under the instructions' sentence, the filer would get $0. The IRS sets the $649 federal maximum in Rev. Proc. 2024-40, page 9.The 2021 to 2024 instructions carry the same sentence: 2021, page 42, 2022, page 43, 2023, page 44 and 2024, page 44. We record the conflict in
source_conflicts/candidates.yamlfrom 2021 and update the source-conflict ratchet.North Dakota stillborn subtraction
North Dakota allows the subtraction for each stillbirth with a filed fetal death certificate under N.D.C.C. 57-38-30.3(2)(p), without a dependency condition. Its tax department adds that condition in Schedule ND-1SA. Statute, PDF page 35; 2025 schedule, line 8.
Main's formula has no dependency condition, and this PR leaves the formula unchanged. We add the schedule's reference and two comment lines, reword the parameter's description and update the conflict record.
For one stillbirth in 2025, a single filer receives $5,241 whether claimable or independent. Joint filers receive $5,241 whether another taxpayer can claim neither, one or both spouses:
1 × $5,241 = $5,241. North Dakota's tax department would give a claimable filer $0 under the schedule's added dependency condition.The 2021 to 2024 schedules carry the same condition on page 2: 2021, line 5, 2022, line 5, 2023, line 8 and 2024, line 8. We record the statute–instructions conflict in
source_conflicts/candidates.yamlfrom 2021 and update the source-conflict ratchet.Pennsylvania claimant eligibility
Pennsylvania excludes a head or spouse whom another taxpayer can claim under Tax Reform Code 301(c.2) and 304, and provides no parental exception in those sections.
pa_tax_forgiveness_eligiblereads claimability. Tax Reform Code, PDF pages 112 and 127–128.The tax department asks about an actual claim and permits a parental route in Schedule SP. We record that conflict in
source_conflicts/candidates.yamland update the source-conflict ratchet. 2025 Schedule SP.The 2021 to 2025 schedules each ask the same two eligibility questions on page 1 and print the same dependent-child note on page 3, so the record starts in 2021: 2021, 2022, 2023, 2024 and 2025.
With $6,000 each of eligibility income and adjusted taxable income, tax before forgiveness equals
$6,000 × 3.07% = $184.20:Under Schedule SP's actual-claim test, the tax department would forgive $184.20 for the unclaimed but claimable filer. It would also forgive $184.20 for the claimed filer under the parent exception if the parent qualifies. We apply the statutory exclusion.
Pennsylvania with one claimable spouse
We exclude the claimable spouse and retain forgiveness on the other spouse's own tax. We use joint eligibility income and the married table, following Schedule SP where lawmakers leave the allocation unspecified. Schedule SP, Sections I and IV; PIT guide, married claimants. The 2021 to 2025 schedules each print the same line 3c on page 1 and the same separate-filing rule on page 5, so this record also starts in 2021.
The tax department requires separate Pennsylvania returns when another taxpayer claims one spouse on a federal return. The model retains one federal joint tax unit and approximates the eligible spouse's separate liability.
With $3,000 per spouse, the eligible spouse receives
$3,000 × 3.07% = $92.10of forgiveness. Pennsylvania would forgive $0 if it denied the joint claim, or $184.20 if it forgave the whole return.With $7,500 per spouse, the eligible spouse applies a 20% forgiveness rate under the married table. We allocate
$15,000 × 3.07% × 20% × 50% = $46.05to the eligible spouse. Pennsylvania would forgive $0 if it denied the joint claim, or $92.10 if it forgave the whole return.The model approximates each spouse's tax using their share of person-level Pennsylvania taxable income. It assigns
us_govt_interestto neither spouse and omits the tax-unit 529 deduction from that allocation.The Pennsylvania rate now combines this PR's dependent rule with #10666's base for separated filers. A joint tax unit whose spouses lived apart for the last six months of the year still gets the married table. Under 72 P.S. 7304(d)(1), a claimant who files a separate return and lives apart from their spouse counts as unmarried.
For example, the eligible spouse earns $8,000 and the claimable spouse $1,000. The model forgives
$9,000 × 3.07% × 8/9 = $245.60, where the unmarried table gives$8,000 × 3.07% × 40% = $98.24. The model needs each spouse's own eligibility income to apply the unmarried table, and we leave that split to a follow-up (#11001).Oklahoma exemptions and sales tax credit
A claimable filer has no regular exemption. Oklahoma allows $1,000 exemptions "in lieu of the personal exemptions allowed by the Internal Revenue Code" under §2358(E)(1)(a), and Congress sets a claimable individual's exemption amount to zero in IRC 151(d)(2).
We retain the additional exemptions. Oklahoma allows them separately from regular personal exemptions under §2358(E)(1)(b)–(c), without a dependency condition. Its tax department follows the same distinction in Form 511. 2024 SB1452, §2358(E), PDF pages 19–20; 2025 Form 511 instructions, pages 8–9.
A claimable, nonblind single filer aged 66 within the income limit keeps one special exemption:
0 regular + 1 special = 1, a $1,000 deduction.Oklahoma pays the sales tax credit at $40 for each allowable personal exemption under 68 O.S. 5011(D), so the credit follows the same count without the special and blind exemptions. 68 O.S. 5011 on OSCN; the Legislature's compiled Title 68, PDF page 1634.
Ohio medical dependents
Ohio filers use the IRC definition of dependents under R.C. 5747.01(O). A filer whom another taxpayer can claim has no dependents under IRC 152(b)(1).
Ohio lawmakers import IRC 213's meaning of medical care in (A)(10)(c). They widen dependency solely for (A)(10)(a), waiving the gross-income and support conditions in IRC 152(d)(1)(B) and (C). They retain IRC 152(b)(1). R.C. 5747.01(A)(10).
The Ohio Department of Taxation directs filers to include expenses paid for themselves, their spouse and their dependents. It supplies no broader dependency test. 2025 IT 1040 instructions, page 41.
Ohio's medical formulas read the same federal dependent-taxpayer test, with the claimant filing exception, as the other states' dependent counts. When either filer fails that test, we count only the head's and spouse's premiums and medical care under (A)(10)(a) and (b). We exclude dependents before applying the medical-expense floor and allocating the deduction among people.
For example, a claimable filer who pays $1,000 of a child's unsubsidized, after-tax health-insurance premiums deducts $0 for them. The same household with an independent filer deducts $1,000. We assume no Medicare eligibility, employer subsidy, reimbursement or duplicate deduction.
Changes that do not depend on claimability
Methodology choices
exemptions_count, which matches Oklahoma's regular exemptions unless a reform changes the federal count. For example, under the contributed reformgov.contrib.treasury.repeal_dependent_exemptions, an eligible household's credit falls by $40 for each dependent, whileok_count_exemptionsstill counts them.5% × 7.65% × $5,000 = $19.125when the would-be claimant files only for a refund, and $0 under the 2020 publication. We record the conflict insource_conflicts/candidates.yamlasus-ok:eitc-2020-rules-claimant-filing-exception.Invariants and coverage
test_claimable_filer_nj_pa_invariants.pychecks generated and seeded couples across New Jersey, North Carolina, North Dakota, Ohio, Oklahoma and Pennsylvania:[0, 1]and equals one when no other taxpayer can claim either filer.We check Oklahoma's child care/child tax credit for swap invariance only; its federal tax-liability limit can rise when claimability changes. The generated populations contain no stillborn children; North Dakota's YAML cases cover the stillborn subtraction.
In Pull request run 43728715900, at
d7cd4390b3, the property file's four tests took 20.7 seconds of test calls (12.30, 3.44, 2.71 and 2.24 seconds) in the Rest Pythoncore-1group, which ran 1,297 tests in 21:03. The log reports no peak RSS.YAML cases cover single and joint claimability patterns, swapped spouse labels, claimable-but-unclaimed filers, the filing exception, Pennsylvania's statutory eligibility, Oklahoma's additional exemptions, and the filer-only age tests. Each formula that reads the filing-exception helper has a case in which the would-be claimant files only for a refund. Two cases under the TAXSIM reform pin its Pennsylvania dependent gate, one of them under the filing exception.
Ohio's ten claimability medical cases, eight with a claimable filer and two independent-filer controls, sit in
oh_unreimbursed_medical_care_expense_deduction.yaml,oh_uninsured_unreimbursed_medical_care_expenses.yaml,oh_long_term_care_insurance_premiums.yamlandoh_insured_unreimbursed_medical_care_expense_amount.yaml.Tests
Pull request run 43891286842 at
d7cd4390b3passed all 37 jobs on GitHub's merge with mainfd0a748698.policyengine_us/tests/code_health/test_source_conflicts.pypolicyengine_us/tests/core/test_claimable_filer_nj_pa_invariants.pypolicyengine_us/tests/policy/baseline/gov/states/nc/tax/income/deductions/nc_child_deduction.yamlpolicyengine_us/tests/policy/baseline/gov/states/nd/tax/income/subtractions/nd_stillborn_subtraction.yamlpolicyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/ctc/nj_ctc.yamlpolicyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/eitc/nj_childless_eitc_age_eligible.yamlpolicyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/eitc/nj_eitc.yamlpolicyengine_us/tests/policy/baseline/gov/states/nj/tax/income/exemptions/nj_dependents_attending_college_exemption.yamlpolicyengine_us/tests/policy/baseline/gov/states/nj/tax/income/exemptions/nj_dependents_exemption.yamlpolicyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/oh_non_public_school_credits.yamlpolicyengine_us/tests/policy/baseline/gov/states/oh/tax/income/deductions/medical_expense/insured_unreimbursed_expenses/oh_insured_unreimbursed_medical_care_expense_amount.yamlpolicyengine_us/tests/policy/baseline/gov/states/oh/tax/income/deductions/medical_expense/oh_long_term_care_insurance_premiums.yamlpolicyengine_us/tests/policy/baseline/gov/states/oh/tax/income/deductions/medical_expense/oh_uninsured_unreimbursed_medical_care_expenses.yamlpolicyengine_us/tests/policy/baseline/gov/states/oh/tax/income/deductions/medical_expense/oh_unreimbursed_medical_care_expense_deduction.yamlpolicyengine_us/tests/policy/baseline/gov/states/ok/tax/income/credits/eitc/federal_credit/ok_federal_eitc_demographic_eligible.yamlpolicyengine_us/tests/policy/baseline/gov/states/ok/tax/income/credits/eitc/ok_eitc.yamlpolicyengine_us/tests/policy/baseline/gov/states/ok/tax/income/ok_child_care_child_tax_credit.yamlpolicyengine_us/tests/policy/baseline/gov/states/ok/tax/income/ok_count_exemptions.yamlpolicyengine_us/tests/policy/baseline/gov/states/ok/tax/income/ok_stc.yamlpolicyengine_us/tests/policy/baseline/gov/states/pa/tax/income/credits/pa_cdcc.yamlpolicyengine_us/tests/policy/baseline/gov/states/pa/tax/income/credits/pa_eitc.yamlpolicyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_tax_forgiveness_amount.yamlpolicyengine_us/tests/policy/baseline/gov/states/pa/tax/income/pa_income_tax.yamlpolicyengine_us/tests/policy/contrib/state_dependent_exemptions/repeal_state_dependent_exemptions.yamlpolicyengine_us/tests/policy/contrib/states/nj/dependent_exemption_reform_test.yamlpolicyengine_us/tests/policy/contrib/states/ok/dependent_exemption_reform_test.yamlpolicyengine_us/tests/test_eitc_marital_eligibility_properties.pyWe made each change below to the formulas, one at a time, and each fails the named case. The first ten rows ran at
e1ea478de2. The last three ran atca8dd96fe5, where we also reran the first two rows and the Oklahoma reform'sok_exemptionsvariant. Main's later commits, through9a63ae6605, touch none of these formulas or cases. The North Dakota and Pennsylvania eligibility rows restore earlier states of this branch; main never applied either rule.nj_childless_eitc_age_eligiblealso requires that no return lists the filer2025 single filer listed as a dependent by someone who files only for a refund: New Jersey childless EITC below the federal ageinnj_eitc.yamlfalseagainsttruepa_tax_forgiveness_ratecounts a claimable filer's children2025 TAXSIM reform, joint return whose head can be claimed as a dependent, with a childinpa_income_tax.yamlnj_ctcreadshead_or_spouse_is_dependent_elsewhere2025 single filer who can be claimed as a dependent by someone who files only for a refund: New Jersey child tax creditinnj_ctc.yamlnj_dependents_attending_college_exemptionreadshead_or_spouse_is_dependent_elsewhere2025 single filer who can be claimed as a dependent by someone who files only for a refund: New Jersey college dependent exemptioninnj_dependents_attending_college_exemption.yamlok_stcreadshead_or_spouse_is_dependent_elsewhere2025 single filer who can be claimed as a dependent by someone who files only for a refund: Oklahoma sales tax credit income limit with a childinok_stc.yamlhead_or_spouse_is_dependent_elsewhereNJ dependent exemption reform - a claimable filer whose would-be claimant files only for a refund keeps their dependentsincontrib/states/nj/dependent_exemption_reform_test.yamlhead_or_spouse_is_dependent_elsewhere, in all three formulas and in each one aloneOK dependent exemption reform - a claimable filer whose would-be claimant files only for a refund keeps their dependentsincontrib/states/ok/dependent_exemption_reform_test.yamlok_exemptionsalone gives $5,000 against $3,000nd_stillborn_subtractionbars a claimable filer2025 single filer who can be claimed as a dependent: North Dakota stillborn child subtractioninnd_stillborn_subtraction.yamlpa_tax_forgiveness_eligiblereads the actual claim2025 single filer claimable and not claimed with $6,000 Pennsylvania incomeinpa_tax_forgiveness_amount.yamloh_uninsured_unreimbursed_medical_care_expensescounts a claimable filer's dependentsClaimable filer cannot deduct a child's $1,000 premiumsinoh_unreimbursed_medical_care_expense_deduction.yamloh_insured_unreimbursed_medical_care_expense_amountreadshead_or_spouse_is_dependent_elsewhereA filer whose would-be claimant files only for a refund counts a child's medical careinoh_insured_unreimbursed_medical_care_expense_amount.yamloh_long_term_care_insurance_premiumsreadshead_or_spouse_is_dependent_elsewhereA filer whose would-be claimant files only for a refund counts a child's long-term care premiumsinoh_long_term_care_insurance_premiums.yamlpa_tax_forgiveness_ratereadshead_or_spouse_is_dependent_elsewhere2025 TAXSIM reform, joint return whose head can be claimed as a dependent by someone who files only for a refund, with a childinpa_income_tax.yamlRuff 0.15.5, the locked version, finds all 8,344 files formatted and no lint errors at
ca8dd96fe5(ruff format --check .andruff check .).Microsimulation impact
We estimate that this branch changes none of the outputs below in 2026 on the default dataset. Most of this PR's changes reach only returns whose filer another taxpayer can claim as a dependent. The dataset holds no
claimed_as_dependent_on_another_returninput, so the model treats every filer as one nobody else can claim. The three changes that do not depend on claimability also change no record's credit. Ohio's tuition credit totals $0 onmainand on this branch, and we estimate New Jersey's EITC at $643.4m and Oklahoma's at $34.1m on both. We comparedmainat9a63ae6605with this branch atd7cd4390b3.nd_income_taxnd_stillborn_subtractionnj_income_taxnj_eitcnj_ctcnj_dependents_exemptionoh_income_taxoh_non_public_school_creditsok_income_taxok_stcok_eitcpa_income_taxpa_tax_forgiveness_amountstate_income_taxincome_taxhousehold_benefitshousehold_net_incomeAxiom parity
axiom: TheAxiomFoundation/rulespec-us#2269 queued (N.J.S.A. 54A:3-1(b)2 and 54A:3-1.1: dependent and college-dependent exemptions) | TheAxiomFoundation/rulespec-us#2037 queued, extended with a comment (N.J.S.A. 54A:4-17.1: child tax credit count) | TheAxiomFoundation/rulespec-us#1965 queued, extended with a comment (N.J.S.A. 54A:4-7(a)(4): the federal dependency bar and the filer-only age test) | TheAxiomFoundation/rulespec-us#2270 queued (R.C. 5747.75 with 5747.01(O): tuition credit; the pinned corpus release lacks both sections) | TheAxiomFoundation/rulespec-us#1523 queued, extended with a comment (R.C. 5747.01(A)(10)(a)-(b): medical dependents) | TheAxiomFoundation/rulespec-us#2271 queued (68 O.S. 2358(E)(1), 5011 and 2357.43: regular exemptions, sales tax relief and the 2020-rules EITC) | TheAxiomFoundation/rulespec-us#2272 queued (Tax Reform Code 301(c.2), 301(e.1) and 304(d): claimant, dependents and a return with one claimable spouse) | n/a: North Dakota stillborn subtraction, no behavior change | n/a: New Jersey, Oklahoma and repeal dependent-exemption reforms, PE-only reforms | n/a: TAXSIM Pennsylvania forgiveness rate, emulator mapping
🤖 Generated with Claude Code