Add Minnesota renter's credit#7956
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7956 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 19 6 -13
Lines 336 92 -244
Branches 3 0 -3
==========================================
- Hits 336 92 -244
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
DTrim99
left a comment
There was a problem hiding this comment.
Found one issue to address:
[P2] Prorate assisted rent with AGI, not household income
In policyengine_us/variables/gov/states/mn/tax/income/credits/mn_renters_credit.py around lines 32-37, the assistance-paid-rent fraction is using mn_renters_credit_household_income, which is after age/disability/dependent/SEIU subtractions. Minn. Stat. 290.0693 Subd. 6(b) defines this fraction with adjusted gross income in both numerator and denominator, so older/disabled/dependent claimants in assisted facilities get under-credited here. Please base the proration ratio on the pre-subtraction household AGI/line-5 amount and add a test where assistance rent combines with an age or dependent subtraction.
- Use AGI instead of household income in assistance rent proration per Minn. Stat. 290.0693, Subd. 6(b) (M1RENT Line 5, not Line 10) - Add primary statutory references to age_threshold and dependent_subtraction_multiplier parameters - Rename changelog from .fixed to .added (new feature, not bug fix) - Remove trailing zeros in parameter values - Add #page= anchors to all PDF references - Fix single-string references to proper tuples - Remove misleading mn_additions/mn_subtractions test inputs - Standardize test naming and person naming conventions - Add M1REF 2025 reference to refundable.yaml - Add absolute_error_margin where missing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Simplifies the Minnesota renter's credit by removing inputs that added complexity without corresponding benefit: - mn_renters_credit_seiu_stipend_subtraction (always 0) - mn_renters_credit_separate_lived_apart_all_year (always False) - mn_renters_credit_shared_rent_fraction (always 1) - mn_renters_credit_total_rent_from_crps (always = rent) - mn_renters_credit_assistance_rent_paid (always 0) Assistance-rent proration and MFS lived-apart branches removed from parent formulas; tests updated accordingly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PR Review (via
|
| Check | Result |
|---|---|
| Regulatory accuracy | 2 issues (dependent-claimant check, assisted-rent proration) |
| Reference quality | Acceptable; minor style |
| Code patterns | 5 style/pattern issues |
| Test coverage | 4 gaps |
| CI status | 1 failing (microsim) |
Next Steps
To auto-fix fixable items: /fix-pr 7956. CI failure and statutory issues (critical #2 and #3) likely need human review.
Summary
Testing
Fixes #7938