Repository navigation
Conversation
MCA 15-30-2120(3)(g) sets the subtraction at $5,500, and (7) has the Department multiply it each year by the 15-30-2101(12) inflation factor (CPI-U for June of the prior year over CPI-U for June 2023) and round to the nearest $10. June 2025 CPI-U 322.561 over June 2023 305.109 gives 5,500 x 1.057199 = 5,814.60, so $5,810 for 2026. The parameter had no 2026 value and carried 2025's $5,660 forward. The same formula with June 2024 CPI-U (314.175) reproduces the Department's $5,660 for 2025. Tests cover a 2026 couple aged 67 and 65 (federal taxable income $17,100, Montana taxable income $5,480, tax $257.56), a single filer aged 70, filers aged 64, and the unchanged 2025 amount. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Department's 2026 Publication 1 lists the 2025 amount, $5,660, for the age-65 subtraction; MCA 15-30-2120(7) and 15-30-2101(12) give $5,810 for 2026. The model follows the statute. Step 1 of CONTRIBUTING.md's source-conflict process: the candidate goes to the shared register after this PR merges. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves the source_conflicts/candidates.yaml conflict by keeping main's new entries and this PR's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The candidate now gives the exact rounding margin, why the unadjusted CPI-U governs, and the HB 129 transition that explains Publication 1's $3,000 firefighter amount. Adds captures of HB 129 and both Publication 1 editions, and corrects the Form 2 citation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds captures of the BLS revision policy, its escalation guidance and the June 2023 to 2025 CPI-U rows, links them from the candidate, and notes that both series give the 2025 amount. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BLS recalculates seasonal factors with the release of January data, which comes out in February, so the candidate's note now says that rather than "each January". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DTrim99
left a comment
There was a problem hiding this comment.
Program review
Base repository: PolicyEngine/policyengine-us
PR number: 10805
Reviewed head SHA: 73907c6
Merge base SHA: f2b6108
Mode: full
Scope: changed behavior and affected dependencies
Source manifest: /private/tmp/policyengine-command-runs/ea33c0bb2b64/pr-10805-review-sources.json
Review status: COMPLETE
Source Documents
- mca-15-30-2120.html — cached original.
- legmt-15-30-2120.html — cached original.
- mca-15-30-2101.html — cached original.
- dor-tables-2025.html — cached original.
- dor-tables-index.html — cached original.
- dor-tables-2026.html — cached original.
- pub1-2026.pdf — cached original.
- pub1-2025.pdf — cached original.
- dor-529-changes.html — cached original.
- hb129-ch0638.pdf — cached original.
- form2-instr-2025.pdf — cached original.
- bls-api-cpiu.json — cached original.
- bls-api-cpiu-sa.json — cached original.
- bls-api-2023.json — cached original.
Critical
None.
Should Address
None.
Suggestions
S1 — 2027 amount is already computable and the statutory computation date has passed; PE carries $5,810 into 2027 (OPEN)
- Severity: SUGGESTION. This is not introduced by the diff, and the PR explicitly defers it to #11207.
- Location: policyengine_us/parameters/gov/states/mt/tax/income/subtractions/old_age/amount.yaml:32 (last dated value
2026-01-01: 5_810). - Trigger: any tax year 2027 calculation for a Montana filer aged 65 or older.
- Expected vs observed: under 15-30-2120(7) and 15-30-2101(12), the 2027 amount is 5,500 x 333.952/305.109 = 6,019.93 with NSA, or 5,500 x 332.568/304.014 = 6,016.58 with SA. Both round to $6,020, so the series question does not arise for 2027. PE returns $5,810. The statute's "by November 1" deadline for the 2027 computation was 2026-11-01, which has passed.
- Suggested change: add
2027-01-01: 6_020with the same comment pattern, now or in #11207. - Source: MCA 15-30-2120(7); MCA 15-30-2101(12); BLS API June 2026 CUUR0000SA0 = 333.952 and CUSR0000SA0 = 332.568 (bls-api-cpiu.json and bls-api-cpiu-sa.json under pr-10805-policy-sources/).
S2 — No 2026 test where only one spouse is 65 or older (OPEN)
- Severity: SUGGESTION
- Location: policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/subtractions/mt_old_age_subtraction.yaml (new 2026 cases)
- The new 2026 couple case has both spouses aged 65+. A one-in, one-out couple exists only for 2024 (in mt_taxable_income_joint.yaml). Behavior is correct (diag D1: [5,810, 0], MT taxable income $18,940, tax $890.18). Adding D1 would lock in the age gate for each spouse on the joint return. This is optional coverage, not a defect.
Evidence Gaps
No material gaps reported.
Notes
- The 2026 value is right. MCA 15-30-2120(3)(g) and (7), with the 15-30-2101(12) June-2023 base and BLS's unadjusted June CPI-U, give 5,500 x 322.561 / 305.109 = 5,814.60, which rounds to $5,810. 2024 ($5,500) and 2025 ($5,660, which matches DOR's 2025 tax tables and Form 2 instructions p. 13) are unchanged.
- DOR's 2026 Publication 1 prints $5,660, but that is carried forward: the 2025 edition has the same line, and the 2026 list also keeps the $4,500 529 cap, while DOR's own 529 bulletin gives $4,600 for 2026. DOR has not yet published 2026 tables or Form 2 instructions. The statute doesn't name the CPI series; the seasonally adjusted series would give $5,820. The PR's unadjusted reading is documented in its register entry, which says to recheck once DOR publishes.
- Coordinator's ruling: code-1 ("2027 and later still carry a stale amount forward") is the same issue as policy-1 and is merged into it as a suggestion, not a should-address. The PR moves 2027 from main's $5,660 to $5,810, which is closer to the $6,020 that both CPI series give, so it worsens nothing. 2027 is outside the PR's stated 2026 scope and is tracked in #11207. The claim that DOR's 2027 deadline has passed is doubtful: (7)(a)'s "by November 1 ... for that tax year" reads as the current year, which DOR's November 2025 Publication 1 (no 2026 figure yet) supports. Adding
2027-01-01: 6_020here or in #11207 would still help. - Traced end to end (executed): single 70 -> $10,040 Montana taxable income, $471.88 tax; couple 67/65 -> $5,480, $257.56; couple 67/62 -> [5,810, 0]; a 70-year-old dependent's amount doesn't reach the return. The PR merges cleanly into current main, and #11197 doesn't overlap. The reference fix to
#page=13inmt_federal_obbba_subtraction.pyis correct.
Validation Summary
Local tests at the reviewed head pass (the changed tests plus the Montana subtractions directory; review venv, imports from the snapshot). Sources: 14 originals (statutes, HB 129, DOR Publication 1 2025/2026, 529 bulletin, 2025 Form 2 instructions, BLS CPI-U NSA and SA), checksums validated.
Timing
policy role seconds: 301.00s; code role seconds: 408.00s; parallel review seconds: 408.00s; elapsed seconds: 520.00s
Review Severity
APPROVE. Open findings: 0 critical, 0 should address, 2 suggestions.
What was wrong
Montana's age-65 subtraction parameter (
gov.states.mt.tax.income.subtractions.old_age.amount) held $5,500 for 2024 and $5,660 for 2025, with no 2026 value and no uprating. So PolicyEngine-US applied 2025's $5,660 in 2026. The statute indexes the amount every year, and for 2026, with the unadjusted CPI-U that BLS issues as final, it gives $5,810.The law
MCA 15-30-2120 (MCA 2025):
MCA 15-30-2101:
BLS CPI-U, U.S. city average, all items, not seasonally adjusted (CUUR0000SA0): June 2023 305.109, June 2024 314.175, June 2025 322.561.
The formula reproduces the Department's published 2025 amount (2025 Montana Tax Tables and Deductions: "65 and over exemption $5,660"). The 2026 result, 5,814.5958, falls $0.40 short of the $5,815 midpoint. Against the June 2023 base of 305.109, 322.584 is the first three-decimal June 2025 index that would round to $5,820; BLS published 322.561.
MCA 15-30-2101(1) names the CPI-U "as published by the bureau of labor statistics" and says nothing about seasonal adjustment. The seasonally adjusted series, as BLS now publishes it (CUSR0000SA0: June 2023 304.014, June 2024 313.044, June 2025 321.435) gives 5,500 x 321.435 / 304.014 = 5,815.17, which rounds to $5,820. Both series give $5,660 for 2025, so the Department's published amount doesn't show which one it uses. This PR reads (1) as the unadjusted series. BLS issues the unadjusted CPI-U as final, correcting it only in the rare case of an error, while each year, when it releases January data, it recalculates seasonal factors and revises the seasonally adjusted indexes for the previous 5 years (BLS Handbook of Methods, CPI, Presentation). For escalation, BLS "strongly recommend[s] using indexes that are not seasonally adjusted" (BLS CPI FAQ).
The change
parameters/gov/states/mt/tax/income/subtractions/old_age/amount.yaml: adds2026-01-01: 5_810, with the CPI computation for each year in comments, and cites 15-30-2101 and the BLS series. The 2024 and 2025 values don't change.tests/.../mt/tax/income/subtractions/mt_old_age_subtraction.yaml: seven new cases (below).source_conflicts/candidates.yaml: candidateus-mt:age-65-subtraction-2026-indexed-amount(step 1 of CONTRIBUTING.md#source-conflicts), citing MCA 15-30-2120 and 15-30-2101, HB 129, the 2025 and 2026 Publication 1, the BLS Handbook of Methods, the BLS CPI FAQ and the BLS CPI-U data file. Its note records the rounding margin, the seasonally adjusted result and the reason for the unadjusted series.source_conflicts/sources/us-mt/: verbatim captures of HB 129 sections 2-4 (hb129-2025-transition.txt) and excerpts from the Publication 1 subtraction lists for 2025 and 2026 (publication-1-2025-p9.txt,publication-1-2026-p9.txt).source_conflicts/sources/us/: verbatim captures of the BLS Handbook's revision policy (bls-cpi-handbook-presentation-revisions.txt), the BLS CPI FAQ's escalation answers (bls-cpi-faq-escalation.txt) and the June 2023-2025 rows of both CPI-U series from the BLS data file (bls-cpi-u-june-2023-2025.txt).mt_federal_obbba_subtraction.py: the 2025 Form 2 instructions reference moves from PDF page 7 to PDF page 13 (printed page 7 of 42), where line 2 shows that Montana taxable income starts from federal taxable income after the enhanced deduction for seniors. It also moves from revenuefiles.mt.gov/files/Forms to revenue.mt.gov/files/forms, which serves the same file; the formula doesn't change.changelog.d/fix-mt-age-65-subtraction-2026.fixed.md.Reading taken: statute over the 2026 Publication 1
The Department's 2026 Publication 1 (its estimated tax guide, created November 20, 2025; PDF page 11, printed page 9) lists "A subtraction of $5,660 for taxpayers 65 and older", the 2025 figure. This PR follows the statute, under the statute-first rule in CONTRIBUTING.md#source-conflicts:
subtractions/tuition/cap.yamlholds $4,600 for 2026, and the Department's 529 bulletin gives the same: "For 2026, the limits increase to $9,200 and $4,600." The 2025 Publication 1, created November 27, 2024, already listed "A subtraction of $5,660 for taxpayers 65 and older". So the list carries earlier amounts forward; its $5,660 reads as the 2025 figure, not a 2026 computation.The candidate records the conflict for the shared register; after this merges, the register entry and the deciding-line marker follow as CONTRIBUTING.md's steps 2 and 3 describe.
Invariants and how the tests check them
mt_old_age_subtractionalso returns the amount for a dependent aged 65 or older, butmt_taxable_income_jointsums only the head's and spouse's, so no dependent's amount reaches the return; Montana's 2027 age-65 subtraction is $6,020, but the parameter stays at $5,810 #11207 tracks limiting the variable to the head and spouse.New cases (expected values computed by hand from the statute; IRC 63(c)(2) and (7), 63(f), 86 and 151(d)(5)(C); Rev. Proc. 2025-32 for 2026; Rev. Proc. 2024-40 for 2025's $1,600 aged amount; and the 4.7% first bracket in MCA 15-30-2103):
For the couple, IRC 86 makes $19,600 of the $30,000 of benefits taxable (provisional income $60,000), so AGI comes to $64,600. In 2026 the $32,200 joint standard deduction, 2 x $1,650 aged additions and 2 x $6,000 senior deductions leave federal taxable income of $17,100. In 2025 the $31,500 joint standard deduction (IRC 63(c)(2)(A) and (7)), 2 x $1,600 aged additions (Rev. Proc. 2024-40) and the same senior deductions leave $17,900. Montana allows the senior deduction, since Montana taxable income starts from federal taxable income after it (2025 Form 2 instructions, line 2, PDF page 13, printed page 7 of 42).
Against
main's parameter, the three 2026 cases with an aged filer fail (the subtraction comes out $5,660 per filer) and the other seven pass. A reform that sets 2026 back to $5,660 gives the couple Montana taxable income of $5,780 and tax of $271.66. This change touches one parameter value, so the YAML cases cover the invariants; a property-based test would only restate the parameter.Test plan
us-mt:age-65-subtraction-2026-indexed-amount(step 1). The register entry and the# Source conflictmarker follow after merge (steps 2 and 3).make format:ruff format --checkandruff checkpass onmt_federal_obbba_subtraction.py, the one Python file the PR changes.changelog.d/.Local runs at 632cbe74c1:
mt_old_age_subtraction.yaml10 passed (7 new). Themt/tax/income/subtractionsfolder withmt_taxable_income_joint.yaml,mt_income_tax.yaml,mt_claim_of_right_deduction.yamlandmt_elderly_homeowner_or_renter_credit_property_tax_rebate_received.yaml: 122 passed.test_source_conflicts.py: 251 passed. ead7efb841 changes only the candidate and adds the three BLS captures; at it,mt_old_age_subtraction.yamlgives 10 passed andtest_source_conflicts.py251 passed. 73907c6d52 changes only the candidate's note (BLS revises seasonally adjusted indexes with the release of January data);test_source_conflicts.pygives 251 passed at it.Before and after for one household
A 2026 Montana couple aged 67 and 65 with $45,000 of pension and $30,000 of Social Security (federal taxable income $17,100, no Montana earnings):
Not in this PR
subtractions.yaml(Model Montana's working military retirement and survivor benefit exemption #10713).axiom: TheAxiomFoundation/rulespec-us#2162 queued
🤖 Generated with Claude Code