Skip to content

Comments

Fix DE TANF deficit_rate parameter history gap#7440

Closed
baogorek wants to merge 1 commit intomainfrom
fix/de-tanf-deficit-rate-history
Closed

Fix DE TANF deficit_rate parameter history gap#7440
baogorek wants to merge 1 commit intomainfrom
fix/de-tanf-deficit-rate-history

Conversation

@baogorek
Copy link
Collaborator

Fixes #7439.

Summary

  • Extended deficit_rate.yaml start date from 2024-10-01 to 2017-01-01
  • The 50% rate is confirmed in the 2017 Delaware TANF State Plan and DSSM §4004.2
  • Prevents ParameterNotFoundError for full-year simulations (e.g. EnhancedCPS_2024) that calculate values for months before October 2024

Test plan

  • Run pytest policyengine_us/tests/ -k "de_tanf" -v — all pass
  • Verify EnhancedCPS_2024 completes without ParameterNotFoundError for DE TANF

🤖 Generated with Claude Code

Extend deficit_rate start date from 2024-10-01 to 2017-01-01 so that
full-year simulations (e.g. EnhancedCPS_2024) do not raise
ParameterNotFoundError for months before October 2024. The 50% rate is
documented in the 2017 Delaware TANF State Plan and DSSM §4004.2.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@baogorek baogorek requested a review from hua7450 February 19, 2026 20:15
@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.95%. Comparing base (f073b57) to head (aded843).
⚠️ Report is 96 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##              main    #7440       +/-   ##
============================================
- Coverage   100.00%   72.95%   -27.05%     
============================================
  Files            4     3877     +3873     
  Lines           76    55970    +55894     
  Branches         1      277      +276     
============================================
+ Hits            76    40831    +40755     
- Misses           0    15117    +15117     
- Partials         0       22       +22     
Flag Coverage Δ
unittests 72.95% <ø> (-27.05%) ⬇️

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.

@hua7450
Copy link
Collaborator

hua7450 commented Feb 19, 2026

Do you think any of the states in here that would cause similar problem. #7170

@baogorek
Copy link
Collaborator Author

Closing in favor of #7170, which covers this DE deficit_rate fix along with historical TANF parameter fixes for MO, RI, SD, and PA work expense restructure.

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.

Delaware TANF deficit_rate parameter missing history before 2024-10-01

3 participants