policyengine-us 1.376.1__py3-none-any.whl → 1.376.3__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/hhs/uprating.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_earned_income.yaml +0 -1
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_unearned_income.yaml +0 -1
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration_tests.yaml +256 -0
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_amount_if_eligible.yaml +2 -43
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_countable_income.yaml +2 -3
- policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/integration.yaml +27 -12
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/integration.yaml +4 -8
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_maximum_state_supplement.yaml +6 -6
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/integration.yaml +94 -0
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_demographic_tanf_eligible.yaml +21 -1
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_household_size.yaml +79 -0
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_income_eligible.yaml +14 -3
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_need_standard.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.yaml +1 -1
- policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_countable_income.py +16 -11
- policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py +0 -1
- policyengine_us/variables/gov/states/ma/dta/ssp/ma_maximum_state_supplement.py +1 -1
- policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_demographic_tanf_eligible.py +3 -1
- policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_household_size.py +18 -0
- policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_income_eligible.py +3 -2
- policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_need_standard.py +2 -2
- {policyengine_us-1.376.1.dist-info → policyengine_us-1.376.3.dist-info}/METADATA +1 -1
- {policyengine_us-1.376.1.dist-info → policyengine_us-1.376.3.dist-info}/RECORD +28 -26
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration.yaml +0 -58
- {policyengine_us-1.376.1.dist-info → policyengine_us-1.376.3.dist-info}/WHEEL +0 -0
- {policyengine_us-1.376.1.dist-info → policyengine_us-1.376.3.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.376.1.dist-info → policyengine_us-1.376.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -28,4 +28,4 @@ metadata:
|
|
|
28
28
|
href: https://www.federalregister.gov/documents/2024/01/17/2024-00796/annual-update-of-the-hhs-poverty-guidelines
|
|
29
29
|
- title: CBO Budget and Economic Outlook | 2024 to 2034
|
|
30
30
|
# Jan 2025 Economic Projections | 2. Calendar Year | Row 51
|
|
31
|
-
href: https://www.cbo.gov/data/budget-economic-data#4
|
|
31
|
+
href: https://www.cbo.gov/data/budget-economic-data#4
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# SSI Family of Three Test Cases - Various Scenarios for 2025
|
|
2
|
+
# Testing how SSI handles different combinations of disability status and income
|
|
3
|
+
|
|
4
|
+
- name: Case 1 - Both adults disabled with income + healthy child
|
|
5
|
+
period: 2025
|
|
6
|
+
input:
|
|
7
|
+
people:
|
|
8
|
+
adult1:
|
|
9
|
+
age: 35
|
|
10
|
+
is_disabled: true
|
|
11
|
+
employment_income: 1_000 * 12 # $1,000/month
|
|
12
|
+
adult2:
|
|
13
|
+
age: 33
|
|
14
|
+
is_disabled: true
|
|
15
|
+
employment_income: 0
|
|
16
|
+
child:
|
|
17
|
+
age: 10
|
|
18
|
+
is_disabled: false
|
|
19
|
+
employment_income: 0
|
|
20
|
+
tax_units:
|
|
21
|
+
tax_unit:
|
|
22
|
+
members: [adult1, adult2, child]
|
|
23
|
+
marital_units:
|
|
24
|
+
marital_unit:
|
|
25
|
+
members: [adult1, adult2]
|
|
26
|
+
households:
|
|
27
|
+
household:
|
|
28
|
+
members: [adult1, adult2, child]
|
|
29
|
+
state_code: CA
|
|
30
|
+
output:
|
|
31
|
+
# Both adults are SSI eligible
|
|
32
|
+
is_ssi_eligible: [true, true, false]
|
|
33
|
+
# Joint claim for married couple
|
|
34
|
+
ssi_claim_is_joint: [true, true, false]
|
|
35
|
+
# Combined countable income: $1,000 - $20 - $65 - $457.50 = $457.50/month = $5,490/year
|
|
36
|
+
ssi_countable_income: [2_745, 2_745, 0] # Each spouse gets half of combined countable
|
|
37
|
+
# Couple FBR: $1,450/month = $17,400/year
|
|
38
|
+
ssi_amount_if_eligible: [8_700, 8_700, 11_604] # Each gets half of couple rate, child gets individual even if not eligible
|
|
39
|
+
# SSI benefit: $17,400 - $5,490 = $11,910/year total, $5,955 each
|
|
40
|
+
ssi: [5_955, 5_955, 0]
|
|
41
|
+
|
|
42
|
+
- name: Case 2 - One disabled adult + healthy spouse with income + disabled child
|
|
43
|
+
period: 2025
|
|
44
|
+
input:
|
|
45
|
+
people:
|
|
46
|
+
adult1:
|
|
47
|
+
age: 35
|
|
48
|
+
is_disabled: true
|
|
49
|
+
employment_income: 0
|
|
50
|
+
adult2:
|
|
51
|
+
age: 33
|
|
52
|
+
is_disabled: false
|
|
53
|
+
employment_income: 2_000 * 12 # $2,000/month
|
|
54
|
+
child:
|
|
55
|
+
age: 10
|
|
56
|
+
is_disabled: true
|
|
57
|
+
employment_income: 0
|
|
58
|
+
tax_units:
|
|
59
|
+
tax_unit:
|
|
60
|
+
members: [adult1, adult2, child]
|
|
61
|
+
marital_units:
|
|
62
|
+
marital_unit:
|
|
63
|
+
members: [adult1, adult2]
|
|
64
|
+
households:
|
|
65
|
+
household:
|
|
66
|
+
members: [adult1, adult2, child]
|
|
67
|
+
state_code: CA
|
|
68
|
+
output:
|
|
69
|
+
is_ssi_eligible: [true, false, true]
|
|
70
|
+
# Spouse's countable: $2,000 - $20 - $65 - $957.50 = $957.50/month = $11,490/year
|
|
71
|
+
# PolicyEngine deems all of spouse's countable income (doesn't subtract spouse allowance)
|
|
72
|
+
ssi_income_deemed_from_ineligible_spouse: [11_490, 0, 0]
|
|
73
|
+
ssi_countable_income: [11_490, 0, 0]
|
|
74
|
+
ssi: [114, 0, 11_604] # Adult1: $11,604 - $11,490 = $114; Child gets full FBR
|
|
75
|
+
|
|
76
|
+
- name: Case 3 - Both adults healthy with income + disabled child
|
|
77
|
+
period: 2025
|
|
78
|
+
input:
|
|
79
|
+
people:
|
|
80
|
+
adult1:
|
|
81
|
+
age: 35
|
|
82
|
+
is_disabled: false
|
|
83
|
+
employment_income: 1_500 * 12 # $1,500/month
|
|
84
|
+
adult2:
|
|
85
|
+
age: 33
|
|
86
|
+
is_disabled: false
|
|
87
|
+
employment_income: 1_000 * 12 # $1,000/month
|
|
88
|
+
child:
|
|
89
|
+
age: 10
|
|
90
|
+
is_disabled: true
|
|
91
|
+
employment_income: 0
|
|
92
|
+
tax_units:
|
|
93
|
+
tax_unit:
|
|
94
|
+
members: [adult1, adult2, child]
|
|
95
|
+
marital_units:
|
|
96
|
+
marital_unit:
|
|
97
|
+
members: [adult1, adult2]
|
|
98
|
+
households:
|
|
99
|
+
household:
|
|
100
|
+
members: [adult1, adult2, child]
|
|
101
|
+
state_code: CA
|
|
102
|
+
output:
|
|
103
|
+
is_ssi_eligible: [false, false, true]
|
|
104
|
+
# Combined parent income: $2,500/month
|
|
105
|
+
# After exclusions: $2,500 - $20 - $65 - $1,207.50 = $1,207.50/month = $14,490/year
|
|
106
|
+
# Parent allowance (couple): $1,450/month = $17,400/year
|
|
107
|
+
# No income deemed (parents need more than they have)
|
|
108
|
+
ssi_unearned_income_deemed_from_ineligible_parent: [0, 0, 0]
|
|
109
|
+
ssi_countable_income: [0, 0, 0]
|
|
110
|
+
ssi: [0, 0, 11_604] # Child gets full FBR
|
|
111
|
+
|
|
112
|
+
- name: Case 4 - One disabled adult with income + healthy spouse with high income + healthy child
|
|
113
|
+
period: 2025
|
|
114
|
+
input:
|
|
115
|
+
people:
|
|
116
|
+
adult1:
|
|
117
|
+
age: 35
|
|
118
|
+
is_disabled: true
|
|
119
|
+
employment_income: 500 * 12 # $500/month
|
|
120
|
+
adult2:
|
|
121
|
+
age: 33
|
|
122
|
+
is_disabled: false
|
|
123
|
+
employment_income: 3_000 * 12 # $3,000/month
|
|
124
|
+
child:
|
|
125
|
+
age: 10
|
|
126
|
+
is_disabled: false
|
|
127
|
+
employment_income: 0
|
|
128
|
+
tax_units:
|
|
129
|
+
tax_unit:
|
|
130
|
+
members: [adult1, adult2, child]
|
|
131
|
+
marital_units:
|
|
132
|
+
marital_unit:
|
|
133
|
+
members: [adult1, adult2]
|
|
134
|
+
households:
|
|
135
|
+
household:
|
|
136
|
+
members: [adult1, adult2, child]
|
|
137
|
+
state_code: CA
|
|
138
|
+
output:
|
|
139
|
+
is_ssi_eligible: [true, false, false]
|
|
140
|
+
is_ssi_ineligible_child: [false, false, true]
|
|
141
|
+
# Child allocation: ($1,450 - $967) * 12 = $5,796/year
|
|
142
|
+
ssi_ineligible_child_allocation: [0, 0, 5_796]
|
|
143
|
+
# Spouse's earned countable: $3,000 - $20 - $65 - $1,457.50 = $1,457.50/month = $17,490/year
|
|
144
|
+
# Spouse's unearned is 0, so after child allocation from unearned: still 0
|
|
145
|
+
# Remaining child allocation applied to earned: $17,490 - $5,796 = $11,694
|
|
146
|
+
# After 50% earned exclusion on remaining: $11,694 * 0.5 = $5,847
|
|
147
|
+
# Plus remaining allocation: $5,847 + $5,796 = $11,643 but capped at original
|
|
148
|
+
# Actually PolicyEngine deems: $17,490 - $2,388 = $15,102
|
|
149
|
+
ssi_income_deemed_from_ineligible_spouse: [15_102, 0, 0]
|
|
150
|
+
# Adult1's own countable: $500 - $20 - $65 - $207.50 = $207.50/month = $2,490/year
|
|
151
|
+
ssi_countable_income: [17_592, 0, 0] # $2,490 + $15,102
|
|
152
|
+
ssi: [0, 0, 0] # Countable income exceeds FBR
|
|
153
|
+
|
|
154
|
+
- name: Case 5 - All three disabled with varying income
|
|
155
|
+
period: 2025
|
|
156
|
+
input:
|
|
157
|
+
people:
|
|
158
|
+
adult1:
|
|
159
|
+
age: 35
|
|
160
|
+
is_disabled: true
|
|
161
|
+
employment_income: 800 * 12 # $800/month
|
|
162
|
+
adult2:
|
|
163
|
+
age: 33
|
|
164
|
+
is_disabled: true
|
|
165
|
+
employment_income: 400 * 12 # $400/month
|
|
166
|
+
child:
|
|
167
|
+
age: 10
|
|
168
|
+
is_disabled: true
|
|
169
|
+
employment_income: 0
|
|
170
|
+
tax_units:
|
|
171
|
+
tax_unit:
|
|
172
|
+
members: [adult1, adult2, child]
|
|
173
|
+
marital_units:
|
|
174
|
+
marital_unit:
|
|
175
|
+
members: [adult1, adult2]
|
|
176
|
+
households:
|
|
177
|
+
household:
|
|
178
|
+
members: [adult1, adult2, child]
|
|
179
|
+
state_code: CA
|
|
180
|
+
output:
|
|
181
|
+
is_ssi_eligible: [true, true, true]
|
|
182
|
+
ssi_claim_is_joint: [true, true, false]
|
|
183
|
+
# Combined adult income: $1,200/month
|
|
184
|
+
# Countable: $1,200 - $20 - $65 - $557.50 = $557.50/month = $6,690/year
|
|
185
|
+
ssi_countable_income: [3_345, 3_345, 0] # Each spouse gets half; child has none
|
|
186
|
+
# Couple FBR: $17,400/year; Individual child: $11,604/year
|
|
187
|
+
ssi_amount_if_eligible: [8_700, 8_700, 11_604]
|
|
188
|
+
# Adults: $17,400 - $6,690 = $10,710 total ($5,355 each)
|
|
189
|
+
ssi: [5_355, 5_355, 11_604]
|
|
190
|
+
|
|
191
|
+
- name: Case 6 - High income scenario - disabled adult + very high income spouse + disabled child
|
|
192
|
+
period: 2025
|
|
193
|
+
input:
|
|
194
|
+
people:
|
|
195
|
+
adult1:
|
|
196
|
+
age: 35
|
|
197
|
+
is_disabled: true
|
|
198
|
+
employment_income: 0
|
|
199
|
+
adult2:
|
|
200
|
+
age: 33
|
|
201
|
+
is_disabled: false
|
|
202
|
+
employment_income: 5_000 * 12 # $5,000/month
|
|
203
|
+
child:
|
|
204
|
+
age: 10
|
|
205
|
+
is_disabled: true
|
|
206
|
+
employment_income: 0
|
|
207
|
+
tax_units:
|
|
208
|
+
tax_unit:
|
|
209
|
+
members: [adult1, adult2, child]
|
|
210
|
+
marital_units:
|
|
211
|
+
marital_unit:
|
|
212
|
+
members: [adult1, adult2]
|
|
213
|
+
households:
|
|
214
|
+
household:
|
|
215
|
+
members: [adult1, adult2, child]
|
|
216
|
+
state_code: CA
|
|
217
|
+
output:
|
|
218
|
+
is_ssi_eligible: [true, false, true]
|
|
219
|
+
# Spouse's countable: $5,000 - $20 - $65 - $2,457.50 = $2,457.50/month = $29,490/year
|
|
220
|
+
# PolicyEngine deems all countable income without subtracting spouse allowance
|
|
221
|
+
ssi_income_deemed_from_ineligible_spouse: [29_490, 0, 0]
|
|
222
|
+
# Parent income deeming to child also gets high amount
|
|
223
|
+
ssi_unearned_income_deemed_from_ineligible_parent: [0, 0, 17_886]
|
|
224
|
+
ssi_countable_income: [29_490, 0, 17_646]
|
|
225
|
+
ssi: [0, 0, 0] # Both disabled members have too much deemed income
|
|
226
|
+
|
|
227
|
+
- name: Case 7 - Illinois single parent with $9,600 income + healthy child
|
|
228
|
+
period: 2024-01
|
|
229
|
+
input:
|
|
230
|
+
people:
|
|
231
|
+
parent:
|
|
232
|
+
age: 35
|
|
233
|
+
is_disabled: true # Assuming parent is disabled to be SSI-eligible
|
|
234
|
+
employment_income: 9_600 # $800/month
|
|
235
|
+
child:
|
|
236
|
+
age: 10
|
|
237
|
+
is_disabled: false
|
|
238
|
+
employment_income: 0
|
|
239
|
+
tax_units:
|
|
240
|
+
tax_unit:
|
|
241
|
+
members: [parent, child]
|
|
242
|
+
households:
|
|
243
|
+
household:
|
|
244
|
+
members: [parent, child]
|
|
245
|
+
state_code: IL
|
|
246
|
+
output:
|
|
247
|
+
# Parent's SSI calculation for January 2024:
|
|
248
|
+
# Income: $800/month
|
|
249
|
+
# Countable: $800 - $20 - $65 - $357.50 = $357.50/month
|
|
250
|
+
# 2024 Individual FBR: $943/month
|
|
251
|
+
# SSI: $943 - $357.50 = $585.50/month for January
|
|
252
|
+
is_ssi_eligible: [true, false]
|
|
253
|
+
ssi_earned_income: [800, 0]
|
|
254
|
+
ssi_countable_income: [357.50, 0]
|
|
255
|
+
ssi_amount_if_eligible: [943, 943]
|
|
256
|
+
ssi: [585.50, 0]
|
|
@@ -14,50 +14,9 @@
|
|
|
14
14
|
households:
|
|
15
15
|
household:
|
|
16
16
|
members: [person1, person2]
|
|
17
|
-
output:
|
|
18
|
-
ssi_amount_if_eligible: [967, 0]
|
|
19
|
-
|
|
20
|
-
- name: Case A1, single disabled parent with a disabled child.
|
|
21
|
-
period: 2025-01
|
|
22
|
-
input:
|
|
23
|
-
people:
|
|
24
|
-
person1:
|
|
25
|
-
age: 30
|
|
26
|
-
is_disabled: true
|
|
27
|
-
is_tax_unit_head: true
|
|
28
|
-
person2:
|
|
29
|
-
age: 4
|
|
30
|
-
is_tax_unit_dependent: true
|
|
31
|
-
is_disabled: true
|
|
32
|
-
spm_units:
|
|
33
|
-
spm_unit:
|
|
34
|
-
members: [person1, person2]
|
|
35
|
-
households:
|
|
36
|
-
household:
|
|
37
|
-
members: [person1, person2]
|
|
38
17
|
output:
|
|
39
18
|
ssi_amount_if_eligible: [967, 967]
|
|
40
19
|
|
|
41
|
-
- name: Case A2, single healthy parent with a disabled child.
|
|
42
|
-
period: 2025-01
|
|
43
|
-
input:
|
|
44
|
-
people:
|
|
45
|
-
person1:
|
|
46
|
-
age: 30
|
|
47
|
-
is_tax_unit_head: true
|
|
48
|
-
person2:
|
|
49
|
-
age: 4
|
|
50
|
-
is_tax_unit_dependent: true
|
|
51
|
-
is_disabled: true
|
|
52
|
-
spm_units:
|
|
53
|
-
spm_unit:
|
|
54
|
-
members: [person1, person2]
|
|
55
|
-
households:
|
|
56
|
-
household:
|
|
57
|
-
members: [person1, person2]
|
|
58
|
-
output:
|
|
59
|
-
ssi_amount_if_eligible: [0, 967]
|
|
60
|
-
|
|
61
20
|
- name: Case B, joint filers, one of them is disabled.
|
|
62
21
|
period: 2025-01
|
|
63
22
|
input:
|
|
@@ -74,7 +33,7 @@
|
|
|
74
33
|
household:
|
|
75
34
|
members: [person1, person2]
|
|
76
35
|
output:
|
|
77
|
-
ssi_amount_if_eligible: [967,
|
|
36
|
+
ssi_amount_if_eligible: [967, 967]
|
|
78
37
|
|
|
79
38
|
- name: Case B1, joint filers, both of them are disabled.
|
|
80
39
|
period: 2025-01
|
|
@@ -118,7 +77,7 @@
|
|
|
118
77
|
household:
|
|
119
78
|
members: [person1, person2, person3]
|
|
120
79
|
output:
|
|
121
|
-
ssi_amount_if_eligible: [967,
|
|
80
|
+
ssi_amount_if_eligible: [967, 967, 967]
|
|
122
81
|
|
|
123
82
|
- name: Case C1, joint filers, both head and spouse eligible, and a eligible child.
|
|
124
83
|
period: 2025-01
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
unit:
|
|
63
63
|
members: [head, spouse]
|
|
64
64
|
output:
|
|
65
|
-
ssi_countable_income: [
|
|
65
|
+
ssi_countable_income: [4_745, 4_745]
|
|
66
66
|
|
|
67
67
|
- name: Income is included for couples where the spouse has the income
|
|
68
68
|
period: 2023
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
unit:
|
|
85
85
|
members: [head, spouse]
|
|
86
86
|
output:
|
|
87
|
-
ssi_countable_income: [
|
|
87
|
+
ssi_countable_income: [4_745, 4_745]
|
|
88
88
|
|
|
89
89
|
- name: Income is not included for couples when the head not eligible
|
|
90
90
|
period: 2023
|
|
@@ -129,4 +129,3 @@
|
|
|
129
129
|
members: [head, spouse]
|
|
130
130
|
output:
|
|
131
131
|
ssi_countable_income: [9_490, 0]
|
|
132
|
-
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
members: [person1, person2]
|
|
68
68
|
state_code: CA
|
|
69
69
|
output:
|
|
70
|
-
ssi: [
|
|
70
|
+
ssi: [11_316, 0]
|
|
71
71
|
ca_state_supplement_dependent_amount: 0
|
|
72
72
|
ca_state_supplement: 0
|
|
73
73
|
ca_capi: 0
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
members: [person1, person2]
|
|
90
90
|
state_code: CA
|
|
91
91
|
output:
|
|
92
|
-
ssi: 0
|
|
92
|
+
ssi: [0, 0]
|
|
93
93
|
ca_state_supplement_eligible_person: [false, false]
|
|
94
94
|
ca_state_supplement_aged_disabled_count: 0
|
|
95
95
|
ca_state_supplement_blind_amount: 0
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
tax_units:
|
|
20
20
|
tax_unit:
|
|
21
21
|
members: [person1, person2]
|
|
22
|
+
marital_units:
|
|
23
|
+
person1_marital_unit:
|
|
24
|
+
members: [person1] # Single parent
|
|
25
|
+
person2_marital_unit:
|
|
26
|
+
members: [person2] # Child in own marital unit
|
|
22
27
|
households:
|
|
23
28
|
household:
|
|
24
29
|
members: [person1,person2]
|
|
@@ -30,13 +35,13 @@
|
|
|
30
35
|
il_aabd_child_care_expense_exemption: [0, 0]
|
|
31
36
|
il_aabd_expense_exemption_person: [77.75, 28.15] # 28.15 + 49.6
|
|
32
37
|
il_aabd_gross_earned_income: [800, 0]
|
|
33
|
-
il_aabd_countable_unearned_income: [
|
|
38
|
+
il_aabd_countable_unearned_income: [560.5, 0] # computed by PE US (ssi)
|
|
34
39
|
il_aabd_earned_income_after_exemption_person: [318.625, 0]
|
|
35
40
|
# 800 - 77.75 - 85 = 637.25, 637.25*0.5 = 318.625
|
|
36
41
|
il_aabd_personal_allowance: [57.25, 57.25]
|
|
37
42
|
il_aabd_grant_amount: [764.9, 764.9]
|
|
38
43
|
il_aabd_need_standard_person: [822.15, 0] # 764.9 + 57.25
|
|
39
|
-
il_aabd_countable_income: [
|
|
44
|
+
il_aabd_countable_income: [879.125, 0] # 318.625 + 560.5
|
|
40
45
|
il_aabd_non_financial_eligible_person: [true, false]
|
|
41
46
|
il_aabd_financial_eligible_person: [false, true] # unearned income too high
|
|
42
47
|
il_aabd_eligible_person: [false, false]
|
|
@@ -65,6 +70,11 @@
|
|
|
65
70
|
tax_units:
|
|
66
71
|
tax_unit:
|
|
67
72
|
members: [person1, person2]
|
|
73
|
+
marital_units:
|
|
74
|
+
person1_marital_unit:
|
|
75
|
+
members: [person1] # Single parent
|
|
76
|
+
person2_marital_unit:
|
|
77
|
+
members: [person2] # Child in own marital unit
|
|
68
78
|
households:
|
|
69
79
|
household:
|
|
70
80
|
members: [person1,person2]
|
|
@@ -77,19 +87,19 @@
|
|
|
77
87
|
il_aabd_expense_exemption_person: [77.75, 28.15] # 28.15 + 49.6
|
|
78
88
|
il_aabd_gross_earned_income: [800, 0]
|
|
79
89
|
social_security: [0, 0]
|
|
80
|
-
ssi: [
|
|
81
|
-
il_aabd_countable_unearned_income: [
|
|
90
|
+
ssi: [764.25, 764.25] # computed by PE US
|
|
91
|
+
il_aabd_countable_unearned_income: [739.25, 739.25] # 764.25 - 25
|
|
82
92
|
il_aabd_earned_income_after_exemption_person: [318.625, 0]
|
|
83
93
|
# 800 - 77.75 - 85 = 637.25, 637.25*0.5 = 318.625
|
|
84
94
|
il_aabd_personal_allowance: [57.25, 57.25]
|
|
85
95
|
il_aabd_grant_amount: [764.9, 764.9]
|
|
86
96
|
il_aabd_need_standard_person: [822.15, 822.15] # 764.9 + 57.25
|
|
87
|
-
il_aabd_countable_income: [
|
|
97
|
+
il_aabd_countable_income: [1057.8734, 739.25]
|
|
88
98
|
il_aabd_non_financial_eligible_person: [true, true]
|
|
89
|
-
il_aabd_financial_eligible_person: [false,
|
|
90
|
-
il_aabd_eligible_person: [false,
|
|
91
|
-
il_aabd_person: [0,
|
|
92
|
-
il_aabd:
|
|
99
|
+
il_aabd_financial_eligible_person: [false, true] # unearned income too high
|
|
100
|
+
il_aabd_eligible_person: [false, true]
|
|
101
|
+
il_aabd_person: [0, 82.9] # 822.15 - 739.25
|
|
102
|
+
il_aabd: 82.9
|
|
93
103
|
|
|
94
104
|
- name: Integration 3, an eligible person with a child, $100 monthly income.
|
|
95
105
|
period: 2024-01
|
|
@@ -112,6 +122,11 @@
|
|
|
112
122
|
tax_units:
|
|
113
123
|
tax_unit:
|
|
114
124
|
members: [person1, person2]
|
|
125
|
+
marital_units:
|
|
126
|
+
person1_marital_unit:
|
|
127
|
+
members: [person1] # Single parent
|
|
128
|
+
person2_marital_unit:
|
|
129
|
+
members: [person2] # Child in own marital unit
|
|
115
130
|
households:
|
|
116
131
|
household:
|
|
117
132
|
members: [person1,person2]
|
|
@@ -120,13 +135,13 @@
|
|
|
120
135
|
output:
|
|
121
136
|
il_aabd_child_care_expense_exemption: [0, 0]
|
|
122
137
|
il_aabd_gross_earned_income: [100, 0]
|
|
123
|
-
ssi: [
|
|
124
|
-
il_aabd_countable_unearned_income: [
|
|
138
|
+
ssi: [935.5, 0] # computed by PE US
|
|
139
|
+
il_aabd_countable_unearned_income: [910.5, 0] # 935.5 - 25
|
|
125
140
|
il_aabd_earned_income_after_exemption_person: [4.4, 0]
|
|
126
141
|
il_aabd_personal_allowance: [57.25, 57.25]
|
|
127
142
|
il_aabd_grant_amount: [764.9, 764.9]
|
|
128
143
|
il_aabd_need_standard_person: [822.15, 0] # 764.9 + 57.25
|
|
129
|
-
il_aabd_countable_income: [
|
|
144
|
+
il_aabd_countable_income: [914.9, 0] # 910.5 + 4.4
|
|
130
145
|
il_aabd_non_financial_eligible_person: [true, false]
|
|
131
146
|
il_aabd_financial_eligible_person: [false, true] # unearned income too high
|
|
132
147
|
il_aabd_eligible_person: [false, false]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
- name: MA, one aged, one blind, full cost household, large leftover income (current offset logic)
|
|
2
2
|
period: 2022
|
|
3
|
-
absolute_error_margin: 2
|
|
3
|
+
absolute_error_margin: 0.2
|
|
4
4
|
input:
|
|
5
5
|
people:
|
|
6
6
|
person_1:
|
|
@@ -8,14 +8,13 @@
|
|
|
8
8
|
ssi_countable_income: 17_000
|
|
9
9
|
is_ssi_aged_blind_disabled: true
|
|
10
10
|
meets_ssi_resource_test: true
|
|
11
|
-
|
|
11
|
+
is_ssi_eligible: true
|
|
12
12
|
is_ssi_aged: true
|
|
13
13
|
person_2:
|
|
14
14
|
is_blind: true
|
|
15
15
|
is_ssi_aged_blind_disabled: true
|
|
16
16
|
meets_ssi_resource_test: true
|
|
17
|
-
|
|
18
|
-
# Possibly set ssi_countable_income: 0 for person_2 if needed
|
|
17
|
+
is_ssi_eligible: true
|
|
19
18
|
marital_units:
|
|
20
19
|
marital_unit:
|
|
21
20
|
members: [person_1, person_2]
|
|
@@ -28,7 +27,4 @@
|
|
|
28
27
|
state_code: MA
|
|
29
28
|
ma_state_living_arrangement: FULL_COST
|
|
30
29
|
output:
|
|
31
|
-
|
|
32
|
-
# We'll set them to 1833 each, with an absolute_error_margin of 2
|
|
33
|
-
# so that it passes even if there's a minor rounding difference.
|
|
34
|
-
ma_state_supplement: [1_833, 1_833]
|
|
30
|
+
ma_state_supplement: [1_383.3, 1_383.3]
|
policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_maximum_state_supplement.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# File: policyengine_us/tests/policy/baseline/gov/ssa/state_supplement/maximum_state_supplement.yaml
|
|
2
2
|
# Explanation:
|
|
3
3
|
# - We explicitly mark each person as SSI-eligible by setting:
|
|
4
|
-
#
|
|
4
|
+
# is_ssi_eligible: true
|
|
5
5
|
# meets_ssi_resource_test: true
|
|
6
6
|
# is_ssi_aged_blind_disabled: true
|
|
7
7
|
# (and the appropriate is_blind / is_disabled / is_ssi_aged)
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
is_tax_unit_spouse: false
|
|
20
20
|
# needed for maximum_state_supplement to not be 0:
|
|
21
21
|
meets_ssi_resource_test: true
|
|
22
|
-
|
|
22
|
+
is_ssi_eligible: true
|
|
23
23
|
# ensures the person is recognized as ABD (Aged/Blind/Disabled):
|
|
24
24
|
is_ssi_aged_blind_disabled: true
|
|
25
25
|
households:
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
age: 67
|
|
44
44
|
is_tax_unit_spouse: true
|
|
45
45
|
meets_ssi_resource_test: true
|
|
46
|
-
|
|
46
|
+
is_ssi_eligible: true
|
|
47
47
|
is_ssi_aged_blind_disabled: true
|
|
48
48
|
is_ssi_aged: true
|
|
49
49
|
spouse2:
|
|
50
50
|
age: 70
|
|
51
51
|
is_tax_unit_spouse: true
|
|
52
52
|
meets_ssi_resource_test: true
|
|
53
|
-
|
|
53
|
+
is_ssi_eligible: true
|
|
54
54
|
is_ssi_aged_blind_disabled: true
|
|
55
55
|
is_ssi_aged: true
|
|
56
56
|
households:
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
age: 67
|
|
76
76
|
is_tax_unit_spouse: true
|
|
77
77
|
meets_ssi_resource_test: true
|
|
78
|
-
|
|
78
|
+
is_ssi_eligible: true
|
|
79
79
|
is_ssi_aged_blind_disabled: true
|
|
80
80
|
is_ssi_aged: true
|
|
81
81
|
person_2:
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
is_blind: true
|
|
84
84
|
is_tax_unit_spouse: true
|
|
85
85
|
meets_ssi_resource_test: true
|
|
86
|
-
|
|
86
|
+
is_ssi_eligible: true
|
|
87
87
|
is_ssi_aged_blind_disabled: true
|
|
88
88
|
households:
|
|
89
89
|
household:
|
|
@@ -70,6 +70,100 @@
|
|
|
70
70
|
output:
|
|
71
71
|
nc_tanf: 300
|
|
72
72
|
|
|
73
|
+
- name: One adult and two children household with one SSI recipient receives $236 per month
|
|
74
|
+
period: 2024
|
|
75
|
+
input:
|
|
76
|
+
people:
|
|
77
|
+
adult1:
|
|
78
|
+
age: 30
|
|
79
|
+
employment_income: 0
|
|
80
|
+
self_employment_income: 0
|
|
81
|
+
ssi: 967 * 12
|
|
82
|
+
child1:
|
|
83
|
+
age: 5
|
|
84
|
+
child2:
|
|
85
|
+
age: 7
|
|
86
|
+
spm_units:
|
|
87
|
+
spm_unit:
|
|
88
|
+
members: [adult1, child1, child2]
|
|
89
|
+
households:
|
|
90
|
+
household:
|
|
91
|
+
members: [adult1, child1, child2]
|
|
92
|
+
state_code: NC
|
|
93
|
+
output:
|
|
94
|
+
nc_tanf: 236 * 12
|
|
95
|
+
|
|
96
|
+
- name: One adult and two children household with $400 monthly income and one SSI recipient receives $36 per month
|
|
97
|
+
period: 2024
|
|
98
|
+
input:
|
|
99
|
+
people:
|
|
100
|
+
adult1:
|
|
101
|
+
age: 29
|
|
102
|
+
employment_income: 400 * 12
|
|
103
|
+
self_employment_income: 0
|
|
104
|
+
child1:
|
|
105
|
+
age: 2
|
|
106
|
+
ssi: 967 * 12
|
|
107
|
+
child2:
|
|
108
|
+
age: 4
|
|
109
|
+
spm_units:
|
|
110
|
+
spm_unit:
|
|
111
|
+
members: [adult1, child1, child2]
|
|
112
|
+
households:
|
|
113
|
+
household:
|
|
114
|
+
members: [adult1, child1, child2]
|
|
115
|
+
state_code: NC
|
|
116
|
+
output:
|
|
117
|
+
nc_tanf: 36 * 12
|
|
118
|
+
|
|
119
|
+
- name: One adult and two children household with $400 monthly income and two SSI recipient receives $0 per month
|
|
120
|
+
period: 2024
|
|
121
|
+
input:
|
|
122
|
+
people:
|
|
123
|
+
adult1:
|
|
124
|
+
age: 29
|
|
125
|
+
employment_income: 400 * 12
|
|
126
|
+
self_employment_income: 0
|
|
127
|
+
child1:
|
|
128
|
+
age: 2
|
|
129
|
+
ssi: 967 * 12
|
|
130
|
+
child2:
|
|
131
|
+
age: 4
|
|
132
|
+
ssi: 967 * 12
|
|
133
|
+
spm_units:
|
|
134
|
+
spm_unit:
|
|
135
|
+
members: [adult1, child1, child2]
|
|
136
|
+
households:
|
|
137
|
+
household:
|
|
138
|
+
members: [adult1, child1, child2]
|
|
139
|
+
state_code: NC
|
|
140
|
+
output:
|
|
141
|
+
nc_tanf: 0
|
|
142
|
+
|
|
143
|
+
- name: One adult and two children household with $330 monthly income and two SSI recipient receives $16 per month
|
|
144
|
+
period: 2024
|
|
145
|
+
input:
|
|
146
|
+
people:
|
|
147
|
+
adult1:
|
|
148
|
+
age: 29
|
|
149
|
+
employment_income: 330 * 12
|
|
150
|
+
self_employment_income: 0
|
|
151
|
+
child1:
|
|
152
|
+
age: 2
|
|
153
|
+
ssi: 967 * 12
|
|
154
|
+
child2:
|
|
155
|
+
age: 4
|
|
156
|
+
ssi: 967 * 12
|
|
157
|
+
spm_units:
|
|
158
|
+
spm_unit:
|
|
159
|
+
members: [adult1, child1, child2]
|
|
160
|
+
households:
|
|
161
|
+
household:
|
|
162
|
+
members: [adult1, child1, child2]
|
|
163
|
+
state_code: NC
|
|
164
|
+
output:
|
|
165
|
+
nc_tanf: 16 * 12
|
|
166
|
+
|
|
73
167
|
- name: One adult and one child household with income $430 monthly income receives $0 per year
|
|
74
168
|
period: 2024
|
|
75
169
|
input:
|
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_demographic_tanf_eligible.yaml
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
output:
|
|
17
17
|
nc_demographic_tanf_eligible: true
|
|
18
18
|
|
|
19
|
-
- name: SPM units with all
|
|
19
|
+
- name: SPM units with all adult members, return false
|
|
20
20
|
period: 2024
|
|
21
21
|
input:
|
|
22
22
|
people:
|
|
@@ -34,6 +34,26 @@
|
|
|
34
34
|
output:
|
|
35
35
|
nc_demographic_tanf_eligible: false
|
|
36
36
|
|
|
37
|
+
- name: SPM units with one adult and one child, they both receive SSI, return false
|
|
38
|
+
period: 2024
|
|
39
|
+
input:
|
|
40
|
+
people:
|
|
41
|
+
person1:
|
|
42
|
+
age: 40
|
|
43
|
+
ssi: 1
|
|
44
|
+
person2:
|
|
45
|
+
age: 9
|
|
46
|
+
ssi: 1
|
|
47
|
+
spm_units:
|
|
48
|
+
spm_unit:
|
|
49
|
+
members: [person1, person2]
|
|
50
|
+
households:
|
|
51
|
+
household:
|
|
52
|
+
members: [person1, person2]
|
|
53
|
+
state_code: NC
|
|
54
|
+
output:
|
|
55
|
+
nc_demographic_tanf_eligible: false
|
|
56
|
+
|
|
37
57
|
- name: SPM units with multiple eligible children, return true
|
|
38
58
|
period: 2024
|
|
39
59
|
input:
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
- name: No SSI recipient, household size is same as spm_unit size
|
|
2
|
+
period: 2023
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
ssi: 0
|
|
7
|
+
person2:
|
|
8
|
+
ssi: 0
|
|
9
|
+
person3:
|
|
10
|
+
ssi: 0
|
|
11
|
+
spm_units:
|
|
12
|
+
spm_unit:
|
|
13
|
+
members: [person1, person2, person3]
|
|
14
|
+
households:
|
|
15
|
+
household:
|
|
16
|
+
members: [person1, person2, person3]
|
|
17
|
+
state_code: NC
|
|
18
|
+
output:
|
|
19
|
+
nc_tanf_household_size: 3
|
|
20
|
+
|
|
21
|
+
- name: Exclude SSI recipient from NC TANF household size
|
|
22
|
+
period: 2023
|
|
23
|
+
input:
|
|
24
|
+
people:
|
|
25
|
+
person1:
|
|
26
|
+
ssi: 1
|
|
27
|
+
person2:
|
|
28
|
+
ssi: 0
|
|
29
|
+
person3:
|
|
30
|
+
ssi: 0
|
|
31
|
+
spm_units:
|
|
32
|
+
spm_unit:
|
|
33
|
+
members: [person1, person2, person3]
|
|
34
|
+
households:
|
|
35
|
+
household:
|
|
36
|
+
members: [person1, person2, person3]
|
|
37
|
+
state_code: NC
|
|
38
|
+
output:
|
|
39
|
+
nc_tanf_household_size: 2
|
|
40
|
+
|
|
41
|
+
- name: Exclude SSI recipients from NC TANF household size
|
|
42
|
+
period: 2023
|
|
43
|
+
input:
|
|
44
|
+
people:
|
|
45
|
+
person1:
|
|
46
|
+
ssi: 0
|
|
47
|
+
person2:
|
|
48
|
+
ssi: 1
|
|
49
|
+
person3:
|
|
50
|
+
ssi: 0
|
|
51
|
+
spm_units:
|
|
52
|
+
spm_unit:
|
|
53
|
+
members: [person1, person2, person3]
|
|
54
|
+
households:
|
|
55
|
+
household:
|
|
56
|
+
members: [person1, person2, person3]
|
|
57
|
+
state_code: NC
|
|
58
|
+
output:
|
|
59
|
+
nc_tanf_household_size: 2
|
|
60
|
+
|
|
61
|
+
- name: Household size is 0 if all members receive SSI
|
|
62
|
+
period: 2023
|
|
63
|
+
input:
|
|
64
|
+
people:
|
|
65
|
+
person1:
|
|
66
|
+
ssi: 1
|
|
67
|
+
person2:
|
|
68
|
+
ssi: 1
|
|
69
|
+
person3:
|
|
70
|
+
ssi: 1
|
|
71
|
+
spm_units:
|
|
72
|
+
spm_unit:
|
|
73
|
+
members: [person1, person2, person3]
|
|
74
|
+
households:
|
|
75
|
+
household:
|
|
76
|
+
members: [person1, person2, person3]
|
|
77
|
+
state_code: NC
|
|
78
|
+
output:
|
|
79
|
+
nc_tanf_household_size: 0
|
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_income_eligible.yaml
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
input:
|
|
4
4
|
state_code: NC
|
|
5
5
|
nc_tanf_reduced_need_standard: 362 * 12
|
|
6
|
-
|
|
6
|
+
nc_tanf_household_size: 1
|
|
7
|
+
nc_demographic_tanf_eligible: true
|
|
7
8
|
output:
|
|
8
9
|
nc_tanf_income_eligible: true
|
|
9
10
|
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
input:
|
|
13
14
|
state_code: NC
|
|
14
15
|
nc_tanf_reduced_need_standard: 42 * 12
|
|
15
|
-
|
|
16
|
+
nc_tanf_household_size: 2
|
|
16
17
|
output:
|
|
17
18
|
nc_tanf_income_eligible: false
|
|
18
19
|
|
|
@@ -21,6 +22,16 @@
|
|
|
21
22
|
input:
|
|
22
23
|
state_code: NC
|
|
23
24
|
nc_tanf_reduced_need_standard: 72 * 12
|
|
24
|
-
|
|
25
|
+
nc_tanf_household_size: 2
|
|
26
|
+
nc_demographic_tanf_eligible: true
|
|
25
27
|
output:
|
|
26
28
|
nc_tanf_income_eligible: true
|
|
29
|
+
|
|
30
|
+
- name: Household with eligible income but with 0 household size is ineligible.
|
|
31
|
+
period: 2024
|
|
32
|
+
input:
|
|
33
|
+
state_code: NC
|
|
34
|
+
nc_tanf_reduced_need_standard: 72 * 12
|
|
35
|
+
nc_tanf_household_size: 0
|
|
36
|
+
output:
|
|
37
|
+
nc_tanf_income_eligible: false
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
period: 2024
|
|
3
3
|
input:
|
|
4
4
|
state_code: NC
|
|
5
|
-
|
|
5
|
+
nc_tanf_household_size: 1
|
|
6
6
|
output:
|
|
7
7
|
nc_tanf_need_standard: 362 * 12
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
period: 2024
|
|
11
11
|
input:
|
|
12
12
|
state_code: NC
|
|
13
|
-
|
|
13
|
+
nc_tanf_household_size: 2
|
|
14
14
|
output:
|
|
15
15
|
nc_tanf_need_standard: 472 * 12
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
period: 2024
|
|
19
19
|
input:
|
|
20
20
|
state_code: NC
|
|
21
|
-
|
|
21
|
+
nc_tanf_household_size: 14
|
|
22
22
|
output:
|
|
23
23
|
nc_tanf_need_standard: 1042 * 12
|
|
24
24
|
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
period: 2024
|
|
27
27
|
input:
|
|
28
28
|
state_code: NC
|
|
29
|
-
|
|
29
|
+
nc_tanf_household_size: 16
|
|
30
30
|
output:
|
|
31
31
|
nc_tanf_need_standard: 1_142 * 12
|
|
@@ -53,22 +53,27 @@ class ssi_countable_income(Variable):
|
|
|
53
53
|
period,
|
|
54
54
|
)
|
|
55
55
|
|
|
56
|
-
#
|
|
56
|
+
# Check if both spouses are eligible
|
|
57
|
+
both_eligible = person("ssi_marital_both_eligible", period)
|
|
58
|
+
|
|
59
|
+
# Add spousal deemed income (only relevant when one spouse is ineligible)
|
|
57
60
|
spousal_deemed = person(
|
|
58
61
|
"ssi_income_deemed_from_ineligible_spouse", period
|
|
59
62
|
)
|
|
60
63
|
|
|
61
|
-
#
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
)
|
|
66
|
-
|
|
67
|
-
# Only apply countable income for an SSI-eligible individual
|
|
68
|
-
is_eligible = person("is_ssi_eligible_individual", period)
|
|
64
|
+
# Check if person is eligible (either as individual OR as eligible spouse)
|
|
65
|
+
is_eligible_individual = person("is_ssi_eligible_individual", period)
|
|
66
|
+
is_eligible_spouse = person("is_ssi_eligible_spouse", period)
|
|
67
|
+
is_eligible = is_eligible_individual | is_eligible_spouse
|
|
69
68
|
|
|
69
|
+
# Calculate final countable income
|
|
70
70
|
return where(
|
|
71
|
-
|
|
71
|
+
~is_eligible,
|
|
72
72
|
0,
|
|
73
|
-
|
|
73
|
+
where(
|
|
74
|
+
both_eligible,
|
|
75
|
+
personal_countable / 2, # Each eligible spouse gets half
|
|
76
|
+
personal_countable
|
|
77
|
+
+ spousal_deemed, # Single or with ineligible spouse
|
|
78
|
+
),
|
|
74
79
|
)
|
|
@@ -8,7 +8,6 @@ class ssi_amount_if_eligible(Variable):
|
|
|
8
8
|
unit = USD
|
|
9
9
|
definition_period = YEAR
|
|
10
10
|
reference = "https://www.law.cornell.edu/uscode/text/42/1382#b"
|
|
11
|
-
defined_for = "is_ssi_eligible"
|
|
12
11
|
|
|
13
12
|
def formula(person, period, parameters):
|
|
14
13
|
p = parameters(period).gov.ssa.ssi.amount
|
|
@@ -7,7 +7,7 @@ class ma_maximum_state_supplement(Variable):
|
|
|
7
7
|
label = "Massachusetts maximum State Supplement payment amount"
|
|
8
8
|
unit = USD
|
|
9
9
|
definition_period = YEAR
|
|
10
|
-
defined_for = "
|
|
10
|
+
defined_for = "is_ssi_eligible"
|
|
11
11
|
|
|
12
12
|
def formula(person, period, parameters):
|
|
13
13
|
"""
|
|
@@ -16,4 +16,6 @@ class nc_demographic_tanf_eligible(Variable):
|
|
|
16
16
|
person = spm_unit.members
|
|
17
17
|
is_child = person("age", period) < age_limit
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
household_size = spm_unit("nc_tanf_household_size", period)
|
|
20
|
+
|
|
21
|
+
return spm_unit.any(is_child) & (household_size > 0)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class nc_tanf_household_size(Variable):
|
|
5
|
+
value_type = int
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
label = "NC TANF household size excludes SSI recipients"
|
|
8
|
+
reference = "https://policies.ncdhhs.gov/wp-content/uploads/wf-114_1-2-2024.pdf#page=2"
|
|
9
|
+
definition_period = YEAR
|
|
10
|
+
defined_for = StateCode.NC
|
|
11
|
+
|
|
12
|
+
def formula(spm_unit, period, parameters):
|
|
13
|
+
ssi_income = spm_unit.members("ssi", period)
|
|
14
|
+
|
|
15
|
+
# Eligible members are those with no SSI income
|
|
16
|
+
eligible_members = ssi_income <= 0
|
|
17
|
+
|
|
18
|
+
return eligible_members.sum()
|
|
@@ -6,16 +6,17 @@ class nc_tanf_income_eligible(Variable):
|
|
|
6
6
|
entity = SPMUnit
|
|
7
7
|
label = "North Carolina TANF income eligible"
|
|
8
8
|
definition_period = YEAR
|
|
9
|
-
defined_for =
|
|
9
|
+
defined_for = "nc_demographic_tanf_eligible"
|
|
10
10
|
|
|
11
11
|
def formula(spm_unit, period, parameters):
|
|
12
12
|
monthly_allowed_difference = parameters(
|
|
13
13
|
period
|
|
14
14
|
).gov.states.nc.ncdhhs.tanf.need_standard.average_reduced_need_standard_thresold
|
|
15
|
-
household_size = spm_unit("
|
|
15
|
+
household_size = spm_unit("nc_tanf_household_size", period)
|
|
16
16
|
reduced_need_standard = spm_unit(
|
|
17
17
|
"nc_tanf_reduced_need_standard", period
|
|
18
18
|
)
|
|
19
|
+
|
|
19
20
|
need_standard_fraction = reduced_need_standard / household_size
|
|
20
21
|
difference_threshold = monthly_allowed_difference * MONTHS_IN_YEAR
|
|
21
22
|
|
|
@@ -12,8 +12,8 @@ class nc_tanf_need_standard(Variable):
|
|
|
12
12
|
def formula(spm_unit, period, parameters):
|
|
13
13
|
# Get the relevant part of the parameter tree.
|
|
14
14
|
p = parameters(period).gov.states.nc.ncdhhs.tanf.need_standard
|
|
15
|
-
# Get number of people in SPM unit.
|
|
16
|
-
household_size = spm_unit("
|
|
15
|
+
# Get number of eligible people in SPM unit.
|
|
16
|
+
household_size = spm_unit("nc_tanf_household_size", period)
|
|
17
17
|
# Get household size list
|
|
18
18
|
household_size_list = list(map(int, (p.main)))
|
|
19
19
|
# Get the maximum number of people defined in the tables.
|
|
@@ -361,7 +361,7 @@ policyengine_us/parameters/gov/fcc/lifeline/amount/standard.yaml,sha256=i94DV8Ow
|
|
|
361
361
|
policyengine_us/parameters/gov/hhs/README.md,sha256=-K3nU8bLJDb5t222i9zQRp2LOhpqtszN_7-Zfi_3PH0,48
|
|
362
362
|
policyengine_us/parameters/gov/hhs/fpg.yaml,sha256=O0GRTHiNjLvpS1kJBZRg5dZtDUwgijEJBZd9qpvp7nM,2619
|
|
363
363
|
policyengine_us/parameters/gov/hhs/index.yaml,sha256=diih4UjZz-5dZSiO89js5pJ-G3PO3kWspE7ybH4kCqk,66
|
|
364
|
-
policyengine_us/parameters/gov/hhs/uprating.yaml,sha256=
|
|
364
|
+
policyengine_us/parameters/gov/hhs/uprating.yaml,sha256=Xle2-jt8tZq8FCSAAMb5G4EOMoQoZlg8ligEDFqam8A,1149
|
|
365
365
|
policyengine_us/parameters/gov/hhs/ccdf/README.md,sha256=5u4-bwFTCDWgj6711QBPRQMoJSUfXBp_o_1UTxITl8Y,37
|
|
366
366
|
policyengine_us/parameters/gov/hhs/ccdf/age_limit.yaml,sha256=f4owI4F6qjaNtyZsjDwFXCfISEISR_piAjqxddc3fi0,293
|
|
367
367
|
policyengine_us/parameters/gov/hhs/ccdf/amount.yaml,sha256=2a8QXjkSjyzj1lsAgno79XU8fngz8YpMxw0xAvp8QSA,17822
|
|
@@ -3531,15 +3531,15 @@ policyengine_us/tests/policy/baseline/gov/simulation/labor_supply_response/incom
|
|
|
3531
3531
|
policyengine_us/tests/policy/baseline/gov/simulation/labor_supply_response/labor_supply_behavioral_response.yaml,sha256=FqBkZcYs-EFj-pNtUAtW85ZyGn_riZ3_pH-8DP90ORU,1551
|
|
3532
3532
|
policyengine_us/tests/policy/baseline/gov/simulation/labor_supply_response/substitution_elasticity.yaml,sha256=Cfb3-vmZxtLJdDIimJsByRDqdYh1ds5lBCQVgShDDtQ,2032
|
|
3533
3533
|
policyengine_us/tests/policy/baseline/gov/ssa/ss/never_eligible_for_social_security_benefits.yaml,sha256=-l0F8L_YCNpNfwBtZLxEfPOCPea4ZHfGNAHRw3ozkYk,587
|
|
3534
|
-
policyengine_us/tests/policy/baseline/gov/ssa/ssi/
|
|
3534
|
+
policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration_tests.yaml,sha256=CLLMuqslIKd8niom1AL0CrhnkGlTH30rF0MOfLTA_3o,8398
|
|
3535
3535
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/is_ssi_aged_blind_disabled.yaml,sha256=tyim2uGywNbV57pL2M6DO2kH1I2lXZS6P2Vab2zyIRA,470
|
|
3536
3536
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/is_ssi_disabled.yaml,sha256=6m105fmpjOism7pvcXSubXjHoiT8e7Lcfpu6NwzxuRo,1244
|
|
3537
3537
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/is_ssi_eligible.yaml,sha256=atAjx9vbFCBWwl3zxzauS76WzE2l5YUo1szVrcC7GJY,474
|
|
3538
3538
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/is_ssi_qualified_noncitizen.yaml,sha256=QiRg3QvNVv8J1pOPzTjyWT7OBy3dkzHWMqs6Vlbincs,1124
|
|
3539
3539
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi.yaml,sha256=Ou49cO_GWSCbBGlFrN3b79Xk4wnUSLPA8fwrC7NSEhk,652
|
|
3540
|
-
policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_amount_if_eligible.yaml,sha256=
|
|
3540
|
+
policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_amount_if_eligible.yaml,sha256=SK5r5opK0khpYpMlZELLyvSqvZyHnZop56SQxzWrDEc,2400
|
|
3541
3541
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_claim_is_joint.yaml,sha256=IxiCuu8BPiq2nT9AX63UCz9f5upZllr8vdb5Mwn8imE,3558
|
|
3542
|
-
policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_countable_income.yaml,sha256=
|
|
3542
|
+
policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_countable_income.yaml,sha256=6B7f8ZKbpJWwUvJnkayVa6tOd7tkq6E-TOJJuS2SpQI,3419
|
|
3543
3543
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/uncapped_ssi.yaml,sha256=oWN1uCK22O9GIal10m4QqTNJmMOWWaY-zyv68so1PVg,1031
|
|
3544
3544
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/eligibility/ssi_marital_both_eligible.yaml,sha256=U2uTvOy9ycwiZc1jiH4jMHl9Rsh90GDAmlxLLZEZZxE,1176
|
|
3545
3545
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/eligibility/income/is_ssi_blind_or_disabled_working_student_exclusion_eligible.yaml,sha256=ac0Zi_A3GWTLlAQnyr5WC-8whjqLbqTUsN3PP3O6nLQ,944
|
|
@@ -3551,8 +3551,8 @@ policyengine_us/tests/policy/baseline/gov/ssa/ssi/eligibility/income/deemed/ssi_
|
|
|
3551
3551
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/eligibility/income/deemed/from_ineligible_spouse/ssi_income_deemed_from_ineligible_spouse.yaml,sha256=XBT12sWJhIzJvhyO7hCgPtz9U-Ykr-WI1ZV4KqNfNn8,5914
|
|
3552
3552
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_earned_income.yaml,sha256=ReaJdkph2QpKh4FcG2HULtwbaBOlj2XuhjEmqwM2hA8,252
|
|
3553
3553
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_engaged_in_sga.yaml,sha256=eqH2piC54_U6fRuPi7SIkGe0EIlHeUX2oXMqvIIRdK8,393
|
|
3554
|
-
policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_earned_income.yaml,sha256=
|
|
3555
|
-
policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_unearned_income.yaml,sha256=
|
|
3554
|
+
policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_earned_income.yaml,sha256=91lXk13gSvAD1B6WjQu90736YCxQagtQeVhXXB8L7aM,1481
|
|
3555
|
+
policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_unearned_income.yaml,sha256=oywEtd_yTxZTYeujgYiE1CUhICpJJibCoGrIqUPwYzw,1513
|
|
3556
3556
|
policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_unearned_income.yaml,sha256=R1bSatsFNGvRF-NESYENQxhjlTS4jdg0n_evo6JqBDg,286
|
|
3557
3557
|
policyengine_us/tests/policy/baseline/gov/states/state_filing_status_if_married_filing_separately_on_same_return.yaml,sha256=zY9NBeS7EQJjia2-Hy5jz7ChLbVbpqGT49exXH7lzrs,714
|
|
3558
3558
|
policyengine_us/tests/policy/baseline/gov/states/al/tax/income/al_income_tax_before_non_refundable_credits.yaml,sha256=UtAxOsNBwynt3jHsSxT1l89MGs0qXP_hTJVaQmGr8mE,585
|
|
@@ -3637,7 +3637,7 @@ policyengine_us/tests/policy/baseline/gov/states/ca/calepa/carb/cvrp/ca_cvrp.yam
|
|
|
3637
3637
|
policyengine_us/tests/policy/baseline/gov/states/ca/calepa/carb/cvrp/integration.yaml,sha256=rl0MElezFj6zcD-00lKzcz0tTVRVbtK42UGQzNcMjfc,196
|
|
3638
3638
|
policyengine_us/tests/policy/baseline/gov/states/ca/calepa/carb/cvrp/is_ca_cvrp_increased_rebate_eligible.yaml,sha256=N_sHEQpRNeK8TY_TPyU8RrzhqNGzuwwaRCY1d5fMmpI,500
|
|
3639
3639
|
policyengine_us/tests/policy/baseline/gov/states/ca/calepa/carb/cvrp/is_ca_cvrp_normal_rebate_eligible.yaml,sha256=Je5Gy3j2kvq5i48-ncewwqad7mK0Cf6Vs4hCgCBZBKQ,371
|
|
3640
|
-
policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi.yaml,sha256=
|
|
3640
|
+
policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi.yaml,sha256=4ta1_2jTomuq6_1T_-TTbzszPo-w797_CrBfECiahKg,2213
|
|
3641
3641
|
policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible.yaml,sha256=FRBtRpYPPXrBNgQj-mEv6HmZPYE3TpLZZIZj4ykCE5o,629
|
|
3642
3642
|
policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_eligible_person.yaml,sha256=WGgjj2lYHv5MCh0lqU_5v1A7PEN-bYhsWHkYRpAtsIo,801
|
|
3643
3643
|
policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/eligibility/ca_capi_income_eligible.yaml,sha256=hiHRhBe3KZN0hsTImXiD9qLAxO-IHNu22IXdEfZzA2s,508
|
|
@@ -4028,7 +4028,7 @@ policyengine_us/tests/policy/baseline/gov/states/id/tax/income/subtractions/id_a
|
|
|
4028
4028
|
policyengine_us/tests/policy/baseline/gov/states/id/tax/income/subtractions/id_aged_or_disabled_deduction_eligible_person.yaml,sha256=MfUZUxWNzRVu8TkGNtR41WiZNup4JPRe5haFzsXfJoc,6198
|
|
4029
4029
|
policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/il_aabd_area.yaml,sha256=a8LrH9yA3-ToSiCQZa3T3B76_JB_waKsfFatavYaNh0,420
|
|
4030
4030
|
policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/il_aabd_person.yaml,sha256=UvrjHvHJpeKU2ardCXjpcR8Zob16idK-gM2AbiCmXZ0,722
|
|
4031
|
-
policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/integration.yaml,sha256=
|
|
4031
|
+
policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/integration.yaml,sha256=4_g_6vzdpdIpa2CRISlYiaHCANVA99im_0KYGnL_XJw,8614
|
|
4032
4032
|
policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/asset/il_aabd_asset_value_eligible.yaml,sha256=ydbAjbhKGF0PNCQidQAakbto152c6EHsNXeCVzeFj-c,766
|
|
4033
4033
|
policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/asset/il_aabd_countable_vehicle_value.yaml,sha256=wIBCwQgrGHAOlqFTwVghxoUzp5H4NYWmWoPT1n48E5k,1353
|
|
4034
4034
|
policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/eligibility/il_aabd_aged_blind_disabled_person.yaml,sha256=3eIIhq_arzGadmBvJPsBs1fOFUfk0L975VZOUSj9y1k,738
|
|
@@ -4203,8 +4203,8 @@ policyengine_us/tests/policy/baseline/gov/states/ma/doer/liheap/payment/ma_lihea
|
|
|
4203
4203
|
policyengine_us/tests/policy/baseline/gov/states/ma/dot/mbta/income_eligible_reduced_fares/ma_mbta_income_eligible_reduced_fare_eligible.yaml,sha256=Q-xgLe_E6pzrxT_cvSYuwRz9oxkigygycdKU6xIJiuI,549
|
|
4204
4204
|
policyengine_us/tests/policy/baseline/gov/states/ma/dot/mbta/senior_charlie_card/ma_mbta_senior_charlie_card_eligible.yaml,sha256=FDBw2o1MVaYKRkb-L6gIUIEEFZAAlHYN7nR6QOSOWA0,278
|
|
4205
4205
|
policyengine_us/tests/policy/baseline/gov/states/ma/dot/mbta/tap_charlie_card/ma_mbta_tap_charlie_card_eligible.yaml,sha256=esTUzQWNrbY9v2yZo_NuQM0NXg3hN65-SSCyUM-2FhU,585
|
|
4206
|
-
policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/integration.yaml,sha256=
|
|
4207
|
-
policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_maximum_state_supplement.yaml,sha256=
|
|
4206
|
+
policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/integration.yaml,sha256=3yZRo9rNao7CSGXoPsEKtEL8MfvLALBizNzaP6R4Vvo,857
|
|
4207
|
+
policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_maximum_state_supplement.yaml,sha256=iPzVkpYsgKfFEDGI7I7bTgfQaHrvsMLttxQFaPDukFM,3358
|
|
4208
4208
|
policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_state_supplement.yaml,sha256=4jpuIcet9dYhsPeSEBsSrqsN-291N7BB16InOM3XjMA,454
|
|
4209
4209
|
policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/ma_eaedc.yaml,sha256=jYp1V1XI91HvTmXSNxEWTQWiuSn-We4blmjGbW_oagk,6458
|
|
4210
4210
|
policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/ma_eaedc_if_tafdc_claimed.yaml,sha256=3dZ2KzQs9fPEMLDe5EunS0_KPPqNSqZU_xaDXHkTEqo,410
|
|
@@ -4511,13 +4511,14 @@ policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/scca/nc_scca_market_r
|
|
|
4511
4511
|
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/scca/nc_scca_parent_fee.yaml,sha256=kOiDRVfatnYKv6y0TsopdcqrX5HzVdb08ktH2ZjQkSQ,689
|
|
4512
4512
|
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/scca/entry/nc_scca_entry_eligible.yaml,sha256=XvtfcQGQeOX9ZN2IwjiNhxPL1qgZheLQQmGK5My4aqA,954
|
|
4513
4513
|
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/scca/entry/nc_scca_entry_income_eligible.yaml,sha256=KOArXl8H6fgSGw-_c95FFbLcIf9hOgIe3fu2AB-paz8,2643
|
|
4514
|
-
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/integration.yaml,sha256=
|
|
4515
|
-
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_demographic_tanf_eligible.yaml,sha256=
|
|
4514
|
+
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/integration.yaml,sha256=ouRww-vYOeemxLFy_nxb-sbblqiccaq-ENk846t8DAU,9460
|
|
4515
|
+
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_demographic_tanf_eligible.yaml,sha256=3lXkegtXlygr_x25F9obRQC2uSTBsQDUtSB-AmasLgw,1576
|
|
4516
4516
|
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_countable_earned_income.yaml,sha256=DGea6WuZjY5S9_rquShFrSzrr5Dptilot3uZ_qySeDw,882
|
|
4517
4517
|
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_countable_gross_unearned_income.yaml,sha256=1WMllFdQTM6VFPvzkn-W4GTBdrSw3_yOLoJNyBetrUU,1872
|
|
4518
4518
|
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_eligible.yaml,sha256=tFkS0X3zIgjPbSXjBNDAvguQr21gyp043-eG_wwDdw4,638
|
|
4519
|
-
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/
|
|
4520
|
-
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/
|
|
4519
|
+
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_household_size.yaml,sha256=Km-dc5O9ymf10iAvyFKFkLGInu2R7Q4qMw4yyyZusJM,1617
|
|
4520
|
+
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_income_eligible.yaml,sha256=wyz-JazZ2fPyXjvfa3bI292Qg-UgmDH1AKSaXZo7apM,1015
|
|
4521
|
+
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_need_standard.yaml,sha256=fxrw89NCmFPuZgMebvN5pSKGywpKr3rwV-1Fif1_mzU,738
|
|
4521
4522
|
policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_reduced_need_standard.yaml,sha256=9VoLoGPLkfmc4_u978EBXVavVB17D3MlFDqluUY6dzQ,1020
|
|
4522
4523
|
policyengine_us/tests/policy/baseline/gov/states/nc/tax/nc_use_tax.yaml,sha256=UaoE3FyDs5HBNTdGCw7zWlDSBTby4yUBBAdvYKWzXqA,703
|
|
4523
4524
|
policyengine_us/tests/policy/baseline/gov/states/nc/tax/income/nc_income_tax.yaml,sha256=9uvgpYFVulJKQWVed33TIL4MDiCr4pXfns06r82fSLo,723
|
|
@@ -4962,7 +4963,7 @@ policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/low_
|
|
|
4962
4963
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit.yaml,sha256=pNbfl-WLMHos8cKr-J50F2ZqOZt-ovYCdY30lyEKBrU,1984
|
|
4963
4964
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit_eligible.yaml,sha256=WyIHPu6ZH0xYYJeCNsQnDktz0ywJWDfAj3FMbyRMFJg,1950
|
|
4964
4965
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit_eligible_person.yaml,sha256=EAipNZfTMVye2BdYodTgAtJtWjzR7UTaGK-R8k3qvB0,813
|
|
4965
|
-
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.yaml,sha256=
|
|
4966
|
+
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.yaml,sha256=uH6Rb2TLLIrAJSkX5zS9eUaeLgLDmUzYXg9Ws79eTyE,434
|
|
4966
4967
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/deductions/pr_casualty_loss_deduction.yaml,sha256=FteN_CqJcr_hjNt0BPagZ5bI9i4PwpHa4vCvphQ-FkY,333
|
|
4967
4968
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/deductions/pr_charitable_deduction.yaml,sha256=W6N5RCKT6iKoV6qr_UbdrVmsy8c7NZkIRR-GqDV_oiM,470
|
|
4968
4969
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/deductions/pr_medical_expense_deduction.yaml,sha256=0swPOBL6tTh5Q2ScDziSdgFBQHmd2m8yutElgjfDHss,897
|
|
@@ -5800,14 +5801,14 @@ policyengine_us/variables/gov/ssa/ss/social_security_retirement.py,sha256=9ohBrN
|
|
|
5800
5801
|
policyengine_us/variables/gov/ssa/ss/social_security_survivors.py,sha256=8GuxrIPrHN-psTjkfzp3nvrJXEmbXisKiegkvenOzUg,257
|
|
5801
5802
|
policyengine_us/variables/gov/ssa/ssi/is_ssi_eligible.py,sha256=A6Cxz_7frbiSs9V7r95h3GSw0BkHPT5jN8YtvjyFRpI,771
|
|
5802
5803
|
policyengine_us/variables/gov/ssa/ssi/ssi.py,sha256=5XIl0mU-LRa5FMzK2Dguan_FKZG6GLiT_xD1rkZBRWI,462
|
|
5803
|
-
policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py,sha256=
|
|
5804
|
+
policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py,sha256=2hQ4LhUGtMeWzn31kUWTgX_V4aTb0LJpv35UH0Srcpo,848
|
|
5804
5805
|
policyengine_us/variables/gov/ssa/ssi/ssi_claim_is_joint.py,sha256=NYwR2LVLV2xf1vbFG0r9ZwhQFVlZ_gLnV_F00RUU6_Y,485
|
|
5805
5806
|
policyengine_us/variables/gov/ssa/ssi/tax_unit_ssi.py,sha256=Gw8nl4n1c86m3gsEboYZ_52Mf8KurWnfnITFKRlMGCk,221
|
|
5806
5807
|
policyengine_us/variables/gov/ssa/ssi/uncapped_ssi.py,sha256=pVr8WqBmSIA0ZcoRGOIV9QrcBcKE05uq8au_B6DMfoI,511
|
|
5807
5808
|
policyengine_us/variables/gov/ssa/ssi/eligibility/income/_apply_ssi_exclusions.py,sha256=1aQNTEUuTVEEVWf_6wFN7-eCwSl4D6G9uyvzAnRBqXA,1806
|
|
5808
5809
|
policyengine_us/variables/gov/ssa/ssi/eligibility/income/is_ssi_blind_or_disabled_working_student_exclusion_eligible.py,sha256=F69fFuMs6GwE93VS0F37o94OTETb4WmGQRfZqrbApuo,904
|
|
5809
5810
|
policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_blind_or_disabled_working_student_exclusion.py,sha256=h_iIX-1zhe14K0br1M3z1n8t7DfzvvaCIU7S4iKibK0,808
|
|
5810
|
-
policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_countable_income.py,sha256=
|
|
5811
|
+
policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_countable_income.py,sha256=PutNszoxyTUtwuCLxFRSW9ZaBPLgKPDFV_U2SyegfSY,3064
|
|
5811
5812
|
policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_earned_income.py,sha256=VUIYeh737RAcRIJu2GEIcEY7J8EQxGibXGfpm4qGuvU,244
|
|
5812
5813
|
policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_engaged_in_sga.py,sha256=gmYl4_7FrpQ6XBln1IOdWHd2-_OIvqggyVxUPAJLduo,610
|
|
5813
5814
|
policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_unearned_income.py,sha256=3wH4lu_BlIitBYUlL37GSFcAict_PB0RaSIqzMN0vWI,248
|
|
@@ -6686,7 +6687,7 @@ policyengine_us/variables/gov/states/ma/dot/mbta/income_eligible_reduced_fares/m
|
|
|
6686
6687
|
policyengine_us/variables/gov/states/ma/dot/mbta/income_eligible_reduced_fares/ma_mbta_income_eligible_reduced_fare_eligible.py,sha256=kBtC7D3lDPHvJg1rPyqolyQNYaJG2zoPwU52EMyWxbE,645
|
|
6687
6688
|
policyengine_us/variables/gov/states/ma/dot/mbta/senior_charlie_card/ma_mbta_senior_charlie_card_eligible.py,sha256=5rD1VOenczKqXlApXSp-FDYLkM1yBHJhTObep0ApTlI,566
|
|
6688
6689
|
policyengine_us/variables/gov/states/ma/dot/mbta/tap_charlie_card/ma_mbta_tap_charlie_card_eligible.py,sha256=TffXLhMlTtwUEuwr20PdRYtHmykP9vURibely1h9fIE,609
|
|
6689
|
-
policyengine_us/variables/gov/states/ma/dta/ssp/ma_maximum_state_supplement.py,sha256=
|
|
6690
|
+
policyengine_us/variables/gov/states/ma/dta/ssp/ma_maximum_state_supplement.py,sha256=6d3V8gOSyrf0nr8WvEsPm3v9DwmnsDcRPwcZtvXKip4,4674
|
|
6690
6691
|
policyengine_us/variables/gov/states/ma/dta/ssp/ma_state_living_arrangement.py,sha256=ciBLkfQ58VW1dan_CjVreisKfzAvS-ZPqfWw7PMOPzI,731
|
|
6691
6692
|
policyengine_us/variables/gov/states/ma/dta/ssp/ma_state_supplement.py,sha256=gZedOlMujZLugyzcqZpvDGJUZG27uVAN1jJNd-iP1z0,1060
|
|
6692
6693
|
policyengine_us/variables/gov/states/ma/dta/tcap/ma_tafdc_exceeds_eaedc.py,sha256=VhNZCM3P_muids3zeCjwoZWnSL-MD40UrI4ZLuaFWWU,566
|
|
@@ -7078,11 +7079,12 @@ policyengine_us/variables/gov/states/nc/ncdhhs/scca/nc_scca_market_rate.py,sha25
|
|
|
7078
7079
|
policyengine_us/variables/gov/states/nc/ncdhhs/scca/nc_scca_parent_fee.py,sha256=dQPftJHJNw4T9PudTVkZIJq-RAMdcKvdyyo2nfo5dMc,797
|
|
7079
7080
|
policyengine_us/variables/gov/states/nc/ncdhhs/scca/entry/nc_scca_entry_eligible.py,sha256=77Jr7uE0gpBvuIeFlOf_Ghc8gjyZluGNRYN-Ak5RJPU,715
|
|
7080
7081
|
policyengine_us/variables/gov/states/nc/ncdhhs/scca/entry/nc_scca_entry_income_eligible.py,sha256=WeVhtesudlG2fVliHLxAXCP7UddKJeULPns45mnEtRk,818
|
|
7081
|
-
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_demographic_tanf_eligible.py,sha256
|
|
7082
|
+
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_demographic_tanf_eligible.py,sha256=NKis-RJe4O0-Z_1fxxK9C88JgGHQ88fPinfVrXulK64,780
|
|
7082
7083
|
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf.py,sha256=InRdu8VW4efUbAPWBjRT36aYJhtpLvsBs5nxb7pD-Ns,566
|
|
7083
7084
|
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_eligible.py,sha256=ICX1DOvCk-1VVTGFvHwP48fNzawoc3CeXvrlRMXZhvo,517
|
|
7084
|
-
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/
|
|
7085
|
-
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/
|
|
7085
|
+
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_household_size.py,sha256=ZqLpS6XwL2TrkExSwHN6s8lIfB2D-meZGmfUGtOlrxY,577
|
|
7086
|
+
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_income_eligible.py,sha256=ZRnSGKGENZ-u0l-ep787gkdsySJgot8vKeWDvytdREk,842
|
|
7087
|
+
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_need_standard.py,sha256=yF_5srFhwUvg5m9gQ7kroYRAZhgPDW1s3oj8M5V44p0,1480
|
|
7086
7088
|
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_reduced_need_standard.py,sha256=PVfVt7ycOmmNa5Qbs6PqIaRBDhLfGWgwxC9mouSibLE,693
|
|
7087
7089
|
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/income/nc_tanf_countable_earned_income.py,sha256=lpylkJd0iaXp7qhgwdC_NqwpoLM6nHc-sexv2MPJoCc,322
|
|
7088
7090
|
policyengine_us/variables/gov/states/nc/ncdhhs/tanf/income/nc_tanf_countable_gross_unearned_income.py,sha256=tgLZeIqmWrgaqEwCdAHVM7YvopZp49_ddD-dsIlVDNA,785
|
|
@@ -8289,8 +8291,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
|
|
|
8289
8291
|
policyengine_us/variables/input/geography.py,sha256=XmBlgXhzBoLRKk6R8taVZHqUw1eU8MbNeGS9iJ7_l44,4506
|
|
8290
8292
|
policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
|
|
8291
8293
|
policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
|
|
8292
|
-
policyengine_us-1.376.
|
|
8293
|
-
policyengine_us-1.376.
|
|
8294
|
-
policyengine_us-1.376.
|
|
8295
|
-
policyengine_us-1.376.
|
|
8296
|
-
policyengine_us-1.376.
|
|
8294
|
+
policyengine_us-1.376.3.dist-info/METADATA,sha256=anvAntD3GDSLRP4VRXuokuRm8gmQXxHAMYRtqQRbbi0,1649
|
|
8295
|
+
policyengine_us-1.376.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8296
|
+
policyengine_us-1.376.3.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
|
|
8297
|
+
policyengine_us-1.376.3.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
8298
|
+
policyengine_us-1.376.3.dist-info/RECORD,,
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
- name: SSI integration test
|
|
2
|
-
period: 2023
|
|
3
|
-
input:
|
|
4
|
-
people:
|
|
5
|
-
# Single person - eligible for SSI
|
|
6
|
-
person1:
|
|
7
|
-
age: 65
|
|
8
|
-
is_disabled: true
|
|
9
|
-
is_tax_unit_head: true
|
|
10
|
-
ssi_earned_income: 0
|
|
11
|
-
ssi_unearned_income: 0
|
|
12
|
-
# Married couple - both eligible for SSI
|
|
13
|
-
person2:
|
|
14
|
-
age: 68
|
|
15
|
-
is_disabled: true
|
|
16
|
-
is_tax_unit_head: true
|
|
17
|
-
ssi_earned_income: 0
|
|
18
|
-
ssi_unearned_income: 0
|
|
19
|
-
person3:
|
|
20
|
-
age: 70
|
|
21
|
-
is_disabled: true
|
|
22
|
-
is_tax_unit_spouse: true
|
|
23
|
-
ssi_earned_income: 0
|
|
24
|
-
ssi_unearned_income: 0
|
|
25
|
-
# Married couple - only one eligible for SSI
|
|
26
|
-
person4:
|
|
27
|
-
age: 72
|
|
28
|
-
is_disabled: true
|
|
29
|
-
is_tax_unit_head: true
|
|
30
|
-
ssi_earned_income: 0
|
|
31
|
-
ssi_unearned_income: 0
|
|
32
|
-
person5:
|
|
33
|
-
age: 50
|
|
34
|
-
is_disabled: false
|
|
35
|
-
is_tax_unit_spouse: true
|
|
36
|
-
ssi_earned_income: 12000
|
|
37
|
-
ssi_unearned_income: 0
|
|
38
|
-
tax_units:
|
|
39
|
-
tax_unit1:
|
|
40
|
-
members: [person1]
|
|
41
|
-
tax_unit2:
|
|
42
|
-
members: [person2, person3]
|
|
43
|
-
tax_unit3:
|
|
44
|
-
members: [person4, person5]
|
|
45
|
-
marital_units:
|
|
46
|
-
marital_unit1:
|
|
47
|
-
members: [person1]
|
|
48
|
-
marital_unit2:
|
|
49
|
-
members: [person2, person3]
|
|
50
|
-
marital_unit3:
|
|
51
|
-
members: [person4, person5]
|
|
52
|
-
output:
|
|
53
|
-
# Eligibility variables
|
|
54
|
-
is_ssi_aged_blind_disabled: [true, true, true, true, false]
|
|
55
|
-
is_ssi_eligible_individual: [true, true, false, true, false]
|
|
56
|
-
|
|
57
|
-
# Joint claim status
|
|
58
|
-
ssi_claim_is_joint: [false, true, true, false, false]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|