Skip to content

Conversation

@MaxGhenis
Copy link
Contributor

Closes #7022

Summary

  • Rhode Island retirement income subtraction now correctly applies the cap per person instead of per tax unit
  • Joint filers can now receive up to $40K (2024) or $100K (2025) in subtractions when both spouses have qualifying pension income

Changes

  • Changed ri_retirement_income_subtraction.py to apply min_(taxable_pension, p.cap) per person before summing
  • Added test cases for joint filers with per-person cap verification

Test

  • Added integration tests verifying:
    • 2024: Joint filers each get $20K cap ($40K total)
    • 2025: Joint filers each get $50K cap ($100K total)

Generated with Claude Code

Apply the retirement income cap per person rather than per tax unit,
allowing joint filers to receive up to $40K (2024) or $100K (2025)
in subtractions when both spouses have qualifying pension income.

Closes #7022

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Jan 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (66ccff2) to head (2dcf1ae).
⚠️ Report is 447 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##             main     #7295       +/-   ##
============================================
+ Coverage   72.72%   100.00%   +27.27%     
============================================
  Files        3757         1     -3756     
  Lines       54115        16    -54099     
  Branches      267         0      -267     
============================================
- Hits        39353        16    -39337     
+ Misses      14742         0    -14742     
+ Partials       20         0       -20     
Flag Coverage Δ
unittests 100.00% <100.00%> (+27.27%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@PavelMakarchuk PavelMakarchuk merged commit 74244bf into main Feb 1, 2026
9 checks passed
@PavelMakarchuk PavelMakarchuk deleted the ri-retirement-cap branch February 1, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RI retirement income subtraction applies single cap to tax unit instead of per-person cap

3 participants