Skip to content

Base New Jersey ANCHOR on NJ-1040 line 29 and fix Stay NJ application income - #11693

Draft
DTrim99 wants to merge 1 commit into
mainfrom
nj-anchor-stay-nj-income
Draft

DTrim99 wants to merge 1 commit into
mainfrom
nj-anchor-stay-nj-income

Conversation

@DTrim99

@DTrim99 DTrim99 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Part of #10812 (state credit income audit, Tier 2 items 11 and 12).

What was wrong

ANCHOR. nj_anchor and nj_anchor_eligible summed nj_gross_income over every tax unit member. That is New Jersey income before PolicyEngine's subtractions, so it kept interest on federal obligations and amounts entered in nj_other_subtractions, and it added dependents' income. ANCHOR income is New Jersey gross income on NJ-1040 line 29:

  • N.J.S.A. 54:4-8.58 (P.L. 2024, c. 88, s. 13): "Gross income" is New Jersey gross income "other than income excludable from the gross income tax return ... received during the taxable year by the owner ... or lessee of, a homestead".
  • Division of Taxation: "The benefit is calculated using income on line 29 of your 2025 NJ-1040". Homeowners at $150,000 or less get $1,500, those at $150,001 to $250,000 get $1,000; renters over $150,000 are not eligible.
  • The 2025 NJ-1040 instructions (page 10) list interest on "direct federal obligations exempt under law, such as U.S. Savings Bonds and Treasury Bills, Notes, and Bonds" as income New Jersey does not tax (N.J.S.A. 54A:6-14), and line 29 is line 27 less the retirement exclusions (page 22). A dependent's income goes on the dependent's own return, as nj_agi already recognises.

Stay NJ application income. nj_property_tax_relief_income (Form PAS-1 line f) had two errors:

  • It summed every member's income, dependents included. N.J.S.A. 54:4-8.75b counts income "as self-reported by the homeowner", and the 2025 PAS-1 instructions (page 9) combine only spouses in the same main home. Line a is line 27 of the applicant's own NJ-1040.
  • A disability pension entered as wages counted twice. total_disability_payments is documented as "also counted in employment_income or taxable_disability_benefits". When it sits in employment_income, nj_gross_income holds it through nj_wages (line a), and the formula added it again as line d. PAS-1 line d is a total and permanent disability pension received before it converts to a regular pension, and "This amount is not reported on Form NJ-1040". The NJ-1040 instructions (page 15) list "Public or private disability pension benefits until the year you turn 65" as nontaxable.

What changes

  • nj_anchor, nj_anchor_eligible: income is tax_unit("nj_agi", period), the line 29 equivalent: head and spouse nj_total_income (after the us_govt_interest_person and nj_other_subtractions subtractions, with nj_other_additions) less the retirement exclusions. References add 54:4-8.58.
  • nj_property_tax_relief_income:
    • nj_gross_income and the PAS-1 additional sources (exempt interest, nontaxable IRA distributions, Social Security) are summed with tax_unit_non_dep_add, and line d covers non-dependents only.
    • Line a leaves out the part of the line d pension held in wages: the pension less taxable_disability_benefits, floored at zero and capped at nj_wages. Line d then adds the pension once. A pension entered as disability_benefits was already counted once and still is.
    • The age test for line d (Social Security full retirement age) is unchanged.
  • No parameter changes. No source conflict is taken: the statute, the Division page and the forms agree on each point changed here.

Overlap. #11045 (New Jersey property tax caps and elections) refactors nj_agi.py into a helper with the same result. This PR only reads nj_agi and touches none of #11045's files, so the two are compatible. No other open PR changes the ANCHOR or Stay NJ files.

Who is affected

  • ANCHOR rises for applicants whose nj_gross_income sum exceeded line 29 across a band edge: Treasury interest, amounts in nj_other_subtractions, or dependents with income. A homeowner moves from $1,000 to $1,500 at the $150,000 edge or from $0 to $1,000 at $250,000; a renter moves from $0 to $450 ($700 at 65 or older) at $150,000.
  • ANCHOR can fall for filers with nj_other_additions entered (income PolicyEngine otherwise omits from lines 15-26), which belongs on line 29.
  • From 2026, ANCHOR is subtracted in nj_staynj and nj_capped_senior_freeze, so a higher ANCHOR lowers those dollar for dollar where they bind.
  • Stay NJ income falls for claimants with dependents who have income, and for claimants (or spouses) below full retirement age with a disability pension entered as wages, by the pension amount. Lower income can restore eligibility under the $500,000 (2026) or $200,000 (2027) limit and, from 2027, raise the maximum benefit tier. No one's Stay NJ income rises.

Tests

Each moved or added case was run against main (50af7fb) and this branch:

