The Minnesota HF1938 repeal reform deducts mortgage insurance premiums and puts investment interest in the itemized limitation

Open Beginner friendly
#11,082 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python, yaml
Domain
backend, testing

Research direction

Read policyengine_us/reforms/states/mn/walz/mn_walz_hf1938.py alongside the baseline mn_itemized_deductions.py, then review policyengine_us/tests/policy/contrib/states/mn/walz/mn_walz_hf1938.yaml. Add the two household cases described in the issue and update the reform to carry over both baseline rules. Run the reform's YAML tests; done means both cases match the baseline outcomes while the existing 3% tier and 80% cap remain.

Written by the indexing model from the issue text.

Description

The HF1938 repeal reform (mn_walz_hf1938) rebuilds mn_itemized_deductions to restore Minnesota's limitation as it stood before 2023 (formula). It departs from the baseline in two rules the Legislature left alone in House File 1938.

What the reform does

  • It starts from itemized_deductions_less_salt (L113), whose interest_deduction adds deductible_mortgage_insurance_premiums (L16). The baseline subtracts the components that disallowed_interest_components lists, the premiums from 2019 (baseline, parameter). The reform keeps them, and the model's federal premium deduction applies again from 2026 (in_effect).
  • Its exempt_deds hold medical expenses, Minnesota casualty losses and wagering losses (L138-L147). The baseline also exempts investment_interest_expense (baseline), which reaches interest_deduction through non_mortgage_interest (L11). So the reform puts investment interest in the base of the 80% cap.

What the statute says

Minn. Stat. 290.0122, subd. 5(3), has read the same since 2019: "mortgage insurance premiums treated as interest under section 163(h)(3)(E) are not interest for the purposes of this subdivision" (2022 edition).

Before 2023, subd. 2(c)(1) left out of the limitation "the portion of the deduction for interest under subdivision 5 that represents investment interest" (2022 edition). In House File 1938 (Laws 2023, chapter 64, article 1, section 18), the Legislature rewrote the thresholds and rates in subd. 2, relettered that clause as (d)(1) without changing its words (current text), and left subd. 5 alone.

Two households

  1. In 2026, a single filer with $80,000 of AGI pays $20,000 of mortgage interest and $2,000 of mortgage insurance premiums. Subd. 5 allows the $20,000 of interest, and AGI falls below the limitation's threshold, so the filer itemizes $20,000, as the baseline gives. The reform gives $22,000.
  2. In 2024, a single filer with $300,000 of AGI deducts $20,000 of investment interest and $2,000 of charitable gifts. The reform's 3% reduction comes to 3% of ($300,000 - $232,500), or $2,025 (threshold). Subd. 2 caps it at 80% of the $2,000 of gifts, or $1,600, so the filer itemizes $22,000 - $1,600 = $20,400, as the baseline gives. The reform caps the reduction at 80% of $22,000 and gives $22,000 - $2,025 = $19,975.

Both filers itemize either way, so the reform leaves Minnesota taxable income $2,000 too low in the first case and $425 too high in the second.

What a fix needs

Port both baseline rules into the reform: subtract disallowed_interest_components from itemized_deductions_less_salt, and add investment_interest_expense to exempt_deds. Add each household as a case in mn_walz_hf1938.yaml. The reform's single 3% tier and its 80% cap follow the pre-2023 subd. 2 and should stay.

Related: #10003 and #10645 added these two rules to the baseline. Draft PRs #10110 and #10722 edit this reform but change neither rule.

🤖 Generated with Claude Code

Dominant language
Python
Stars
178
Forks
224
Avg merge
2d 7h
Merged PRs (30d)
309

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine-us

All issues in PolicyEngine/policyengine-us

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.