Skip to content

Conversation

@DTrim99
Copy link
Collaborator

@DTrim99 DTrim99 commented Nov 4, 2025

Summary

  • Fixes New Jersey gross income calculation to comply with NJ Statute 54A:5-1
  • Changes NJ total income to build from specific income categories instead of starting from federal AGI
  • This ensures NJ taxable income properly includes amounts deducted as federal above-the-line deductions

Changes

  • Updated nj_total_income.py to build income from statutory categories per NJ Statute 54A:5-1:
    • Employment income (wages, salaries, tips)
    • Interest, dividends
    • Business income (self-employment, farm, partnership/S-corp)
    • Capital gains (long-term and short-term)
    • Retirement income (pensions, IRA distributions)
    • Rental income, gambling winnings, alimony, miscellaneous
  • Updated tests in nj_agi.yaml to use actual income components

Test plan

  • All 5 tests in nj_agi.yaml pass
  • Code formatted with make format

References

🤖 Generated with Claude Code

NJ gross income now correctly builds from statutory income categories
per NJ Statute 54A:5-1, rather than starting from federal AGI.
This ensures NJ taxable income properly includes amounts deducted as
federal above-the-line deductions (IRA contributions, student loan
interest, etc.).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@codecov
Copy link

codecov bot commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c15afbe) to head (30ec1f9).
⚠️ Report is 135 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##           master     #6773       +/-   ##
============================================
+ Coverage   74.69%   100.00%   +25.30%     
============================================
  Files        3249         3     -3246     
  Lines       46803        37    -46766     
  Branches      242         0      -242     
============================================
- Hits        34959        37    -34922     
+ Misses      11807         0    -11807     
+ Partials       37         0       -37     
Flag Coverage Δ
unittests 100.00% <100.00%> (+25.30%) ⬆️

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.

DTrim99 and others added 3 commits November 12, 2025 10:06
- Remove specific statute references from descriptions
- Add period metadata to both parameter files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copy link
Collaborator

@PavelMakarchuk PavelMakarchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some clarifying questions

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.

New Jersey gross income composition

2 participants