Skip to content

Subtract US government interest from Montana taxable income from 2024 - #10772

Open
MaxGhenis wants to merge 3 commits into
mainfrom
mt-2024-base-gaps
Open

MaxGhenis wants to merge 3 commits into
mainfrom
mt-2024-base-gaps

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #9707.

What was wrong

MCA 15-30-2120(3)(b)(i) subtracts "interest from obligations of the United States government and exempt-interest dividends attributable to that interest" from federal taxable income. Form 2 reports the subtraction on Schedule I, Part I: line 11 in 2024 (instructions, PDF p. 25) and line 9 in 2025 (instructions, PDF p. 23). The 2024 and 2025 entries of gov.states.mt.tax.income.subtractions.subtractions left out us_govt_interest_person, so from 2024 the model taxed that interest. The 2024 case in mt_us_govt_bond_interest.yaml expected 0, so the suite recorded the bug.

Each row below comes from a Simulation run on main (61d9e85) and on this branch:

Household Year Main: Montana taxable income / tax This PR By hand from Form 2 and the statute
Single, wages 50,000, Treasury interest 1,000 2024 36,400 / 1,901.60 35,400 / 1,842.60 35,400 / 1,842.60
Same household 2025 35,250 / 1,826.55 34,250 / 1,767.55 34,250 / 1,767.55
Joint, wages 80,000, spouse's Treasury interest 3,000 2025 51,500 / 2,532.10 48,500 / 2,355.10 48,500 / 2,355.10
Single, wages 10,000, Treasury interest 10,000 2024 5,400 / 253.80 0 / 0 0 / 0

The 2025 tax column applies the brackets of MCA 15-30-2103(1) and (3): 5.9% less 253.20 single and 506.40 joint. The 2025 instructions' rate table (PDF p. 18) rounds those amounts to $253 and $506, which gives 1,767.75 and 2,355.50. This PR records the difference as source-conflict candidate us-mt:rate-table-offset-rounding; the model and tests follow the statute.

Changes

  • subtractions.yaml: add us_govt_interest_person to the 2024 and 2025 lists (2026 uses the 2025 list), with the statute and form line in comments, and cite MCA 15-30-2120(3)(b)(i). A comment notes the (3) lead-in's inclusion limit and points to State US-government-interest subtractions exceed the interest in federal income (dependents, §135 exclusion, unchecked inputs) #10780.
  • mt_us_govt_bond_interest.yaml: each case enters the interest as taxable interest too. The 2024 case now expects 5,000, and a new 2025 case also expects 5,000.
  • New mt_taxable_income.yaml: 15 Form 2 cases for 2024–2026. Each starts from household inputs (wages, medical expenses, mortgage interest, taxes paid, interest) and runs through the federal model, so it also checks which federal amounts Montana reads. Comments carry the worksheet and Form 2 arithmetic.
  • New test_mt_us_govt_interest_subtraction.py: a Hypothesis test of the invariants below.
  • source_conflicts/candidates.yaml: us-mt:rate-table-offset-rounding (see above).

The rest of the 2024+ base

The task was to check Montana's whole 2024+ base. #10038 (merged 2026-11-07) rebuilt it from federal taxable income, with the QBI add-back (MCA 15-30-2120(2)(i)) and the capped state income tax add-back ((2)(j)). Its 2024+ cases, like main's other Montana cases, mostly enter federal amounts (adjusted_gross_income, itemized_taxable_income_deductions, tax_unit_itemizes, salt_deduction, standard_deduction) as inputs. This PR's cases start from household inputs instead, with values hand computed from the 2024 and 2025 Form 2, the revised 2024 Worksheet A and the 2025 Worksheet B (instructions, PDF p. 22). On main:

  • the 10 cases without US government interest pass unchanged. They cover medical and SALT-capped itemizers, the standard-deduction limit on the add-back, the QBI exclusion, the 2025 move of the add-back to Schedule I, the enhanced senior deduction (counted once), the 2025 SALT phase-down, and 2026 rolling conformity with the §68 limitation;
  • the 5 US-interest cases fail, and they pass here.

