Skip to content

Comments

Cap all state TANF benefit formulas to prevent negative income inflation#7434

Merged
MaxGhenis merged 1 commit intoPolicyEngine:mainfrom
MaxGhenis:fix-tanf-negative-income-cap-clean
Feb 19, 2026
Merged

Cap all state TANF benefit formulas to prevent negative income inflation#7434
MaxGhenis merged 1 commit intoPolicyEngine:mainfrom
MaxGhenis:fix-tanf-negative-income-cap-clean

Conversation

@MaxGhenis
Copy link
Contributor

Summary

  • Fix NC TANF nc_tanf_household_size bare .sum() bug (summed across entire population instead of within SPM unit)
  • Add min_(benefit, payment_standard) caps to 38 state TANF programs to prevent negative countable income from inflating benefits above the maximum payment
  • Add 7 YAML tests for negative income cap behavior across CA, PA, NY, FL, NC, MN, OH

Impact

States fixed

Standard naming (28): AL, AZ, CA, CO, DC, HI, IL, IN, KS, MO, MS, MT, NC, ND, NV, NY, OK, OR, PA, SC, SD, TX, VT, WV, WY

Non-standard naming (13): AK (ATAP), AR (TEA), CT (TFA), FL (TCA), IA (FIP), LA (FITAP), MA (TAFDC), MD (TCA), MI (FIP), MN (MFIP), NE (ADC), NH (FANF), NJ (WFNJ), NM (Works), OH (OWF), RI (Works), UT (FEP), VT (Reach Up), WV (Works), WY (POWER)

Already safe (no fix needed): GA, WA, VA, DE, ME, ID, KY, TN, WI

Test plan

  • 7 new YAML tests for negative income cap (CA, PA, NY, FL, NC, MN, OH)
  • 271+ existing state TANF tests pass (IL, CO, DE, GA, NC, KS, IN)
  • Microsim: max $25,084/HH, total $32.1B (down from $17.9T)
  • Pre-takeup max confirmed at $25,084 across all states

🤖 Generated with Claude Code

…ome from inflating benefits

Fix NC TANF household size bare .sum() bug and add min_() caps to 38
state programs (AL, AK, AR, AZ, CA, CO, CT, DC, FL, HI, IA, IL, IN,
KS, LA, MA, MD, MI, MN, MO, MS, MT, NC, ND, NE, NH, NJ, NM, NV, NY,
OH, OK, OR, PA, RI, SC, SD, TX, UT, VT, WV, WY).

Previously, negative countable income could produce benefits exceeding
$1M per household, inflating total TANF microsimulation from ~$9B
target to $17.9T. With this fix, max benefit per household is $25,084
(CA CalWORKs) and total TANF is ~$32B pre-takeup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MaxGhenis MaxGhenis merged commit 655ec42 into PolicyEngine:main Feb 19, 2026
12 of 14 checks passed
hua7450 added a commit to hua7450/policyengine-us that referenced this pull request Feb 20, 2026
The upstream merge (d34300d) accidentally dropped the Work Expense
Reimbursement (WER) logic while picking up the min_ cap from PolicyEngine#7434.
This restores the $50/month WER bonus for pre-2020 families with
earned income and keeps the negative-income cap.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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