Add historical TANF parameter data (pre-2018) for DE, MO, PA, RI, SD#7170
Add historical TANF parameter data (pre-2018) for DE, MO, PA, RI, SD#7170hua7450 merged 13 commits intoPolicyEngine:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7170 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 2 +1
Lines 24 36 +12
=========================================
+ Hits 24 36 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
These changes belong to issue PolicyEngine#7165, not this PR. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PR Review: Add Historical TANF Parameter Data for DE, MO, PA, RI, SDSummaryThis PR adds historical TANF parameter data for five states and implements Pennsylvania's Work Expense Reimbursement (WER) mechanism for the 2009-2020 period. It also includes changes to Illinois HBWD. ✅ Verified Changes1. Missouri Minimum PaymentSource: 13 CSR 40-2.120 The regulation confirms:
2. Rhode Island Works Dependent CareSource: R.I. Gen. Laws Chapter 40-5.2
3. Pennsylvania Work Expense RestructureSources: WER (2009-2020): $50/month bonus for families with earned income
|
| State | Parameter | New Date | Source |
|---|---|---|---|
| Delaware | deficit_rate.yaml |
2011-10-01 | DE TANF State Plan 2011 |
| South Dakota | max_table_size.yaml |
2016-09-01 | ARSD 67:10:05:03 (2016) |
🔴 Issues Requiring Attention
1. Illinois HBWD is_blind Removal
The PR removes is_blind from HBWD disability eligibility:
# Before
return is_disabled | is_blind | receives_ssdi
# After
return is_disabled | receives_ssdiConcern: IL HBWD is "Health Benefits for Workers with Disabilities" - blindness is typically a qualifying disability. Please verify this change against 89 Ill. Admin. Code § 120.510.
2. Deleted Test File
il_hbwd_countable_earned_income.yaml (292 lines) was deleted. If the formula simplification is correct, equivalent test coverage should be maintained.
3. Removed Test Cases
Cases 4-5 were removed from il_hbwd_income_eligible.yaml without explanation.
Recommendation
Consider splitting this PR:
- Historical backdating (DE, MO, RI, SD, PA WER) - ready to merge
- Illinois HBWD refactoring - needs verification of
is_blindremoval
Validation Summary
| Check | Result |
|---|---|
| MO minimum payment | ✅ Verified |
| RI Works effective date | ✅ Verified |
| PA WER/WED mechanism | ✅ Verified |
| DE deficit rate | |
| SD max table size | |
| IL HBWD changes | ❌ Needs verification |
| CI Status | ✅ Passing |
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Hey @hua7450 — following up on your question on #7440 about other states that might have similar gaps. I scanned all TANF parameter YAMLs for earliest start dates >= 2019 and found 60 additional files across 8 states not covered by this PR:
Note: This aligns with the "189 files across 24 states" audit mentioned in #7169. Just flagging in case it's useful for prioritizing. |
|
This fix is blocking the calibration pipeline rebuild in policyengine-us-data. The missing Without this, we can't rebuild the calibration package with the latest policyengine-us (needed for ACA PTC support). |
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>
- Change effective date from 2024-09-01 to 2024-07-01 to match the legislative effective date per FY2025 budget (DHS issued retroactive payments to meet the July 1 requirement) - Fix sizes 7 and 8 to match 218-RICR-20-00-2.18.1: size 7: $1,364 → $1,365, size 8: $1,489 → $1,490 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PavelMakarchuk
left a comment
There was a problem hiding this comment.
LGTM after these
Summary
Fixes #7169
Adds historical TANF parameter data (pre-2018) for five states, implements Pennsylvania's Work Expense Reimbursement (WER) mechanism for the 2009-2020 period, and fixes Rhode Island FY2025 payment standard dates and values.
Changes
Historical Parameter Updates
deficit_rateminimum_paymentdependent_care/amountmax_table_sizePennsylvania Work Expense Restructure
Added support for two distinct work expense mechanisms:
Work Expense Reimbursement (WER) - 2009-2020:
Work Expense Deduction (WED) - 2020+:
New parameter structure:
Rhode Island Payment Standard Fixes
2024-09-01to2024-07-01inpayment_standard/amount.yamlandadditional_person.yaml. The FY2025 budget specifies July 1 as the effective date; DHS issued retroactive payments to cover the July-September gap (DHS press release). Now consistent withearned_income_disregard/amount.yamlwhich already used2024-07-01.References
Pennsylvania
Delaware
Missouri
Rhode Island
South Dakota
🤖 Generated with Claude Code