Skip to content

Correct New Hampshire FANF income and asset tests - #11585

Draft
MaxGhenis wants to merge 2 commits into
mainfrom
nh-fanf-income-exclusions-and-prior-receipt
Draft

MaxGhenis wants to merge 2 commits into
mainfrom
nh-fanf-income-exclusions-and-prior-receipt

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.

What and why

Exclude earnings from dependent children in full-time primary or secondary education, including equivalent programs, before calculating either earned-income disregard. Use the statutory ages and the existing tax-unit head and spouse flags as a proxy for caretaker residence. See nh_fanf_gross_earned_income.py:19 and nh_fanf_dependent_child.py:12. RSA 167:78 VI · RSA 167:80 IV(b), (h)

Count SSI except for dependent children. Deduct child support actually paid from both income totals and floor the results at zero. The model uses the existing child support expense input as the amount paid. The dated formulas use the effective dates of the cited rules. See nh_fanf_gross_unearned_income.py:19, nh_fanf_countable_income.py:24, and nh_fanf_countable_income_for_eligibility.py:27. He-W 654.02, 654.04 and 654.20

Use recipient rules for current recipients and applicants who received FANF in any of the previous six calendar months. Missing monthly enrollment flags default to false. The asset test reads annual cash assets in the benefit month and compares them with the applicable limit. See nh_fanf_current_or_recent_recipient.py:15 and nh_fanf_resources_eligible.py:28. He-W 654.13, rulemaking notice p. 1 · Final adoption, register p. 6 · He-W 656.06(a) · RSA 167:79 III(f)

The 2026 examples use a $1,082 monthly standard for two people, calculated as 60% of $21,640 divided by 12. RSA 167:77-g · HHS 2026 poverty guidelines

Test plan

Case Main Branch
Dependent student with $1,500 monthly wages $1,200 eligibility earnings, $750 benefit earnings, $0 grant $0, $0, $1,082 grant
February receipt only, $1,404 monthly wages and $3,000 assets March and April each $1,123.20 eligibility earnings, ineligible, $0 grant Each $702, eligible, $380 grant
$100 in support paid with $1,000 in wages $800 eligibility income, $500 benefit income, $582 grant $700, $400, $682 grant
19-year-old full-time secondary student $750 benefit earnings $0
16-year-old full-time secondary student $1,200 eligibility earnings $0
Receipt six and seven months ago $1,123.20 eligibility earnings in both months $702 and $1,123.20
$600 SSI for the parent in March and the child in April Both totals $0 in both months Both totals $600 in March and $0 in April
Support paid and zero floor March income $800 / $500, April $80 / $50 March $700 / $400, April $0 / $0
Benefit-month eligibility with February receipt and $3,000 assets Ineligible Eligible
Resource eligibility six and seven months after receipt Fails both months Passes at six months and fails at seven
  • Source-based YAML cases. All 92 FANF cases pass.
  • Source-conflict entry and marker (N/A). All 251 source-conflict checks pass.
  • make format
  • Changelog fragment in changelog.d/

#10639 edits the same resource comparison and adds two boundary cases. The $1,000 case has the same failing result on main and this branch. With #10639’s rounding and the monthly resource test together, $1,000 fails eligibility and $999.99 passes.

axiom: pending

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 04:26
Exclude qualifying student earnings, include countable SSI, and deduct child support paid. Apply the recipient income disregard and resource limit after recent FANF receipt.

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

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.65217% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.51%. Comparing base (8999568) to head (38ba6ef).
⚠️ Report is 403 commits behind head on main.

Files with missing lines Patch % Lines
...eligibility/nh_fanf_current_or_recent_recipient.py 93.75% 1 Missing ⚠️
...es/nh/dhhs/fanf/income/nh_fanf_countable_income.py 83.33% 1 Missing ⚠️
...income/nh_fanf_countable_income_for_eligibility.py 83.33% 1 Missing ⚠️
...nh/dhhs/fanf/income/nh_fanf_gross_earned_income.py 93.75% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main   #11585      +/-   ##
===========================================
- Coverage   100.00%   97.51%   -2.49%     
===========================================
  Files            1       10       +9     
  Lines           24      161     +137     
  Branches         0        1       +1     
===========================================
+ Hits            24      157     +133     
- Misses           0        4       +4     
Flag Coverage Δ
unittests 97.51% <95.65%> (-2.49%) ⬇️

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