Add Orange County General Relief partial screen#8557
Draft
hua7450 wants to merge 2 commits into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8557 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 5 19 +14
Lines 62 217 +155
==========================================
+ Hits 62 217 +155
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:
|
4e73f02 to
97736b7
Compare
- Restore the no-minor-child eligibility restriction with its regulatory basis (Sec 20 must-apply-for-available-aid -> ineligibility, Sec 80.2.d CalWORKs time-limit MAP exclusion, Sec 20.4.b excluded members); families with minor children are routed to CalWORKs, so the parent cannot also receive GR. - Exclude CAPI recipients from General Relief (Sec 20.4.b 'another type of public assistance'); catches recently-arrived aged/disabled permanent residents who receive CAPI instead of SSI. - Trim qualified immigration statuses to those enumerated in Sec 40.1 (citizen, permanent resident, deportation-withheld). - Fix three resource-parameter subsection citations (60.4.b->60.4.c, 50.2.a and 50.2.b -> 50.2). - Document RCA and unearned-income tax deductions as not tracked; replace deprecated documentation fields with inline comments. - Drive program receipt (SSI/CalWORKs/CAPI) from real family inputs in tests instead of program values; add eligibility-map integration cases. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Adds a partial Orange County, California General Relief (GR) screen — eligibility, income, and resource rules from the official Orange County SSA regulations. The program is registered as
partialbecause Orange County does not publish the Maximum Aid Payment (MAP) schedule or component values needed to compute the monthly grant.Closes #8556
Regulatory Authority
What's modeled
county_str == ORANGE_COUNTY_CAKey design decisions
ssi > 0check misses them) but is otherwise GR-eligible.Who is eligible
The modeled eligible population is narrow: able-bodied, non-aged, childless adults who are citizens / permanent residents / deportation-withheld, with assets below the limits (and low income, which is not modeled). Aged or disabled applicants are swept into SSI or CAPI; applicants with children are routed to CalWORKs.
Not modeled (deferred)
Tests
Tests describe families with real inputs (age, disability, immigration, work history, income, assets) and let the model determine SSI / CalWORKs / CAPI receipt and its effect on GR eligibility — including an eligibility-map integration set that demonstrates the narrow eligible population.
policyengine-core test policyengine_us/tests/policy/baseline/gov/local/ca/oc/general_relief -c policyengine_us— 43 passedmake formatFiles
policyengine_us/parameters/gov/local/ca/oc/general_relief/policyengine_us/variables/gov/local/ca/oc/policyengine_us/tests/policy/baseline/gov/local/ca/oc/general_relief/sources/working_references.md