[codex] Add Maine income tax surcharge#8012
[codex] Add Maine income tax surcharge#8012DTrim99 wants to merge 5 commits intoPolicyEngine:mainfrom
Conversation
|
Implementation note: this models Maine H.P. 1491 / L.D. 2212, Part DDDD by adding an Validation run locally:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8012 +/- ##
===========================================
+ Coverage 94.82% 100.00% +5.17%
===========================================
Files 5 7 +2
Lines 58 98 +40
Branches 2 0 -2
===========================================
+ Hits 55 98 +43
+ Misses 1 0 -1
+ Partials 2 0 -2
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:
|
|
Follow-up added to this PR:
Additional validation run locally:
|
|
Follow-up update pushed in
Validation:
|
PR Review🔴 Critical (Must Fix)
🟡 Should Address
🟢 Suggestions
Validation Summary
Next StepsAddress the critical hard-coded year issue before merge. The remaining items are quality improvements. To auto-fix: `/fix-pr 8012`. |
|
Addressed the CC review feedback in
On the surcharge uprating comment: I verified Validation:
|
Replace the surcharge in_effect parameter with pre-2026 zero-rate and infinite-threshold defaults so the formula can be fully vectorized and evaluated in any year without the threshold breakdown lookup failing. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Program Review: PR #8012 -- Maine Income Tax Surcharge + Affordability Payments + Property Tax CreditSource Documents
Critical (Must Fix)
Should Address
Suggestions
PDF Audit Summary
Validation Summary
Review Severity: REQUEST_CHANGESSix critical issues must be fixed before merge:
Next StepsTo auto-fix issues: |
Fixes #8011.
Summary
Tests