Add federal SSI living arrangement classification and ISM/PMV framework#7907
Add federal SSI living arrangement classification and ISM/PMV framework#7907hua7450 wants to merge 7 commits intoPolicyEngine:mainfrom
Conversation
…mework Closes PolicyEngine#7906 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 #7907 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 1 14 +13
Lines 8 175 +167
==========================================
+ Hits 8 175 +167
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:
|
…al and food support - Rename A/B/C/D to OWN_HOUSEHOLD/ANOTHER_PERSONS_HOUSEHOLD/CHILD_IN_PARENTAL_HOUSEHOLD/MEDICAL_TREATMENT_FACILITY - Reference statute/CFR instead of POMS letter codes - Fix PMV $20 exclusion: ISM enters unearned pool before exclusions - Add ssi_shelter_support_value for PMV rebuttal (min of PMV and actual) - Add ssi_receives_food_from_others and wire food_counts parameter for pre-9/30/2024 ISM - Remove under-22 student from FBR override (only is_child applies) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Per POMS SI 01320.150: when spousal deeming applies, PMV is halved to 1/6 × couple FBR + $10 (deeming path has no /2 income split) - Fix food_counts date from 2024-09-01 to 2024-10-01: rule takes effect September 30, so September 2024 still counts food - Add Case 12: deeming + PMV integration test Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…scriptive terms - Per POMS SI 01320.150: deeming PMV halved to 1/6 × couple FBR + $10 - Fix food_counts effective date to 2024-10-01 (rule effective Sept 30) - Replace all Status A/B/C/D references with descriptive living arrangement names Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…into ssi-federal-living-arrangement
PR ReviewOverviewThis is a substantial, well-structured PR that implements federal SSI living arrangement classification (4 statuses) and the ISM/PMV income framework. It adds 4 parameters, 11 new variables (7 input booleans, 4 formula variables), and 4 test files with 43 test cases total. CI is fully passing. 🔴 Critical (Must Fix)1. Wrong statute citation in
2. No test for PMV cap (actual value ABOVE PMV)
🟡 Should Address3. Missing dedicated unit tests for
4. Missing couple + VTR test (couple in another person's household)
5. Missing split medical facility test (one spouse in facility, other not)
6. Parameter precision:
7. Federal Register citation format in
8. No ISM-related tests in dedicated
🟢 Suggestions9. Parameter description verb in
10.
11. Variable references are URL-only (no section titles)
12. Deletion of
Validation Summary
Architecture AssessmentThe design is excellent:
Next StepsTo auto-fix issues: |
Regulatory Accuracy Follow-UpThe regulatory review completed and surfaced one additional finding that should be added to the critical/should-address list: 🟡 Community Spouse Rate When One Spouse is in Medical FacilityFile: When both spouses are ABD-eligible and one enters a medical treatment facility:
Per SSI regulations, when one spouse enters a medical facility for a full calendar month, the couple is generally treated as if living separately, and the community spouse should receive the individual FBR. The current code leaves the community spouse at the couple/2 rate. Impact: A community spouse whose partner is in a medical facility would receive $725/month instead of $967/month — a $242/month underpayment. No test covers this scenario. Case F tests both spouses in facility, but not the asymmetric (one in, one out) case. This could either be fixed in this PR or documented as a known limitation alongside the existing asymmetric couple shelter support note. Minor Regulatory Notes (Non-Blocking)
|
Summary
OWN_HOUSEHOLD(20 CFR § 416.1132(c)) — residual/defaultANOTHER_PERSONS_HOUSEHOLD(20 CFR § 416.1131–1133) — one-third reductionCHILD_IN_PARENTAL_HOUSEHOLD(20 CFR § 416.1165) — parental deemingMEDICAL_TREATMENT_FACILITY(42 USC § 1382(e)(1)(A), 20 CFR § 416.414) — $30/monthssi_shelter_support_valueinput allows actual value when less than PMVfood_countsparameter (true→false on 2024-10-01) wired into PMV trigger for historical accuracy (rule effective September 30, so September 2024 still counts food)Closes #7906
New input variables
ssi_lives_in_medical_treatment_facilityssi_medicaid_pays_majority_of_caressi_lives_in_another_persons_householdssi_receives_shelter_from_others_in_householdssi_others_pay_all_mealsssi_receives_outside_shelter_supportssi_receives_food_from_othersssi_shelter_support_valueKnown limitations
CHILD_IN_PARENTAL_HOUSEHOLDbecauseis_ssi_ineligible_parentusesis_child(age < 18). Fixing requires updating the deeming framework.Test plan
🤖 Generated with Claude Code