Fix CA CalWORKs per-person applicant earned income disregard#7861
Open
hua7450 wants to merge 3 commits intoPolicyEngine:mainfrom
Open
Fix CA CalWORKs per-person applicant earned income disregard#7861hua7450 wants to merge 3 commits intoPolicyEngine:mainfrom
hua7450 wants to merge 3 commits intoPolicyEngine:mainfrom
Conversation
Per WIC 11450.12, the applicant $450 disregard must be applied "for each employed person," not as a single flat amount per AU. This creates person-level earned income variables and updates the applicant countable income formula to sum post-disregard amounts across members. Also fixes broken San Diego County reference links (PolicyEngine#5488) and a typo in ca_tanf_eligible (financial_eligibile -> financial_eligible). Closes PolicyEngine#770, Closes PolicyEngine#5488 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7861 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 7 +6
Lines 21 100 +79
=========================================
+ Hits 21 100 +79
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:
|
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.
Summary
Fixes #770, Fixes #5488
Per WIC 11450.12, the applicant earned income disregard ($450/month) must be applied "for each employed person", not as a single flat amount per assistance unit. A two-earner household should receive $900/month in disregards, not $450.
Regulatory Authority
Changes
Per-person applicant disregard (main fix)
ca_tanf_earned_income_person— Person-level gross earned income using CA income source listca_tanf_earned_income_after_disregard_person— Applies $450/person flat disregard at person levelca_tanf_countable_income_applicant— Sums person-level post-disregard earned income viaadd()ca_tanf_earned_income— Now derives fromca_tanf_earned_income_person(single source of truth)Broken reference links (#5488)
hhsaprogramguides.sandiegocounty.gov) from 6 parameter files and 1 variableMinor fixes
financial_eligibile→financial_eligibleinca_tanf_eligible.pyexlusion→exclusioninca_tanf_countable_income_recipient.pyRecipient disregard — verified correct (no changes)
The recipient $600 flat exclusion (WIC § 11451.5) is per-AU, not per-person — confirmed by ACL 21-130 (p.4) and the NA 200 budget worksheet which has a single disregard line. The existing code correctly implements the shared pool logic (DBI first → carry remainder to earned → 50% of remaining earned).
Test plan
ca_tanf_earned_income_after_disregard_personca_tanf_countable_income_applicant(including multi-earner Cases 8-10)🤖 Generated with Claude Code