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

オープン 初心者向け
#11,082 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, yaml
領域
backend, testing

調査の方向性

policyengine_us/reforms/states/mn/walz/mn_walz_hf1938.pyを基準版のmn_itemized_deductions.pyと併せて読み、その後policyengine_us/tests/policy/contrib/states/mn/walz/mn_walz_hf1938.yamlを確認してください。issueに記載された2つの世帯ケースを追加し、基準版の両方のルールを引き継ぐように改革を更新してください。改革のYAMLテストを実行してください。両方のケースが基準版の結果と一致し、既存の3%の税率区分と80%の上限が維持されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
178
フォーク
224
平均マージ
2日 7時間
マージ済み PR(30日)
309

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PolicyEngine/policyengine-us のほかの issue

PolicyEngine/policyengine-us の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。