Repository navigation
Fix Nebraska child care refundable credit at the $75,000 and $150,000 limits - #11188
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 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
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. 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.yamldescription still says "adjusted gross income" rather than total household income.
Found while working on #11187 (part of the #10812 state credit income audit follow-ups).
What was wrong
ne_refundable_ctclooked up the per-child amount withp.amount.calc(total_household_income)on thesingle_amountscalegov.states.ne.tax.income.credits.ctc.refundable.amount(thresholds 0, 75,000 and 150,000; amounts 2,000, 1,000 and 0). Withoutright=True, each threshold belongs to the band above it. So:Change
ne_refundable_ctcnow callsp.amount.calc(total_household_income, right=True), so each threshold belongs to the band below it.-.inf. Withright=True, a 0 first threshold would send income of exactly 0 to the out-of-range cell. The repo's otherright=Truescales, such as Colorado's child tax credit amounts, also start at-.inf.Sources
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):
No one gets a lower credit.
Tests
ne_refundable_ctc.yaml:Not in this PR
ne_refundable_ctc_income_eligiblealready compares income to the poverty guideline with<=, matching "less than or equal to" in 77-7203(1)(c), and nothing else reads this scale. Neither needed a change.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) andtest_source_conflicts.py.ne_refundable_ctc.yamlran 13/13 cases. After the run I changed only one test comment (the 77-7202(1) citation).🤖 Generated with Claude Code