I also checked three things in the code:

  • Dependents. mt_taxable_income_joint.formula_2024 sums mt_additions and mt_subtractions over the head and spouse only. That matches federal AGI: irs_gross_income zeroes every income source of a tax-unit dependent, so a dependent's interest never reaches the return.
  • The old interest exemption. mt_interest_exemption_person is 0 from 2024, because gov.states.mt.tax.income.exemptions.applies is false from 2024.
  • Other readers of mt_subtractions. mt_agi_joint, mt_agi_indiv and the two taxable Social Security helpers also read it, so for a household with US government interest the legacy mt_agi now nets that interest too. None of them reaches 2024+ Montana tax:
    • formula_2024 reads none of them;
    • from 2024 mt_income_tax_before_refundable_credits_unit takes the joint computation, and mt_agi_indiv applies only where married_filing_separately_on_same_return_allowed holds; that parameter turns false in 2024;
    • the legacy deductions that read mt_agi_joint return 0 or the federal amounts from 2024 (state_specific_deduction_applies and the child care deduction's in_effect turn false in 2024; misc_floor_applies turned false in 2018);
    • taxsim_state_agi, and its alias state_agi, report federal AGI for Montana from 2024 (states_using_federal_agi).

Not in this PR

Tests

  • The 18 Montana YAML cases pass: 15 in mt_taxable_income.yaml and 3 in mt_us_govt_bond_interest.yaml.
  • Mutation check against main's model (61d9e85): 7 YAML cases fail (the 5 US-interest cases and the 2024 and 2025 bond cases) and 11 pass. The Python test's worked case fails too: Montana taxable income stays 5,400 with the interest, against 0 expected.
  • test_mt_us_govt_interest_subtraction.py passes: a worked test for 2024–2025, then 10 derandomized Hypothesis examples plus 8 pinned households for 2024–2026.
  • test_source_conflicts.py passes with the new candidate.

CI cost

test_mt_us_govt_interest_subtraction.py is the only Python addition, and it builds one small Simulation per example. It checks what the YAML cases can't: the invariants over generated household mixes (single and joint, dependent holders, partial US shares, the zero floor, seniors whose taxable income carries cents), and that federal taxable income stays equal across the classification variants.

  • Linux CI at ddad751 (run 42683732871): 0.61 s for the worked test and 7.86 s for the properties, in the Rest test group remaining-1 (shard 4). That group ran 2,055 tests in 20:36 of wall time at a peak RSS of 9.75 GiB (GNU time's 10,226,288 KiB); the whole shard job took 25:43.
  • Linux CI at this head, which adds the third variant and a pinned household: pending; I'll fill it in from the run's timing artifacts.
  • Local, on a loaded macOS host (load average 107–144), not comparable with CI: 21.5 s and 81.3 s, with a 2.26 GB peak footprint for the pytest process.

Invariants

The test runs each household three times: the bondholder's taxable interest and US interest set to (I, u), (I, 0) and (0, 0). The inputs keep to the model's input contract: u ≤ I on the same person, with none of it excluded under 26 U.S.C. 135. Let TI₀ be Montana taxable income without the subtraction, and u_in = min(u, AGI(I) − AGI(0)), the US interest that federal AGI includes (u for a head or spouse, 0 for a dependent). For every household and each year from 2024 to 2026:

  1. Same federal base: federal taxable income matches across (I, u) and (I, 0).
  2. Accounting: Montana taxable income falls by min(u_in, TI₀).
  3. Monotone: Montana income tax does not rise.
  4. Bound: Montana taxable income stays at or above zero.

From 2025 the enhanced senior deduction phases out at 6% of MAGI, so taxable income can carry cents. Comparisons allow the larger of one cent and four float32 steps at the compared magnitude.

The pinned households cover the zero floor binding, a dependent holding the bonds, interior cuts (single and joint), and a senior whose taxable income carries cents. A wider local run of the same assertions also passed: 152 households a year (24 seeded draws of 6 households plus the 8 pinned). In 2024, 2025 and 2026 the floor bound 4, 3 and 3 times, a dependent held bonds 29 times each year, interior cuts occurred 7, 8 and 7 times, and taxable income carried cents 0, 2 and 2 times.

Microsimulation impact

Pending: 2025 and 2026, default dataset, main against this branch. us_govt_interest_person has no formula, and the certified default dataset (populace_us_2024.h5, sha256 6496cc43…, which matches DEFAULT_DATASET_SHA256) has no column for it among its 378, so every record's subtraction stays at 0. I'll replace this section with the measured results.

Coordination

Axiom

axiom: MCA 15-30-2120(3)(b)(i) encoded-correct for TY2026 (rulespec-us us-mt/policies/income_tax/resident_core_liability_pipeline.yaml, companion direct title 15 modifications and state tax addback) | TheAxiomFoundation/rulespec-us#2148 queued for TY2024–2025

🤖 Generated with Claude Code

MCA 15-30-2120(3)(b)(i) subtracts interest from obligations of the United
States government from federal taxable income. The model's 2024 and 2025
subtraction lists omitted us_govt_interest_person, so from 2024 it taxed
that interest (2024 Form 2 Schedule I, Part I, line 11; 2025 line 9).

Restore it in both lists and correct the 2024 expectation in
mt_us_govt_bond_interest.yaml, which recorded the bug. Add
mt_taxable_income.yaml: end-to-end Form 2 cases for 2024-2026, hand
computed from the forms and the revised Worksheet A / Worksheet B, run
from household inputs through the federal model.

Add test_mt_us_govt_interest_subtraction.py, a Hypothesis test of three
invariants for 2024-2026: Montana taxable income falls by exactly
min(u, taxable income before the subtraction) when the head or spouse
holds the bonds and not at all when a dependent does; Montana tax does
not rise; Montana taxable income stays nonnegative.

Fixes #9707.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 2 commits November 11, 2026 00:42
…ding

Review follow-ups for #9707:
- Bond interest cases now enter the interest as taxable interest too, the
  model's input contract.
- The property test runs a third, no-interest variant and derives the US
  interest that federal AGI includes, replacing the hard-coded dependent rule;
  it also checks that federal taxable income matches across variants and
  allows float32 rounding at the compared magnitude, since the 2025-2026 senior
  deduction phase-out leaves cents. A senior case with cents joins the pins.
- New 2026 Form 2 case for the subtraction; corrected the medical comment
  (the repealed 2023 schedule also floored medical at 7.5% of Montana AGI).
- Comment on the subtraction list and the test docstring point to #10780 for
  the (3) lead-in's inclusion limit.
- source_conflicts/candidates.yaml: us-mt:rate-table-offset-rounding, the
  2025 rate table's whole-dollar offsets against the statute's brackets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Interest excluded under 26 U.S.C. 135 satisfies u <= taxable interest, so the
contract also needs "none of it excluded under section 135" (review nit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DTrim99

DTrim99 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

PR Review: Subtract US government interest from Montana taxable income from 2024

Summary

The PR fixes #9707. From 2024 the model stopped subtracting interest on US obligations from Montana taxable income. The PR:

  • adds us_govt_interest_person to the 2024 and 2025 blocks of gov.states.mt.tax.income.subtractions.subtractions (2026 inherits the 2025 block);
  • adds 15 end-to-end Form 2 cases for 2024–2026 and a Hypothesis invariant test;
  • records the 2025 rate-table rounding as a source-conflict candidate.

I researched the law before reading the code:

  • The subtraction. MCA 15-30-2120(3)(b)(i) reads the same in the 2023 MCA (in force for TY2024) and the current MCA: "if exempt from taxation by Montana under federal law: (i) interest from obligations of the United States government and exempt-interest dividends attributable to that interest".
  • Its limit. The (3) lead-in applies it only "To the extent they are included as income or gain or not already excluded as a deduction or expense in determining federal taxable income".
  • Federal exemption. 31 U.S.C. 3124(a): "Stocks and obligations of the United States Government are exempt from taxation by a State ...". The only exceptions are a nondiscriminatory corporate franchise tax and estate or inheritance taxes.
  • Forms. The subtraction is Schedule I, Part I, line 11 in 2024 (instructions PDF p. 25) and line 9 in 2025 (PDF p. 23; the list of exempt obligations continues on p. 24). Both say: "you may subtract these amounts if they are included in your federal taxable income". Savings bonds, Treasury bills, notes and certificates qualify. Ginnie Mae, Fannie Mae and Freddie Mac interest does not.
  • No reduction for related expenses. ARM 42.15.108 disallowed expenses tied to excluded income under MCA 15-30-2133. That section was repealed for tax years after 2023 (Ch. 503, L. 2021, secs. 65 and 70(1)). Neither the statute nor the 2024–2025 instructions reduce the subtraction by expenses or by the interest's effect on federal deductions.
  • One reduction does apply. The lead-in's "not already excluded as a deduction" excludes interest that federal taxable income already left out. That is the critical finding below.
  • Dependents and joint filers. Montana repealed its subtraction for "Dependent child's income included in the taxpayer's federal adjusted gross income" (2024 instructions, PDF p. 5), so only income on the return counts. Montana filers must use the federal filing status, so a joint return counts both spouses' interest.

The code reuses the existing us_govt_interest_person, so nothing is reinvented. It subtracts the head's and spouse's interest correctly, and nothing is double counted. All 18 YAML expectations and the Python worked cases check by hand. The references follow CLAUDE.md, the candidate is accurate, the axiom line is valid, CI is green, and the branch merges cleanly with main.

One finding is critical. Interest that federal AGI already excluded under 26 U.S.C. 135 is subtracted a second time.

I ran no Python or tests. Each claim rests on one of these:

Critical (must fix)

1. The subtraction removes interest that federal AGI already excluded under §135 (policyengine_us/parameters/gov/states/mt/tax/income/subtractions/subtractions.yaml:22-26 and :40-42) (R, S, H, A)

  • The law. The (3) lead-in allows the subtraction only to the extent the interest is "included as income ... or not already excluded as a deduction or expense in determining federal taxable income". The line 11 and line 9 instructions say the same: "if they are included in your federal taxable income".
  • The model. The federal model removes education savings-bond interest from AGI through the us_bonds_for_higher_ed above-the-line deduction (gov.irs.ald.deductions, 26 U.S.C. 135). That is interest on Series EE or I bonds, which are US obligations. Take a household that enters the interest as taxable_interest_income and us_govt_interest_person and claims the exclusion. Federal AGI already leaves the interest out. mt_subtractions still adds the raw us_govt_interest_person, and mt_taxable_income_joint.formula_2024 subtracts it from a base that already excludes it.
  • Example (hand trace; it matches the author's probe in State US-government-interest subtractions exceed the interest in federal income (dependents, §135 exclusion, unchecked inputs) #10780). A 2024 single filer has wages of 50,000 and 5,000 of Series EE interest, entered as taxable interest and US interest and all excluded under §135. Federal AGI is 50,000 and federal taxable income 35,400.
    • Statute: Montana taxable income 35,400, tax 35,400 × 5.9% − 246 = 1,842.60.
    • This PR: 30,400 and 1,547.60, so 295 too low.
    • The 2025 version: the statute gives 34,250 and 1,767.55; the PR gives 29,250 and 1,472.55.
  • A regression for this household. Main gives the statutory answer in 2024+ because it subtracts nothing. The PR turns that correct result into a wrong one.
  • Why critical. The PR documents the gap: comments at :22-25 and :40-41, the PR body, and issue State US-government-interest subtractions exceed the interest in federal income (dependents, §135 exclusion, unchecked inputs) #10780. Its test docstring defines the input contract to exclude §135 interest. The binding limit still goes unmodeled for a household whose inputs are consistent, in years the PR claims. The review standard makes that critical, however rare the case.

Fix, either way:

Don't cap the subtraction at taxable_interest_income alone. (3)(b)(i) and lines 11 and 9 also cover mutual fund dividends attributable to US interest, and the federal model carries those as dividends, not interest. The helper #10780 sketches caps at taxable interest net of §135, which would drop them.

Should address

None.

Suggestions

1. Pin the dependent bondholder in YAML and reconsider the Python test (R, CI)

  • No YAML case has a dependent holding the bonds. Only test_mt_us_govt_interest_subtraction.py checks that Montana leaves a dependent's US interest off the return (the head-or-spouse mask in formula_2024).
  • CLAUDE.md ("Test design and CI cost"): "Do not add a Python test when the existing YAML framework can exercise the same behavior."
  • Add a case to mt_taxable_income.yaml like the worked test's third household: a 2024 head of household with wages of 40,000 and a dependent child with 10,000 of taxable and US interest. Expected values: adjusted_gross_income 40,000 and mt_taxable_income 40,000 − 21,900 = 18,100.
  • With that case in YAML, the Hypothesis test (about 10.5 s per run, below) adds only breadth; keeping it is optional.

2. Fill in the PR body's pending items (CI)

  • CI timing at this head. In run 42969224203, job "Rest (Python shard 1)", test_subtraction_properties took 9.96 s and test_worked_subtractions 0.53 s, against 8.47 s at ddad751c2d. The shard ran 2,290 tests in 20:57.
  • Microsimulation impact. Replace "Pending" with the zero-by-construction note (the default dataset has no us_govt_interest_person column) or with the measured run.

3. Correct the coordination note. The note says #10713 "merges cleanly with this branch". Its subtractions.yaml edit does. But #10713 conflicts with this branch in source_conflicts/candidates.yaml, where both add us-mt candidates at the same place. Keep both entries when the second PR lands. (R)

4. Relabel for the 2024+ base (optional). Both labels still describe the pre-2024 AGI base:

  • mt_subtractions is labelled "Montana subtractions from federal adjusted gross income" and cites the repealed 15-30-2110 and the 2022 Form 2;
  • the list parameter is labelled "Montana adjusted gross income subtractions".

From 2024 these subtract from federal taxable income under 15-30-2120(3). (R)

5. Use a variable-named test file (optional). mt_us_govt_bond_interest.yaml predates this PR and isn't named for a variable. Its three cases assert only mt_subtractions, so they could move to subtractions/mt_subtractions.yaml. (R)

Verified correct

  • Reuse, not reinvention. us_govt_interest_person (Person) and its tax-unit sum us_govt_interest already exist. AL, AR, DC, DE, KY, MO, MS, NJ, OH, VA and WV read the person-level input the same way. The federal model doesn't read it, so federal taxable income is unchanged. (R)
  • No double count from 2024:
    • mt_interest_exemption_person is 0, because exemptions.applies is false from 2024-01-01 and its eligibility formula returns False;
    • mt_old_age_subtraction and the tuition subtraction are separate items;
    • mt_other_subtractions is documented to exclude computed items;
    • formula_2024 backs mt_federal_obbba_subtraction out again;
    • no other 2024 or 2025 list entry covers US interest. (R)
  • Dependents and joint returns. formula_2024 sums mt_subtractions over the head and spouse only. That matches federal AGI, because irs_gross_income multiplies every source by ~is_tax_unit_dependent. A joint return pools both spouses (case 12). (R)
  • Other readers of mt_subtractions. mt_agi_joint, mt_agi_indiv and the taxable Social Security helpers don't reach 2024+ tax:
    • mt_standard_deduction_joint and mt_medical_expense_deduction_joint read mt_agi_joint only in their pre-2024 branches;
    • mt_income_tax_before_refundable_credits_unit takes the joint path once married_filing_separately_on_same_return_allowed turns false in 2024;
    • state_agis.yaml notes that mt_agi reports federal AGI from 2024. (R)
  • The zero floor. Line 7 floors at zero after the subtraction (case 7). Excess interest is simply lost, which matches the statute and Form 2. (R, S)
  • Mutation rule. Deleting the 2024 entry fails cases 6, 7 and the 2024 bond case. Deleting the 2025 entry fails cases 11, 12, 15 and the 2025 bond case. Both entries are pinned. (R)
  • References follow CLAUDE.md. The titles end with #page 21,23-24 and #page 5,25, and each href opens the first page. I checked every page: 2024 PDF p. 5 lists the repealed deductions, p. 25 has line 11; 2025 PDF p. 23 has line 9, p. 24 continues it. The new MCA 15-30-2120 entry is a separate document from the existing 15-30-2110 entry. (S)
  • Source-conflict candidate us-mt:rate-table-offset-rounding:
    • The 2025 instructions' rate table (PDF p. 18) prints "Less $253", "$506" and "$380".
    • MCA 15-30-2103(1) and (3) (2023 MCA) tax 4.7% to the indexed bracket and 5.9% above it. With the 21,100, 42,200 and 31,700 brackets, the shortcut amounts are 253.20, 506.40 and 380.40.
    • The 2024 offsets (246, 492 and 369) are exactly 1.2% of that year's brackets.
    • The follows: statute and unreviewed fields fit.
    • On the merged tree the id is unique, absent from the register, and passes the schema (kinds, state, year type, tracked code paths). (S, H, R)
  • No other candidate needed. The instructions extend line 11 and line 9 to territory and agency obligations exempt by federal law. us_govt_interest_person doesn't model those, so PE makes no choice there. (S)
  • Source-conflict ratchet. The PR adds no conflict-sounding comment under variables, parameters or reforms, and touches no KNOWN_UNMARKED file. (R)
  • Changelog. changelog.d/mt-2024-base-gaps.fixed.md is top-level, with the fixed type.
  • New-key pattern. No state-gated int or enum key is added, so the NH Add New Hampshire state supplementation for 2026 #10156 pattern doesn't apply.
  • Hand checks (H). All match. 2024 tax is 5.9% × TI − 246 for a single filer and − 492 joint. 2025 is − 253.20 single and − 506.40 joint. 2026 single is 4.7% to 47,500, then 5.65%.
# Case Arithmetic Expected
1 2024 medical itemizer medical 20,000 − 7,500 = 12,500; itemized 17,500; add-back min(5,000, 17,500 − 14,600) = 2,900; TI 100,000 − 17,500 + 2,900 = 85,400; 5,038.60 − 246 85,400 / 4,792.60
2 2024 standard controls itemized 8,500 + 3,000 = 11,500 < 14,600; TI 85,400 4,792.60
3 2024 joint, SALT cap SALT min(23,000, 10,000); itemized 35,000; L5 10,000 − 8,000 = 2,000; L8 5,800; add-back 2,000; TI 267,000; 15,753 − 492 267,000 / 15,261.00
4 2024 add-back limited itemized 15,000; L5 3,000; L8 400; TI 60,000 − 15,000 + 400 = 45,400; 2,678.60 − 246 45,400 / 2,432.60
5 2024 QBI federal TI 80,000 − 14,600 − 10,000 = 55,400; + 10,000 = 65,400; 3,858.60 − 246 65,400 / 3,612.60
6 2024 US interest 51,000 − 14,600 − 1,000 = 35,400; 2,088.60 − 246 35,400 / 1,842.60
7 2024 zero floor 20,000 − 14,600 = 5,400; max(0, 5,400 − 10,000) 0
8 2025 Schedule I addition federal TI 82,500; add-back min(5,000, 17,500 − 15,750) = 1,750; 84,250; 4,970.75 − 253.20 (= 991.70 + 63,150 × 5.9%) 84,250 / 4,717.55
9 2025 senior 50,000 − 17,750 − 6,000 − 5,660 = 20,590; × 4.7% 20,590 / 967.73
10 2025 phased SALT cap max(10,000, 40,000 − 30,000); itemized 40,000; L5 max(0, 10,000 − 12,000) = 0; TI 560,000; 33,040 − 506.40 560,000 / 32,533.60
11 2025 US interest 51,000 − 15,750 − 1,000 = 34,250; 2,020.75 − 253.20 34,250 / 1,767.55
12 2025 joint, spouse's interest 83,000 − 31,500 − 3,000 = 48,500; 2,861.50 − 506.40 48,500 / 2,355.10
13 2026 add-back add-back min(5,000, 17,500 − 16,100) = 1,400; 82,500 + 1,400 = 83,900; 2,232.50 + 36,400 × 5.65% 83,900 / 4,289.10
14 2026 §68 charity 50,000 − 5,000; itemized 75,000; 2/37 × min(75,000, 1,000,000 − 640,600) = 4,054.05; 70,945.95; TI 929,054.05; 2,232.50 + 881,554.05 × 5.65% 929,054.05 / 52,040.30
15 2026 US interest 51,000 − 16,100 − 1,000 = 33,900; × 4.7% 33,900 / 1,593.30
16 Bond cases 2021/2024/2025 5,000 US interest; default age 40, so no old-age or senior-interest item mt_subtractions 5,000
17 Python worked cases 2024: 20,000 − 14,600 = 5,400, floored to 0 with the subtraction; 2025: 83,000 − 31,500 = 51,500 and 48,500; head of household 40,000 − 21,900 = 18,100 both ways [0, 5,400]; [48,500, 51,500]; [18,100, 18,100]

Axiom line assessment

The line reads axiom: MCA 15-30-2120(3)(b)(i) encoded-correct for TY2026 (...) | rulespec-us#2148 queued for TY2024–2025. It is valid:

  • TY2026. rulespec-us us-mt/policies/income_tax/resident_core_liability_pipeline.yaml (main) runs only 2026-01-01 to 2026-12-31. It includes mt_pit_2026_us_obligation_interest in its subtractions sum.
  • TY2024–2025. rulespec-us#2148 is OPEN, labelled pe-parity, and dispatch-ready. It has the module path, the corpus row, verbatim law, required outputs, companion cases computed from the forms, and the recorded blocker (signed-encoder approval and corpus prerequisites).
  • Match. Its 12 companion cases are this head's TY2024 and TY2025 cases, with the same values.

Output 6 of the issue counts the subtraction "only 'to the extent they are included'" in federal taxable income. Once the Axiom module is encoded, it will diverge from PE on §135 households until Critical 1 is fixed.

CI status

All 36 checks pass at head 71a44844b1 (run 42969224203, 2026-11-11). I re-checked and nothing is pending. The run predates the 140 commits main has gained since. The merged tree is covered under Branch status.

Branch status

Verdict: REQUEST_CHANGES

@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.

Requesting changes: 1 critical, 0 should address, 5 suggestions (details in the report above). The subtraction itself matches MCA 15-30-2120(3)(b)(i) and the 2024 and 2025 Form 2 instructions. It reuses us_govt_interest_person, counts only the head and spouse, and all 17 hand checks match.

  • Critical: § 135 education savings-bond interest is already left out of federal AGI by the us_bonds_for_higher_ed adjustment, and the PR subtracts it again. The (3) lead-in limits the subtractions to amounts "not already excluded as a deduction".
    • A 2024 single filer with $50,000 of wages and $5,000 of EE bond interest should have Montana taxable income of $35,400 and tax of $1,842.60. The PR gives $30,400 and $1,547.60.
    • main gets this household right, so it's a regression in claimed years, even though the PR defers it to #10780.
    • Netting us_bonds_for_higher_ed out in the person-level subtraction, plus a YAML case, would fix it.

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.

Montana: US government obligation interest is no longer subtracted from 2024

2 participants