Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

California CAPI (Cash Assistance Program for Immigrants) #5420

Merged
merged 16 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
- name: Single aged parent, blind
period: 2024
input:
people:
person1:
age: 68
is_tax_unit_head: true
is_blind: true
person2:
age: 4
is_tax_unit_dependent: true
is_blind: true
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_is_married: false
households:
household:
members: [person1, person2]
state_code: CA
output:
ca_state_supplement_aged_disabled_amount: 8_448

- name: Married couple, aged and disabled
period: 2024
input:
people:
person1:
age: 68
is_tax_unit_head: true
is_blind: false
person2:
age: 64
is_tax_unit_spouse: true
is_disabled: true
person3:
age: 4
is_tax_unit_dependent: true
is_blind: true
spm_units:
spm_unit:
members: [person1, person2, person3]
spm_unit_is_married: true
households:
household:
members: [person1, person2, person3]
state_code: CA
output:
ca_state_supplement_aged_disabled_amount: 14_004

- name: Married couple, only oneaged and disabled
period: 2024
input:
people:
person1:
age: 68
is_tax_unit_head: true
is_blind: false
person2:
age: 64
is_tax_unit_spouse: true
is_disabled: false
person3:
age: 4
is_tax_unit_dependent: true
is_blind: true
spm_units:
spm_unit:
members: [person1, person2, person3]
spm_unit_is_married: true
households:
household:
members: [person1, person2, person3]
state_code: CA
output:
ca_state_supplement_aged_disabled_amount: 7_560
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
- name: One eligible dependent
period: 2024
input:
people:
person1:
age: 68
is_tax_unit_head: true
is_blind: true
person2:
age: 4
is_tax_unit_dependent: true
is_blind: true
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
output:
ca_state_supplement_dependent_amount: 5_988

- name: One eligible dependent, one ineligible
period: 2024
input:
people:
person1:
age: 68
is_tax_unit_head: true
is_blind: true
person2:
age: 4
is_tax_unit_dependent: true
is_blind: true
person3:
age: 4
is_tax_unit_dependent: true
is_blind: false
spm_units:
spm_unit:
members: [person1, person2, person3]
households:
household:
members: [person1, person2, person3]
state_code: CA
output:
ca_state_supplement_dependent_amount: 5_988
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
- name: Married couple, one person aged
period: 2024
input:
people:
person1:
age: 68
is_tax_unit_head: true
person2:
age: 40
is_tax_unit_spouse: true
is_disabled: false
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
living_arrangements_allow_for_food_preparation: false
output:
ca_state_supplement_food_allowance: 816

- name: Married couple, one person aged, not eligible
period: 2024
input:
people:
person1:
age: 68
is_tax_unit_head: true
person2:
age: 40
is_tax_unit_spouse: true
is_disabled: false
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
living_arrangements_allow_for_food_preparation: true
output:
ca_state_supplement_food_allowance: 0

- name: Married couple, nobody aged or disabled
period: 2024
input:
people:
person1:
age: 40
is_tax_unit_head: true
person2:
age: 40
is_tax_unit_spouse: true
is_disabled: false
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
living_arrangements_allow_for_food_preparation: false
output:
ca_state_supplement_food_allowance: 0

- name: Married couple, both disabled
period: 2024
input:
people:
person1:
age: 40
is_tax_unit_head: true
is_disabled: true
person2:
age: 40
is_tax_unit_spouse: true
is_disabled: true
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
living_arrangements_allow_for_food_preparation: false
output:
ca_state_supplement_food_allowance: 1_632
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- name: One person in medical care facility
period: 2024
input:
people:
person1:
ca_in_medical_care_facility: true
person2:
ca_in_medical_care_facility: false
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
output:
ca_state_supplement_medical_care_facility_amount: 504

- name: Nobody in medical care facility
period: 2024
input:
people:
person1:
ca_in_medical_care_facility: false
person2:
ca_in_medical_care_facility: false
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
output:
ca_state_supplement_medical_care_facility_amount: 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- name: One person in out of home care facility
period: 2024
input:
people:
person1:
ca_in_out_of_home_care_facility: true
person2:
ca_in_out_of_home_care_facility: false
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
output:
ca_state_supplement_out_of_home_care_facility_amount: 8_508

- name: Nobody in out of home care facility
period: 2024
input:
people:
person1:
ca_in_out_of_home_care_facility: false
person2:
ca_in_out_of_home_care_facility: false
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
output:
ca_state_supplement_out_of_home_care_facility_amount: 0
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# - name: Single blind parent with non eligible dependent child
# period: 2024
# input:
# people:
# person1:
# age: 30
# is_tax_unit_head: true
# is_blind: true
# person2:
# age: 4
# is_tax_unit_dependent: true
# spm_units:
# spm_unit:
# members: [person1, person2]
# households:
# household:
# members: [person1, person2]
# state_code: CA
# output:
# ca_state_supplement_payment_standard: 8_448
- name: Single blind parent with non eligible dependent child
period: 2024
input:
people:
person1:
age: 30
is_tax_unit_head: true
is_blind: true
person2:
age: 4
is_tax_unit_dependent: true
spm_units:
spm_unit:
members: [person1, person2]
households:
household:
members: [person1, person2]
state_code: CA
output:
ca_state_supplement_payment_standard: 8_448

- name: Married household with one blind and one disabled person, with a disabled dependent child, no food preparation and spouse in out of home care
period: 2024-01
Expand All @@ -44,6 +44,6 @@
household:
members: [person1, person2, person3]
state_code: CA
living_arrangements_allow_for_food_preparation: true
living_arrangements_allow_for_food_preparation: false
output:
ca_state_supplement_payment_standard: 2_639
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ class ca_capi_resources(Variable):
def formula(spm_unit, period, parameters):
general_resources = add(spm_unit, period, ["ssi_countable_resources"])
vehicle_value = spm_unit.household("household_vehicles_value", period)
vehicle_value_threshold = parameters(
period
).gov.states.ca.cdss.capi.resources.vehicle_value_threshold
p = parameters(period).gov.states.ca.cdss.capi.resources
countable_vehicle_value = max_(
vehicle_value - vehicle_value_threshold, 0
vehicle_value - p.vehicle_value_threshold, 0
)
return general_resources + countable_vehicle_value
Loading
Loading