The Minnesota HF1938 repeal reform deducts mortgage insurance premiums and puts investment interest in the itemized limitation
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
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), 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
- Lenguaje dominante
- Python
- Estrellas
- 178
- Forks
- 224
- Merge medio
- 2 d 7 h
- PR fusionados (30 d)
- 309
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PolicyEngine/policyengine-us
-
Secondary earnings threshold description names a stale 2035 capPosiblemente ocupada @Prabh022 la tomó hace 1 día. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
PolicyEngine/policyengine-us#11252 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PolicyEngine/policyengine-us#11201 ·
Los mantenedores suelen responder en 2 días
-
Idaho BBCE households without an elderly or disabled member should face the SNAP net income testPosiblemente ocupada @DTrim99 la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
PolicyEngine/policyengine-us#11199 ·
Los mantenedores suelen responder en 2 días
-
California's Medi-Cal immigration test passes pregnant people but not those in the postpartum periodAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
PolicyEngine/policyengine-us#11192 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
PolicyEngine/policyengine-us#11084 ·
Los mantenedores suelen responder en 2 días
Todos los issues de PolicyEngine/policyengine-us
Issues similares
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NousResearch/hermes-official-plugins#538 ·
Los mantenedores suelen responder en 3 días
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidatePosiblemente ocupada @houzhongyu la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MakazhanAlpamys/Soup#3415 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días