policyengine-us 1.387.2__py3-none-any.whl → 1.388.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of policyengine-us might be problematic. Click here for more details.
- policyengine_us/parameters/gov/local/ca/riv/general_relief/age_threshold.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/income/deductions/sources.yaml +16 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/income/sources/earned.yaml +15 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/income/sources/unearned.yaml +20 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/needs_standards/food.yaml +21 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/needs_standards/housing.yaml +21 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/needs_standards/personal_needs.yaml +21 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/needs_standards/special_needs/transportation.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/property/limit.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/property/sources.yaml +14 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/property/vehicle_exemption/amount.yaml +11 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/qualified_immigration_status.yaml +19 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/work_exempted_age/older.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/work_exempted_age/younger.yaml +12 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/ca_giv_general_relief_countable_income.yaml +58 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/ca_riv_general_relief_countable_vehicle_value.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/ca_riv_general_relief_excluded_income.yaml +19 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/ca_riv_general_relief_needs_standards.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_eligible.yaml +45 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_immigration_status_eligible.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_income_eligible.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_ineligible_person.yaml +43 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_meets_work_requirements.yaml +75 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_property_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/integration.yaml +88 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_joint.yaml +37 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/integration.yaml +38 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/ca_riv_general_relief.py +16 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/ca_riv_general_relief_budget_unit_size.py +14 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_eligible.py +47 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_immigration_status_eligible.py +15 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_income_eligible.py +18 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_ineligible_person.py +25 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_meets_work_requirements.py +43 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_property_eligible.py +16 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/ca_riv_general_relief_countable_income.py +16 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/ca_riv_general_relief_countable_income_person.py +14 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/ca_riv_general_relief_excluded_income.py +22 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/ca_riv_general_relief_unearned_income.py +12 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/earned/ca_riv_general_relief_earned_income.py +12 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/earned/ca_riv_general_relief_earned_income_deductions.py +12 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/earned/ca_riv_general_relief_net_earned_income.py +17 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/payment/ca_riv_general_relief_needs_standards.py +24 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/payment/ca_riv_general_relief_special_needs_amount.py +14 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/property/ca_riv_general_relief_countable_property_value.py +12 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/property/ca_riv_general_relief_countable_vehicle_value.py +19 -0
- policyengine_us/variables/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_joint.py +27 -9
- {policyengine_us-1.387.2.dist-info → policyengine_us-1.388.0.dist-info}/METADATA +1 -1
- {policyengine_us-1.387.2.dist-info → policyengine_us-1.388.0.dist-info}/RECORD +52 -8
- {policyengine_us-1.387.2.dist-info → policyengine_us-1.388.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.387.2.dist-info → policyengine_us-1.388.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.387.2.dist-info → policyengine_us-1.388.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
description: Riverside County limits General Relief to applicants this age or older.
|
|
2
|
+
|
|
3
|
+
values:
|
|
4
|
+
2020-01-01: 18
|
|
5
|
+
|
|
6
|
+
metadata:
|
|
7
|
+
unit: year
|
|
8
|
+
period: year
|
|
9
|
+
label: Riverside County General Relief age threshold
|
|
10
|
+
reference:
|
|
11
|
+
# The program manual is not publicly available
|
|
12
|
+
- title: General Assistance Eligibility p.12
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
description: Riverside County deducts these mandatory wage deductions from earned income under General Relief.
|
|
2
|
+
values:
|
|
3
|
+
2020-01-01:
|
|
4
|
+
- state_withheld_income_tax
|
|
5
|
+
- employee_social_security_tax
|
|
6
|
+
- employee_medicare_tax
|
|
7
|
+
- additional_medicare_tax
|
|
8
|
+
- traditional_ira_contributions
|
|
9
|
+
|
|
10
|
+
metadata:
|
|
11
|
+
unit: list
|
|
12
|
+
period: year
|
|
13
|
+
label: Riverside County General Relief earned income deductions
|
|
14
|
+
reference:
|
|
15
|
+
# The program manual is not publicly available
|
|
16
|
+
- title: General Assistance Eligibility p.20
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
description: Riverside County counts these income sources as earned income under General Relief.
|
|
2
|
+
values:
|
|
3
|
+
2020-01-01:
|
|
4
|
+
- employment_income
|
|
5
|
+
- self_employment_income
|
|
6
|
+
- rental_income # Income In-Kind
|
|
7
|
+
# interests in real or individual property
|
|
8
|
+
# training payments or work allowance
|
|
9
|
+
metadata:
|
|
10
|
+
unit: list
|
|
11
|
+
period: year
|
|
12
|
+
label: Riverside County General Relief earned income sources
|
|
13
|
+
reference:
|
|
14
|
+
# The program manual is not publicly available
|
|
15
|
+
- title: General Assistance Eligibility p.18
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
description: Riverside County counts these income sources as unearned income under General Relief.
|
|
2
|
+
values:
|
|
3
|
+
2020-01-01:
|
|
4
|
+
- farm_income
|
|
5
|
+
- interest_income
|
|
6
|
+
- social_security
|
|
7
|
+
- ca_state_disability_insurance
|
|
8
|
+
- unemployment_compensation
|
|
9
|
+
- veterans_benefits
|
|
10
|
+
# assistance from other programs
|
|
11
|
+
# benefits from life insurance or burial payments
|
|
12
|
+
# loans and grants
|
|
13
|
+
# voluntary support
|
|
14
|
+
metadata:
|
|
15
|
+
unit: list
|
|
16
|
+
period: year
|
|
17
|
+
label: Riverside County General Relief unearned income sources
|
|
18
|
+
reference:
|
|
19
|
+
# The program manual is not publicly available
|
|
20
|
+
- title: General Assistance Eligibility p.18
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
description: Riverside County provides up to this food benefit amount based on household size under General Relief.
|
|
2
|
+
metadata:
|
|
3
|
+
unit: currency-USD
|
|
4
|
+
breakdown:
|
|
5
|
+
- range(1,6)
|
|
6
|
+
period: month
|
|
7
|
+
label: Riverside County General Relief food needs standard
|
|
8
|
+
reference:
|
|
9
|
+
# The program manual is not publicly available
|
|
10
|
+
- title: General Assistance Eligibility p.29
|
|
11
|
+
|
|
12
|
+
1:
|
|
13
|
+
2020-01-01: 92
|
|
14
|
+
2:
|
|
15
|
+
2020-01-01: 160
|
|
16
|
+
3:
|
|
17
|
+
2020-01-01: 237
|
|
18
|
+
4:
|
|
19
|
+
2020-01-01: 305
|
|
20
|
+
5:
|
|
21
|
+
2020-01-01: 376
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
description: Riverside County provides up to this housing benefit amount based on household size under General Relief.
|
|
2
|
+
metadata:
|
|
3
|
+
unit: currency-USD
|
|
4
|
+
breakdown:
|
|
5
|
+
- range(1,6)
|
|
6
|
+
period: month
|
|
7
|
+
label: Riverside County General Relief housing needs standard
|
|
8
|
+
reference:
|
|
9
|
+
# The program manual is not publicly available
|
|
10
|
+
- title: General Assistance Eligibility p.29
|
|
11
|
+
|
|
12
|
+
1:
|
|
13
|
+
2020-01-01: 223
|
|
14
|
+
2:
|
|
15
|
+
2020-01-01: 257
|
|
16
|
+
3:
|
|
17
|
+
2020-01-01: 287
|
|
18
|
+
4:
|
|
19
|
+
2020-01-01: 324
|
|
20
|
+
5:
|
|
21
|
+
2020-01-01: 358
|
policyengine_us/parameters/gov/local/ca/riv/general_relief/needs_standards/personal_needs.yaml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
description: Riverside County provides up to this personal needs benefit amount based on household size under General Relief.
|
|
2
|
+
metadata:
|
|
3
|
+
unit: currency-USD
|
|
4
|
+
breakdown:
|
|
5
|
+
- range(1,6)
|
|
6
|
+
period: month
|
|
7
|
+
label: Riverside County General Relief personal needs standard
|
|
8
|
+
reference:
|
|
9
|
+
# The program manual is not publicly available
|
|
10
|
+
- title: General Assistance Eligibility p.29
|
|
11
|
+
|
|
12
|
+
1:
|
|
13
|
+
2020-01-01: 11
|
|
14
|
+
2:
|
|
15
|
+
2020-01-01: 19
|
|
16
|
+
3:
|
|
17
|
+
2020-01-01: 23
|
|
18
|
+
4:
|
|
19
|
+
2020-01-01: 27
|
|
20
|
+
5:
|
|
21
|
+
2020-01-01: 30
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
description: Riverside County provides up to this annual transportation benefit amount for individuals with special needs under General Relief.
|
|
2
|
+
|
|
3
|
+
values:
|
|
4
|
+
2020-01-01: 30
|
|
5
|
+
|
|
6
|
+
metadata:
|
|
7
|
+
unit: currency-USD
|
|
8
|
+
period: year
|
|
9
|
+
label: Riverside County General Relief maximum annual special needs transportation benefit
|
|
10
|
+
reference:
|
|
11
|
+
# The program manual is not publicly available
|
|
12
|
+
- title: General Assistance Eligibility p.30
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
description: Riverside County limits General Relief to filers with property value below this amount.
|
|
2
|
+
|
|
3
|
+
values:
|
|
4
|
+
2020-01-01: 500
|
|
5
|
+
|
|
6
|
+
metadata:
|
|
7
|
+
label: Riverside County General Relief property value limit
|
|
8
|
+
unit: currency-USD
|
|
9
|
+
period: year
|
|
10
|
+
reference:
|
|
11
|
+
# The program manual is not publicly available
|
|
12
|
+
- title: General Assistance Eligibility p.22
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
description: Riverside County counts these sources as countable property under General Relief.
|
|
2
|
+
values:
|
|
3
|
+
2020-01-01:
|
|
4
|
+
- spm_unit_cash_assets
|
|
5
|
+
- ca_riv_general_relief_countable_vehicle_value
|
|
6
|
+
- personal_property
|
|
7
|
+
|
|
8
|
+
metadata:
|
|
9
|
+
unit: list
|
|
10
|
+
period: year
|
|
11
|
+
label: Riverside County General Relief property
|
|
12
|
+
reference:
|
|
13
|
+
# The program manual is not publicly available
|
|
14
|
+
- title: General Assistance Eligibility p.22
|
policyengine_us/parameters/gov/local/ca/riv/general_relief/property/vehicle_exemption/amount.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
description: Riverside County exempts this amount from the vehicle value under General Relief.
|
|
2
|
+
values:
|
|
3
|
+
2020-01-01: 4_650
|
|
4
|
+
|
|
5
|
+
metadata:
|
|
6
|
+
unit: currency-USD
|
|
7
|
+
period: year
|
|
8
|
+
label: Riverside County General Relief vehicle exemption amount
|
|
9
|
+
reference:
|
|
10
|
+
# The program manual is not publicly available
|
|
11
|
+
- title: General Assistance Eligibility p.25
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
description: Riverside County considers these statuses as qualified immigrants under General Relief.
|
|
2
|
+
values:
|
|
3
|
+
1975-01-01:
|
|
4
|
+
- CITIZEN
|
|
5
|
+
- REFUGEE
|
|
6
|
+
- ASYLEE
|
|
7
|
+
- CUBAN_HAITIAN_ENTRANT
|
|
8
|
+
- DEPORTATION_WITHHELD
|
|
9
|
+
- CONDITIONAL_ENTRANT
|
|
10
|
+
- PAROLED_ONE_YEAR
|
|
11
|
+
- LEGAL_PERMANENT_RESIDENT
|
|
12
|
+
|
|
13
|
+
metadata:
|
|
14
|
+
label: Riverside County General Relief qualified immigration statuses
|
|
15
|
+
period: year
|
|
16
|
+
unit: list
|
|
17
|
+
reference:
|
|
18
|
+
# The program manual is not publicly available
|
|
19
|
+
- title: General Assistance Eligibility p.16
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
description: Riverside County exempts people this age or older from General Relief work requirements.
|
|
2
|
+
|
|
3
|
+
values:
|
|
4
|
+
2020-01-01: 65
|
|
5
|
+
|
|
6
|
+
metadata:
|
|
7
|
+
unit: year
|
|
8
|
+
period: year
|
|
9
|
+
label: Riverside County General Relief work exempted older age threshold
|
|
10
|
+
reference:
|
|
11
|
+
# The program manual is not publicly available
|
|
12
|
+
- title: General Assistance Eligibility p.40
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
description: Riverside County exempts the work requirement to applicants who are full-time students in secondary school and younger than this age under General Relief.
|
|
2
|
+
|
|
3
|
+
values:
|
|
4
|
+
2020-01-01: 19
|
|
5
|
+
|
|
6
|
+
metadata:
|
|
7
|
+
unit: year
|
|
8
|
+
period: year
|
|
9
|
+
label: Riverside County General Relief work exempted age for full-time students
|
|
10
|
+
reference:
|
|
11
|
+
# The program manual is not publicly available
|
|
12
|
+
- title: General Assistance Eligibility p.40
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
- name: Case 1, all member eligible for the general relief.
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
age: 30
|
|
7
|
+
employment_income: 1_000
|
|
8
|
+
ssi: 0
|
|
9
|
+
person2:
|
|
10
|
+
age: 64
|
|
11
|
+
employment_income: 0
|
|
12
|
+
ssi: 0
|
|
13
|
+
person3:
|
|
14
|
+
age: 64
|
|
15
|
+
employment_income: 0
|
|
16
|
+
ssi: 0
|
|
17
|
+
households:
|
|
18
|
+
household:
|
|
19
|
+
members: [person1, person2, person3]
|
|
20
|
+
in_riv: true
|
|
21
|
+
spm_units:
|
|
22
|
+
spm_unit:
|
|
23
|
+
members: [person1, person2, person3]
|
|
24
|
+
ca_tanf: 0
|
|
25
|
+
output:
|
|
26
|
+
ca_riv_general_relief_earned_income_deductions: [76.5, 0, 0]
|
|
27
|
+
ca_riv_general_relief_countable_income: 923.5 # 1,000 - 76.5
|
|
28
|
+
|
|
29
|
+
- name: Case 2, one member is ineligible due to immigration status.
|
|
30
|
+
period: 2024
|
|
31
|
+
absolute_error_margin: 0.2
|
|
32
|
+
input:
|
|
33
|
+
people:
|
|
34
|
+
person1:
|
|
35
|
+
age: 30
|
|
36
|
+
employment_income: 1_000
|
|
37
|
+
ssi: 0
|
|
38
|
+
person2:
|
|
39
|
+
age: 65
|
|
40
|
+
employment_income: 0
|
|
41
|
+
ssi: 0
|
|
42
|
+
person3:
|
|
43
|
+
age: 64
|
|
44
|
+
employment_income: 1_000
|
|
45
|
+
ssi: 0
|
|
46
|
+
immigration_status: UNDOCUMENTED
|
|
47
|
+
households:
|
|
48
|
+
household:
|
|
49
|
+
members: [person1, person2, person3]
|
|
50
|
+
in_riv: true
|
|
51
|
+
spm_units:
|
|
52
|
+
spm_unit:
|
|
53
|
+
members: [person1, person2, person3]
|
|
54
|
+
ca_tanf: 0
|
|
55
|
+
output:
|
|
56
|
+
ca_riv_general_relief_earned_income_deductions: [76.5, 0, 76.5]
|
|
57
|
+
ca_riv_general_relief_excluded_income: [0, 0, 307.83] # 923.5 * 1/3
|
|
58
|
+
ca_riv_general_relief_countable_income: 1539.17 # 923.5 + 923.5 - 307.83
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
- name: Case 1, vehicles value higher than deduction amount.
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
household_vehicles_value: 4_660
|
|
5
|
+
in_riv: true
|
|
6
|
+
output:
|
|
7
|
+
ca_riv_general_relief_countable_vehicle_value: 10
|
|
8
|
+
|
|
9
|
+
- name: Case 2, vehicles value lower than deduction amount.
|
|
10
|
+
period: 2024
|
|
11
|
+
input:
|
|
12
|
+
household_vehicles_value: 4_640
|
|
13
|
+
in_riv: true
|
|
14
|
+
output:
|
|
15
|
+
ca_riv_general_relief_countable_vehicle_value: 0
|
|
16
|
+
|
|
17
|
+
- name: Case 3, vehicles value same as deduction amount.
|
|
18
|
+
period: 2024
|
|
19
|
+
input:
|
|
20
|
+
household_vehicles_value: 4_650
|
|
21
|
+
in_riv: true
|
|
22
|
+
output:
|
|
23
|
+
ca_riv_general_relief_countable_vehicle_value: 0
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
- name: Case 1, household of 3, 1 ineligible person.
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
ca_riv_general_relief_ineligible_person: true
|
|
5
|
+
ca_riv_general_relief_countable_income_person: 600
|
|
6
|
+
spm_unit_size: 3
|
|
7
|
+
ca_riv_general_relief_budget_unit_size: 2
|
|
8
|
+
output:
|
|
9
|
+
ca_riv_general_relief_excluded_income: 200
|
|
10
|
+
|
|
11
|
+
- name: Case 2, not an ineligible person, no excluded income.
|
|
12
|
+
period: 2024
|
|
13
|
+
input:
|
|
14
|
+
ca_riv_general_relief_ineligible_person: false
|
|
15
|
+
ca_riv_general_relief_countable_income_person: 600
|
|
16
|
+
spm_unit_size: 3
|
|
17
|
+
ca_riv_general_relief_budget_unit_size: 2
|
|
18
|
+
output:
|
|
19
|
+
ca_riv_general_relief_excluded_income: 0
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
- name: Case 1, housing cost higher than housing benefit, take maximum payment.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
ca_riv_general_relief_budget_unit_size: 3
|
|
5
|
+
housing_cost: 500 * 12
|
|
6
|
+
in_riv: true
|
|
7
|
+
output:
|
|
8
|
+
ca_riv_general_relief_needs_standards: 547
|
|
9
|
+
|
|
10
|
+
- name: Case 2, no housing cost, no housing benefit.
|
|
11
|
+
period: 2024-01
|
|
12
|
+
input:
|
|
13
|
+
ca_riv_general_relief_budget_unit_size: 7
|
|
14
|
+
housing_cost: 0
|
|
15
|
+
in_riv: true
|
|
16
|
+
output:
|
|
17
|
+
ca_riv_general_relief_needs_standards: 376 + 30
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
- name: Case 1, there is a child in the household, ineligible.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
age: 30
|
|
7
|
+
employment_income: 0
|
|
8
|
+
person2:
|
|
9
|
+
age: 64
|
|
10
|
+
employment_income: 0
|
|
11
|
+
person3:
|
|
12
|
+
age: 17
|
|
13
|
+
is_incapable_of_self_care: true
|
|
14
|
+
households:
|
|
15
|
+
household:
|
|
16
|
+
members: [person1, person2, person3]
|
|
17
|
+
in_riv: true
|
|
18
|
+
spm_units:
|
|
19
|
+
spm_unit:
|
|
20
|
+
members: [person1, person2, person3]
|
|
21
|
+
output:
|
|
22
|
+
ca_riv_general_relief_eligible: false
|
|
23
|
+
|
|
24
|
+
- name: Case 2, no income, no property, default immigration status, eligible.
|
|
25
|
+
period: 2024-01
|
|
26
|
+
input:
|
|
27
|
+
people:
|
|
28
|
+
person1:
|
|
29
|
+
age: 30
|
|
30
|
+
employment_income: 0
|
|
31
|
+
person2:
|
|
32
|
+
age: 64
|
|
33
|
+
employment_income: 0
|
|
34
|
+
person3:
|
|
35
|
+
age: 18
|
|
36
|
+
is_incapable_of_self_care: true
|
|
37
|
+
households:
|
|
38
|
+
household:
|
|
39
|
+
members: [person1, person2, person3]
|
|
40
|
+
in_riv: true
|
|
41
|
+
spm_units:
|
|
42
|
+
spm_unit:
|
|
43
|
+
members: [person1, person2, person3]
|
|
44
|
+
output:
|
|
45
|
+
ca_riv_general_relief_eligible: true
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
- name: Case 1, eligible.
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
in_riv: true
|
|
5
|
+
immigration_status: CITIZEN
|
|
6
|
+
output:
|
|
7
|
+
ca_riv_general_relief_immigration_status_eligible: true
|
|
8
|
+
|
|
9
|
+
- name: Case 2, ineligible.
|
|
10
|
+
period: 2024
|
|
11
|
+
input:
|
|
12
|
+
in_riv: true
|
|
13
|
+
immigration_status: UNDOCUMENTED
|
|
14
|
+
output:
|
|
15
|
+
ca_riv_general_relief_immigration_status_eligible: false
|
|
16
|
+
|
|
17
|
+
- name: Case 3, refugee eligible.
|
|
18
|
+
period: 2024
|
|
19
|
+
input:
|
|
20
|
+
in_riv: true
|
|
21
|
+
immigration_status: REFUGEE
|
|
22
|
+
output:
|
|
23
|
+
ca_riv_general_relief_immigration_status_eligible: true
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
- name: Case 1, eligible.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
in_riv: true
|
|
5
|
+
ca_riv_general_relief_countable_income: 90
|
|
6
|
+
ca_riv_general_relief_needs_standards: 100
|
|
7
|
+
output:
|
|
8
|
+
ca_riv_general_relief_income_eligible: true
|
|
9
|
+
|
|
10
|
+
- name: Case 2, ineligible.
|
|
11
|
+
period: 2024-01
|
|
12
|
+
input:
|
|
13
|
+
in_riv: true
|
|
14
|
+
ca_riv_general_relief_countable_income: 101
|
|
15
|
+
ca_riv_general_relief_needs_standards: 100
|
|
16
|
+
output:
|
|
17
|
+
ca_riv_general_relief_income_eligible: false
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
- name: Case 1, ineligible person due to has ssi.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
in_riv: true
|
|
5
|
+
ssi: 100
|
|
6
|
+
ca_tanf: 0
|
|
7
|
+
ca_riv_general_relief_immigration_status_eligible: true
|
|
8
|
+
ca_riv_general_relief_meets_work_requirements: true
|
|
9
|
+
output:
|
|
10
|
+
ca_riv_general_relief_ineligible_person: true
|
|
11
|
+
|
|
12
|
+
- name: Case 2, ineligible person due to not meet work requirements.
|
|
13
|
+
period: 2024-01
|
|
14
|
+
input:
|
|
15
|
+
in_riv: true
|
|
16
|
+
ssi: 0
|
|
17
|
+
ca_tanf: 0
|
|
18
|
+
ca_riv_general_relief_immigration_status_eligible: true
|
|
19
|
+
ca_riv_general_relief_meets_work_requirements: false
|
|
20
|
+
output:
|
|
21
|
+
ca_riv_general_relief_ineligible_person: true
|
|
22
|
+
|
|
23
|
+
- name: Case 3, ineligible person due to immigration status ineligible.
|
|
24
|
+
period: 2024-01
|
|
25
|
+
input:
|
|
26
|
+
in_riv: true
|
|
27
|
+
ssi: 0
|
|
28
|
+
ca_tanf: 0
|
|
29
|
+
ca_riv_general_relief_immigration_status_eligible: false
|
|
30
|
+
ca_riv_general_relief_meets_work_requirements: true
|
|
31
|
+
output:
|
|
32
|
+
ca_riv_general_relief_ineligible_person: true
|
|
33
|
+
|
|
34
|
+
- name: Case 4, not an ineligible person.
|
|
35
|
+
period: 2024-01
|
|
36
|
+
input:
|
|
37
|
+
in_riv: true
|
|
38
|
+
ssi: 0
|
|
39
|
+
ca_tanf: 0
|
|
40
|
+
ca_riv_general_relief_immigration_status_eligible: true
|
|
41
|
+
ca_riv_general_relief_meets_work_requirements: true
|
|
42
|
+
output:
|
|
43
|
+
ca_riv_general_relief_ineligible_person: false
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
- name: Case 1, all members meet work requirement due to is working or age exempted.
|
|
2
|
+
period: 2025-01
|
|
3
|
+
absolute_error_margin: 0.2
|
|
4
|
+
input:
|
|
5
|
+
people:
|
|
6
|
+
person1:
|
|
7
|
+
age: 30
|
|
8
|
+
employment_income: 50_000
|
|
9
|
+
person2:
|
|
10
|
+
age: 65
|
|
11
|
+
employment_income: 0
|
|
12
|
+
person3:
|
|
13
|
+
age: 18
|
|
14
|
+
employment_income: 0
|
|
15
|
+
is_full_time_student: true
|
|
16
|
+
is_in_secondary_school: true
|
|
17
|
+
households:
|
|
18
|
+
household:
|
|
19
|
+
members: [person1, person2, person3]
|
|
20
|
+
in_riv: true
|
|
21
|
+
spm_units:
|
|
22
|
+
spm_unit:
|
|
23
|
+
members: [person1, person2, person3]
|
|
24
|
+
output:
|
|
25
|
+
ca_riv_general_relief_meets_work_requirements: [true, true, true]
|
|
26
|
+
|
|
27
|
+
- name: Case 2, all members do not meet work requirement due to no income and age not exempted.
|
|
28
|
+
period: 2025-01
|
|
29
|
+
absolute_error_margin: 0.2
|
|
30
|
+
input:
|
|
31
|
+
people:
|
|
32
|
+
person1:
|
|
33
|
+
age: 30
|
|
34
|
+
employment_income: 0
|
|
35
|
+
person2:
|
|
36
|
+
age: 64
|
|
37
|
+
employment_income: 0
|
|
38
|
+
person3:
|
|
39
|
+
age: 19
|
|
40
|
+
employment_income: 0
|
|
41
|
+
is_full_time_student: true
|
|
42
|
+
is_in_secondary_school: true
|
|
43
|
+
households:
|
|
44
|
+
household:
|
|
45
|
+
members: [person1, person2, person3]
|
|
46
|
+
in_riv: true
|
|
47
|
+
spm_units:
|
|
48
|
+
spm_unit:
|
|
49
|
+
members: [person1, person2, person3]
|
|
50
|
+
output:
|
|
51
|
+
ca_riv_general_relief_meets_work_requirements: [false, false, false]
|
|
52
|
+
|
|
53
|
+
- name: Case 3, all members meet work requirement due to has incapacitated member.
|
|
54
|
+
period: 2025-01
|
|
55
|
+
absolute_error_margin: 0.2
|
|
56
|
+
input:
|
|
57
|
+
people:
|
|
58
|
+
person1:
|
|
59
|
+
age: 30
|
|
60
|
+
employment_income: 0
|
|
61
|
+
person2:
|
|
62
|
+
age: 64
|
|
63
|
+
employment_income: 0
|
|
64
|
+
person3:
|
|
65
|
+
age: 18
|
|
66
|
+
is_incapable_of_self_care: true
|
|
67
|
+
households:
|
|
68
|
+
household:
|
|
69
|
+
members: [person1, person2, person3]
|
|
70
|
+
in_riv: true
|
|
71
|
+
spm_units:
|
|
72
|
+
spm_unit:
|
|
73
|
+
members: [person1, person2, person3]
|
|
74
|
+
output:
|
|
75
|
+
ca_riv_general_relief_meets_work_requirements: [true, true, true]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
- name: Case 1, eligible.
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
ca_riv_general_relief_countable_property_value: 499
|
|
5
|
+
in_riv: true
|
|
6
|
+
output:
|
|
7
|
+
ca_riv_general_relief_property_eligible: true
|
|
8
|
+
|
|
9
|
+
- name: Case 2, ineligible.
|
|
10
|
+
period: 2024
|
|
11
|
+
input:
|
|
12
|
+
ca_riv_general_relief_countable_property_value: 500
|
|
13
|
+
in_riv: true
|
|
14
|
+
output:
|
|
15
|
+
ca_riv_general_relief_property_eligible: false
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
- name: Case 1, household of 2 with no income.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
age: 30
|
|
7
|
+
employment_income: 0
|
|
8
|
+
ssi: 0
|
|
9
|
+
person2:
|
|
10
|
+
age: 65
|
|
11
|
+
employment_income: 0
|
|
12
|
+
ssi: 0
|
|
13
|
+
is_incapable_of_self_care: true
|
|
14
|
+
households:
|
|
15
|
+
household:
|
|
16
|
+
members: [person1, person2]
|
|
17
|
+
in_riv: true
|
|
18
|
+
spm_units:
|
|
19
|
+
spm_unit:
|
|
20
|
+
members: [person1, person2]
|
|
21
|
+
ca_tanf: 0
|
|
22
|
+
housing_cost: 300 * 12
|
|
23
|
+
output:
|
|
24
|
+
ca_riv_general_relief_eligible: true
|
|
25
|
+
ca_riv_general_relief: 438.5
|
|
26
|
+
# 436 + 30/12
|
|
27
|
+
## $30 annual special needs amount
|
|
28
|
+
|
|
29
|
+
- name: Case 2, household of 2 with $500 monthly income.
|
|
30
|
+
period: 2024-01
|
|
31
|
+
absolute_error_margin: 0.2
|
|
32
|
+
input:
|
|
33
|
+
people:
|
|
34
|
+
person1:
|
|
35
|
+
age: 30
|
|
36
|
+
employment_income: 500 * 12
|
|
37
|
+
ssi: 0
|
|
38
|
+
person2:
|
|
39
|
+
age: 65
|
|
40
|
+
employment_income: 0
|
|
41
|
+
ssi: 0
|
|
42
|
+
households:
|
|
43
|
+
household:
|
|
44
|
+
members: [person1, person2]
|
|
45
|
+
in_riv: true
|
|
46
|
+
spm_units:
|
|
47
|
+
spm_unit:
|
|
48
|
+
members: [person1, person2]
|
|
49
|
+
ca_tanf: 0
|
|
50
|
+
housing_cost: 300 * 12
|
|
51
|
+
output:
|
|
52
|
+
state_withheld_income_tax: 0.38
|
|
53
|
+
ca_riv_general_relief_earned_income_deductions: [38.63, 0.38]
|
|
54
|
+
ca_riv_general_relief_countable_income: 461.37 # 500 - 38.63
|
|
55
|
+
ca_riv_general_relief_needs_standards: 436
|
|
56
|
+
ca_riv_general_relief_income_eligible: false
|
|
57
|
+
|
|
58
|
+
- name: Case 3, household of 2 with $450 monthly income.
|
|
59
|
+
period: 2024-01
|
|
60
|
+
absolute_error_margin: 0.2
|
|
61
|
+
input:
|
|
62
|
+
people:
|
|
63
|
+
person1:
|
|
64
|
+
age: 30
|
|
65
|
+
employment_income: 450 * 12
|
|
66
|
+
ssi: 0
|
|
67
|
+
person2:
|
|
68
|
+
age: 65
|
|
69
|
+
employment_income: 0
|
|
70
|
+
ssi: 0
|
|
71
|
+
households:
|
|
72
|
+
household:
|
|
73
|
+
members: [person1, person2]
|
|
74
|
+
in_riv: true
|
|
75
|
+
spm_units:
|
|
76
|
+
spm_unit:
|
|
77
|
+
members: [person1, person2]
|
|
78
|
+
ca_tanf: 0
|
|
79
|
+
housing_cost: 300 * 12
|
|
80
|
+
output:
|
|
81
|
+
ca_riv_general_relief_earned_income_deductions: [34.43, 0]
|
|
82
|
+
ca_riv_general_relief_countable_income: 415.57 # 450 - 34.43
|
|
83
|
+
ca_riv_general_relief_needs_standards: 436
|
|
84
|
+
ca_riv_general_relief_income_eligible: true
|
|
85
|
+
ca_riv_general_relief_eligible: true
|
|
86
|
+
ca_riv_general_relief_special_needs_amount: 2.5
|
|
87
|
+
ca_riv_general_relief: 22.93
|
|
88
|
+
# 436 + 2.5 - 415.57
|