Repository navigation
Conversation
medicaid_optional_senior_or_disabled_countable_income and ssi_countable_income zeroed income for anyone who was not an SSI-eligible individual or spouse, and that status includes SSI's citizen and qualified-noncitizen test. Aged, blind, or disabled people who fail only that test (for example, LPRs with fewer than 40 quarters, or undocumented residents of states that cover them) therefore passed the optional ABD and medically needy Medicaid income tests, and CAPI, regardless of income. Gate the zero, and the spousal-deeming variables, on aged, blind, or disabled status instead. The zero still applies to a spouse who is not aged, blind, or disabled, whose income is deemed to the other spouse. SSI benefits are unchanged because is_ssi_eligible still applies the noncitizen test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n status Counting the own income of aged, blind or disabled people who fail SSI's noncitizen test exposed two downstream defects found in the 2026-10-19 review: - The California state supplement summed ssi_countable_income over the whole SPM unit, so a CAPI-eligible relative's income reduced an SSI recipient's supplement. CAPI budgets its own members' income (MPP 49-035), and SSI/SSP counts another member's income only when it is deemed (20 CFR 416.1160(a)), so CAPI-eligible members are left out of the sum. - Maryland PAA deemed spouse income and imputed federal SSI to people SSA cannot pay. For people who fail SSI's citizen or qualified-noncitizen test, PAA now counts only their own income and imputes no SSI (COMAR 07.03.07.07 and 07.03.07.09A). The CAPI test that encoded the federal-benefit-only standard is replaced with an over-income case that holds before and after the CAPI rework. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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
medicaid_optional_senior_or_disabled_countable_incomeandssi_countable_incomereturned $0 for anyone who was notis_ssi_eligible_individualoris_ssi_eligible_spouse.is_ssi_eligible_individualincludes SSI's citizen and qualified-noncitizen test, including the 40-quarter rule for lawful permanent residents. An aged, blind, or disabled person who failed only that test therefore had all income ignored by every program that reuses SSI methodology.Examples on
main(2025):mainis_medicaid_eligibletrueFix
The zero was meant for the deeming role: a spouse who is not aged, blind, or disabled has their income deemed to the other spouse (20 CFR 416.1163), so their own countable income must be zero to avoid counting it twice. This PR gates that zero on
is_ssi_aged_blind_disabledinstead of SSI eligibility status:medicaid_optional_senior_or_disabled_countable_income: Medicaid's ABD financial methodology follows SSI's (42 CFR 435.601) and counts the applicant's own income whether or not they meet SSI's noncitizen rules.ssi_countable_income: the medically needy path (is_medically_needy_for_medicaid) reads this variable, so it had the same bypass.defined_foronis_ssi_spousal_deeming_applies,ssi_income_deemed_from_ineligible_spouseandmedicaid_optional_senior_or_disabled_income_deemed_from_ineligible_spousemoves fromis_ssi_eligible_individualtois_ssi_aged_blind_disabled. Without this, a noncitizen married to a working spouse who is not aged, blind, or disabled would have the spouse's income ignored.For citizens and qualified noncitizens nothing changes: the old and new gates differ only for aged, blind, or disabled people who fail SSI's noncitizen test. The spouse in an eligible couple already passed the old gate, and deemed income is zero for both members of an eligible couple.
Downstream effects
uncapped_ssiisdefined_for = "is_ssi_eligible", which still applies the noncitizen test.mainits income test never reduces the benefit. With this PR it counts income; Pay California CAPI from the SSI/SSP standard per person, with spouse-to-spouse deeming #10379 makes CAPI's standard, couple split and deeming match the CAPI regulations (see merge order below).Review fixes (2026-10-21)
A local review on 2026-10-19 found six critical downstream defects that the old $0 had masked. Disposition:
ca_state_supplement.py)md_paa_countable_income.py,md_paa_imputed_federal_ssi.py)Merge order and overlaps
is_medically_needy_for_medicaid.yaml; the second to merge resolves the append.ssi_countable_income, the spousal-deeming variables and the Medicaid countable-income variables into monthly twins that keep the old SSI-eligible gates. Whichever of Limit SSI spousal-deeming child allocations to the couple's co-resident children #10146 and this PR merges second must carry the aged/blind/disabled gate into the monthly variables.Tests
Regression cases in the variable-named files:
medicaid_optional_senior_or_disabled_countable_income.yaml: single LPR with 20 quarters; mixed couple with deemed spouse wagesmedicaid_optional_senior_or_disabled_income_deemed_from_ineligible_spouse.yaml: mixed couplessi_countable_income.yaml: single LPR (SSI stays $0); mixed couplessi_income_deemed_from_ineligible_spouse.yaml: deeming applies to the noncitizen spouseis_medically_needy_for_medicaid.yaml: an over-limit case and a case that qualifies after spenddownis_medicaid_eligible.yaml: the MA and DC examples above, plus a low-income LPR who stays eligibleca_capi.yaml: an aged LPR without 40 quarters whose $24,000 pension leaves no CAPI (holds before and after Pay California CAPI from the SSI/SSP standard per person, with spouse-to-spouse deeming #10379)ca_state_supplement.yamlCase 10: an aged citizen SSI recipient sharing an SPM unit with a CAPI-eligible sibling keeps the citizen-alone supplement ($368.81 a month in 2025)md_paa.yamlCase 11: an aged LPR without 40 quarters in CARE Home Level D with a working spouse gets $998 a month ($1,478 need less her own $480)ca_sf_caap.yamlCase 15 is updated to the expectations its own comment predicted once CAPI counted income (budget unit size 2, countable income $2,000, grant $0).I scanned every YAML case with a noncitizen who is aged, blind, or disabled, and every case that pins
is_ssi_eligible_individual. No other expected values should change, and no partner contract test (tests/policy/baseline/partners/**) is affected. I did not run the tests locally; CI will validate them.Known limitations (not changed here)
ssi_claim_is_joint,is_ssi_eligible_spouse) ignores the noncitizen test. A citizen married to an aged, blind, or disabled noncitizen who fails the test is still treated as an eligible couple, not as an eligible individual with an ineligible spouse (Apply 416.1163(e)(2) to deemed SSI and identify SSI couples by marriage, not tax roles #10141 identifies SSI couples by marriage but keeps the aged/blind/disabled test).🤖 Generated with Claude Code