diff --git a/changelog.d/ca-capi-ssi-ssp-standard.fixed.md b/changelog.d/ca-capi-ssi-ssp-standard.fixed.md new file mode 100644 index 00000000000..f708a925b1f --- /dev/null +++ b/changelog.d/ca-capi-ssi-ssp-standard.fixed.md @@ -0,0 +1 @@ +Pay California CAPI at the SSI/SSP payment standard (with no offset since June 2019) using one standard per living arrangement, compute each eligible person's benefit on their own income, count the SSI/SSP of a spouse who receives it, apply spouse-to-spouse deeming, and stop the state supplement's dependent amount for a disabled or blind child who fails SSI's noncitizen or resource test. diff --git a/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/couple.yaml b/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/couple.yaml index 8c9c77fc547..3e76e4ce95c 100644 --- a/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/couple.yaml +++ b/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/couple.yaml @@ -1,10 +1,17 @@ -description: California reduces the Supplemental Security Income / State Supplemental Payment payment standard by this amount for couples when calculating the Cash Assistance Program for Immigrants. +description: California deducts this amount from the Supplemental Security Income and State Supplementary Payment couple standard under the Cash Assistance Program for Immigrants until June 2019. +values: + 1991-01-01: 20 + 2019-06-01: 0 metadata: unit: currency-USD - period: year - label: California CAPI couple payment standard offset + period: month + label: California CAPI couple payment standard offset reference: - - title: California Eligibility and Assistance Standards Chapter 49-050 (.1) + - title: California Eligibility and Assistance Standards Chapter 49-050 (.12) href: https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=44 -values: - 1991-01-01: 20 + - title: California Welfare and Institutions Code Section 18941 + href: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=18941 + - title: California Department of Social Services, All County Information Notice I-23-19, CAPI payment standards effective June 1, 2019 + href: https://www.cdss.ca.gov/Portals/9/ACIN/2019/I-23_19.pdf#page=2 + - title: California Department of Social Services, All County Information Notice I-59-25, CAPI payment standards for January 2026 + href: https://cdss.ca.gov/Portals/9/Additional-Resources/Letters-and-Notices/ACINs/2025/I-59_25.pdf#page=5 diff --git a/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/mixed_couple.yaml b/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/mixed_couple.yaml new file mode 100644 index 00000000000..050c39241ed --- /dev/null +++ b/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/mixed_couple.yaml @@ -0,0 +1,17 @@ +description: California deducts this amount from the Supplemental Security Income and State Supplementary Payment couple standard for mixed couples under the Cash Assistance Program for Immigrants until June 2019. +values: + 1991-01-01: 10 + 2019-06-01: 0 +metadata: + unit: currency-USD + period: month + label: California CAPI mixed couple payment standard offset + reference: + - title: California Eligibility and Assistance Standards Chapter 49-050 (.13) + href: https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=44 + - title: California Welfare and Institutions Code Section 18941 + href: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=18941 + - title: California Department of Social Services, All County Information Notice I-23-19, CAPI payment standards effective June 1, 2019 + href: https://www.cdss.ca.gov/Portals/9/ACIN/2019/I-23_19.pdf#page=2 + - title: California Department of Social Services, All County Information Notice I-59-25, CAPI payment standards for January 2026 + href: https://cdss.ca.gov/Portals/9/Additional-Resources/Letters-and-Notices/ACINs/2025/I-59_25.pdf#page=5 diff --git a/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/single.yaml b/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/single.yaml index 8ea02f39e03..db5ece35f70 100644 --- a/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/single.yaml +++ b/policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/single.yaml @@ -1,10 +1,17 @@ -description: California reduces the Supplemental Security Income / State Supplemental Payment payment standard by this amount for single filers when calculating the Cash Assistance Program for Immigrants. +description: California deducts this amount from the Supplemental Security Income and State Supplementary Payment individual standard under the Cash Assistance Program for Immigrants until June 2019. +values: + 1991-01-01: 10 + 2019-06-01: 0 metadata: unit: currency-USD - period: year - label: California CAPI single payment standard offset + period: month + label: California CAPI single payment standard offset reference: - - title: California Eligibility and Assistance Standards Chapter 49-050 (.1) + - title: California Eligibility and Assistance Standards Chapter 49-050 (.11) href: https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=44 -values: - 1991-01-01: 10 + - title: California Welfare and Institutions Code Section 18941 + href: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=18941 + - title: California Department of Social Services, All County Information Notice I-23-19, CAPI payment standards effective June 1, 2019 + href: https://www.cdss.ca.gov/Portals/9/ACIN/2019/I-23_19.pdf#page=2 + - title: California Department of Social Services, All County Information Notice I-59-25, CAPI payment standards for January 2026 + href: https://cdss.ca.gov/Portals/9/Additional-Resources/Letters-and-Notices/ACINs/2025/I-59_25.pdf#page=5 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi.yaml index a613984fefd..3d9df8abdac 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi.yaml @@ -1,40 +1,58 @@ -- name: Single eligible person - period: 2024 +- name: Case 1, single eligible person. + period: 2026 + absolute_error_margin: 0.01 input: people: person1: - ssi_amount_if_eligible: 1_000 - ca_capi_eligible_person: true - ssi_countable_income: 500 - spm_units: - spm_unit: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # 520 per month foreign pension. + pension_income: 6_240 + # SSI zeroes countable income for people who fail its immigration + # test, so the case supplies it: 520 - 20 general exclusion = 500 per + # month (6,000 per year). + ssi_countable_income: 6_000 + households: + household: members: [person1] - ca_capi_eligible: true - ca_state_supplement: 2_000 + state_code: CA + living_arrangements_allow_for_food_preparation: true output: - ca_capi: 2_490 + # Individual standard 1,233.94 (no offset since June 2019, WIC 18941), + # less countable income 500 = 733.94 per month (MPP 49-055.32). + # 733.94 x 12 = 8,807.28. + ca_capi: 8_807.28 -- name: Couple, both people eligible - period: 2024 +- name: Case 2, couple, both people eligible. + period: 2026 + absolute_error_margin: 0.01 input: people: person1: - ssi_amount_if_eligible: 1_000 - ca_capi_eligible_person: true - ssi_countable_income: 500 + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 person2: - ssi_amount_if_eligible: 1_000 - ca_capi_eligible_person: true - ssi_countable_income: 4_000 - spm_units: - spm_unit: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: members: [person1, person2] - ca_capi_eligible: true - ca_state_supplement: 4_000 + state_code: CA + living_arrangements_allow_for_food_preparation: true output: - ca_capi: 1_480 + # Couple standard 2,098.83 with no offset; each member receives one-half + # (MPP 49-055.4): 1,049.415 per month, 12,592.98 per year. The unit + # total is 2 x 12,592.98 = 25,185.96. + ca_capi_person: [12_592.98, 12_592.98] + ca_capi: 25_185.96 -- name: Integration test, ineligible +- name: Case 3, integration test, ineligible. period: 2024 input: people: @@ -51,7 +69,7 @@ output: ca_capi: 0 -- name: Integration test, SSI eligible +- name: Case 4, integration test, SSI eligible. period: 2024 input: people: @@ -73,8 +91,9 @@ ca_state_supplement: 0 ca_capi: 0 -- name: Integration test, undocumented - period: 2024 +- name: Case 5, integration test, permanent resident without 40 SSI quarters. + period: 2026 + absolute_error_margin: 0.01 input: people: person1: @@ -82,7 +101,8 @@ employment_income: 1_000 is_disabled: true meets_ssi_disability_criteria: true - immigration_status: UNDOCUMENTED + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 person2: age: 10 employment_income: 0 @@ -97,4 +117,109 @@ ca_state_supplement_blind_amount: 0 ca_state_supplement_aged_blind_disabled_amount: 0 ca_state_supplement: 0 - ca_capi: 11_306 + # Disabled individual standard 1,233.94 + no-cooking food allowance + # 128.87 (living arrangements default to no food preparation) = + # 1,362.81 per month with no offset. Earnings of 83.33 per month fall + # within the $20 + $65 exclusions, so countable income is 0 (until PR + # 10240, SSI also zeroes this income for people who fail its noncitizen + # test). 1,362.81 x 12 = 16,353.72. + ca_capi: 16_353.72 + +- name: Case 6, mixed couple, only the noncitizen spouse receives CAPI. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: CITIZEN + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The citizen receives SSI/SSP, which counts as the CAPI member's + # unearned income (MPP 49-035.221). The model pays the citizen SSI of + # 1,491 / 2 = 745.50 and a state supplement of 1,233.94 - 745.50 = + # 488.44 per month; SSA pays 994 + 239.94, the same 1,233.94 total. + # CAPI = couple standard 2,098.83 (MPP 49-050.13, no offset) - 0 income + # - 745.50 - 488.44 = 864.89 per month; 864.89 x 12 = 10,378.68. + ca_capi_person: [0, 10_378.68] + ca_capi: 10_378.68 + +- name: Case 7, two unrelated eligible people in one unit, income is not pooled. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # 1,520 per month foreign pension. + pension_income: 18_240 + # SSI zeroes countable income for people who fail its immigration + # test, so the case supplies it: 1,520 - 20 = 1,500 per month + # (18,000 per year). + ssi_countable_income: 18_000 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + tax_units: + tax_unit1: + members: [person1] + tax_unit2: + members: [person2] + marital_units: + marital_unit1: + members: [person1] + marital_unit2: + members: [person2] + spm_units: + spm_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # Each person is assessed on their own income (MPP 49-035.1, 49-055.32). + # person1: 1,500 is not lower than the 1,233.94 standard, so 0. + # person2: no income, so 1,233.94 per month; x 12 = 14,807.28. Pooling + # person1's excess income with person2's standard would lower this. + ca_capi_person: [0, 14_807.28] + ca_capi: 14_807.28 + +- name: Case 8, aged person in 2024, the independent-living standard is floored at the federal benefit rate. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The state supplement parameters hold the 1991 aged amount of 630 until + # 2025 (issue 7787). CAPI equals SSI/SSP (WIC 18941), so the standard is + # floored at the 2024 federal benefit rate: max(630, 943) = 943 per + # month with no offset and no income; 943 x 12 = 11,316. This pins a + # known-low value from the stopgap floor: the published aged standard was + # 1,182.94 (POMS SI 01415.056); issue 10480 removes the floor. + ca_capi_person: 11_316 + ca_capi: 11_316 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi_payment_standard.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi_payment_standard.yaml new file mode 100644 index 00000000000..f7fc100280d --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi_payment_standard.yaml @@ -0,0 +1,503 @@ +- name: Case 1, aged individual with cooking facilities. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # WIC 18941: the CAPI standard equals the SSI/SSP aged or disabled + # individual standard, with no offset since June 2019 (ACIN I-59-25): + # 994 + 239.94 = 1,233.94. + ca_capi_payment_standard: 1_233.94 + +- name: Case 2, aged individual without cooking facilities in 2025. + period: 2025-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: false + output: + # 2025 aged or disabled individual standard 1,206.94 + no-cooking food + # allowance 128.87 (WIC 12200(e)) = 1,335.81, above the 967 federal + # benefit rate; no offset. + ca_capi_payment_standard: 1_335.81 + +- name: Case 3, blind individual without cooking facilities gets no food allowance. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + is_blind: true + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: false + output: + # Blind individual standard 1,318.32. The no-cooking allowance applies + # only to aged or disabled people (WIC 12200(e)), so the standard stays + # 1,318.32. + ca_capi_payment_standard: 1_318.32 + +- name: Case 4, aged noncitizen couple with cooking facilities splits the couple standard. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # Both spouses are aged, so the SSI couple computation applies. + # Couple standard 2,098.83 with no offset; each member receives one-half + # (MPP 49-055.4): 2,098.83 / 2 = 1,049.415. + ca_capi_payment_standard: [1_049.415, 1_049.415] + +- name: Case 5, aged noncitizen couple without cooking facilities adds the couple food allowance. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: false + output: + # Couple standard 2,098.83 + couple no-cooking allowance 257.74 = + # 2,356.57; one-half each = 1,178.285. + ca_capi_payment_standard: [1_178.285, 1_178.285] + +- name: Case 6, noncitizen couple with one blind member uses the one-blind couple standard. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 60 + is_blind: true + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The one-blind couple standard 2,238.44 (WIC 12200(b)) exceeds the + # aged couple standard 2,098.83 and applies (MPP 49-050.27); one-half + # each = 1,119.22. + ca_capi_payment_standard: [1_119.22, 1_119.22] + +- name: Case 7, noncitizen spouse of an aged SSI/SSP recipient takes the whole couple standard. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: CITIZEN + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The citizen receives SSI/SSP, not CAPI, and counts as an eligible + # spouse (MPP 49-005(e)(3)). The CAPI member takes the whole couple + # standard (MPP 49-050.13), whose offset is 0 since June 2019 (WIC + # 18941): 2,098.83. ca_capi_person subtracts the citizen's SSI/SSP. + ca_capi_payment_standard: [0, 2_098.83] + +- name: Case 8, Title XIX medical facility resident takes the facility standard alone. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 75 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + ca_in_medical_care_facility: true + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: false + output: + # ACIN I-59-25 and POMS SI 01415.058 code J: the Title XIX medical + # facility standard is 30 + 32 = 62 (MPP 49-050.26). It replaces the + # independent-living standard, adds no food allowance and is not floored + # at the federal benefit rate. + ca_capi_payment_standard: 62 + +- name: Case 9, nonmedical out-of-home care uses one standard for every category. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 75 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + in_out_of_home_care_facility: true + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: false + output: + # ACIN I-59-25 and POMS SI 01415.058 code B: half the couple + # out-of-home care standard, (2,098.83 + 1,153.31) / 2 = 3,252.14 / 2 = + # 1,626.07 (MPP 49-050.24). No food allowance is added. + ca_capi_payment_standard: 1_626.07 + +- name: Case 10, aged and blind individual without cooking takes the higher aged amount with food. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + is_blind: true + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: false + output: + # California pays the highest category (POMS SI 01415.058 B.2): + # max(blind 1,318.32, aged 1,233.94 + food 128.87 = 1,362.81) = + # 1,362.81. The food allowance does not stack on the blind amount. + ca_capi_payment_standard: 1_362.81 + +- name: Case 11, disabled dependent child takes the disabled minor standard. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 10 + is_disabled: true + meets_ssi_disability_criteria: true + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit1: + members: [person1] + marital_unit2: + members: [person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: false + output: + # ACIN I-59-25 disabled minor 994 + 97.27 = 1,091.27 (MPP 49-050.25), + # with no food allowance. The parent is not aged, blind or disabled. + ca_capi_payment_standard: [0, 1_091.27] + +- name: Case 12, blind dependent child takes the blind standard. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 10 + is_blind: true + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit1: + members: [person1] + marital_unit2: + members: [person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # A blind child takes the blind amount, 1,318.32 (MPP 49-050.253). + ca_capi_payment_standard: [0, 1_318.32] + +- name: Case 13, aged couple with one blind member without cooking takes the aged couple rate with the food allowance. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 70 + is_blind: true + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: false + output: + # WIC 12200(e) gives the food allowance only to an aged or disabled + # individual or couple (12200(c), (d)), so the one-blind couple rate + # (12200(b)) adds none: 2,238.44. Both spouses are aged, so the aged + # couple rate without cooking also applies: 2,098.83 + 257.74 = 2,356.57, + # the higher. One-half each: 2,356.57 / 2 = 1,178.285. POMS SI 01415.058 + # code C would add 128.87 to the one-blind rate instead (2,367.31). + ca_capi_payment_standard: [1_178.285, 1_178.285] + +- name: Case 14, 2024 independent-living standard is floored at the federal benefit rate. + period: 2024-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The state supplement parameters hold the 1991 aged amount of 630 until + # 2025 (issue 7787), below the 2024 federal benefit rate of 943. CAPI + # equals SSI/SSP (WIC 18941), so the stopgap floor gives max(630, 943) = + # 943. This pins a known-low value: the published January 2024 aged + # standard is 943 + 239.94 = 1,182.94 (POMS SI 01415.056); issue 10480 + # backfills the totals and removes the floor. + ca_capi_payment_standard: 943 + +- name: Case 15, the 10 individual offset applies through May 2019 and ends in June 2019. + period: 2019 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The state supplement parameters hold the 1991 aged amount of 630 until + # 2025 (issue 7787), so the model floors the standard at the 2019 federal + # benefit rate: max(630, 771) = 771. The actual 2019 SSI/SSP standard was + # 931.72 (ACIN I-23-19), so these are known-low values from the stopgap + # floor (issue 10480). This case pins only the offset boundary: + # 771 - 10 = 761 through May 2019 (MPP 49-050.11) and 771 - 0 = 771 from + # June 1, 2019 (WIC 18941). + ca_capi_payment_standard: + 2019-05: 761 + 2019-06: 771 + +- name: Case 16, CAPI couple, the 20 couple offset applies through May 2019 and ends in June 2019. + period: 2019 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # Couple standard max(1,167, 2019 couple FBR 1,157) = 1,167 (known-low, + # issue 10480). May: (1,167 - 20) / 2 = 573.50 each (MPP 49-050.12). + # June: 1,167 / 2 = 583.50 each (WIC 18941). + ca_capi_payment_standard: + 2019-05: [573.5, 573.5] + 2019-06: [583.5, 583.5] + +- name: Case 17, mixed couple, the 10 mixed-couple offset applies through May 2019 and ends in June 2019. + period: 2019 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: CITIZEN + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The citizen is paid SSI, so the CAPI member takes the couple standard + # 1,167 (known-low, issue 10480). May: 1,167 - 10 = 1,157 (MPP + # 49-050.13). June: 1,167 (WIC 18941). + ca_capi_payment_standard: + 2019-05: [0, 1_157] + 2019-06: [0, 1_167] + +- name: Case 18, 2024 CAPI couple standard is floored at the couple federal benefit rate. + period: 2024-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # Stopgap floor: max(1,167, 2024 couple FBR 1,415) / 2 = 707.50 each. A + # known-low value: the published 2024 couple standard is higher (issue + # 10480). + ca_capi_payment_standard: [707.5, 707.5] + +- name: Case 19, 2024 out-of-home care standard is floored at the federal benefit rate. + period: 2024-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + in_out_of_home_care_facility: true + households: + household: + members: [person1] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # Stopgap floor: (1,167 + 709) / 2 = 938, floored at the 943 FBR. A + # known-low value: POMS SI 01415.056 gives 1,575.07 (issue 10480). + ca_capi_payment_standard: 943 + +- name: Case 20, CAPI couple with one spouse in a Title XIX facility is computed as two individuals. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + ca_in_medical_care_facility: true + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # With one spouse in a Title XIX facility, each is computed separately + # (20 CFR 416.414(b)(3)): the facility standard 62 (MPP 49-050.26) and + # the aged individual standard 994 + 239.94 = 1,233.94. + ca_capi_payment_standard: [62, 1_233.94] + ca_capi_person: [62, 1_233.94] diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi_person.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi_person.yaml new file mode 100644 index 00000000000..d5abc2efdd6 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi_person.yaml @@ -0,0 +1,518 @@ +- name: Case 1, aged noncitizen couple splits the couple's countable income. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # 420 per month foreign pension. + pension_income: 5_040 + # SSI zeroes countable income for people who fail its immigration + # test, so the case supplies it. The couple's countable income is + # 420 - 20 general exclusion = 400 per month, split equally as SSI + # does for a couple: 200 per month (2,400 per year) each. + ssi_countable_income: 2_400 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + ssi_countable_income: 2_400 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # Couple standard 2,098.83 (no offset since June 2019, WIC 18941), less + # the couple's countable income 400 = 1,698.83 (MPP 49-055.32); each + # member receives one-half (MPP 49-055.4): 849.415. + ca_capi_person: [849.415, 849.415] + +- name: Case 2, deemed income from an ineligible spouse below the couple FBR. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # SSI does not compute these for people who fail its immigration + # test, so the case supplies them. The spouse earns 500 per month, + # above the 497 gap between the couple and individual FBRs + # (1,491 - 994), so deeming applies. Couple countable income is + # (500 - 20 - 65) / 2 = 207.50 per month (2,490 per year), all of it + # deemed because person1 has no income of her own. + is_ssi_spousal_deeming_applies: true + ssi_income_deemed_from_ineligible_spouse: 2_490 + ssi_countable_income: 2_490 + person2: + age: 50 + employment_income: 6_000 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # POMS SI 01320.430 D. + # As an individual: federal 994 - 0 = 994; a federal benefit is due, so + # the state supplement is the full individual OSS 1,233.94 - 994 = 239.94. + # Under deeming: federal 1,491 - 207.50 = 1,283.50; a federal benefit is + # due, so the state supplement is the couple OSS 2,098.83 - 1,491 = 607.83. + # Federal = min(994, 1,283.50) = 994; state = min(239.94, 607.83) = 239.94. + # CAPI = 994 + 239.94 = 1,233.94 (no offset since June 2019). + ca_capi_person: [1_233.94, 0] + +- name: Case 3, deemed income above the couple FBR reduces the couple state supplement. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # Supplied for the reason in Case 2. The spouse earns 3,867 per + # month; couple countable income is (3,867 - 85) / 2 = 1,891 per + # month (22,692 per year), all deemed. + is_ssi_spousal_deeming_applies: true + ssi_income_deemed_from_ineligible_spouse: 22_692 + ssi_countable_income: 22_692 + person2: + age: 50 + employment_income: 46_404 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # POMS SI 01320.430 D. + # As an individual: federal 994; state supplement 239.94. + # Under deeming: 1,891 exceeds the couple FBR 1,491 by 400, so no federal + # benefit; state supplement = couple OSS 607.83 - 400 = 207.83. + # Federal = min(994, 0) = 0; state = min(239.94, 207.83) = 207.83. + # CAPI = 0 + 207.83 = 207.83. + ca_capi_person: [207.83, 0] + +- name: Case 4, blind noncitizen with an ineligible spouse uses the two-blind couple rate under deeming. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 45 + is_blind: true + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # Supplied for the reason in Case 2. The spouse earns 4,267 per + # month; couple countable income is (4,267 - 85) / 2 = 2,091 per + # month (25,092 per year), all deemed. + is_ssi_spousal_deeming_applies: true + ssi_income_deemed_from_ineligible_spouse: 25_092 + ssi_countable_income: 25_092 + person2: + age: 42 + employment_income: 51_204 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # POMS SI 01320.430 C.7 and D. + # As an individual: federal 994; state supplement = blind individual + # OSS 1,318.32 - 994 = 324.32. + # Under deeming the ineligible spouse is treated as blind too, so the + # couple OSS is the two-blind rate 2,324.35 - 1,491 = 833.35. 2,091 + # exceeds the couple FBR by 600, so no federal benefit; state supplement + # = 833.35 - 600 = 233.35. + # Federal = 0; state = min(324.32, 233.35) = 233.35. + # CAPI = 0 + 233.35 = 233.35. + ca_capi_person: [233.35, 0] + +- name: Case 5, deeming with the CAPI person's own income uses the couple federal amount. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # 320 per month foreign pension; own countable income is 320 - 20 = + # 300 per month. + pension_income: 3_840 + # Supplied for the reason in Case 2. The spouse earns 2,000 per + # month, so (2,000 - 65) / 2 = 967.50 per month (11,610 per year) is + # deemed, and countable income is 300 + 967.50 = 1,267.50 per month + # (15,210 per year). + is_ssi_spousal_deeming_applies: true + ssi_income_deemed_from_ineligible_spouse: 11_610 + ssi_countable_income: 15_210 + person2: + age: 50 + employment_income: 24_000 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # POMS SI 01320.430 D. + # As an individual: federal 994 - 300 = 694; a federal benefit is due, + # so the state supplement is the full individual OSS 239.94. + # Under deeming: federal 1,491 - 1,267.50 = 223.50; a federal benefit is + # due, so the state supplement is the couple OSS 607.83. + # Federal = min(694, 223.50) = 223.50; state = min(239.94, 607.83) = + # 239.94. CAPI = 223.50 + 239.94 = 463.44. + ca_capi_person: [463.44, 0] + +- name: Case 6, mixed couple subtracts the couple's income and the spouse's SSI/SSP from the couple standard. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: CITIZEN + # SSA treats the noncitizen as an ineligible spouse whose 420 pension + # is below the 497 deeming threshold (1,491 - 994), so the citizen + # receives the individual rate with no countable income: SSI 994 + # plus state supplement 239.94 (POMS SI 01415.058). The case supplies + # these, since the model's split of the couple's SSI and income is + # being reworked separately. + ssi: 994 + ssi_countable_income: 0 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # 420 per month foreign pension; countable income is 420 - 20 = 400 + # per month (4,800 per year), supplied as in Case 1. + pension_income: 5_040 + ssi_countable_income: 4_800 + marital_units: + marital_unit: + members: [person1, person2] + spm_units: + spm_unit: + members: [person1, person2] + ca_state_supplement: 239.94 + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The CAPI member takes the couple standard 2,098.83 (MPP 49-050.13, no + # offset since June 2019). The couple's countable income 0 + 400 (MPP + # 49-055.32) and the citizen's SSI/SSP 994 + 239.94, counted as unearned + # income based on need (MPP 49-035.221), are subtracted: + # 2,098.83 - 400 - 994 - 239.94 = 464.89. + ca_capi_payment_standard: [0, 2_098.83] + ca_capi_person: [0, 464.89] + +- name: Case 7, Title XIX facility resident is paid on own income without deeming. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 75 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + ca_in_medical_care_facility: true + # 40 per month foreign pension; own countable income is 40 - 20 = 20 + # per month. + pension_income: 480 + # Supplied as SSI deeming would compute them at home. The spouse + # earns 1,200 per month, so (1,200 - 65) / 2 = 567.50 per month + # (6,810 per year) is deemed, and countable income is 20 + 567.50 = + # 587.50 per month (7,050 per year). + is_ssi_spousal_deeming_applies: true + ssi_income_deemed_from_ineligible_spouse: 6_810 + ssi_countable_income: 7_050 + person2: + age: 50 + employment_income: 14_400 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # Deeming needs an ineligible spouse living in the same household (20 + # CFR 416.1160(a)(1)), so the resident is paid the Title XIX standard 62 + # less own income 20 = 42. Deeming would give + # max(min(994 - 20, 1,491 - 587.50) + (62 - 994), 0) = 0, and subtracting + # the deemed income would give max(62 - 587.50, 0) = 0. + ca_capi_payment_standard: [62, 0] + ca_capi_person: [42, 0] + +- name: Case 8, aged citizen spouse with income too high for SSI/SSP is an ineligible spouse, so CAPI deems the spouse's income. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: CITIZEN + # 1,600 a month; countable 1,580 after the $20 exclusion. + social_security: 19_200 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The spouse is paid no SSI/SSP, so is an ineligible spouse (MPP + # 49-005(i)(2)). POMS SI 01320.430 D: federal min(994, 1,491 - 1,580) -> 0; + # state min(239.94, 607.83 - (1,580 - 1,491)) = 239.94. + ssi: [0, 0] + ca_state_supplement: 0 + # The CAPI member is an eligible individual, so the individual standard. + ca_capi_payment_standard: [0, 1_233.94] + ca_capi_person: [0, 239.94] + +- name: Case 9, spouse income above the couple state supplement leaves the couple state part. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: CITIZEN + # 2,000 a month; countable 1,980 after the $20 exclusion. + social_security: 24_000 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # POMS SI 01320.430 D: federal 0; state min(239.94, 607.83 - (1,980 - + # 1,491)) = min(239.94, 118.83) = 118.83. + ca_capi_person: [0, 118.83] + +- name: Case 10, deeming keeps the 10 individual offset through May 2019. + period: 2019 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # Supplied as in Case 2. The spouse earns 500 per month; couple + # countable income (500 - 20 - 65) / 2 = 207.50 per month, all deemed. + is_ssi_spousal_deeming_applies: true + ssi_income_deemed_from_ineligible_spouse: 2_490 + ssi_countable_income: 2_490 + person2: + age: 50 + employment_income: 6_000 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # Standards max(630, 771) = 771 and max(1,167, 1,157) = 1,167 (known-low, + # issue 10480). Federal min(771, 1,157 - 207.50) = 771; state 0. + # May: 771 - 10 = 761 (MPP 49-050.11); June: 771 (WIC 18941). + ca_capi_person: + 2019-05: [761, 0] + 2019-06: [771, 0] + +- name: Case 11, mixed couple where the SSI/SSP spouse has the income subtracts the couple's income. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: CITIZEN + # 420 per month pension; countable 400 per month (4,800 per year). + # Supplied as SSA would pay: SSI 994 - 400 = 594 and the state + # supplement 239.94. + pension_income: 5_040 + ssi: 594 + ssi_countable_income: 4_800 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + ssi_countable_income: 0 + marital_units: + marital_unit: + members: [person1, person2] + spm_units: + spm_unit: + members: [person1, person2] + ca_state_supplement: 239.94 + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The couple's countable income counts, whichever spouse has it (MPP + # 49-055.32): 2,098.83 - 400 - 594 - 239.94 = 864.89. + ca_capi_person: [0, 864.89] + +- name: Case 12, mixed couple with a disabled noncitizen child, the child's standard does not reduce the CAPI spouse. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: CITIZEN + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person3: + age: 10 + is_disabled: true + meets_ssi_disability_criteria: true + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit1: + members: [person1, person2] + marital_unit2: + members: [person3] + households: + household: + members: [person1, person2, person3] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The child fails SSI's noncitizen test, so the state supplement leaves + # out the child's standard and CAPI pays it: 994 + 97.27 = 1,091.27. The + # citizen gets 745.50 SSI and 1,233.94 - 745.50 = 488.44 supplement, so + # the CAPI spouse gets 2,098.83 - 745.50 - 488.44 = 864.89. + ca_capi_person: [0, 864.89, 1_091.27] + +- name: Case 13, one CAPI person with a spouse who is not aged, blind or disabled and earns below the deeming threshold. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 50 + employment_income: 3_600 # 300 a month + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # 300 a month is below the 1,491 - 994 = 497 deeming threshold, so + # nothing is deemed and the individual standard applies: 1,233.94. + ca_capi_payment_standard: [1_233.94, 0] + ca_capi_person: [1_233.94, 0] + +- name: Case 14, couple with one spouse in a Title XIX facility, each spouse's own income counts. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + ca_in_medical_care_facility: true + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # 1,000 a month; countable 980 after the $20 exclusion. + social_security: 12_000 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # 20 CFR 416.414(b)(3): each spouse's own countable income comes off + # that spouse's standard: 62 - 0 = 62 and 1,233.94 - 980 = 253.94. + ca_capi_person: [62, 253.94] + +- name: Case 15, couple with one spouse in a Title XIX facility, the facility resident's income stays with that spouse. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + ca_in_medical_care_facility: true + # 1,000 a month; countable 980 after the $20 exclusion. + social_security: 12_000 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # 20 CFR 416.414(b)(3): max(62 - 980, 0) = 0 and 1,233.94 - 0 = 1,233.94. + ca_capi_person: [0, 1_233.94] diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible_person.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible_person.yaml index 4991ca5f673..4fb7e48ac51 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible_person.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible_person.yaml @@ -1,30 +1,52 @@ -- name: Eligible person - undocumented +- name: Case 1, eligible person, undocumented. period: 2023 input: is_ssi_aged_blind_disabled: true - is_ssi_eligible_spouse: false immigration_status: UNDOCUMENTED state_code: CA output: ca_capi_eligible_person: true -- name: Citizens are not eligible +- name: Case 2, citizens are not eligible. period: 2023 input: is_ssi_aged_blind_disabled: true - is_ssi_eligible_spouse: false immigration_status: CITIZEN state_code: CA output: ca_capi_eligible_person: false -- name: Eligible person - legal permanent resident - not enough qualifying quarters for ssi +- name: Case 3, eligible person, permanent resident without enough qualifying quarters for SSI. period: 2023 input: is_ssi_aged_blind_disabled: true - is_ssi_eligible_spouse: false immigration_status: LEGAL_PERMANENT_RESIDENT ssi_qualifying_quarters_earnings: 39 state_code: CA output: ca_capi_eligible_person: true + +- name: Case 4, eligible couple, both spouses aged permanent residents without 40 SSI quarters. + period: 2026 + input: + people: + person1: + age: 72 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 68 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + output: + # person2 is the tax-unit spouse of an aged couple. Each member of an + # eligible couple receives CAPI (MPP 49-055.4), so the spouse is eligible + # too. + ca_capi_eligible_person: [true, true] diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_income_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_income_eligible.yaml index a33d38fa225..cbcbbc8e195 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_income_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_income_eligible.yaml @@ -1,21 +1,64 @@ -- name: Ineligible - period: 2024 +- name: Case 1, ineligible, countable income one dollar above the payment standard. + period: 2026 input: - ssi_amount_if_eligible: 2_000 - ca_state_supplement_payment_standard: 1_000 - ssi_countable_income: 3_001 - ca_capi_eligible_person: true + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # SSI zeroes countable income for people who fail its immigration test, + # so the case supplies it: 1,234.94 per month (14,819.28 per year). + ssi_countable_income: 14_819.28 + living_arrangements_allow_for_food_preparation: true state_code: CA output: + # Standard 1,233.94 with no offset since June 2019 (WIC 18941). + # Countable income must be lower than the standard (MPP 49-035.1); + # 1,234.94 is not, so there is no CAPI. ca_capi_income_eligible: false -- name: Eligible - period: 2024 +- name: Case 2, eligible, countable income one dollar below the payment standard. + period: 2026 input: - ssi_amount_if_eligible: 2_000 - ca_state_supplement_payment_standard: 1_000 - ssi_countable_income: 2_999 - ca_capi_eligible_person: true + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # Supplied as above: 1,232.94 per month (14,795.28 per year). + ssi_countable_income: 14_795.28 + living_arrangements_allow_for_food_preparation: true state_code: CA output: + # 1,232.94 is lower than the 1,233.94 standard: 1 per month of CAPI. ca_capi_income_eligible: true + +- name: Case 3, ineligible, income deemed from a high-earning spouse exhausts the couple state supplement. + period: 2026 + input: + people: + person1: + age: 70 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + # SSI does not compute these for people who fail its immigration + # test, so the case supplies them. The spouse earns 5,000 per month; + # couple countable income is (5,000 - 20 - 65) / 2 = 2,457.50 per + # month (29,490 per year), all deemed. + is_ssi_spousal_deeming_applies: true + ssi_income_deemed_from_ineligible_spouse: 29_490 + ssi_countable_income: 29_490 + person2: + age: 50 + employment_income: 60_000 + marital_units: + marital_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # POMS SI 01320.430 D. As an individual: federal 994, state 239.94. + # Under deeming: 2,457.50 exceeds the couple FBR 1,491 by 966.50, which + # exceeds the couple OSS 607.83, so neither a federal benefit nor a + # state supplement is due. Federal = 0, state = min(239.94, 607.83 - + # 966.50) = -358.67, and CAPI = max(0 - 358.67, 0) = 0 in every month. + ca_capi_income_eligible: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/ca_state_supplement_dependent_amount.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/ca_state_supplement_dependent_amount.yaml index dad1e1563fa..579447c1979 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/ca_state_supplement_dependent_amount.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/ca_state_supplement_dependent_amount.yaml @@ -68,3 +68,83 @@ state_code: CA output: ca_state_supplement_dependent_amount: 5_988 + +- name: Case 4, disabled noncitizen child who fails SSI's noncitizen test gets CAPI, not the state supplement. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + person2: + age: 10 + is_disabled: true + meets_ssi_disability_criteria: true + immigration_status: LEGAL_PERMANENT_RESIDENT + ssi_qualifying_quarters_earnings: 39 + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The child fails SSI's 40-quarter test, so the state supplement leaves + # out the child's standard (WIC 18938, 18941) and CAPI pays the disabled + # minor standard 994 + 97.27 = 1,091.27. + ca_capi_person: [0, 1_091.27] + ca_state_supplement_dependent_amount: 0 + ca_state_supplement: 0 + +- name: Case 5, disabled citizen child keeps the state supplement above SSI. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: CITIZEN + person2: + age: 10 + is_disabled: true + meets_ssi_disability_criteria: true + immigration_status: CITIZEN + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # SSI 994; the state supplement tops the child up to the disabled minor + # standard: 1,091.27 - 994 = 97.27. + ssi: [0, 994] + ca_state_supplement: 97.27 + +- name: Case 6, disabled citizen child who fails SSI's resource test gets no state supplement. + period: 2026-01 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: CITIZEN + person2: + age: 10 + is_disabled: true + meets_ssi_disability_criteria: true + immigration_status: CITIZEN + bank_account_assets: + '2026': 3_000 + households: + household: + members: [person1, person2] + state_code: CA + living_arrangements_allow_for_food_preparation: true + output: + # The child's 3,000 of countable resources exceed SSI's 2,000 limit (20 + # CFR 416.1205), so the child gets no SSI and no dependent amount. + meets_ssi_resource_test: [true, false] + ssi: [0, 0] + ca_state_supplement_dependent_amount: 0 + ca_state_supplement: 0 diff --git a/policyengine_us/variables/gov/states/ca/cdss/capi/_ca_capi_ssi_ssp_standard.py b/policyengine_us/variables/gov/states/ca/cdss/capi/_ca_capi_ssi_ssp_standard.py new file mode 100644 index 00000000000..1461cb59c89 --- /dev/null +++ b/policyengine_us/variables/gov/states/ca/cdss/capi/_ca_capi_ssi_ssp_standard.py @@ -0,0 +1,139 @@ +from policyengine_us.model_api import * +from policyengine_us.variables.gov.ssa.ssi.eligibility.status.ssi_federal_living_arrangement import ( + SSIFederalLivingArrangement, +) + + +def ca_capi_in_title_xix_facility(person, period): + """Whether a person lives in a Title XIX medical facility (MPP 49-050.26). + + Reads both the California input and SSI's living arrangement. + """ + arrangement = person("ssi_federal_living_arrangement", period) + return person("ca_in_medical_care_facility", period.this_year) | ( + arrangement == SSIFederalLivingArrangement.MEDICAL_TREATMENT_FACILITY + ) + + +def ca_capi_couple_computation(person, period): + """Whether CAPI computes the person with their spouse as a couple. + + SSI's couple computation, except that a couple with exactly one spouse in + a Title XIX facility is computed separately (20 CFR 416.414(b)(3)), when + only the California facility input marks it. + """ + in_facility = ca_capi_in_title_xix_facility(person, period) + one_in_facility = person.marital_unit.sum(in_facility) == 1 + return person("ssi_couple_computation_applies", period) & ~one_in_facility + + +def ca_capi_spouse_ssi_ssp(person, period): + """Return the SSI and state supplement paid to the person's spouse. + + Only a spouse who is not CAPI-eligible counts. ca_state_supplement is an + SPM-unit amount, so as a simplification the spouse's share is pro rata + among the unit's members eligible for it; a citizen disabled child's + supplement in the unit is then attributed to the spouse. + """ + spouse = ~person("ca_capi_eligible_person", period.this_year) + spouse_ssi = person.marital_unit.sum(person("ssi", period) * spouse) + ssp_eligible = person("ca_state_supplement_eligible_person", period) + spouse_ssp_share = person.marital_unit.sum(ssp_eligible * spouse) / max_( + person.spm_unit.sum(ssp_eligible), 1 + ) + spouse_ssp = spouse_ssp_share * person.spm_unit("ca_state_supplement", period) + return spouse_ssi + spouse_ssp + + +def ca_capi_ssi_ssp_standard(person, period, parameters): + """Return a person's monthly SSI/SSP individual and couple standards. + + CAPI equals SSI/SSP (WIC 18941), and the living arrangement selects one + standard (MPP 49-050.2; POMS SI 01415.058 B): + - Title XIX medical facility: the facility standard alone (MPP 49-050.26). + - Non-medical out-of-home care: one standard for every category, half the + couple amount per person (WIC 12200(g); MPP 49-050.24). + - Independent living: the highest category the person or couple qualifies + for; the no-cooking allowance goes only with the aged or disabled amount + (WIC 12200(e)), not the one-blind couple rate (12200(b)). + Outside an SSI couple computation the ineligible spouse takes the person's + category (POMS SI 01320.430 C.7). + NOTE: reduced-needs standards (POMS SI 01415.058 code D) are not modeled + (issue 7892). + """ + p = parameters(period).gov.states.ca.cdss.state_supplement.payment_standard + fbr = parameters(period).gov.ssa.ssi.amount + age = person("monthly_age", period) + child = person("is_tax_unit_dependent", period.this_year) & ( + age < p.dependent.age_limit + ) + blind = person("is_blind", period.this_year) + aged_or_disabled = (age >= p.aged_or_disabled.age_threshold) | person( + "is_ssi_disabled", period.this_year + ) + # NOTE: living_arrangements_allow_for_food_preparation has no default + # value and the microdata do not set it, so every aged or disabled + # person gets the no-cooking allowance (+$128.87 a month in 2026, +$257.74 + # for a couple) unless it is set (issue 10296). + no_cooking = ~person.household( + "living_arrangements_allow_for_food_preparation", period.this_year + ) + medical_facility = ca_capi_in_title_xix_facility(person, period) + out_of_home_care = person("in_out_of_home_care_facility", period.this_year) + out_of_home_care_share = ( + p.aged_or_disabled.amount.married + p.allowance.out_of_home_care + ) / 2 + + community_individual = max_( + blind * p.blind.single, + aged_or_disabled + * where( + child, + p.dependent.amount, + p.aged_or_disabled.amount.single + no_cooking * p.allowance.food.single, + ), + ) + + joint = ca_capi_couple_computation(person, period) + blind_count = where(joint, person.marital_unit.sum(blind), 2 * blind) + aged_or_disabled_count = where( + joint, person.marital_unit.sum(aged_or_disabled), 2 * aged_or_disabled + ) + two_blind = (blind_count > 1) * p.blind.married.two_blind + one_blind = (blind_count == 1) * p.blind.married.one_blind + # NOTE: a couple with one aged or disabled member always has a blind + # member, whose rate is higher, so the second branch is only a guard. + aged_or_disabled_couple = select( + [aged_or_disabled_count > 1, aged_or_disabled_count == 1], + [ + p.aged_or_disabled.amount.married + no_cooking * p.allowance.food.married, + p.aged_or_disabled.amount.single + no_cooking * p.allowance.food.single, + ], + default=0, + ) + community_couple = max_(max_(two_blind, one_blind), aged_or_disabled_couple) + + # Stopgap: the state supplement amounts hold 1991 totals until 2025, + # below the federal benefit rate from 2008, so the independent-living and + # out-of-home care standards are floored at that rate (SSI alone pays at + # least it, and CAPI equals SSI/SSP under WIC 18941). This still leaves + # out the whole state supplement before 2025; issue 10480 backfills the + # totals and removes the floor. + individual = select( + [medical_facility, out_of_home_care], + [ + p.allowance.medical_care_facility, + max_(out_of_home_care_share, fbr.individual), + ], + default=max_(community_individual, fbr.individual), + ) + couple_share = select( + [medical_facility, out_of_home_care], + [ + p.allowance.medical_care_facility, + max_(out_of_home_care_share, fbr.couple / 2), + ], + default=max_(community_couple / 2, fbr.couple / 2), + ) + couple = where(joint, person.marital_unit.sum(couple_share), 2 * couple_share) + return individual, couple diff --git a/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi.py b/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi.py index c7d975049b2..ddf4a41ed0c 100644 --- a/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi.py +++ b/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi.py @@ -8,21 +8,8 @@ class ca_capi(Variable): label = "California CAPI" definition_period = YEAR defined_for = "ca_capi_eligible" - reference = "https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf" + reference = ( + "https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=47" + ) - def formula(spm_unit, period, parameters): - state_supplement_payment_standard = spm_unit("ca_state_supplement", period) - person = spm_unit.members - ssi_amount_if_eligible = person("ssi_amount_if_eligible", period) - eligible_person = person("ca_capi_eligible_person", period) - total_ssi_amount = spm_unit.sum(ssi_amount_if_eligible * eligible_person) - payment_standard = state_supplement_payment_standard + total_ssi_amount - p = parameters(period).gov.states.ca.cdss.capi.payment_standard_offset - married = spm_unit("spm_unit_is_married", period) - offset = where(married, p.couple, p.single) - total_payment_standard = max_(payment_standard - offset, 0) - person = spm_unit.members - countable_income = spm_unit.sum( - (person("ssi_countable_income", period) * eligible_person) - ) - return max_(0, total_payment_standard - countable_income) + adds = ["ca_capi_person"] diff --git a/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi_payment_standard.py b/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi_payment_standard.py new file mode 100644 index 00000000000..a7a86fb37f2 --- /dev/null +++ b/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi_payment_standard.py @@ -0,0 +1,45 @@ +from policyengine_us.model_api import * +from policyengine_us.variables.gov.states.ca.cdss.capi._ca_capi_ssi_ssp_standard import ( + ca_capi_couple_computation, + ca_capi_spouse_ssi_ssp, + ca_capi_ssi_ssp_standard, +) + + +class ca_capi_payment_standard(Variable): + value_type = float + entity = Person + label = "California CAPI payment standard" + unit = USD + definition_period = MONTH + defined_for = "ca_capi_eligible_person" + reference = ( + # PDF pages 3,44-47 + "https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=3", + "https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=12200", + "https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=18941", + "https://secure.ssa.gov/apps10/poms.nsf/lnx/0501415058", + "https://cdss.ca.gov/Portals/9/Additional-Resources/Letters-and-Notices/ACINs/2025/I-59_25.pdf#page=5", + ) + + def formula(person, period, parameters): + individual, couple = ca_capi_ssi_ssp_standard(person, period, parameters) + p = parameters(period).gov.states.ca.cdss.capi.payment_standard_offset + joint = ca_capi_couple_computation(person, period) + capi_members = person.marital_unit.sum( + person("ca_capi_eligible_person", period.this_year) + ) + # Each member of a CAPI couple takes one-half (MPP 49-050.12, 49-055.4). + both_capi = joint & (capi_members > 1) + # A spouse receiving SSI/SSP counts as an eligible spouse (MPP + # 49-005(e)(3)), so the CAPI member of a mixed couple takes the whole + # couple standard (MPP 49-050.13) and ca_capi_person subtracts that + # spouse's SSI/SSP. A spouse paid neither is an ineligible spouse (MPP + # 49-005(i)(2)), so the CAPI member takes the individual standard. + spouse_paid = ca_capi_spouse_ssi_ssp(person, period) > 0 + mixed = joint & ~both_capi & spouse_paid + return select( + [both_capi, mixed], + [(couple - p.couple) / 2, couple - p.mixed_couple], + default=individual - p.single, + ) diff --git a/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi_person.py b/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi_person.py new file mode 100644 index 00000000000..8c21e8748a4 --- /dev/null +++ b/policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi_person.py @@ -0,0 +1,116 @@ +from policyengine_us.model_api import * +from policyengine_us.variables.gov.ssa.ssi.eligibility.income._apply_ssi_exclusions import ( + _apply_ssi_exclusions, +) +from policyengine_us.variables.gov.states.ca.cdss.capi._ca_capi_ssi_ssp_standard import ( + ca_capi_couple_computation, + ca_capi_in_title_xix_facility, + ca_capi_spouse_ssi_ssp, + ca_capi_ssi_ssp_standard, +) + + +class ca_capi_person(Variable): + value_type = float + entity = Person + label = "California CAPI amount per person" + unit = USD + definition_period = MONTH + defined_for = "ca_capi_eligible_person" + reference = ( + # PDF pages 3-4,25,30,47 + "https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=3", + "https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=18940", + "https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=18941", + "https://secure.ssa.gov/poms.nsf/lnx/0501320430", + "https://www.law.cornell.edu/cfr/text/20/416.1160", + ) + + def formula(person, period, parameters): + # When only the California facility input separates a couple that SSI + # computes jointly, ssi_countable_income holds half the couple's + # income; each spouse's own income counts (20 CFR 416.414(b)(3)). + # NOTE: this own income leaves out in-kind support and the student + # earned income exclusion, which SSI's joint computation would apply. + separated = person( + "ssi_couple_computation_applies", period + ) & ~ca_capi_couple_computation(person, period) + own_alone = ( + _apply_ssi_exclusions( + person("ssi_earned_income", period.this_year), + person("ssi_unearned_income", period.this_year), + parameters, + period.this_year, + ) + / MONTHS_IN_YEAR + ) + countable_income = where( + separated, own_alone, person("ssi_countable_income", period) + ) + payment_standard = person("ca_capi_payment_standard", period) + deemed_income = person("ssi_income_deemed_from_ineligible_spouse", period) + own_income = max_(countable_income - deemed_income, 0) + # Deeming needs an ineligible spouse living in the same household + # (20 CFR 416.1160(a)(1)), so a Title XIX facility resident counts + # only their own income. + medical_facility = ca_capi_in_title_xix_facility(person, period) + income = where(medical_facility, own_income, countable_income) + # NOTE: the reduced-needs standards for another person's household are + # not modeled (issue 7892), so those recipients get the + # independent-living standard. + benefit = max_(payment_standard - income, 0) + + # Mixed couple: the spouse's SSI/SSP counts as unearned income based on + # need (MPP 49-035.221), subtracted with the couple's countable income + # from the couple standard (MPP 49-055.32). + # NOTE: SSI couple status ignores SSI's noncitizen test, so the model + # can still pay such a spouse SSI that SSA would not (issue 10481). + capi_eligible = person("ca_capi_eligible_person", period.this_year) + joint = ca_capi_couple_computation(person, period) + couple_with_spouse = joint & ~(person.marital_unit.sum(capi_eligible) > 1) + spouse_ssi_ssp = ca_capi_spouse_ssi_ssp(person, period) + couple_income = person.marital_unit.sum(countable_income) + # A spouse counts as an eligible spouse only while receiving SSI/SSP + # (MPP 49-005(e)(3), 49-050.13). A spouse paid neither is an + # ineligible spouse (MPP 49-005(i)(2)), whose income is deemed. + spouse_paid = spouse_ssi_ssp > 0 + mixed = couple_with_spouse & spouse_paid + unpaid_spouse = couple_with_spouse & ~spouse_paid + mixed_benefit = max_(payment_standard - couple_income - spouse_ssi_ssp, 0) + + # MPP 49-035.71 follows the SSI spouse-to-spouse deeming steps: the + # federal and state parts are each the lesser of the individual and the + # deeming computation (POMS SI 01320.430 D; WIC 18940(b), 18941). The + # 1999 CAPI form SOC 452 takes the lesser of the two totals instead. + # NOTE: the federal parts use the independent-living benefit rates. + individual_standard, couple_standard = ca_capi_ssi_ssp_standard( + person, period, parameters + ) + fbr = parameters(period).gov.ssa.ssi.amount + individual_federal = fbr.individual - own_income + deeming_income = where(unpaid_spouse, couple_income, countable_income) + couple_federal = fbr.couple - deeming_income + federal = max_(min_(individual_federal, couple_federal), 0) + individual_supplement = individual_standard - fbr.individual + # NOTE: a guard (POMS SI 01320.430 C.4.c); the couple state part exceeds + # the individual part in every modeled year. + couple_supplement = max_(couple_standard - fbr.couple, individual_supplement) + # Income above a federal rate reduces the matching state supplement. + supplement = min_( + individual_supplement + min_(individual_federal, 0), + couple_supplement + min_(couple_federal, 0), + ) + p = parameters(period).gov.states.ca.cdss.capi.payment_standard_offset + deemed_benefit = max_(federal + supplement - p.single, 0) + # NOTE: until PR 10240 counts the income of people who fail SSI's + # noncitizen test, deeming from a spouse who is not aged, blind or + # disabled runs only with supplied inputs. + deeming = ( + (person("is_ssi_spousal_deeming_applies", period.this_year) & ~joint) + | unpaid_spouse + ) & ~medical_facility + return select( + [mixed, deeming], + [mixed_benefit, deemed_benefit], + default=benefit, + ) diff --git a/policyengine_us/variables/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible_person.py b/policyengine_us/variables/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible_person.py index 6309ee13c10..7cb73540e17 100644 --- a/policyengine_us/variables/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible_person.py +++ b/policyengine_us/variables/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible_person.py @@ -7,18 +7,16 @@ class ca_capi_eligible_person(Variable): label = "California CAPI eligible person" definition_period = YEAR defined_for = StateCode.CA - reference = "https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf" + # PDF pages 10,47 + reference = ( + "https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=10" + ) def formula(person, period, parameters): + # Both members of a couple can be eligible (MPP 49-055.4). aged_blind_disabled = person("is_ssi_aged_blind_disabled", period) - is_ssi_eligible_spouse = person("is_ssi_eligible_spouse", period) immigration_status = person("immigration_status", period) is_citizen = immigration_status == immigration_status.possible_values.CITIZEN is_qualified_noncitizen = person("is_ssi_qualified_noncitizen", period) - return ( - aged_blind_disabled - & ~is_ssi_eligible_spouse - & ~is_citizen - & ~is_qualified_noncitizen - ) + return aged_blind_disabled & ~is_citizen & ~is_qualified_noncitizen diff --git a/policyengine_us/variables/gov/states/ca/cdss/capi/eligibility/ca_capi_income_eligible.py b/policyengine_us/variables/gov/states/ca/cdss/capi/eligibility/ca_capi_income_eligible.py index ed3148b592d..a3351201fbf 100644 --- a/policyengine_us/variables/gov/states/ca/cdss/capi/eligibility/ca_capi_income_eligible.py +++ b/policyengine_us/variables/gov/states/ca/cdss/capi/eligibility/ca_capi_income_eligible.py @@ -7,17 +7,11 @@ class ca_capi_income_eligible(Variable): label = "California CAPI income eligible" definition_period = YEAR defined_for = StateCode.CA - reference = "https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf" + reference = ( + "https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=25" + ) def formula(spm_unit, period, parameters): - payment_standard = add( - spm_unit, - period, - ["ssi_amount_if_eligible", "ca_state_supplement_payment_standard"], - ) - person = spm_unit.members - eligible_person = person("ca_capi_eligible_person", period) - countable_income = spm_unit.sum( - (person("ssi_countable_income", period) * eligible_person) - ) - return payment_standard > countable_income + # MPP 49-035.1 compares each individual's or couple's countable income + # with the CAPI payment standard; a payment remains only when it is lower. + return add(spm_unit, period, ["ca_capi_person"]) > 0 diff --git a/policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_dependent_amount.py b/policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_dependent_amount.py index fd35064bcfd..aa37b9ab887 100644 --- a/policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_dependent_amount.py +++ b/policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_dependent_amount.py @@ -20,7 +20,17 @@ def formula(spm_unit, period, parameters): # Dependent amount dependent = person("is_tax_unit_dependent", period) dependent_age_eligible = age < p.dependent.age_limit + # The child must meet the SSI/SSP conditions that + # ca_state_supplement_eligible_person applies to adults; a child who + # fails SSI's noncitizen test gets CAPI instead (WIC 18938, 18941). + immigration_status = person("immigration_status", period.this_year) + is_citizen = immigration_status == immigration_status.possible_values.CITIZEN + is_qualified_noncitizen = person( + "is_ssi_qualified_noncitizen", period.this_year + ) + meets_resource_test = person("meets_ssi_resource_test", period) + eligible = meets_resource_test & (is_citizen | is_qualified_noncitizen) dependent_count = spm_unit.sum( - dependent & dependent_age_eligible & (is_ssi_disabled | blind) + dependent & dependent_age_eligible & (is_ssi_disabled | blind) & eligible ) return dependent_count * p.dependent.amount diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 51cfa31ec71..179d62dd93c 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -883,6 +883,85 @@ candidates: prs: [] state: unreviewed note: Verify the legal basis for the amended-return remedy and treatment of exactly $3,000. +- id: us-ca:capi-payment-standard-offset + program: capi + years: + from: 2019 + type: calendar + question: From June 1, 2019, do CAPI payment standards equal the SSI/SSP standards, or remain $10 (individual), + $20 (CAPI couple) or $10 (couple with one SSI/SSP member) below them as the regulations state? + sources: + - kind: statute + citation: Cal. WIC §18941 + url: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=18941 + - kind: regulation + citation: CDSS MPP §49-050.11-.13 (Manual Letter EAS-03-09, effective 10/16/03) + url: https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=44 + - kind: guidance + citation: CDSS ACIN I-59-25, Attachment A + url: https://cdss.ca.gov/Portals/9/Additional-Resources/Letters-and-Notices/ACINs/2025/I-59_25.pdf#page=5 + readings: + statute: CAPI benefits equal SSI/SSP benefits, retroactive to June 1, 2019. + other: CAPI standards are $10 below the SSI/SSP individual standard, $20 below the couple standard for a CAPI + couple and $10 below the couple standard when the other spouse receives SSI/SSP. + example: In January 2026, an aged CAPI recipient living independently with cooking facilities and no income receives + $1,233.94 a month under the statute, which PE-US follows, and $1,223.94 under the regulation. + pe_us: + follows: statute + code: + - policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/couple.yaml + - policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/mixed_couple.yaml + - policyengine_us/parameters/gov/states/ca/cdss/capi/payment_standard_offset/single.yaml + - policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi_payment_standard.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/10379 + state: ruled + note: 'Ruled 2026-10-27 for the statute by the project lead for the Medicaid fixes; the ruling record is + https://github.com/PolicyEngine/policyengine-us/pull/10379#issuecomment-6451310006. WIC 18941 (2019) makes CAPI + benefits "equivalent to the benefits provided under the SSI/SSP program" from June 1, 2019, so it governs over + MPP 49-050.11-.13 (2003); CDSS notices ACIN I-23-19 and I-59-25 agree. PE-US follows the statute: the three + offsets are $0 from 2019-06-01 and keep the regulation amounts before then (payment_standard_offset/*.yaml, read + by ca_capi_payment_standard.py).' +- id: us-ca:capi-spousal-deeming-method + program: capi + years: + from: 1999 + type: calendar + question: When income is deemed from an ineligible spouse, does CAPI take the lesser federal and lesser state amounts + separately, as SSA computes SSI/SSP, or the smaller of the two totals on form SOC 452? + sources: + - kind: statute + citation: Cal. WIC §18940(b) + url: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=18940 + - kind: statute + citation: Cal. WIC §18941 + url: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=18941 + - kind: regulation + citation: CDSS MPP §49-035.71 + url: https://www.cdss.ca.gov/Portals/9/CAPI/CAPI_Regulations-Accessible.pdf#page=30 + - kind: manual + citation: SSA POMS SI 01320.430 D + url: https://secure.ssa.gov/apps10/poms.nsf/lnx/0501320430 + - kind: form + citation: CDSS SOC 452 (4/99), CAPI Income Eligibility - Adult, line C + url: https://www.cdss.ca.gov/cdssweb/entres/forms/English/SOC452.pdf + readings: + statute: Federal deeming rules govern CAPI and CAPI benefits equal SSI/SSP benefits, which SSA computes by taking + the lesser federal amount and the lesser state supplement separately (POMS SI 01320.430 D). + other: SOC 452 pays the smaller of the couple standard less the couple's countable income and the individual standard + less the recipient's own countable income. + example: In January 2026, a CAPI recipient with no income whose ineligible spouse earns $1,200 a month receives $1,173.44 + under the statute and the POMS method, which PE-US follows, and $1,233.94 under SOC 452. + pe_us: + follows: statute + code: + - policyengine_us/variables/gov/states/ca/cdss/capi/ca_capi_person.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/10379 + state: unreviewed + note: 'PE-US follows the statute: ca_capi_person.py takes the lesser of the federal parts and the lesser of the + state parts (POMS SI 01320.430 D). MPP 49-035.71 points to both 20 CFR 416.1160 et seq. and SOC 452. Verify + whether CDSS still uses the 1999 form''s line C rule and the years affected.' - id: us-ca:care-fera-housing-subsidies program: care-fera years: @@ -1292,6 +1371,53 @@ candidates: state: unreviewed note: 'The rule requires statutory timing rather than the model''s 2025-11-01 proxy; verify commencement and authorized transitions before changing it. Code not yet on main: is_snap_sua_hr1_in_effect, snap_utility_allowance_type.' +- id: us-ca:ssp-blind-couple-food-allowance + program: ssi-ssp + years: + from: 2025 + type: calendar + question: Does a California couple paid the one-blind couple rate get the no-cooking food allowance for its aged + or disabled member? + sources: + - kind: statute + citation: Cal. WIC §12200(b), (e) + url: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=WIC§ionNum=12200 + - kind: manual + citation: SSA POMS SI 01415.058 B.1, code C note + url: https://secure.ssa.gov/apps10/poms.nsf/lnx/0501415058 + - kind: guidance + citation: CDSS ACIN I-59-25, Attachment A + url: https://cdss.ca.gov/Portals/9/Additional-Resources/Letters-and-Notices/ACINs/2025/I-59_25.pdf#page=5 + readings: + statute: The allowance goes only to an aged or disabled individual (12200(c)) or a couple both aged or disabled + (12200(d)), so a couple under the one-blind rate (12200(b)) gets none. + other: POMS adds the individual restaurant meals allowance for the aged or disabled member of a couple with one + blind member whose living arrangement lacks cooking facilities. + example: In January 2026, a couple of an aged person and a blind person aged 50 without cooking facilities has a + $2,238.44 standard under the statute, which PE-US follows for CAPI, and $2,367.31 under POMS. + pe_us: + follows: conflicting-source + code: + - policyengine_us/variables/gov/states/ca/cdss/capi/_ca_capi_ssi_ssp_standard.py + - policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_food_allowance.py + - policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_payment_standard.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/10379 + - https://github.com/PolicyEngine/policyengine-us/pull/10546 + state: ruled + ruling: + by: PolicyEngine + date: '2026-10-29' + record: https://github.com/PolicyEngine/policyengine-us/pull/10379#issuecomment-6509402355 + note: 'Ruled 2026-10-29 for the statute by the project lead for the Medicaid fixes; the ruling record is + https://github.com/PolicyEngine/policyengine-us/pull/10379#issuecomment-6509402355. WIC 12200(e) gives the + no-cooking allowance only under (c) and (d), so a couple paid the one-blind rate under (b) gets none, in CAPI and + in the state supplement. CAPI follows the statute: _ca_capi_ssi_ssp_standard.py adds no food allowance to the + one-blind couple rate, and a couple both aged or disabled takes the aged or disabled rate with the couple + allowance when that is higher. Until PolicyEngine/policyengine-us#10546 merges, the state supplement follows + POMS: ca_state_supplement_food_allowance.py adds the individual allowance for the aged or disabled member, so in + January 2026 the same couple has a $2,367.31 standard as citizens and $2,238.44 as CAPI recipients. That PR + makes the state supplement follow the statute and sets pe_us.follows to statute.' - id: us-ca:ssp-nmohc-couple-standard program: ssi-ssp years: @@ -1327,8 +1453,10 @@ candidates: follows: statute code: - policyengine_us/parameters/gov/states/ca/cdss/state_supplement/payment_standard/allowance/out_of_home_care.yaml + - policyengine_us/variables/gov/states/ca/cdss/capi/_ca_capi_ssi_ssp_standard.py prs: - https://github.com/PolicyEngine/policyengine-us/pull/9709 + - https://github.com/PolicyEngine/policyengine-us/pull/10379 state: unreviewed note: 'PE-US follows the statute: the 2026 allowance is $1,153.31, from a $3,252.14 couple standard, twice the $1,626.07 individual rate (allowance/out_of_home_care.yaml), and the file''s comment lists the sources on each