policyengine-us 1.359.1__py3-none-any.whl → 1.360.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/states/dc/dhs/gac/README.md +1 -0
- policyengine_us/parameters/gov/states/dc/dhs/gac/income_disregard/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/dc/dhs/power/README.md +1 -0
- policyengine_us/parameters/gov/states/dc/dhs/power/age_threshold/older.yaml +11 -0
- policyengine_us/parameters/gov/states/dc/dhs/power/age_threshold/younger.yaml +11 -0
- policyengine_us/parameters/gov/states/dc/dhs/power/disqualifying_benefits.yaml +14 -0
- policyengine_us/parameters/gov/states/dc/dhs/qualified_noncitizen_statuses.yaml +21 -0
- policyengine_us/parameters/gov/states/dc/dhs/tanf/standard_payment/amount.yaml +1 -1
- policyengine_us/parameters/gov/states/dc/dhs/tanf/work_requirement/required_hours/single_parent/amount.yaml +20 -0
- policyengine_us/parameters/gov/states/dc/dhs/tanf/work_requirement/required_hours/single_parent/higher/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/dc/dhs/tanf/work_requirement/required_hours/single_parent/lower/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/dc/dhs/tanf/work_requirement/required_hours/single_parent/lower/young_child_age_threshold.yaml +11 -0
- policyengine_us/parameters/gov/states/dc/dhs/tanf/work_requirement/required_hours/two_parents/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/dc/dhs/tanf/work_requirement/work_exempted/elderly_age_threshold.yaml +11 -0
- policyengine_us/parameters/gov/states/dc/dhs/tanf/work_requirement/work_exempted/infant_age_threshold.yaml +11 -0
- policyengine_us/tests/policy/baseline/gov/hhs/tanf/cash/integration.yaml +1 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/dc_pap_eligible_child.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/gac/dc_gac.yaml +86 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/gac/dc_gac_standard_payment.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/gac/eligibility/dc_gac_eligible.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/gac/eligibility/dc_gac_eligible_child.yaml +58 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/gac/eligibility/dc_gac_income_eligible.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/gac/income/dc_gac_earned_income_after_disregard_person.yaml +32 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/integration_tests.yaml +171 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/power/dc_power.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/power/dc_power_eligible.yaml +94 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/power/dc_power_head_or_spouse_eligible.yaml +84 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/dc_tanf_assistance_unit_size.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/dc_tanf_standard_payment.yaml +5 -5
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/eligibility/dc_tanf_basic_eligibility_requirements.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/eligibility/dc_tanf_demographic_eligible_person.yaml +11 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/eligibility/dc_tanf_eligible.yaml +6 -6
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/eligibility/dc_tanf_immigration_status_eligible_person.yaml +0 -12
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/eligibility/dc_tanf_income_eligible.yaml +0 -2
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/integration.yaml +6 -2
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/work_requirement/dc_tanf_is_working.yaml +128 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/work_requirement/dc_tanf_meets_work_requirements.yaml +53 -0
- policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/work_requirement/dc_tanf_work_requirement_exempt.yaml +81 -0
- policyengine_us/variables/gov/states/dc/dhs/dc_pap_eligible_child.py +23 -0
- policyengine_us/variables/gov/states/dc/dhs/gac/dc_gac.py +18 -0
- policyengine_us/variables/gov/states/dc/dhs/gac/dc_gac_assistance_unit_size.py +15 -0
- policyengine_us/variables/gov/states/dc/dhs/gac/dc_gac_standard_payment.py +19 -0
- policyengine_us/variables/gov/states/dc/dhs/gac/eligibility/dc_gac_eligible.py +20 -0
- policyengine_us/variables/gov/states/dc/dhs/gac/eligibility/dc_gac_eligible_child.py +15 -0
- policyengine_us/variables/gov/states/dc/dhs/gac/eligibility/dc_gac_income_eligible.py +19 -0
- policyengine_us/variables/gov/states/dc/dhs/gac/income/dc_gac_countable_income.py +18 -0
- policyengine_us/variables/gov/states/dc/dhs/gac/income/dc_gac_countable_unearned_income_person.py +17 -0
- policyengine_us/variables/gov/states/dc/dhs/gac/income/dc_gac_earned_income_after_disregard_person.py +28 -0
- policyengine_us/variables/gov/states/dc/dhs/power/dc_power.py +18 -0
- policyengine_us/variables/gov/states/dc/dhs/power/dc_power_eligible.py +30 -0
- policyengine_us/variables/gov/states/dc/dhs/power/dc_power_has_disqualifying_beneifts.py +14 -0
- policyengine_us/variables/gov/states/dc/dhs/power/dc_power_head_or_spouse_eligible.py +38 -0
- policyengine_us/variables/gov/states/dc/dhs/tanf/dc_tanf_assistance_unit_size.py +15 -0
- policyengine_us/variables/gov/states/dc/dhs/tanf/dc_tanf_standard_payment.py +1 -1
- policyengine_us/variables/gov/states/dc/dhs/tanf/eligibility/dc_tanf_basic_eligibility_requirements.py +18 -0
- policyengine_us/variables/gov/states/dc/dhs/tanf/eligibility/dc_tanf_demographic_eligible_person.py +10 -12
- policyengine_us/variables/gov/states/dc/dhs/tanf/eligibility/dc_tanf_eligible.py +5 -17
- policyengine_us/variables/gov/states/dc/dhs/tanf/eligibility/dc_tanf_immigration_status_eligible_person.py +6 -1
- policyengine_us/variables/gov/states/dc/dhs/tanf/income/dc_tanf_countable_income.py +6 -1
- policyengine_us/variables/gov/states/dc/dhs/tanf/work_requirement/dc_tanf_is_working.py +40 -0
- policyengine_us/variables/gov/states/dc/dhs/tanf/work_requirement/dc_tanf_meets_work_requirements.py +22 -0
- policyengine_us/variables/gov/states/dc/dhs/tanf/work_requirement/dc_tanf_work_requirement_exempt.py +39 -0
- policyengine_us/variables/household/demographic/person/is_related_to_head_or_spouse.py +9 -0
- {policyengine_us-1.359.1.dist-info → policyengine_us-1.360.0.dist-info}/METADATA +1 -1
- {policyengine_us-1.359.1.dist-info → policyengine_us-1.360.0.dist-info}/RECORD +68 -18
- {policyengine_us-1.359.1.dist-info → policyengine_us-1.360.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.359.1.dist-info → policyengine_us-1.360.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.359.1.dist-info → policyengine_us-1.360.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
- name: Case 1, applicant has an eligible child.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
age: 40
|
|
7
|
+
employment_income: 6_000
|
|
8
|
+
weekly_hours_worked: 25
|
|
9
|
+
person2:
|
|
10
|
+
age: 1
|
|
11
|
+
is_tax_unit_dependent: true
|
|
12
|
+
spm_units:
|
|
13
|
+
spm_unit:
|
|
14
|
+
members: [person1, person2]
|
|
15
|
+
is_tanf_enrolled: false
|
|
16
|
+
childcare_expenses: 5_000
|
|
17
|
+
tax_units:
|
|
18
|
+
tax_unit:
|
|
19
|
+
members: [person1, person2]
|
|
20
|
+
households:
|
|
21
|
+
household:
|
|
22
|
+
members: [person1, person2]
|
|
23
|
+
state_code: DC
|
|
24
|
+
output:
|
|
25
|
+
dc_tanf_childcare_deduction: 200
|
|
26
|
+
dc_tanf_earned_income_after_disregard_person: [340, 0]
|
|
27
|
+
dc_tanf_countable_income: 140
|
|
28
|
+
dc_tanf_standard_payment: 560
|
|
29
|
+
dc_tanf_eligible: true
|
|
30
|
+
dc_tanf: 420
|
|
31
|
+
dc_gac_eligible: false
|
|
32
|
+
dc_gac: 0
|
|
33
|
+
dc_power_eligible: false
|
|
34
|
+
dc_power: 0
|
|
35
|
+
|
|
36
|
+
- name: Case 2, testing GAC, applicant has a TANF unrelated child.
|
|
37
|
+
period: 2024-01
|
|
38
|
+
input:
|
|
39
|
+
people:
|
|
40
|
+
person1:
|
|
41
|
+
age: 40
|
|
42
|
+
employment_income: 4_020
|
|
43
|
+
person2:
|
|
44
|
+
age: 1
|
|
45
|
+
is_tax_unit_dependent: true
|
|
46
|
+
is_related_to_head_or_spouse: false
|
|
47
|
+
spm_units:
|
|
48
|
+
spm_unit:
|
|
49
|
+
members: [person1, person2]
|
|
50
|
+
childcare_expenses: 0
|
|
51
|
+
tax_units:
|
|
52
|
+
tax_unit:
|
|
53
|
+
members: [person1, person2]
|
|
54
|
+
households:
|
|
55
|
+
household:
|
|
56
|
+
members: [person1, person2]
|
|
57
|
+
state_code: DC
|
|
58
|
+
output:
|
|
59
|
+
dc_tanf_assistance_unit_size: 1
|
|
60
|
+
dc_tanf_eligible: false
|
|
61
|
+
dc_tanf: 0
|
|
62
|
+
dc_gac_eligible: true
|
|
63
|
+
dc_gac: 450
|
|
64
|
+
|
|
65
|
+
- name: Case 3, testing TANF and POWER, applicants is working and has an incapacitated member, take TANF.
|
|
66
|
+
period: 2024-01
|
|
67
|
+
input:
|
|
68
|
+
people:
|
|
69
|
+
person1:
|
|
70
|
+
age: 40
|
|
71
|
+
employment_income: 6_000
|
|
72
|
+
weekly_hours_worked: 40
|
|
73
|
+
person2:
|
|
74
|
+
age: 3
|
|
75
|
+
is_tax_unit_dependent: true
|
|
76
|
+
is_incapable_of_self_care: true
|
|
77
|
+
spm_units:
|
|
78
|
+
spm_unit:
|
|
79
|
+
members: [person1, person2]
|
|
80
|
+
is_tanf_enrolled: false
|
|
81
|
+
tax_units:
|
|
82
|
+
tax_unit:
|
|
83
|
+
members: [person1, person2]
|
|
84
|
+
households:
|
|
85
|
+
household:
|
|
86
|
+
members: [person1, person2]
|
|
87
|
+
state_code: DC
|
|
88
|
+
output:
|
|
89
|
+
dc_tanf_assistance_unit_size: 2
|
|
90
|
+
dc_tanf_eligible: true
|
|
91
|
+
dc_tanf_countable_income: 340
|
|
92
|
+
dc_tanf_standard_payment: 560
|
|
93
|
+
dc_tanf: 220
|
|
94
|
+
dc_power_eligible: false
|
|
95
|
+
dc_power: 0
|
|
96
|
+
|
|
97
|
+
- name: Case 4, testing TANF and POWER, applicants is not working, ineligible for TANF, eligible for POWER.
|
|
98
|
+
period: 2024-01
|
|
99
|
+
input:
|
|
100
|
+
people:
|
|
101
|
+
person1:
|
|
102
|
+
age: 30
|
|
103
|
+
employment_income: 0
|
|
104
|
+
weekly_hours_worked: 0
|
|
105
|
+
is_parent: true
|
|
106
|
+
person2:
|
|
107
|
+
age: 3
|
|
108
|
+
is_tax_unit_dependent: true
|
|
109
|
+
is_incapable_of_self_care: true
|
|
110
|
+
spm_units:
|
|
111
|
+
spm_unit:
|
|
112
|
+
members: [person1, person2]
|
|
113
|
+
is_tanf_enrolled: false
|
|
114
|
+
tax_units:
|
|
115
|
+
tax_unit:
|
|
116
|
+
members: [person1, person2]
|
|
117
|
+
households:
|
|
118
|
+
household:
|
|
119
|
+
members: [person1, person2]
|
|
120
|
+
state_code: DC
|
|
121
|
+
output:
|
|
122
|
+
dc_tanf_assistance_unit_size: 2
|
|
123
|
+
dc_tanf_eligible: false
|
|
124
|
+
dc_tanf_countable_income: 0
|
|
125
|
+
dc_tanf_standard_payment: 560
|
|
126
|
+
dc_tanf: 0
|
|
127
|
+
dc_tanf_basic_eligibility_requirements: true
|
|
128
|
+
dc_power_head_or_spouse_eligible: [true, false]
|
|
129
|
+
dc_power_eligible: true
|
|
130
|
+
dc_power: 560
|
|
131
|
+
|
|
132
|
+
- name: Case 5, testing GAC and TANF and POWER, applicant has two child, one related to head or spouse, one is not related,
|
|
133
|
+
period: 2024-01
|
|
134
|
+
input:
|
|
135
|
+
people:
|
|
136
|
+
person1:
|
|
137
|
+
age: 40
|
|
138
|
+
employment_income: 6_000
|
|
139
|
+
weekly_hours_worked: 0
|
|
140
|
+
is_parent: true
|
|
141
|
+
person2:
|
|
142
|
+
age: 3
|
|
143
|
+
is_tax_unit_dependent: true
|
|
144
|
+
is_incapable_of_self_care: true
|
|
145
|
+
person3:
|
|
146
|
+
age: 8
|
|
147
|
+
is_tax_unit_dependent: true
|
|
148
|
+
is_related_to_head_or_spouse: false
|
|
149
|
+
spm_units:
|
|
150
|
+
spm_unit:
|
|
151
|
+
members: [person1, person2, person3]
|
|
152
|
+
is_tanf_enrolled: false
|
|
153
|
+
tax_units:
|
|
154
|
+
tax_unit:
|
|
155
|
+
members: [person1, person2, person3]
|
|
156
|
+
households:
|
|
157
|
+
household:
|
|
158
|
+
members: [person1, person2, person3]
|
|
159
|
+
state_code: DC
|
|
160
|
+
output:
|
|
161
|
+
dc_tanf_assistance_unit_size: 2
|
|
162
|
+
dc_gac_assistance_unit_size: 1
|
|
163
|
+
dc_tanf_eligible: false
|
|
164
|
+
dc_power_eligible: true
|
|
165
|
+
dc_gac_eligible: true
|
|
166
|
+
dc_tanf: 0
|
|
167
|
+
dc_gac: 450
|
|
168
|
+
dc_tanf_countable_income: 340
|
|
169
|
+
dc_tanf_standard_payment: 560
|
|
170
|
+
dc_power: 220
|
|
171
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
- name: If ineligible, they get zero.
|
|
2
|
+
period: 2023
|
|
3
|
+
input:
|
|
4
|
+
dc_power_eligible: false
|
|
5
|
+
dc_tanf_standard_payment: 100
|
|
6
|
+
dc_tanf_countable_income: 0
|
|
7
|
+
output:
|
|
8
|
+
dc_power: 0
|
|
9
|
+
|
|
10
|
+
- name: If eligible, they get difference between grant standard and countable income.
|
|
11
|
+
period: 2023
|
|
12
|
+
input:
|
|
13
|
+
dc_power_eligible: true
|
|
14
|
+
dc_tanf_standard_payment: 100
|
|
15
|
+
dc_tanf_countable_income: 0
|
|
16
|
+
output:
|
|
17
|
+
dc_power: 100
|
|
18
|
+
|
|
19
|
+
- name: If eligible but countable income exceeds grant standard, they get 0.
|
|
20
|
+
period: 2023
|
|
21
|
+
input:
|
|
22
|
+
dc_power_eligible: true
|
|
23
|
+
dc_tanf_standard_payment: 100
|
|
24
|
+
dc_tanf_countable_income: 110
|
|
25
|
+
output:
|
|
26
|
+
dc_power: 0
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
- name: Case 1, family of 4.
|
|
2
|
+
period: 2023-01
|
|
3
|
+
absolute_error_margin: 0.5
|
|
4
|
+
input:
|
|
5
|
+
people:
|
|
6
|
+
person1:
|
|
7
|
+
age: 60
|
|
8
|
+
is_tax_unit_head: true
|
|
9
|
+
person2:
|
|
10
|
+
age: 59
|
|
11
|
+
is_tax_unit_spouse: true
|
|
12
|
+
person3:
|
|
13
|
+
age: 3
|
|
14
|
+
is_tax_unit_dependent: true
|
|
15
|
+
person4:
|
|
16
|
+
age: 30
|
|
17
|
+
is_pregnant: true
|
|
18
|
+
spm_units:
|
|
19
|
+
spm_unit:
|
|
20
|
+
members: [person1, person2, person3, person4]
|
|
21
|
+
dc_tanf_basic_eligibility_requirements: true
|
|
22
|
+
dc_power_has_disqualifying_benefits: false
|
|
23
|
+
tax_units:
|
|
24
|
+
tax_unit:
|
|
25
|
+
members: [person1, person2, person3, person4]
|
|
26
|
+
households:
|
|
27
|
+
household:
|
|
28
|
+
members: [person1, person2, person3, person4]
|
|
29
|
+
state_code: DC
|
|
30
|
+
output:
|
|
31
|
+
dc_power_head_or_spouse_eligible: [true, false, false, false]
|
|
32
|
+
dc_power_eligible: true
|
|
33
|
+
|
|
34
|
+
- name: Case 2, does not meet TANF basic eligibility requirements.
|
|
35
|
+
period: 2023-01
|
|
36
|
+
absolute_error_margin: 0.5
|
|
37
|
+
input:
|
|
38
|
+
people:
|
|
39
|
+
person1:
|
|
40
|
+
age: 30
|
|
41
|
+
is_tax_unit_head: true
|
|
42
|
+
weekly_hours_worked: 0
|
|
43
|
+
person2:
|
|
44
|
+
is_tax_unit_dependent: true
|
|
45
|
+
is_incapable_of_self_care: true
|
|
46
|
+
weekly_hours_worked: 0
|
|
47
|
+
person3:
|
|
48
|
+
age: 5
|
|
49
|
+
is_tax_unit_dependent: true
|
|
50
|
+
weekly_hours_worked: 0
|
|
51
|
+
spm_units:
|
|
52
|
+
spm_unit:
|
|
53
|
+
members: [person1, person2, person3]
|
|
54
|
+
dc_tanf_basic_eligibility_requirements: false
|
|
55
|
+
dc_power_has_disqualifying_benefits: false
|
|
56
|
+
tax_units:
|
|
57
|
+
tax_unit:
|
|
58
|
+
members: [person1, person2, person3]
|
|
59
|
+
households:
|
|
60
|
+
household:
|
|
61
|
+
members: [person1, person2, person3]
|
|
62
|
+
state_code: DC
|
|
63
|
+
output:
|
|
64
|
+
dc_power_eligible: false
|
|
65
|
+
|
|
66
|
+
- name: Case 3, receives ssi, not eligible.
|
|
67
|
+
period: 2023-01
|
|
68
|
+
absolute_error_margin: 0.5
|
|
69
|
+
input:
|
|
70
|
+
people:
|
|
71
|
+
person1:
|
|
72
|
+
age: 30
|
|
73
|
+
is_tax_unit_head: true
|
|
74
|
+
ssi: 10
|
|
75
|
+
weekly_hours_worked: 0
|
|
76
|
+
person2:
|
|
77
|
+
is_incapable_of_self_care: true
|
|
78
|
+
weekly_hours_worked: 0
|
|
79
|
+
person3:
|
|
80
|
+
age: 5
|
|
81
|
+
is_tax_unit_dependent: true
|
|
82
|
+
weekly_hours_worked: 0
|
|
83
|
+
spm_units:
|
|
84
|
+
spm_unit:
|
|
85
|
+
members: [person1, person2, person3]
|
|
86
|
+
tax_units:
|
|
87
|
+
tax_unit:
|
|
88
|
+
members: [person1, person2, person3]
|
|
89
|
+
households:
|
|
90
|
+
household:
|
|
91
|
+
members: [person1, person2, person3]
|
|
92
|
+
state_code: DC
|
|
93
|
+
output:
|
|
94
|
+
dc_power_eligible: false
|
policyengine_us/tests/policy/baseline/gov/states/dc/dhs/power/dc_power_head_or_spouse_eligible.yaml
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
- name: Case 1, has incapacitated member.
|
|
2
|
+
period: 2023-01
|
|
3
|
+
absolute_error_margin: 0.5
|
|
4
|
+
input:
|
|
5
|
+
people:
|
|
6
|
+
person1:
|
|
7
|
+
age: 30
|
|
8
|
+
is_tax_unit_head: true
|
|
9
|
+
is_parent: true
|
|
10
|
+
person2:
|
|
11
|
+
age: 30
|
|
12
|
+
is_tax_unit_spouse: true
|
|
13
|
+
is_incapable_of_self_care: true
|
|
14
|
+
is_parent: true
|
|
15
|
+
person3:
|
|
16
|
+
age: 3
|
|
17
|
+
is_tax_unit_dependent: true
|
|
18
|
+
spm_units:
|
|
19
|
+
spm_unit:
|
|
20
|
+
members: [person1, person2, person3]
|
|
21
|
+
tax_units:
|
|
22
|
+
tax_unit:
|
|
23
|
+
members: [person1, person2, person3]
|
|
24
|
+
households:
|
|
25
|
+
household:
|
|
26
|
+
members: [person1, person2, person3]
|
|
27
|
+
state_code: DC
|
|
28
|
+
output:
|
|
29
|
+
dc_power_head_or_spouse_eligible: [true, true, false]
|
|
30
|
+
|
|
31
|
+
- name: Case 2, spouse is pregnant.
|
|
32
|
+
period: 2023-01
|
|
33
|
+
absolute_error_margin: 0.5
|
|
34
|
+
input:
|
|
35
|
+
people:
|
|
36
|
+
person1:
|
|
37
|
+
age: 30
|
|
38
|
+
is_tax_unit_head: true
|
|
39
|
+
person2:
|
|
40
|
+
age: 18
|
|
41
|
+
is_tax_unit_spouse: true
|
|
42
|
+
is_pregnant: true
|
|
43
|
+
person3:
|
|
44
|
+
age: 3
|
|
45
|
+
is_tax_unit_dependent: true
|
|
46
|
+
spm_units:
|
|
47
|
+
spm_unit:
|
|
48
|
+
members: [person1, person2, person3]
|
|
49
|
+
tax_units:
|
|
50
|
+
tax_unit:
|
|
51
|
+
members: [person1, person2, person3]
|
|
52
|
+
households:
|
|
53
|
+
household:
|
|
54
|
+
members: [person1, person2, person3]
|
|
55
|
+
state_code: DC
|
|
56
|
+
output:
|
|
57
|
+
dc_power_head_or_spouse_eligible: [false, true, false]
|
|
58
|
+
|
|
59
|
+
- name: Case 3, is older than 60 years old.
|
|
60
|
+
period: 2023-01
|
|
61
|
+
absolute_error_margin: 0.5
|
|
62
|
+
input:
|
|
63
|
+
people:
|
|
64
|
+
person1:
|
|
65
|
+
age: 60
|
|
66
|
+
is_tax_unit_head: true
|
|
67
|
+
person2:
|
|
68
|
+
age: 59
|
|
69
|
+
is_tax_unit_spouse: true
|
|
70
|
+
person3:
|
|
71
|
+
age: 3
|
|
72
|
+
is_tax_unit_dependent: true
|
|
73
|
+
spm_units:
|
|
74
|
+
spm_unit:
|
|
75
|
+
members: [person1, person2, person3]
|
|
76
|
+
tax_units:
|
|
77
|
+
tax_unit:
|
|
78
|
+
members: [person1, person2, person3]
|
|
79
|
+
households:
|
|
80
|
+
household:
|
|
81
|
+
members: [person1, person2, person3]
|
|
82
|
+
state_code: DC
|
|
83
|
+
output:
|
|
84
|
+
dc_power_head_or_spouse_eligible: [true, false, false]
|
policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/dc_tanf_assistance_unit_size.yaml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
- name: Case 1, all members are in TANF assistance unit size.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
spm_unit_size: 3
|
|
5
|
+
dc_gac_assistance_unit_size: 0
|
|
6
|
+
state_code: DC
|
|
7
|
+
output:
|
|
8
|
+
dc_tanf_assistance_unit_size: 3
|
|
9
|
+
|
|
10
|
+
- name: Case 2, one member is in GAC assistance unit.
|
|
11
|
+
period: 2024-01
|
|
12
|
+
input:
|
|
13
|
+
spm_unit_size: 3
|
|
14
|
+
dc_gac_assistance_unit_size: 1
|
|
15
|
+
state_code: DC
|
|
16
|
+
output:
|
|
17
|
+
dc_tanf_assistance_unit_size: 2
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
period: 2022
|
|
3
3
|
input:
|
|
4
4
|
state_code: DC
|
|
5
|
-
|
|
5
|
+
dc_tanf_assistance_unit_size: 1
|
|
6
6
|
output:
|
|
7
7
|
dc_tanf_standard_payment: 437 * 12
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
period: 2022
|
|
11
11
|
input:
|
|
12
12
|
state_code: DC
|
|
13
|
-
|
|
13
|
+
dc_tanf_assistance_unit_size: 10
|
|
14
14
|
output:
|
|
15
15
|
dc_tanf_standard_payment: 1_750 * 12
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
period: 2023
|
|
19
19
|
input:
|
|
20
20
|
state_code: VA
|
|
21
|
-
|
|
21
|
+
dc_tanf_assistance_unit_size: 10
|
|
22
22
|
output:
|
|
23
23
|
dc_tanf_standard_payment: 0
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
period: 2022
|
|
27
27
|
input:
|
|
28
28
|
state_code: DC
|
|
29
|
-
|
|
29
|
+
dc_tanf_assistance_unit_size: 17
|
|
30
30
|
output:
|
|
31
31
|
dc_tanf_standard_payment: 1_750 * 12
|
|
32
32
|
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
period: 2024-01
|
|
35
35
|
input:
|
|
36
36
|
state_code: DC
|
|
37
|
-
|
|
37
|
+
dc_tanf_assistance_unit_size: 17
|
|
38
38
|
output:
|
|
39
39
|
dc_tanf_standard_payment: 2_668
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
- name: Is demographic eligible, income eligible and resource eligible.
|
|
2
|
+
period: 2023-01
|
|
3
|
+
input:
|
|
4
|
+
state_code: DC
|
|
5
|
+
dc_tanf_demographic_eligible_person: true
|
|
6
|
+
dc_tanf_income_eligible: true
|
|
7
|
+
dc_tanf_resources_eligible: true
|
|
8
|
+
output:
|
|
9
|
+
dc_tanf_basic_eligibility_requirements: true
|
|
10
|
+
|
|
11
|
+
- name: Is demographic eligible, income eligible but not resource eligible.
|
|
12
|
+
period: 2023-01
|
|
13
|
+
input:
|
|
14
|
+
state_code: DC
|
|
15
|
+
dc_tanf_demographic_eligible_person: true
|
|
16
|
+
dc_tanf_income_eligible: true
|
|
17
|
+
dc_tanf_resources_eligible: false
|
|
18
|
+
output:
|
|
19
|
+
dc_tanf_basic_eligibility_requirements: false
|
|
20
|
+
|
|
21
|
+
- name: Is demographic eligible, resource eligible but not income eligible.
|
|
22
|
+
period: 2023-01
|
|
23
|
+
input:
|
|
24
|
+
state_code: DC
|
|
25
|
+
dc_tanf_demographic_eligible_person: true
|
|
26
|
+
dc_tanf_income_eligible: false
|
|
27
|
+
dc_tanf_resources_eligible: true
|
|
28
|
+
output:
|
|
29
|
+
dc_tanf_basic_eligibility_requirements: false
|
|
30
|
+
|
|
31
|
+
- name: Is resource eligible, income eligible but not demographic eligible.
|
|
32
|
+
period: 2023-01
|
|
33
|
+
input:
|
|
34
|
+
state_code: DC
|
|
35
|
+
dc_tanf_demographic_eligible_person: false
|
|
36
|
+
dc_tanf_income_eligible: true
|
|
37
|
+
dc_tanf_resources_eligible: true
|
|
38
|
+
output:
|
|
39
|
+
dc_tanf_basic_eligibility_requirements: false
|
|
@@ -39,3 +39,14 @@
|
|
|
39
39
|
state_code: DC
|
|
40
40
|
output:
|
|
41
41
|
dc_tanf_demographic_eligible_person: true
|
|
42
|
+
|
|
43
|
+
- name: Is ineligible for TANF due to not related to head or spouse.
|
|
44
|
+
period: 2022-01
|
|
45
|
+
input:
|
|
46
|
+
age: 17
|
|
47
|
+
is_tax_unit_dependent: true
|
|
48
|
+
is_in_secondary_school: false
|
|
49
|
+
is_related_to_head_or_spouse: false
|
|
50
|
+
state_code: DC
|
|
51
|
+
output:
|
|
52
|
+
dc_tanf_demographic_eligible_person: false
|
policyengine_us/tests/policy/baseline/gov/states/dc/dhs/tanf/eligibility/dc_tanf_eligible.yaml
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
dc_tanf_demographic_eligible_person: true
|
|
6
6
|
dc_tanf_income_eligible: true
|
|
7
7
|
dc_tanf_resources_eligible: true
|
|
8
|
-
|
|
8
|
+
dc_tanf_meets_work_requirements: true
|
|
9
9
|
output:
|
|
10
10
|
dc_tanf_eligible: true
|
|
11
11
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
dc_tanf_demographic_eligible_person: true
|
|
17
17
|
dc_tanf_income_eligible: true
|
|
18
18
|
dc_tanf_resources_eligible: false
|
|
19
|
-
|
|
19
|
+
dc_tanf_meets_work_requirements: true
|
|
20
20
|
output:
|
|
21
21
|
dc_tanf_eligible: false
|
|
22
22
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
dc_tanf_demographic_eligible_person: true
|
|
28
28
|
dc_tanf_income_eligible: false
|
|
29
29
|
dc_tanf_resources_eligible: true
|
|
30
|
-
|
|
30
|
+
dc_tanf_meets_work_requirements: true
|
|
31
31
|
output:
|
|
32
32
|
dc_tanf_eligible: false
|
|
33
33
|
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
dc_tanf_demographic_eligible_person: false
|
|
39
39
|
dc_tanf_income_eligible: true
|
|
40
40
|
dc_tanf_resources_eligible: true
|
|
41
|
-
|
|
41
|
+
dc_tanf_meets_work_requirements: true
|
|
42
42
|
output:
|
|
43
43
|
dc_tanf_eligible: false
|
|
44
44
|
|
|
45
|
-
- name:
|
|
45
|
+
- name: Does not meet work requirement.
|
|
46
46
|
period: 2023-01
|
|
47
47
|
input:
|
|
48
48
|
state_code: DC
|
|
49
49
|
dc_tanf_demographic_eligible_person: true
|
|
50
50
|
dc_tanf_income_eligible: true
|
|
51
51
|
dc_tanf_resources_eligible: true
|
|
52
|
-
|
|
52
|
+
dc_tanf_meets_work_requirements: false
|
|
53
53
|
output:
|
|
54
54
|
dc_tanf_eligible: false
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
period: 2023
|
|
3
3
|
input:
|
|
4
4
|
immigration_status: REFUGEE
|
|
5
|
-
is_ssi_qualified_noncitizen: true
|
|
6
5
|
state_code: DC
|
|
7
6
|
output:
|
|
8
7
|
dc_tanf_immigration_status_eligible_person: true
|
|
@@ -11,25 +10,14 @@
|
|
|
11
10
|
period: 2023
|
|
12
11
|
input:
|
|
13
12
|
immigration_status: UNDOCUMENTED
|
|
14
|
-
is_ssi_qualified_noncitizen: false
|
|
15
13
|
state_code: DC
|
|
16
14
|
output:
|
|
17
15
|
dc_tanf_immigration_status_eligible_person: false
|
|
18
16
|
|
|
19
|
-
- name: Eligible refugee
|
|
20
|
-
period: 2023
|
|
21
|
-
input:
|
|
22
|
-
immigration_status: REFUGEE
|
|
23
|
-
is_ssi_qualified_noncitizen: true
|
|
24
|
-
state_code: DC
|
|
25
|
-
output:
|
|
26
|
-
dc_tanf_immigration_status_eligible_person: true
|
|
27
|
-
|
|
28
17
|
- name: Eligible citizen
|
|
29
18
|
period: 2023
|
|
30
19
|
input:
|
|
31
20
|
immigration_status: CITIZEN
|
|
32
|
-
is_ssi_qualified_noncitizen: false
|
|
33
21
|
state_code: DC
|
|
34
22
|
output:
|
|
35
23
|
dc_tanf_immigration_status_eligible_person: true
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
output:
|
|
8
8
|
dc_tanf_income_eligible: true
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
- name: Household with income equals need standard is eligible.
|
|
12
11
|
period: 2023
|
|
13
12
|
input:
|
|
@@ -17,7 +16,6 @@
|
|
|
17
16
|
output:
|
|
18
17
|
dc_tanf_income_eligible: true
|
|
19
18
|
|
|
20
|
-
|
|
21
19
|
- name: Household with income exceeding need standard is ineligible.
|
|
22
20
|
period: 2023
|
|
23
21
|
input:
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
spm_units:
|
|
9
9
|
spm_unit:
|
|
10
10
|
members: [parent, child]
|
|
11
|
+
dc_tanf_meets_work_requirements: true
|
|
11
12
|
households:
|
|
12
13
|
household:
|
|
13
14
|
members: [parent, child]
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
output:
|
|
16
17
|
dc_tanf: 545*12
|
|
17
18
|
|
|
18
|
-
- name: Case 2, applicant has
|
|
19
|
+
- name: Case 2, applicant has an eligible child.
|
|
19
20
|
period: 2022
|
|
20
21
|
input:
|
|
21
22
|
people:
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
members: [person1, person2]
|
|
31
32
|
is_tanf_enrolled: false
|
|
32
33
|
childcare_expenses: 5_000
|
|
34
|
+
dc_tanf_meets_work_requirements: true
|
|
33
35
|
tax_units:
|
|
34
36
|
tax_unit:
|
|
35
37
|
members: [person1, person2]
|
|
@@ -45,7 +47,7 @@
|
|
|
45
47
|
dc_tanf_eligible: true
|
|
46
48
|
dc_tanf: 545*12
|
|
47
49
|
|
|
48
|
-
- name: Case 3, applicant has
|
|
50
|
+
- name: Case 3, applicant has an eligible child enrolled in TANF.
|
|
49
51
|
period: 2022
|
|
50
52
|
input:
|
|
51
53
|
people:
|
|
@@ -60,6 +62,7 @@
|
|
|
60
62
|
members: [person1, person2]
|
|
61
63
|
is_tanf_enrolled: true
|
|
62
64
|
childcare_expenses: 0
|
|
65
|
+
dc_tanf_meets_work_requirements: true
|
|
63
66
|
tax_units:
|
|
64
67
|
tax_unit:
|
|
65
68
|
members: [person1, person2]
|
|
@@ -90,6 +93,7 @@
|
|
|
90
93
|
members: [person1, person2]
|
|
91
94
|
is_tanf_enrolled: false
|
|
92
95
|
childcare_expenses: 1_200
|
|
96
|
+
dc_tanf_meets_work_requirements: true
|
|
93
97
|
tax_units:
|
|
94
98
|
tax_unit:
|
|
95
99
|
members: [person1, person2]
|