Skip to content

Backdate California TANF (CalWORKs) parameters#7509

Draft
hua7450 wants to merge 3 commits intoPolicyEngine:mainfrom
hua7450:backdate-ca-tanf
Draft

Backdate California TANF (CalWORKs) parameters#7509
hua7450 wants to merge 3 commits intoPolicyEngine:mainfrom
hua7450:backdate-ca-tanf

Conversation

@hua7450
Copy link
Collaborator

@hua7450 hua7450 commented Feb 27, 2026

Summary

Backdates California CalWORKs (TANF) cash assistance parameters to 2015 and improves code quality.
Closes #7508

Changes

  • Parameters backdated: 12 files with historical MAP (2015-2022), MBSAC (2015-2022), and EID (1998-2022) values added. ~300 date entries across all files.
  • Date corrections: Region 1 MAP dates fixed from 2023-01-01 to 2023-10-01; MBSAC Region 1 from 2023-01-01 to 2023-07-01
  • Reference fixes: Broken URL fixed (lacounty.gopv->gov), http->https upgrades, ACL citations with #page= added
  • Formula annotations: Added Tier C comments documenting known simplifications (applicant EID per-person, exempt status adds pattern)
  • Tests added: 71+ new test cases (historical transitions, edge cases, integration tests, boundary conditions)

Regulatory Sources

Review Summary

  • Review-fix loop: 1 round, 0 critical issues
  • PDF audit: 122/124 values confirmed correct (80 MAP + 42 MBSAC), 2 minor +$1 rounding mismatches
  • Recommended severity: COMMENT (no blocking issues)

Known Limitations

  • MBSAC R2 sizes 4 and 10 at 2024-07-01 are +$1 vs ACL 24-37 (rounding)
  • 14 TEMP2250/San Diego PDF hrefs missing #page= anchors
  • Applicant $450 EID applied as flat total, not per-employed-person per WIC 11450.12 (documented simplification)
  • Exempt status uses adds pattern checking "any" member, regulation may require "all" adult caretakers (documented simplification)
  • Pre-2015 values not yet backdated (historical PDF covers to 1971)

Test Plan

  • All 162 existing + new tests pass
  • Historical transition tests for each backdated period
  • Edge case tests for boundary conditions
  • Integration tests (eligibility -> income -> benefit pipeline)
  • Microsimulation check (if applicable)

hua7450 and others added 2 commits February 27, 2026 00:08
Starting implementation of backdating CalWORKs parameters to 1997.
Documentation and parallel development will follow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ine#7508)

- Add historical MAP values (2015-2022) for all 4 files (R1/R2, exempt/non-exempt)
- Add historical MBSAC values (2015-2022) for both regions with annual July COLAs
- Add EID history ($90/$225/$112/$225/$500/$550/$600) from 1998 to present
- Fix Region 1 MAP dates from 2023-01-01 to correct 2023-10-01
- Fix Region 1 MBSAC dates from 2023-01-01 to correct 2023-07-01
- Fix broken URL (lacounty.gopv → lacounty.gov), upgrade http→https
- Add #page=XX to 28+ PDF references
- Add Tier C comments for known simplifications (applicant EID, exempt status)
- Add 71 new tests (historical transitions, edge cases, integration)
- All 162 tests pass

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@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 (eae56e7).
⚠️ Report is 15 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #7509      +/-   ##
===========================================
+ Coverage   97.82%   100.00%   +2.17%     
===========================================
  Files           3         2       -1     
  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% <ø> (+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.

- MBSAC R2 sizes 4 and 10 at 2024-07-01: corrected to match ACL 24-37
- Added #page=10 (R1) and #page=11 (R2) to 12 TEMP2250.pdf references
- Updated 3 test expected values accordingly

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Backdate California TANF (CalWORKs) parameters to 1997

1 participant