Repository navigation
Conversation
DTrim99
marked this pull request as ready for review
December 4, 2026 03:28
Since 2013, IRC 151(d)(3)(A) phases personal exemptions out above the applicable amount in effect under section 68(b). Read that amount from gov.irs.deductions.itemized.limitation.applicable_amount and delete the duplicate gov.irs.income.exemption.phase_out.start. The surviving parameter takes the exemption file's per-child uprating (round down to $50, and to $25 for separate filers, who get half the joint amount under 68(b)(1)(D)), so the exemption threshold is unchanged in every year. Correct the 2009 itemized deduction limit to $166,800 ($83,400 for separate filers), per the 2009 Schedule A instructions. Fixes #4018 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DTrim99
force-pushed
the
exemption-phase-out-pease-threshold
branch
from
December 4, 2026 03:34
e75de35 to
c8f28c6
Compare
Collaborator
Author
|
Rebased onto main after #11727 merged. #11727 had added four Rev. Proc. references to |
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.
Fixes #4018
What was wrong
Since ATRA (2013), IRC 151(d)(3)(A) phases personal exemptions out above "the applicable amount in effect under section 68(b)", the amount that also starts the overall limitation on itemized deductions (Pease). The model kept that amount twice:
gov.irs.income.exemption.phase_out.startandgov.irs.deductions.itemized.limitation.applicable_amount. The two files held the same 2013-2017 values and CBO 2026-2035 forecasts, row for row, but they had drifted in two places:The fix
exemptionsnow readsgov.irs.deductions.itemized.limitation.applicable_amount.gov.irs.income.exemption.phase_out.startis deleted..infrows and CBO's forecasts.tp_itemized_limit_*andtp_pep_threshold_*.Before 2013, section 151(d)(3) had its own thresholds (2009: $166,800 single, $250,200 joint, $208,500 head of household, $125,100 separate). The model holds none of them: the exemption amount, rate, step size and suspension flag all start in 2013, so
exemptionscannot be calculated for earlier years either before or after this PR. A YAML comment records this for whoever backfills pre-2013 exemptions.Who is affected
Nobody under current law. Personal exemptions stay suspended, and from 2026 section 68 uses the 37 percent bracket threshold rather than this amount.
gov.irs.deductions.itemized.limitation.applicable_amountnow moves the exemption phase-out too, as the statute does. Reforms that set the deletedgov.irs.income.exemption.phase_out.startneed to set the shared parameter instead.Tests
exemptions.yaml: a 2017 case moves the shared parameter to $200,000 for single filers and checks that the exemption phase-out ($4,050, $3,969, $3,969, $3,888 at $0, $1, $2,500 and $2,501 over) and the Pease reduction ($0, $0.03, $75, $75.03) both follow it.itemized_taxable_income_deductions_reduction.yaml: a 2039 separate filer with the OBBB structure switched off. 243,700 * (217.68 / 213.471)^4 = 263,496.05 rounds down to $263,475, half of the joint $526,950. The reduction is $0, $0.03 and $3 at $0, $1 and $100 over that amount; the old $50 rounding gave $0.75, $0.78 and $3.75.test_breakdown_parameter_uprating.pynow checks the shared parameter: all authored values, the 2036 projections, and $25 or $50 rounding with separate = joint / 2 through 2100.test_breakdown_parameter_uprating.py,test_itemized_deduction_limitation_properties.py,test_state_itemized_section_68_2026.py,test_vt_2017_taxable_income_properties.py(160),policyengine_us/tests/code_health/(1,155 passed, 1 skipped), and the state tests that read the federal Pease reduction in Vermont, Utah, Colorado, New Mexico, Maine, Maryland, Oregon, Illinois and Iowa, plus the federal AMT, QBID, sales tax and integration tests (414).Note: #11727 adds four Rev. Proc. references to the deleted
start.yaml. This PR carries those references into the shared parameter, so whichever PR merges second can drop that hunk.axiom: n/a: rulespec-us encodes 26 USC 68 and 151 only as in force from 2026, where 68(b) no longer defines an applicable amount, and its 151 phaseout is deferred on us:statutes/26/68/b#applicable_amount; the only value changes here are the superseded 2009 Pease threshold and post-2035 projected rounding for separate filers
🤖 Generated with Claude Code