Skip to content

Index Montana's 2026 age-65 subtraction to $5,810 - #10805

Open
MaxGhenis wants to merge 6 commits into
mainfrom
fix-mt-age-65-subtraction-2026
Open

MaxGhenis wants to merge 6 commits into
mainfrom
fix-mt-age-65-subtraction-2026

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

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):

(3) … the following are subtracted from federal taxable income: […] (g) for each taxpayer that has attained the age of 65, an additional subtraction of $5,500;

(7) (a) By November 1 of each year, the department shall multiply the subtractions from federal taxable income in subsections (3)(g) and (3)(o) by the inflation factor for that tax year for a taxpayer that either: (i) has attained the age of 65; or (ii) is a qualified volunteer firefighter or volunteer emergency care provider. (b) The department shall round the results in subsection (7)(a) to the nearest $10. The resulting amounts are effective for that tax year and must be used as the basis for the subtraction from federal taxable income determined under subsections (3)(g) and (3)(o).

MCA 15-30-2101:

(1) "Consumer price index" means the consumer price index, United States city average, for all items, for all urban consumers (CPI-U), using the 1982-84 base of 100, as published by the bureau of labor statistics of the U.S. department of labor.

(12) "Inflation factor" means a number determined for each tax year by dividing the consumer price index for June of the previous tax year by the consumer price index for June 2023.

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.

Tax year Inflation factor $5,500 x factor Rounded to nearest $10 PolicyEngine-US
2024 305.109 / 305.109 = 1 5,500.00 5,500 5,500 (unchanged)
2025 314.175 / 305.109 = 1.029714 5,663.43 5,660 5,660 (unchanged)
2026 322.561 / 305.109 = 1.057199 5,814.60 5,810 5,660 before, 5,810 after

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: adds 2026-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: candidate us-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:

  • (7) sets both the formula and the rounding to the nearest $10, and with the unadjusted CPI-U they give $5,810.
  • The same Publication 1 list prints the 529 cap at its unindexed "$4,500 per individual", although 15-30-2120(11) indexes it "for each tax year after 2025" (4,500 x 322.561 / 314.175 = 4,620, or $4,600 to the nearest $100). PolicyEngine's subtractions/tuition/cap.yaml holds $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 same list gives $3,000 for the volunteer firefighter and emergency care provider subtraction ((3)(o), which the same (7) indexes), and the Department's January 2026 notice gives $3,000 for 2026 and says "For future years, the amount is adjusted for inflation." HB 129 (2025 Mont. Laws ch. 638), which created (3)(o), sets that timing: its section 2 has the Department index the (3)(o) amount "by making the inflation adjustment applicable to income tax years beginning after December 31, 2026." Section 2 names only (3)(o), and HB 129 has no transition for the (3)(g) age-65 amount, which the Department has indexed since 2025.
  • As of November 21, 2026 the Department has published no 2026 tax tables page (the index lists 2021-2025) and no 2026 Form 2 instructions.

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

  • Earlier years don't move. This PR leaves the 2024 ($5,500) and 2025 ($5,660) values alone. The existing 2024 cases pass unchanged, and two new 2025 cases (a 65-year-old, and the couple below in 2025: federal taxable income $17,900, Montana taxable income $6,580, tax $309.26) pass before and after this change.
  • Each 2026 amount equals the statutory computation. $5,500 x CPI-U June 2025 / CPI-U June 2023, rounded to the nearest $10, is $5,810; the cases check $5,810 per filer aged 65 or older, $11,620 for two, and $0 at 64. The same formula with June 2024 CPI-U reproduces the Department's $5,660 for 2025.
  • Only returns with an eligible filer can receive the larger subtraction. The 2026 cases at age 64 (a variable case, and a single filer with $40,000 of pension: tax $1,123.30) give $0 subtraction before and after. The person-level mt_old_age_subtraction also returns the amount for a dependent aged 65 or older, but mt_taxable_income_joint sums 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):

Case Year Federal taxable income Age-65 subtraction Montana taxable income Montana tax
Age 65 2025 n/a 5,660 n/a n/a
Age 65 2026 n/a 5,810 n/a n/a
Age 64 2026 n/a 0 n/a n/a
Couple 67 and 65: $45,000 pension, $30,000 Social Security 2026 17,100 2 x 5,810 5,480 257.56
Same couple 2025 17,900 2 x 5,660 6,580 309.26
Single, 70, $40,000 pension 2026 15,850 5,810 10,040 471.88
Single, 64, $40,000 pension 2026 23,900 0 23,900 1,123.30

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

  • YAML tests with expected values from the statute, BLS CPI-U, IRC 63(c)(2) and (7), 63(f), 86 and 151(d)(5)(C), and Rev. Proc. 2025-32 and 2024-40, computed by hand.
  • Source conflict: candidate us-mt:age-65-subtraction-2026-indexed-amount (step 1). The register entry and the # Source conflict marker follow after merge (steps 2 and 3).
  • make format: ruff format --check and ruff check pass on mt_federal_obbba_subtraction.py, the one Python file the PR changes.
  • Changelog fragment in changelog.d/.

Local runs at 632cbe74c1: mt_old_age_subtraction.yaml 10 passed (7 new). The mt/tax/income/subtractions folder with mt_taxable_income_joint.yaml, mt_income_tax.yaml, mt_claim_of_right_deduction.yaml and mt_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.yaml gives 10 passed and test_source_conflicts.py 251 passed. 73907c6d52 changes only the candidate's note (BLS revises seasonally adjusted indexes with the release of January data); test_source_conflicts.py gives 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):

Before After
Age-65 subtraction 2 x $5,660 = $11,320 2 x $5,810 = $11,620
Montana taxable income $5,780 $5,480
Montana income tax (4.7%) $271.66 $257.56

Not in this PR

axiom: TheAxiomFoundation/rulespec-us#2162 queued

🤖 Generated with Claude Code

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>
MaxGhenis and others added 2 commits November 21, 2026 13:07
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>
MaxGhenis and others added 2 commits November 21, 2026 14:29
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>
@MaxGhenis
MaxGhenis requested a review from DTrim99 November 21, 2026 15:02

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

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_020 with 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_020 here 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=13 in mt_federal_obbba_subtraction.py is 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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants