Skip to content

Fix Nebraska child care refundable credit at the $75,000 and $150,000 limits - #11188

Merged
DTrim99 merged 1 commit into
mainfrom
ne-refundable-ctc-income-edges
Nov 20, 2026
Merged

DTrim99 merged 1 commit into
mainfrom
ne-refundable-ctc-income-edges

Conversation

@DTrim99

@DTrim99 DTrim99 commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Found while working on #11187 (part of the #10812 state credit income audit follow-ups).

What was wrong

ne_refundable_ctc looked up the per-child amount with p.amount.calc(total_household_income) on the single_amount scale gov.states.ne.tax.income.credits.ctc.refundable.amount (thresholds 0, 75,000 and 150,000; amounts 2,000, 1,000 and 0). Without right=True, each threshold belongs to the band above it. So:

  • Income of exactly $75,000 got $1,000 per child. The law gives $2,000.
  • Income of exactly $150,000 got $0. The law gives $1,000.
  • Income below zero fell under the first threshold (0) into the scale's out-of-range cell and got $0. The law gives $2,000. Income of exactly 0 already got $2,000.

Change

  • ne_refundable_ctc now calls p.amount.calc(total_household_income, right=True), so each threshold belongs to the band below it.
  • The scale's first threshold goes from 0 to -.inf. With right=True, a 0 first threshold would send income of exactly 0 to the out-of-range cell. The repo's other right=True scales, such as Colorado's child tax credit amounts, also start at -.inf.
  • References: the statute title now names subsections (2) and (3), and the Form 7203 instructions are added. The existing references stay.

Sources

  • Neb. Rev. Stat. 77-7203(2)(a) gives "Two thousand dollars per child" if total household income "is no more than seventy-five thousand dollars". (2)(b) gives "One thousand dollars per child" if it is "more than seventy-five thousand dollars but no more than one hundred fifty thousand dollars". Under (3), a filer with income "more than one hundred fifty thousand dollars" is not eligible (https://nebraskalegislature.gov/laws/statutes.php?statute=77-7203; an HTML page, so it has no page anchor).
  • The 2025 Nebraska Individual Income Tax Booklet, line 48 (https://revenue.nebraska.gov/sites/default/files/doc/tax-forms/2025/f_Individual_Income_Tax_Booklet.pdf#page=19), says: "Do not claim this credit if your federal AGI reported on line 5 exceeds $150,000." So the credit is allowed at exactly $150,000. The booklet doesn't give the $75,000 band.
  • The Form 7203 instructions (https://revenue.nebraska.gov/sites/default/files/doc/tax-forms/f_7203_instruction_only.pdf#page=1) repeat the statute: "$2,000 per child, if the total household income is no more than $75,000" and "$1,000 per child, if the total household income is more than $75,000 but no more than $150,000". Page 3 describes the bands as "$0 to $75,000 and $75,001 to $150,000". I read "$0 to" as describing the usual range rather than excluding a net loss, since page 1 and the statute set no floor, so I don't treat it as a source conflict.

Who is affected

Nebraska families who claim the child care refundable credit for a child aged five or under (the credit is refundable, so their Nebraska tax falls or their refund rises):

  • At exactly $75,000 of total household income: +$1,000 per child.
  • At exactly $150,000: +$1,000 per child.
  • Below zero (for example, from a business or farm loss): +$2,000 per child. These families are also income eligible under 77-7203(1)(c), since their income is below the poverty level.

No one gets a lower credit.

Tests

ne_refundable_ctc.yaml:

  • No Audit state credit income definitions against the law (CI run, do not merge) #10812 audit cases cover this rule, so none move.
  • Added, each with two qualifying children: income of exactly 75,000 (4,000 = 2 x 2,000), 75,001 (2,000 = 2 x 1,000), exactly 150,000 (2,000 = 2 x 1,000), 150,001 (0), 0 (4,000) and -10,000 (4,000).
  • Added an end-to-end case: a head of household with $75,000 of wages (total household income 75,000), a 3-year-old in child care and a 9-year-old gets 2,000. Main gives 1,000.
  • No existing test changed. Its incomes (30,000, 80,000, 151,000, 51,000 and 54,000) all fall inside a band.

Not in this PR

axiom: needed for Neb. Rev. Stat. 77-7203 (rulespec-us has no module for it, and no encoder run was authorized for this PR)

Tested on Modal: run w1-ne-edge-a, 215/215 passed: 214 YAML files (the whole Nebraska test folder, which includes the changed file, and all 144 partner files) and test_source_conflicts.py. ne_refundable_ctc.yaml ran 13/13 cases. After the run I changed only one test comment (the 77-7202(1) citation).

🤖 Generated with Claude Code

Neb. Rev. Stat. 77-7203(2) pays $2,000 per child at total household
income no more than $75,000 and $1,000 at more than $75,000 but no more
than $150,000. The scale lookup put each limit in the band above it, so
income of exactly $75,000 got $1,000 and exactly $150,000 got nothing.
Look up the amount with right=True and start the scale at -inf so zero
and negative income get $2,000.

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

codecov Bot commented Nov 20, 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 (a4cc7c0).
⚠️ Report is 231 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #11188   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           24        15    -9     
=========================================
- Hits            24        15    -9     
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.

@DTrim99
DTrim99 requested a review from hua7450 November 20, 2026 04:31

@hua7450 hua7450 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, David. The scale now matches Neb. Rev. Stat. 77-7203(2)-(3) at every edge: $2,000 per child at "no more than $75,000", $1,000 for "more than $75,000 but no more than $150,000", and nothing above. LB754 and LB208 use the same words, so it holds from 2024 on. The -.inf first threshold with right=True at the only call site follows the band-top convention. The new cases pin each operator one dollar either side of both limits, and no existing case changed. Negative income getting $2,000 is also right: (2)(a) sets no floor, and the Form 7203 instructions' "$0 to $75,000" is a note about amended submissions, not a different rule. Approving.

Optional (already on main, so a follow-up is fine):

  • In ne_refundable_ctc.yaml, the older taxsim case allows a $1 error on an exact $2,000 result; 0.01 would pin it. Two older case names also don't match their values.
  • The amount.yaml description still says "adjusted gross income" rather than total household income.

@DTrim99
DTrim99 merged commit fdd6500 into main Nov 20, 2026
40 checks passed
@DTrim99
DTrim99 deleted the ne-refundable-ctc-income-edges branch November 20, 2026 21:07
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.

2 participants