The Minnesota HF1938 repeal reform deducts mortgage insurance premiums and puts investment interest in the itemized limitation
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
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), whoseinterest_deductionaddsdeductible_mortgage_insurance_premiums(L16). The baseline subtracts the components thatdisallowed_interest_componentslists, 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_dedshold medical expenses, Minnesota casualty losses and wagering losses (L138-L147). The baseline also exemptsinvestment_interest_expense(baseline), which reachesinterest_deductionthroughnon_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
- 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.
- 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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PolicyEngine/policyengine-us
-
Secondary earnings threshold description names a stale 2035 capPossibly taken @Prabh022 claimed this 1 day ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
PolicyEngine/policyengine-us#11252 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PolicyEngine/policyengine-us#11201 ·
Maintainers usually reply within 2 days
-
Idaho BBCE households without an elderly or disabled member should face the SNAP net income testPossibly taken @DTrim99 claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
PolicyEngine/policyengine-us#11199 ·
Maintainers usually reply within 2 days
-
California's Medi-Cal immigration test passes pregnant people but not those in the postpartum periodOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
PolicyEngine/policyengine-us#11192 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
PolicyEngine/policyengine-us#11084 ·
Maintainers usually reply within 2 days
All issues in PolicyEngine/policyengine-us
Similar issues
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NousResearch/hermes-official-plugins#538 ·
Maintainers usually reply within 3 days
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidatePossibly taken @houzhongyu claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MakazhanAlpamys/Soup#3415 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days