Refine AK, AL, and DE SSP living arrangement modeling#7998
Open
hua7450 wants to merge 8 commits intoPolicyEngine:mainfrom
Open
Refine AK, AL, and DE SSP living arrangement modeling#7998hua7450 wants to merge 8 commits intoPolicyEngine:mainfrom
hua7450 wants to merge 8 commits intoPolicyEngine:mainfrom
Conversation
Use state-scoped variable names for state-specific SSP concepts (ak_resides_in_assisted_living_home, al_ssp_payment_category, etc.) instead of fake federal-level names. Rework AL eligibility to model waiver/SNF gating and grandfathered cohort logic. 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 #7998 +/- ##
===========================================
+ Coverage 96.00% 100.00% +4.00%
===========================================
Files 1 16 +15
Lines 25 263 +238
Branches 3 0 -3
===========================================
+ Hits 24 263 +239
+ Partials 1 0 -1
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:
|
…lity logic Rename RESIDENTIAL_CARE to CERTIFIED_ADULT_CARE_SETTING to match POMS living arrangement description. Replace WorkWorld references with Delaware Code Title 16 and POMS payment levels table. Keep defined_for = StateCode.DE on de_ssp since the formula has marital-unit aggregation that is clearer with explicit eligibility gating. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Switch de_ssp to defined_for = "de_ssp_eligible" and remove redundant supplement * eligible multiplication in the return path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace direct ssi_lives_in_medical_treatment_facility & ssi_medicaid_pays_majority_of_care with the federal enum variable that already combines both. Same logic, less code. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…comment AK: Use ssi_federal_living_arrangement for both MEDICAID_FACILITY and ANOTHER_PERSONS_HOUSEHOLD, ensuring the one-third reduction conditions (shelter + meals) are required. Add test for partial conditions. DE: Add comment explaining why no uncapped_ssi > 0 check is needed, citing WorkWorld source. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (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
ak_resides_in_assisted_living_homeinstead ofssi_lives_in_assisted_living,al_ssp_payment_categoryinstead ofal_ssp_living_arrangement)ak_ssp_living_arrangementthat derives the enum from federal and state inputsRESIDENTIAL_CAREtoCERTIFIED_ADULT_CARE_SETTINGto match POMS description; upgrade references to Delaware Code and POMS payment levels tablede_sspformula withdefined_for = "de_ssp_eligible"gateNote: More states' SSP living arrangement adjustments may be added to this PR.
Test plan
🤖 Generated with Claude Code