Fix DE TANF deficit_rate parameter history gap#7440
Closed
Conversation
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>
PavelMakarchuk
approved these changes
Feb 19, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 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
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:
|
hua7450
approved these changes
Feb 19, 2026
Collaborator
|
Do you think any of the states in here that would cause similar problem. #7170 |
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7439.
Summary
deficit_rate.yamlstart date from2024-10-01to2017-01-01ParameterNotFoundErrorfor full-year simulations (e.g.EnhancedCPS_2024) that calculate values for months before October 2024Test plan
pytest policyengine_us/tests/ -k "de_tanf" -v— all passEnhancedCPS_2024completes withoutParameterNotFoundErrorfor DE TANF🤖 Generated with Claude Code