Skip to content

Add US government bond interest exemption to MO, MS, NE, NJ, OH state income taxes (+ tests for MT, NC, ND, NM, NY)#7666

Open
MaxGhenis wants to merge 1 commit intoPolicyEngine:mainfrom
MaxGhenis:bond-interest-batch-3
Open

Add US government bond interest exemption to MO, MS, NE, NJ, OH state income taxes (+ tests for MT, NC, ND, NM, NY)#7666
MaxGhenis wants to merge 1 commit intoPolicyEngine:mainfrom
MaxGhenis:bond-interest-batch-3

Conversation

@MaxGhenis
Copy link
Contributor

Summary

Adds the US government bond interest exemption to five additional state income tax systems (Missouri, Mississippi, Nebraska, New Jersey, and Ohio) that were missing implementation. These states exempt US government bond interest from state income tax, and adds comprehensive test coverage for all 10 states in this batch.

Changes

States requiring code changes (5):

  • Missouri (MO): Added us_govt_interest_person to AGI subtractions
  • Mississippi (MS): Added us_govt_interest_person to adjustments
  • Nebraska (NE): Added us_govt_interest_person to AGI subtractions
  • New Jersey (NJ): Added us_govt_interest_person to subtractions
  • Ohio (OH): Added us_govt_interest_person to deductions

States with test coverage only (5):

  • Montana (MT): Tests for existing exemption
  • North Carolina (NC): Tests for existing exemption
  • North Dakota (ND): Tests for existing exemption
  • New Mexico (NM): Tests for existing exemption
  • New York (NY): Tests for existing exemption

Files Changed

  • Changelog: changelog.d/bond-interest-batch-3.added.md
  • Parameter YAML files for each state with tests
  • Modified tax parameter files for MO, MS, NE, NJ, OH to integrate the exemption

Closes

Test plan

  • All test cases defined in YAML test files for each state
  • Tests verify that US government bond interest is correctly excluded from taxable income
  • Tests cover various income scenarios and filing statuses
  • Existing tests for states with prior implementation (MT, NC, ND, NM, NY) ensure backward compatibility

Add us_govt_interest_person to subtraction/deduction parameter lists
for Missouri, Mississippi, Nebraska, New Jersey, and Ohio. These states
exempt US government bond interest from state income tax but were missing
the implementation. Also add YAML test cases for all 10 states in this
batch (MO, MS, MT, NC, ND, NE, NJ, NM, NY, OH), including tests for
the 5 states that already had the exemption implemented.

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

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.72%. Comparing base (55a0045) to head (08bf65f).
⚠️ Report is 37 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7666       +/-   ##
===========================================
- Coverage   97.82%   76.72%   -21.10%     
===========================================
  Files           3     3904     +3901     
  Lines          92    56341    +56249     
  Branches        2      271      +269     
===========================================
+ Hits           90    43229    +43139     
- Misses          1    13072    +13071     
- Partials        1       40       +39     
Flag Coverage Δ
unittests 76.72% <ø> (-21.10%) ⬇️

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.

@MaxGhenis MaxGhenis requested a review from DTrim99 March 3, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment