Skip to content

Fix VA TANF max payment cap scaling and enhance references#7501

Draft
hua7450 wants to merge 2 commits intoPolicyEngine:mainfrom
hua7450:backdate-va-tanf
Draft

Fix VA TANF max payment cap scaling and enhance references#7501
hua7450 wants to merge 2 commits intoPolicyEngine:mainfrom
hua7450:backdate-va-tanf

Conversation

@hua7450
Copy link
Collaborator

@hua7450 hua7450 commented Feb 26, 2026

Summary

Fixes the VA TANF max reimbursable payment cap scaling bug and improves reference quality across parameter files.
Closes #7500

Changes

Bug Fix: Max Payment Cap Scaling (va_tanf.py)

The max reimbursable payment cap was looked up at base (2020-10-01) values but not multiplied by standard_multiplier, while the grant standard was correctly scaled. This caused underpayment for large families in post-2020 simulations where the scaled grant exceeded the unscaled cap.

  • Before: Family of 10, Group III, 2023 → cap frozen at $745/month (2020 base)
  • After: Family of 10, Group III, 2023 → cap correctly scaled to $947/month

4 new cap tests added covering all combinations (Group II/III × TANF/TANF-UP).

Reference Fixes (4 parameter files)

  • 2 wrong PDF page numbers: grant_standard/group3/addition.yaml and up_grant_standard/group3/addition.yaml — changed #page=25#page=26
  • 4 missing budget amendment citations added to standard_multiplier.yaml: HB1400 (2016 +2.5%), SB1100 (2019 +5%), HB30 (2020 +15%), HB1800 (2021 +10%)
  • Missing federal citation added to dependent_care/full_time.yaml: 45 CFR 233.20(a)(11)(i)(B)

Verification

  • All 23 existing parameter values verified against VA DSS TANF Manual (Transmittals 68 and 71)
  • Multiplier architecture confirmed mathematically consistent across all 8 enacted increases (2016-2023)
  • All 104 VA TANF tests pass

Regulatory Sources

Test Plan

  • All 104 existing VA TANF tests pass
  • 4 new cap tests cover Group II/III × TANF/TANF-UP
  • make format clean

🤖 Generated with Claude Code

hua7450 and others added 2 commits February 26, 2026 18:46
The max reimbursable payment cap was not being multiplied by the
standard_multiplier, causing underpayment for large families in
post-2020 simulations. Also fixes 2 wrong PDF page numbers, adds
4 missing budget amendment citations, and adds missing federal
citation for dependent care deduction.

Closes PolicyEngine#7500

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hua7450 hua7450 changed the title Backdate Virginia TANF parameters to 1997 Fix VA TANF max payment cap scaling and enhance references Feb 27, 2026
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #7501      +/-   ##
===========================================
+ Coverage   97.82%   100.00%   +2.17%     
===========================================
  Files           3         1       -2     
  Lines          92        25      -67     
  Branches        2         0       -2     
===========================================
- Hits           90        25      -65     
+ Misses          1         0       -1     
+ Partials        1         0       -1     
Flag Coverage Δ
unittests 100.00% <100.00%> (+2.17%) ⬆️

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.

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.

Fix VA TANF max payment cap scaling and enhance references

1 participant