File Case Source Main Branch
nj_anchor.yaml 12, Treasury interest, homeowner stays in the lower band moved 1,000 1,500
nj_anchor.yaml 13, Treasury interest leaves line 29 at exactly 150,000 added 1,000 1,500
nj_anchor.yaml 14, bank interest moves the homeowner to the upper band added 1,000 1,000
nj_anchor.yaml 15, a dependent's wages are not on line 29 moved 1,000 1,500
nj_anchor.yaml 16, a joint return includes the spouse's wages added 1,000 1,000
nj_anchor.yaml 17, income entered as exempt from New Jersey tax added 1,000 1,500
nj_anchor_eligible.yaml 10, Treasury interest, renter stays under the limit moved false / 0 true / 450
nj_anchor_eligible.yaml 11, Treasury interest, homeowner stays under 250,000 added false / 0 true / 1,000
nj_anchor_eligible.yaml 12, a dependent's wages, renter stays under the limit added false / 0 true / 450
nj_anchor_eligible.yaml 13, bank interest puts a renter over the limit added false false
nj_property_tax_relief_income.yaml 9, a dependent's income is not the claimant's moved 53,000 50,000
nj_property_tax_relief_income.yaml 10, a disability pension reported as wages counts once moved 62,000 32,000
nj_property_tax_relief_income.yaml 11, a pension entered as disability benefits counts once added 32,000 32,000
nj_property_tax_relief_income.yaml 12, only the pension part of wages moves to line d added 70,000 40,000
nj_property_tax_relief_income.yaml 13, a spouse's pension reported as wages counts once added 56,000 38,000
nj_property_tax_relief_income.yaml 14, a dependent's Social Security, exempt interest and pension added 68,500 50,000
  • Moved from Audit state credit income definitions against the law (CI run, do not merge) #10812: 5 cases, with the "audit" and "Main:" framing dropped and the arithmetic and citations kept. Expected values are unchanged. The audit's fourth ANCHOR case (401(k) deferrals) already passes on main and is already in nj_anchor.yaml word for word, so it was not moved again. 401(k) deferrals are out of line 29 on main through nj_wages (N.J.S.A. 54A:6-21), so that audit row needs no change here.
  • Added: 11 cases: band edges at exactly 150,000 and under 250,000, contrast cases where taxable interest still counts, a joint return, nj_other_subtractions, both input conventions for the disability pension, a spouse's pension, and a dependent's non-wage income.
  • Changed: nj_property_tax_relief_income.yaml Cases 1 and 7 now enter their 3,000 disability pension as disability_benefits: 3_000 as well as total_disability_payments. Their expected values (90,000 and 83,000) are unchanged. As written before, the pension sat inside the 80,000 of wages under the input's documented convention, so the old expected values counted it twice; on this branch the unchanged inputs give 87,000 and 80,000. The new input keeps each case's stated purpose, a pension on top of 80,000 of wages.
  • Stale-expectation check: none of the moved or added households receives SSI, a state supplement or Medicare Part B premium amounts that enter these outputs.

Tested locally (policyengine-core 3.37.2, one process at a time): 1,024/1,024 passed. That is the New Jersey tax YAML folder (52 files, 483 cases, batched per subdirectory), the code-health checks for source conflicts, reference URLs and metadata, parameter keys, builtin sums and group variables in adds (416), and test_household_spm_resource_parity.py and test_aggregate_list_integrity.py, which read nj_property_tax_relief (125). No partner test reads nj_anchor, nj_anchor_eligible, nj_property_tax_relief_income or their consumers. ruff format and check pass.

Not in this PR

  • New Jersey income tax on a disability pension entered as wages. nj_gross_income keeps it through nj_wages, although the NJ-1040 instructions treat it as nontaxable until the year the recipient turns 65. That is an NJ-1040 base change for a separate PR.
  • Line d age. PAS-1 says "the age at which it is converted to a regular pension"; the NJ-1040 instructions say the year the recipient turns 65; the model uses Social Security full retirement age. The audit lists this as two readings, and it is unchanged.
  • Other Stay NJ two-reading rows from the audit: return of contributions (NJ-1040 line 20b) and exclusions the definition doesn't list (unemployment, railroad retirement and others). Unchanged. Wages already follow W-2 box 16, net of 401(k) deferrals, through nj_wages, which is the agency's reading.
  • nj_other_additions in Stay NJ line a. Line 27 includes them; nj_gross_income does not. Small and left for a later PR.
  • Spouses filing separately in the same home are two PolicyEngine tax units and are not combined (income too low; rare).

axiom: TheAxiomFoundation/rulespec-us#2933 queued

🤖 Generated with Claude Code

ANCHOR read the sum of every tax unit member's nj_gross_income, which keeps
interest on federal obligations, amounts entered as exempt from New Jersey
tax, and dependents' income. The Division bases ANCHOR on NJ-1040 line 29
(N.J.S.A. 54:4-8.58, "Gross income"), which nj_agi computes, so both
nj_anchor and nj_anchor_eligible now read nj_agi.

Stay NJ application income (PAS-1) summed dependents' income with the
claimant's, and counted a disability pension entered as wages twice: once
in nj_gross_income (line a) and again on line d. Income now covers the
head and spouse only, and line a leaves out the part of the pension held
in wages, so line d counts it once.

Part of #10812.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8999568) to head (0ae70af).
⚠️ Report is 430 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #11693   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         3    +2     
  Lines           24        66   +42     
=========================================
+ Hits            24        66   +42     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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

☔ View full report in Codecov by Harness.
📢 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.

This branch has not been deployed

No deployments
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.

1 participant