Repository navigation
Base New Jersey ANCHOR on NJ-1040 line 29 and fix Stay NJ application income - #11693
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
hua7450
left a comment
There was a problem hiding this comment.
Thanks, David. Line 29 is the right base for ANCHOR. N.J.S.A. 54:4-8.58 counts New Jersey gross income "other than income excludable from the gross income tax return, but before reduction thereof by any applicable exemptions, deductions and credits". That is line 27 less the line 28 retirement exclusions, and the Division's page says the same. nj_agi is that figure for the head and spouse, and nothing it reads depends on ANCHOR or Stay NJ.
On PAS-1, combining only the applicant and spouse matches the instructions. The disability pension now counts once, whether it was entered as wages or as disability benefits. The ANCHOR amounts match the Division's 2025 table, and the new expected values follow the line 29 and PAS-1 steps. Approving.
Optional:
- Disability pension in ANCHOR (follow-up). ANCHOR now reads
nj_agi, which still holds a disability pension entered as wages. The NJ-1040 instructions say not to report such a pension "until the year you turn 65". Example: a 60-year-old homeowner with $155,000 of wages, $30,000 of it a disability pension, gets $1,000 instead of $1,500. Main does the same, and the PR body defers the NJ-1040 fix. Linking a tracking issue from the PR body would keep the ANCHOR effect on record. - A pension split between wages and disability benefits. The formula assumes the pension sits in
taxable_disability_benefitsfirst and the rest in wages. With $30,000 of pension paid as wages and $20,000 of short-term disability benefits, income comes out at 50,000 instead of 30,000. No input says how the pension is split, so this is a limitation; a comment stating the assumption would cover it. - The
min_(…, nj_wages)cap isn't exercised by any test, so deleting it fails nothing. One case where 401(k) deferrals bringnj_wagesbelow the pension would pin it. - Repeated cases. In
nj_anchor.yaml, Case 13 repeats Case 12, and Case 9 and Edge case 14 already pin 150,000. Innj_anchor_eligible.yaml, Case 12 repeats Case 10.
Part of #10812 (state credit income audit, Tier 2 items 11 and 12).
What was wrong
ANCHOR.
nj_anchorandnj_anchor_eligiblesummednj_gross_incomeover every tax unit member. That is New Jersey income before PolicyEngine's subtractions, so it kept interest on federal obligations and amounts entered innj_other_subtractions, and it added dependents' income. ANCHOR income is New Jersey gross income on NJ-1040 line 29:nj_agialready recognises.Stay NJ application income.
nj_property_tax_relief_income(Form PAS-1 line f) had two errors:total_disability_paymentsis documented as "also counted in employment_income or taxable_disability_benefits". When it sits inemployment_income,nj_gross_incomeholds it throughnj_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 istax_unit("nj_agi", period), the line 29 equivalent: head and spousenj_total_income(after theus_govt_interest_personandnj_other_subtractionssubtractions, withnj_other_additions) less the retirement exclusions. References add 54:4-8.58.nj_property_tax_relief_income:nj_gross_incomeand the PAS-1 additional sources (exempt interest, nontaxable IRA distributions, Social Security) are summed withtax_unit_non_dep_add, and line d covers non-dependents only.taxable_disability_benefits, floored at zero and capped atnj_wages. Line d then adds the pension once. A pension entered asdisability_benefitswas already counted once and still is.Overlap. #11045 (New Jersey property tax caps and elections) refactors
nj_agi.pyinto a helper with the same result. This PR only readsnj_agiand 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
nj_gross_incomesum exceeded line 29 across a band edge: Treasury interest, amounts innj_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.nj_other_additionsentered (income PolicyEngine otherwise omits from lines 15-26), which belongs on line 29.nj_staynjandnj_capped_senior_freeze, so a higher ANCHOR lowers those dollar for dollar where they bind.Tests
Each moved or added case was run against main (50af7fb) and this branch:
nj_anchor.yamlnj_anchor.yamlnj_anchor.yamlnj_anchor.yamlnj_anchor.yamlnj_anchor.yamlnj_anchor_eligible.yamlnj_anchor_eligible.yamlnj_anchor_eligible.yamlnj_anchor_eligible.yamlnj_property_tax_relief_income.yamlnj_property_tax_relief_income.yamlnj_property_tax_relief_income.yamlnj_property_tax_relief_income.yamlnj_property_tax_relief_income.yamlnj_property_tax_relief_income.yamlnj_anchor.yamlword for word, so it was not moved again. 401(k) deferrals are out of line 29 on main throughnj_wages(N.J.S.A. 54A:6-21), so that audit row needs no change here.nj_other_subtractions, both input conventions for the disability pension, a spouse's pension, and a dependent's non-wage income.nj_property_tax_relief_income.yamlCases 1 and 7 now enter their 3,000 disability pension asdisability_benefits: 3_000as well astotal_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.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.pyandtest_aggregate_list_integrity.py, which readnj_property_tax_relief(125). No partner test readsnj_anchor,nj_anchor_eligible,nj_property_tax_relief_incomeor their consumers. ruff format and check pass.Not in this PR
nj_gross_incomekeeps it throughnj_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.nj_wages, which is the agency's reading.nj_other_additionsin Stay NJ line a. Line 27 includes them;nj_gross_incomedoes not. Small and left for a later PR.axiom: TheAxiomFoundation/rulespec-us#2933 queued
🤖 Generated with Claude Code