Repository navigation
Apply dependent-filer rules in DC, Georgia and Idaho, set DC's 2026 child credit to $0, credit Georgia ITIN children, require a qualifying individual for Idaho's care deduction and count only filers' Schedule H inputs - #10050
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>
…an be claimed as a dependent A return on which the filer, or on a joint return either spouse, can be claimed as a dependent has no dependents (IRC 152(b)(1)), and a childless filer who can be claimed gets no EITC (IRC 32(c)(1)(A)(ii)(III)). - DC: the Schedule H property tax credit needs a claimant who was not a dependent or is 65 or older (D.C. Code 47-1806.06(k)); one claimant per tax filing unit, so the other spouse can claim it. The childless EITC keeps the IRC 32 bar; the keep child care affordable credit and the child tax credit count no child on such a return. - Georgia: no dependent exemption on such a return (the 2021-2023 personal exemption stays); no low income credit when either filer can be claimed (O.C.G.A. 48-7A-3); the HB 162 surplus refund excludes a filer claimed for 2021 unless that filer had earned income (48-7-20.2(a)). The 2026 child credit keeps its IRC 24(c) child test. - Idaho: the food tax credit leaves out a filer who can be claimed and, on such a return, the dependents (63-3024A); the household and dependent care deduction needs an IRC 21(b)(1) qualifying individual (63-3022D); the 2022 rebate counts each taxpayer but no dependents on such a return. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…HB 162 refund; add the property test O.C.G.A. 48-7A-3(a) lets "each resident taxpayer ... who is not claimed or is not otherwise eligible to be claimed as a dependent" claim the low income credit and deems each joint spouse a unit "for purposes of such joint return", so a joint return keeps both spouses' units while one spouse qualifies; such a return still counts no dependents (IRC 152(b)(1)). The HB 162 refund is credited to each qualified taxpayer (48-7-20.2(a), (b)), so a joint return gets the joint amount while one spouse qualifies. The property test checks swap invariance and monotonicity of the changed DC, Georgia and Idaho outputs on Hypothesis and seeded couples. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The flag is a tax-unit array and ages are per person; one-return YAML cases broadcast, but a vectorized simulation with several returns does not. Adds a two-return YAML case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rty tax and KCCATC reforms; fix test fixtures - Georgia's dependent exemption reform, DC's property tax credit reform (both branches) and the DC KCCATC reform's inactive fallback replace the fixed formulas; each now keeps the baseline rule for a claimable filer, with regression cases. The Schedule H claimant rule moves into `dc_ptc_has_eligible_claimant`, shared by the baseline and the reform. - Idaho food tax credit cases set twelve qualified months (low incomes made the household SNAP-eligible, which zeroed every case). - Schedule H cases put the rent on the spouse who can be the claimant, so they hold whether rent is pooled or limited to the claimant's own payments. - The HB 162 refund documents that the single flag stands in for "was claimed". 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>
…claimable-filer-dc-ga-id
…anch The federal branch (#10087) now separates whether another taxpayer can claim a filer (`claimable_as_dependent_on_another_return`) from an actual claim (`claimed_as_dependent_on_another_return`), and adds the Publication 501 filing exception for the Dependent Taxpayer Test (`head_or_spouse_is_dependent_elsewhere_without_filing_exception`). - Rules that a return has no dependents (IRC 152(b)(1)) and the childless EITC bar read the filing-exception helper, as the federal formulas do. - Rules that turn on an actual claim read the claim input: Illinois' 2022 rebate (sec. 212.1, "who is claimed") and Georgia's HB 162 refund ("who was claimed"). - Rules that turn on being claimable read claimability: Georgia's low income credit ("claimed or ... eligible to be claimed") and Idaho's food tax credit ("can claim you"). DC Schedule H's "was a dependent" reads the person-level filing-exception helper. - New cases for a filer who can be claimed but is not, and for the filing exception. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Retain the branch credit readings and the new main entries. Clarify the historical Idaho scope in the invariant documentation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Distinguish the remaining spouses credit from the three-person filing-exception restoration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Make the refundable reform tests follow Georgia's child definition. Keep the ordinary refund and liability controls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main's #10041 rewrote the note on Colorado's premium-assistance item, directly above the District of Columbia childless EITC item this branch adds. Keep main's note and the branch's item. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… filers Pool the head's and spouse's rent for the District of Columbia property tax credit, as D.C. Code 47-1806.06(j)(1) treats a married couple as one tax filing unit with one claimant. Give the unit the home's tax bill when an eligible claimant holds a property tax input, and keep each claimant's own age and the dependent bar in subsection (k). Exclude an Idaho food tax credit filer in every year only when another taxpayer claims them, under Idaho Code 63-3024A(4). Count farm profit and a partner's net earnings as earned income for Georgia's surplus refund, pin the filing exception for the District's EITC without a qualifying child, and cite govinfo.gov for the Internal Revenue Code. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Replace the two Rule 771 captures with the rule's complete official text for 2022 and from April 6, 2023. Cite govinfo.gov for IRC 24(c) in Georgia's child credit. Limit the Schedule H register note to the dependent-claimant question that the item records. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Main applied no dependency test to this credit, so the changelog entry describes the bar as a change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
For 36 seeded DC couples nobody can claim, in 2021 and 2025, compare the property tax credit as drawn with the credit after moving all rent and property tax to each spouse in turn. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The couple's two $10,000 rent inputs give 20% x $20,000 - 5% x $56,200 = $1,190. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Add an open item on whether Georgia's child credit reaches the child of a filer whom another taxpayer can claim, and one on whether a business loss offsets wages for the HB 162 refund. Capture the text of the Department of Revenue's Qualifying Child Credit page. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
DTrim99, here's where each item of your review stands at
Two merges of main since your review, 🤖 Generated with Claude Code |
Commits since this review answer the critical item, three items to address and suggestions 2 to 4. The description answers suggestions 6 and 7, and rulespec-us posts answer the fourth item. Suggestion 1 went the other way, and #10659 tracks suggestion 5. My reply above maps each item.
|
US + core hub merge audit, us#10050 at
🤖 Generated with Claude Code |
Both #10050 and this branch append cases to the DC Keep Child Care Affordable credit and Schedule H credit tests. This merge keeps main's 2025 cases and this branch's 2026 cases. In test_state_uprating_rounding.py, #10324 rewrote the Arkansas bracket test at the line where this branch adds its Vermont and Wisconsin helpers. This merge keeps main's Arkansas test and its half-down helper beside this branch's helpers and tests. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Summary
Apply District of Columbia, Georgia and Idaho rules for a filer whom another taxpayer can claim as a dependent. We keep three facts apart in each formula: whether someone can claim the filer, whether someone does, and whether the federal filing exception applies.
Four changes also reach filers nobody can claim:
The federal filing exception covers a filer whose would-be claimant files no return, or files only for a refund of withheld or estimated tax (Publication 596, pages 17-18; Publication 501, page 11).
Sources and readings
Methodology choices
Each choice below has more than one defensible reading.
source_conflicts/candidates.yamlrecords each one that sets one source against another.us-dc:schedule-h-claimable-unclaimed-claimant.us-dc:eitc-joint-dependent-worksheet-omission.us-ga:child-credit-dependent-filer-childstaysstate: open.us-ga:surplus-refund-earned-income-loss-offsetstaysstate: open.us-ga:low-income-credit-claimed-or-eligible-disjunction.us-id:grocery-credit-claimability-before-2023staysstate: open. The commission's rule then required a "permitted and claimed" personal exemption, and through 2018 the statute tied the credit to section 151. From 2023, candidatesus-id:grocery-credit-claimable-unclaimed-filerandus-id:grocery-credit-claimable-spouseset the statute against Form 40.Computations
We take the larger Schedule H credit among eligible claimants. Each claimant's credit uses the filing unit's rent and tax bill, the filing unit's AGI and that claimant's age. Under 70, the 2025 offset equals 3% of AGI up to $25,000 of AGI, 4% up to $52,000 and 5% up to the $66,000 limit. From 70, it equals 3% up to the $90,000 limit.
Four Schedule H cases for couples that main already carried keep main's values: $800, $1,200, $1,190 and $1,120.
A DC filer aged 30 with $1,000 of wages and the filing exception keeps the EITC without a qualifying child: 7.65% × $1,000 = $76.50. Without the exception the same filer gets $0.
Georgia denies the child credit in the five dependent-filer examples: 0 qualifying children × $250 = $0. The control with no dependent filer keeps $250, and the filing-exception control keeps min(1 × $250, $10,000 liability) = $250. The optional refundable child credit reform inherits the child definition.
For HB 162, a single filer whom another taxpayer claimed for 2021 receives min($250, $600 liability) = $250 with positive wages, self-employment profit, farm profit or partnership earnings. A loss alone gives $0. A child nobody claims cannot qualify a return whose two filers both fail: min($500, $600) × 0 = $0.
Idaho's single filer whom someone could claim, but nobody claims, receives $100 in 2021, $120 in 2023 and $155 in 2025, each for twelve qualifying months. Main paid the same amounts. A single filer whom another taxpayer claims receives $0 in 2022, where main paid $100. When nobody claims either adult and the filing exception restores the child, a 2025 household receives 3 × $155 = $465.
An Idaho filer whose only child has reached 14 has no IRC 21(b)(1) qualifying individual, so the care deduction equals 0 × min($1,000 expenses, $12,000 cap, $10,000 earnings) = $0. A qualifying disabled adult leaves a child's nonqualifying daycare out of the deduction.
Invariants
policyengine_us/tests/core/test_claimable_filer_dc_ga_id_invariants.pychecks the first five for a seeded population of couples in each of 2021, 2023, 2025 and 2026. Hypothesis couples drawn from those years check the first, third, fourth and fifth. One crafted couple with a two-year-old checks the sixth and seventh under both labels: in Idaho for 2025, and in DC and Georgia for 2026. The file checks the last one for 36 seeded DC couples in 2021 and 2025: it moves all rent and property tax to each spouse in turn and compares the credit.In CI run 43605812303, Python shard 3 runs its 1,025 tests in 33 minutes. This file's ten tests take 64.3 seconds of that, and the two holder tests take 3.4 seconds each. The job log reports no peak memory.
Tests
Each file ran in its own process.
policyengine_us/tests/policy/contrib/states/dc/property_tax/dc_property_tax_credit.yamlpolicyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_ctc.yamlpolicyengine_us/tests/policy/baseline/gov/states/dc/tax/income/ctc/dc_ctc.yamlpolicyengine_us/tests/policy/baseline/gov/states/dc/tax/income/ctc/dc_ctc_eligible_child.yamlpolicyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_cdcc.yamlpolicyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yamlpolicyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/dependent_care_credit/ga_cdcc.yamlpolicyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_low_income_credit.yamlpolicyengine_us/tests/policy/baseline/gov/states/ga/tax/income/exemptions/ga_exemptions.yamlpolicyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_2022_rebate.yamlpolicyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_ctc.yamlpolicyengine_us/tests/policy/baseline/gov/states/id/tax/income/deductions/household_and_dependent_care/id_household_and_dependent_care_expense_deduction.yamlpolicyengine_us/tests/policy/contrib/dc_kccatc.yamlpolicyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/grocery/integration.yamlpolicyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yamlpolicyengine_us/tests/policy/baseline/gov/states/tax/income/state_income_tax_rebate_adjustment.yamlpolicyengine_us/tests/policy/baseline/gov/states/dc/tax/property/senior_disabled_property_tax_relief/dc_senior_disabled_property_tax_relief.yamlpolicyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yamlpolicyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/grocery/id_grocery_credit.yamlpolicyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_eitc.yamlpolicyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_surplus_tax_rebate.yamlpolicyengine_us/tests/core/test_claimable_filer_dc_ga_id_invariants.pypolicyengine_us/tests/code_health/test_source_conflicts.pyThe local runs left out two changed files, the contributed Georgia reform tests
policyengine_us/tests/policy/contrib/states/ga/dependent_exemption_reform_test.yamlandpolicyengine_us/tests/policy/contrib/states/ga/ctc/ga_ctc_reform.yaml.Pull request run 43676088399 at
1f19639860passed all 37 jobs on GitHub's merge with maina29c73d587.The Schedule H, Idaho food credit and Georgia refund formulas from
1fbc1c2473fail 15 of these cases: 12 for Schedule H, 1 for Idaho and 2 for Georgia. They also fail 2 of the invariant file's 10 tests.Mutants
Each edit ran against the named test file in its own process. Every edit failed at least one case.
dc_ptc.yamltest_claimable_filer_dc_ga_id_invariants.pydc_ptc.yamldc_ptc.yamldc_ptc.yamldc_ptc.yamldc_ptc.yamldc_ptc.yamldc_ptc.yamldc_ptc.yamlid_grocery_credit.yamlid_grocery_credit.yamldc_eitc.yamlga_surplus_tax_rebate.yamlga_surplus_tax_rebate.yamlga_surplus_tax_rebate.yamlTen more edits (eleven runs) ran at the earlier head
956534cd4d, and each failed its intended case. The lines they change read the same at this head.Follow-ups
ga_itemizer_credit_potential's reference to 48-7-29.23 against the itemizer provision.Axiom parity
Comments on three rulespec-us issues re-pin them to this head and add the cases that changed since their earlier pins:
Two new issues queue Georgia's HB 162 refund under O.C.G.A. 48-7-20.2 (#2242) and Idaho's 2022 rebate floor under Idaho Code 63-3024B (#2243).
Microsimulation impact
We estimate that this branch raises state income tax by $107.2m in 2026 on the default dataset and lowers household net income by the same amount. DC's child tax credit falls from $100.7m to $0, for 91 sampled tax units (55,482 weighted). DC's property tax credit falls by $5.0m (2 tax units, 3,428 weighted), and Idaho income tax rises by $1.5m (3 tax units, 3,492 weighted). We compared
mainat7acc38c2acwith this branch at1f19639860.dc_ptcdc_ctcdc_eitcga_ctcid_grocery_creditdc_income_tax_before_refundable_creditsga_income_taxid_income_taxstate_income_taxincome_taxhousehold_benefitshousehold_net_incomeaxiom: TheAxiomFoundation/rulespec-us#1701 queued (DC: Schedule H claimant, EITC without a qualifying child, KCCATC, child tax credit) | TheAxiomFoundation/rulespec-us#1702 queued (GA: dependent exemption, low income credit, 2026 child credit) | TheAxiomFoundation/rulespec-us#1703 queued (ID: food tax credit, household and dependent care deduction) | TheAxiomFoundation/rulespec-us#2242 queued (GA: HB 162 surplus refund) | TheAxiomFoundation/rulespec-us#2243 queued (ID: 2022 rebate floor)
🤖 Generated with Claude Code