Allow API partners to override SSI income for IL AABD calculation #7155
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 #7154
Adds a flag
il_aabd_use_reported_ssithat allows API partners to override SSI income used in IL AABD calculations. This enables showing both federal SSI entitlement and IL AABD eligibility in a single API response.Background
Illinois AABD (Aid to the Aged, Blind, and Disabled) counts federal SSI as unearned income. Since federal SSI typically exceeds IL AABD's need standard (~$822/month vs ~$943/month SSI), most SSI-eligible individuals are financially ineligible for AABD.
However, API partners want to show users:
ssi)Changes
New Variables
il_aabd_use_reported_ssi- Boolean flag (default:False)il_aabd_ssi_income- Intermediate variable that selects between calculatedssiandssi_reportedModified Files
gov/states/il/dhs/aabd/income/sources/unearned.yaml- Changedssi→il_aabd_ssi_incomeUsage
Default behavior (unchanged):
{ "employment_income": 9600, "state_code": "IL" } // Output: ssi = $7,314, il_aabd = $0 (SSI makes person ineligible)API partner override:
{ "employment_income": 9600, "state_code": "IL", "ssi_reported": 0, "il_aabd_use_reported_ssi": true } // Output: ssi = $7,314 (entitlement), il_aabd = $6,264 (if not receiving SSI)Test Coverage
il_aabd_ssi_income(4 tests)ssi_reported: 0ssi_reported