Repository navigation
Conversation
Apply the Delaware personal credit cap and use the same dependent credit count for Filing Status 4 allocation and credit amounts. Remove the remaining Michigan, Massachusetts and Indiana dependent exemptions when filers enable the repeal. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Reuse the reform system to check Delaware credits and tax and Michigan, Massachusetts and Indiana exemptions. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Follow federal exemption entitlement under the Delaware statute and record the alternative reading of the return instructions. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Name the tied case for its equal tax result. Add a case where only the spouse can use the full credit, and label the dependent personal credit count in credits. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Clarify that the readings cover the filer’s own credit, cite the 2021 through 2025 instructions, and link PR #11289. File the verified passages with the Delaware captures. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Apply the four states’ repeal formulas in active years and preserve the general repeal when the Massachusetts exemption reform is also installed. Record hashes for the Delaware source captures. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The contributed repeal removes remaining dependent credits and exemptions in Delaware, Michigan, Massachusetts and Indiana:
In Delaware, the repeal also counts only filers whom no one can claim as a dependent, and the baseline's tax-liability cap and credit order now apply to their credits. Claimable Michigan filers keep the $1,500 allowance and any disability and disabled veteran exemptions, and stillbirth exemptions still apply where a filer qualifies. Filers in Massachusetts and Indiana keep their own exemptions.
This PR also corrects Delaware EITC reporting to reflect the credit applied on the elected return.
Supersedes #10134.
This PR keeps two changes from #10134: Delaware counts only filers whom no one can claim, and Michigan drops the filing-exception dependent amount.
2025 household results
de_personal_creditde_personal_credit(pooled path)de_personal_credit(pooled path)de_personal_creditde_personal_creditde_files_separatelyde_personal_credit_indv[110, 330, 0, 0][110, 330, 0, 0][110, 110, 0, 0]de_income_taxde_cdcc_indv[200, 0, 0, 0][200, 0, 0, 0][0, 200, 0, 0]de_income_taxmi_exemptionsmi_exemptionsmi_exemptionsma_part_b_taxable_income_exemptionin_additional_exemptionsvt_personal_exemptionsvt_personal_exemptionsOn the two federal joint returns, the couple owes less Delaware tax on a combined separate return. Those rows report
de_personal_credit, the pooled-path credit that the YAML cases assert.With federal EITC calculated for the same $18,000-wage Delaware couple, federal EITC is $5,987.38. Under the repeal, the household elects pooled filing and owes $0 in Delaware.
Changes by state
de_personal_credit_potentialin place ofde_personal_credit, so the baseline'sde_personal_creditcaps the credit and orders it among the nonrefundable credits. We move the dependent credit count into a new baseline variable,de_dependent_personal_credit_units, which the Filing Status 4 allocation search (de_combined_separate_credits) andde_personal_credit_indvboth read. The repeal sets that count to zero, so the search assigns the child care and earned income tax credits from liabilities without dependent credits. 30 Del. C. § 1110 (personal credit and cap) · § 1114 (child care credit) · § 1117 (earned income tax credit)mi_exemptionsinto a new baseline variable,mi_dependent_exemptions.mi_exemptionsreads the extracted amount on the claimable-filer branch, where the filing exception can allow dependent units. The repeal sets it to zero. The stillbirth term and the separate disability and disabled veteran exemptions stay inmi_exemptions, and those separate exemptions can count qualifying dependents. MCL § 206.30ma_part_b_dependent_exemption, whichma_part_b_taxable_income_exemptionadds. The repeal sets it to zero and, as before, leaves dependents out of the no-tax-status threshold. M.G.L. c. 62 § 3in_additional_exemptionsandin_adoption_exemptionto zero. A filer with $40,000 of wages and one qualifying adopted child keeps the $1,000 filer exemption and has $39,000 of Indiana AGI under the repeal. Indiana DOR Bulletin 117, pp. 2 and 5 · 2025 IT-40 instructions, p. 26Tests
These ten baseline files test the exemption and credit variables in the four states. Each passes the same cases on main and at this head, so the new baseline variables leave those results unchanged.
de_personal_credit_indv.yamlde_personal_credits.yamlde_files_separately.yamlde_cdcc.yamlde_cdcc_indv.yamlmi_exemptions.yamlmi_personal_exemptions.yamlma_part_b_taxable_income_exemption.yamlin_additional_exemptions.yamlin_base_exemptions.yamlThe contributed repeal's YAML file gains 26 cases, for 75 in all. All 75 pass on the branch and on a merge with main. The Oklahoma file that also applies the repeal passes its 26 cases.
A new test in the Hawaii and Virginia property module,
test_claimable_filer_hi_va_repeal_invariants.py, compares Delaware credits and tax, and Michigan, Massachusetts and Indiana exemptions, on 96 returns. It checks each output under the repeal against the baseline for the same filers without dependents, and it reuses the module's reform system. Each Delaware return has at least $80,000 in total wages, above the 2025 EITC limit for two children, and has zero care expenses. Two YAML cases cover care-credit routing. The module passes 4 tests on main and 5 at this head.At commit
833da577, in CI's Rest Python shard 1, processcore-2, the module's five tests took 28.1 seconds, 2.7 of them in the new test. On a local machine, the module ran for 209.6 seconds on main and 220.2 seconds at that commit, and its sampled peak memory rose from 1,508 MiB to 1,579 MiB. On the branch, the module passes its 5 tests in 109 seconds on a Linux machine.Six mutants each undo part of a fix, and a YAML case fails under each one. Under the care-routing mutant, Delaware tax on the new case rises from $33.50 to $121.75. The source-conflict guard's 251 tests pass locally and in CI's Rest Python shard 5.
A new Delaware reporting case checks that the Status 4 return owes $25 and reports $235 through both
de_eitcandtaxsim_state_eitc. Under a mutant that reports the pooled-path credit, this case fails at $300.Delaware personal credit reading
In its 2021 through 2025 PIT-RES instructions, Delaware's Division of Revenue denies the personal credit to a filer listed as a dependent on another person's federal return. The Division names only a listed filer, so a claimable filer whom nobody lists could read the instructions as allowing the credit. PolicyEngine applies federal exemption eligibility under 30 Del. C. § 1110(b)(1) and excludes each claimable filer's own $110 personal credit in the baseline and under the repeal. We record both readings as the source-conflict candidate
us-de:personal-credit-claimable-filer, with captures of the two passages. 2021 instructions, Line 26a · 2022 instructions, Line 26a · 2023 instructions, Line 26a · 2024 instructions, Line 27a · 2025 instructions, Line 27a · 30 Del. C. § 1110 · 26 U.S.C. § 151Not in this PR
ma_scb_total_incomestill subtracts the dependent exemption when it computes total income for the Massachusetts senior circuit breaker. In M.G.L. c. 62 § 6(k)(1), the legislature reduces that total income by some of the section 3 Part B exemptions, the $1,000 dependent exemption among them. This PR leaves that subtraction in place under the repeal. M.G.L. c. 62 § 6impact: pending a comparison at the final head.
axiom: n/a: hypothetical contributed repeal and PolicyEngine reporting of the credit already calculated under 30 Del. C. § 1117
The existing RuleSpec module for 30 Del. C. § 1117 encodes the liability cap and the separate-spouse eligibility rule. Its companion cases exercise those rules individually. RuleSpec module · companion tests
🤖 Generated with Claude Code