Skip to content

Conversation

@hua7450
Copy link
Collaborator

@hua7450 hua7450 commented Jan 14, 2026

Summary

Fixes #7169

Adds historical TANF parameter data (pre-2018) for five states and implements Pennsylvania's Work Expense Reimbursement (WER) mechanism for the 2009-2020 period.

Changes

Historical Parameter Updates

State Parameter Old Start New Start Notes
DE deficit_rate 2024-10-01 2011-10-01 50% deficit rate per 2011 State Plan
MO minimum_payment 2024-01-01 2002-01-01 $10 rule from 1948 AFDC (13 CSR 40-2.120)
RI dependent_care/amount 2019-01-01 2008-07-01 Rhode Island Works inception
SD max_table_size 2023-07-01 2016-09-01 Matches other payment standard files

Pennsylvania Work Expense Restructure

Added support for two distinct work expense mechanisms:

Work Expense Reimbursement (WER) - 2009-2020:

  • $50/month flat bonus added to TANF benefit
  • Paid to families with earned income

Work Expense Deduction (WED) - 2020+:

  • $200/month deducted from countable earned income
  • Applied after 50% earned income disregard

New parameter structure:

pa/dhs/tanf/income/work_expense/
├── uses_deduction.yaml    # false (2009) → true (2020)
├── deduction.yaml         # $200 WED amount
└── reimbursement.yaml     # $50 WER amount

References

🤖 Generated with Claude Code

@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (f506aab) to head (d23880e).
⚠️ Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #7170   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           32        36    +4     
=========================================
+ Hits            32        36    +4     
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 Sentry.
📢 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.

These changes belong to issue PolicyEngine#7165, not this PR.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@hua7450 hua7450 marked this pull request as ready for review January 14, 2026 19:38
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.

Add historical TANF parameter data (pre-2018) for DE, MO, PA, RI, SD

1 participant