Repository navigation
Activate uprating for filing-status parameter children - #10825
Merged
Merged
Conversation
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>
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>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep both sets of personal exemption cases in exemptions.yaml: main's 21 for 2017 through 2026 and this branch's five for 2032 through 2038. The merged file holds 26 cases. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The exemptions formula on main counts a fraction of a phaseout step as a full step, following IRC 151(d)(3)(B). A case that tests only one full step above its threshold then passes for any threshold within that step. Add adjusted gross income $1 above the threshold to each of the four restored-exemption cases. The joint case again separates rounding the 2038 threshold down to $516,800 from rounding it to the nearest $50. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
Author
|
US + core hub merge audit, us#10825 at
🤖 Generated with Claude Code |
This was referenced Nov 17, 2026
MaxGhenis
added a commit
that referenced
this pull request
Nov 17, 2026
No commit on main since the last merge changes a file this branch changes, so the merge has no conflict. Main adds tests in #10825 that read projected values of gov.irs.uprating: the FY2025 capital gains threshold in 2025, Colorado's CollegeInvest limits in 2027 and the legacy personal exemption thresholds after 2035. Their expectations follow main's August-to-July index. The next commit moves them to this branch's September-to-August index. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis
added a commit
that referenced
this pull request
Nov 17, 2026
The 2025 and 2024 index values average 12 months of chained CPI-U that sum to 2,077.121 and 2,021.359. The FY2025 capital gains threshold becomes 1,000,000 * 2,077.121 / 2,021.359 = $1,027,586.3911358645, and $513,793.1955679323 for separate filers. Move the two YAML cases' inputs to less than $1 below the threshold, the threshold itself and less than $2 above it, and update the expected tax and the Python test to match. Colorado's 2027 limits stay at $27,000 and $40,400: 26,200 * 2,190.008 / 2,125.365 = 26,996.8733 and 39,200 * the same ratio = 40,392.2684. The 2036 exemption thresholds keep their values under the factor 217.68 / 213.471. Update the arithmetic in both comments. The 2038 joint case no longer separates rounding down from rounding to the nearest $50: 487,400 * (217.68 / 213.471)^3 = 516,802.32 rounds to $516,800 either way. Move it to 2039, where 487,400 * (217.68 / 213.471)^4 = 526,992.10 rounds down to $526,950 and to the nearest $50 at $527,000. AGI of $526,951 then loses one 2% step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 17, 2026
This was referenced Nov 17, 2026
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.
Activate uprating for the filing-status children of Colorado's CollegeInvest subtraction, the legacy personal exemption phaseout and the Biden FY2025 capital gains proposal.
Colorado's Department of Revenue (DOR) publishes the 2026 limits in its November 2026 bulletin, page 2:
Add those published limits and project subsequent years. Correct the Colorado statute reference from section 39-22-104(4)(j) to (4)(i), and replace the remaining Justia citations for CollegeInvest and the income tax rate with official legislature copies.
Correct the 2032 head-of-household exemption phaseout threshold from $421,050 to $421,200, following CBO's January 2025 forecast, CSV row
CY2032,tp_pep_threshold_hoh,421200.0.From 2026, Colorado filers who contribute more than $25,400 ($38,100 on a joint return) can subtract more and owe less state income tax. Congress keeps personal exemptions suspended, and the Biden proposal applies only when a user turns it on, so the other two repairs change only counterfactual reforms.
Sources: Colorado statute, section 39-22-104(4)(i)(II)(B)-(C), PDF pages 392–393, historical IRC 68(b), IRC 151(d)(3)(B), IRC 151(d)(5)(A), and Treasury's FY2025 proposal, printed page 80.
Invariants
The Python tests read built parameter values and metadata that household YAML tests cannot inspect. They reuse the existing system, check all 115 authored entries, and sample projected years through 2100 for rounding, growth and filing-status relationships.
Household YAML cases check Colorado caps, restored exemptions and proposal thresholds. After the merge with main,
exemptions.yamlholds 26 cases: the 21 that #10854 added for 2017 through 2026 and this PR's five for 2032 through 2038.Since #10854, the exemptions formula counts a fraction of a phaseout step as a full step, following IRC 151(d)(3)(B). Each restored-exemption case checks adjusted gross income $1 below its threshold, at it, $1 above it and one full step above it. The joint-filer case distinguishes rounding down from rounding to the nearest $50.
Validation
Pull request run 43944374859 at
ec5403f3b4passed all 37 jobs on GitHub's merge with main29f81ccc36.Under policyengine-core 3.36.1, the five changed test files run 180 cases, and all pass: 133 parameter, seven placement, 26 exemption, ten Colorado and four proposal cases. CI runs
exemptions.yamlin theirsbaseline shard, the Colorado file in a states shard, the proposal file in a contrib shard and the two Python files in the Rest Python shards. Ruff format and Ruff lint pass on the changed Python files, andgit diff --checkagainst main prints nothing.Main changed none of the three parameter files and none of the chained CPI-U values behind the IRS index, so the merged tree projects the same 15 filing-status children to the values the tests expect.
Methodology choices
Microsimulation impact
We estimate no change in 2025, 2026 or 2032 on the default dataset, where none of the nine measured outputs moves. This branch adds DOR's 2026 limits, $26,200 and $39,200 on a joint return, and projects later years, where
mainkeeps the 2025 limits of $25,400 and $38,100. Colorado's CollegeInvest subtraction totals $0 onmainand on this branch in each year, so the higher limits change no record's subtraction or Colorado income tax. Congress keeps personal exemptions suspended, so exemptions total $0 on both and the corrected 2032 head-of-household phaseout threshold changes no record. The Biden capital gains proposal applies only when a user turns it on, so its threshold changes no record under current law. We comparedmainatbff5f062c5with this branch atec5403f3b4.2025:
co_collegeinvest_subtractionco_subtractionsco_taxable_incomeco_income_taxexemptionsstate_income_taxincome_taxhousehold_benefitshousehold_net_income2026:
co_collegeinvest_subtractionco_subtractionsco_taxable_incomeco_income_taxexemptionsstate_income_taxincome_taxhousehold_benefitshousehold_net_income2032:
co_collegeinvest_subtractionco_subtractionsco_taxable_incomeco_income_taxexemptionsstate_income_taxincome_taxhousehold_benefitshousehold_net_incomeAxiom
axiom: TheAxiomFoundation/rulespec-us#2290 queued (C.R.S. 39-22-104(4)(i)(II)(B)-(C), Colorado's CollegeInvest limits; no corpus manifest holds DOR's November 2026 bulletin, the source of the 2026 limits, so the signed encoder can't run yet. The exemption threshold changes, to CBO's 2032 forecast and to projections after 2035, need no encoding: section 151(d)(5) sets the exemption amount to zero, and TheAxiomFoundation/rulespec-us#42 tracks 151(d)(3)'s reference to the removed 68(b) amount. The Biden threshold belongs to a Treasury proposal that PolicyEngine models as an optional reform.)
🤖 Generated with Claude Code