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

Abierto Apto para principiantes
#11,082 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
75/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python, yaml
Área
backend, testing

Línea de trabajo

Lee policyengine_us/reforms/states/mn/walz/mn_walz_hf1938.py junto con la versión base mn_itemized_deductions.py y después revisa policyengine_us/tests/policy/contrib/states/mn/walz/mn_walz_hf1938.yaml. Añade los dos casos de hogares descritos en la issue y actualiza la reforma para que conserve ambas reglas de la versión base. Ejecuta las pruebas YAML de la reforma; el trabajo estará terminado cuando ambos casos coincidan con los resultados de la versión base y se mantengan el tramo existente del 3 % y el límite del 80 %.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
178
Forks
224
Merge medio
2 d 7 h
PR fusionados (30 d)
309

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PolicyEngine/policyengine-us

Todos los issues de PolicyEngine/policyengine-us

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.