policyengine-us 1.376.2__py3-none-any.whl → 1.376.4__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.

Files changed (22) hide show
  1. policyengine_us/tests/policy/baseline/gov/hud/hud_utility_allowance.yaml +15 -0
  2. policyengine_us/tests/policy/baseline/gov/hud/integration.yaml +2 -0
  3. policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_earned_income.yaml +0 -1
  4. policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_unearned_income.yaml +0 -1
  5. policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration_tests.yaml +256 -0
  6. policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_amount_if_eligible.yaml +2 -43
  7. policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_countable_income.yaml +2 -3
  8. policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi.yaml +2 -2
  9. policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/integration.yaml +27 -12
  10. policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/integration.yaml +4 -8
  11. policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_maximum_state_supplement.yaml +6 -6
  12. policyengine_us/variables/gov/hud/hud_utility_allowance.py +1 -0
  13. policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_countable_income.py +16 -11
  14. policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py +0 -1
  15. policyengine_us/variables/gov/states/ma/dta/ssp/ma_maximum_state_supplement.py +1 -1
  16. policyengine_us/variables/household/expense/housing/tenant_pays_utilities.py +8 -0
  17. {policyengine_us-1.376.2.dist-info → policyengine_us-1.376.4.dist-info}/METADATA +1 -1
  18. {policyengine_us-1.376.2.dist-info → policyengine_us-1.376.4.dist-info}/RECORD +21 -20
  19. policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration.yaml +0 -58
  20. {policyengine_us-1.376.2.dist-info → policyengine_us-1.376.4.dist-info}/WHEEL +0 -0
  21. {policyengine_us-1.376.2.dist-info → policyengine_us-1.376.4.dist-info}/entry_points.txt +0 -0
  22. {policyengine_us-1.376.2.dist-info → policyengine_us-1.376.4.dist-info}/licenses/LICENSE +0 -0
@@ -4,6 +4,7 @@
4
4
  in_la: true
5
5
  is_sro: false
6
6
  bedrooms: 9
7
+ tenant_pays_utilities: true
7
8
  output:
8
9
  hud_utility_allowance: 719 * 12
9
10
 
@@ -13,6 +14,7 @@
13
14
  in_la: true
14
15
  is_sro: true
15
16
  bedrooms: 3
17
+ tenant_pays_utilities: true
16
18
  output:
17
19
  hud_utility_allowance: 179 * 12
18
20
 
@@ -22,6 +24,7 @@
22
24
  in_la: false
23
25
  is_sro: false
24
26
  bedrooms: 9
27
+ tenant_pays_utilities: true
25
28
  output:
26
29
  hud_utility_allowance: 0
27
30
 
@@ -31,6 +34,7 @@
31
34
  in_la: true
32
35
  is_sro: false
33
36
  bedrooms: 4
37
+ tenant_pays_utilities: true
34
38
  output:
35
39
  hud_utility_allowance: 452 * 12
36
40
 
@@ -40,5 +44,16 @@
40
44
  in_la: true
41
45
  is_sro: false
42
46
  bedrooms: 0
47
+ tenant_pays_utilities: true
43
48
  output:
44
49
  hud_utility_allowance: 227 * 12
50
+
51
+ - name: Tenant is not responsible for utility payments
52
+ period: 2023
53
+ input:
54
+ in_la: true
55
+ is_sro: false
56
+ bedrooms: 0
57
+ tenant_pays_utilities: false
58
+ output:
59
+ hud_utility_allowance: 0
@@ -10,6 +10,7 @@
10
10
  # 2019 1BR payment standard.
11
11
  # https://sfmohcd.org/sites/default/files/Documents/MOH/Asset%20Management/2019%20AMI_RentLimits-HMFA.pdf
12
12
  pha_payment_standard: 2_748 * 12
13
+ tenant_pays_utilities: true
13
14
  output:
14
15
  housing_assistance: 400 * 12
15
16
 
@@ -34,6 +35,7 @@
34
35
  is_sro: false
35
36
  members: [parent1, parent2, dependent1, dependent2]
36
37
  in_la: true
38
+ tenant_pays_utilities: true
37
39
  output:
38
40
  ami: 98_200
39
41
  pha_payment_standard: 41_580 # 3_465 * 12
@@ -61,4 +61,3 @@
61
61
  members: [head, spouse]
62
62
  output:
63
63
  ssi_marital_earned_income: [10, 10]
64
-
@@ -61,4 +61,3 @@
61
61
  members: [head, spouse]
62
62
  output:
63
63
  ssi_marital_unearned_income: [10, 10]
64
-
@@ -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, 0]
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, 0, 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: [9_490, 0]
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: [9_490, 0]
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: [16_980, 0]
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: [1032.5,0] # computed by PE US (ssi)
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: [1351.125, 0] # 318.625 + 1032.5
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: [1_057.5, 1_057.5] # computed by PE US
81
- il_aabd_countable_unearned_income: [1032.5, 1032.5] # 1_057.5 - 25
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: [1_351.125, 1_032.5] # 318.625 + 1_032.5
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, false] # unearned income too high
90
- il_aabd_eligible_person: [false, false]
91
- il_aabd_person: [0, 0]
92
- il_aabd: 0
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: [1_407.5, 0] # computed by PE US
124
- il_aabd_countable_unearned_income: [1_382.5, 0] # 1_407.5 - 25
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: [1_386.9, 0] # 1_382.5 + 4.4
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
- is_ssi_eligible_individual: true
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
- is_ssi_eligible_individual: true
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
- # The code is returning about [1832.6, 1832.6].
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]
@@ -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
- # is_ssi_eligible_individual: true
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
- is_ssi_eligible_individual: true
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
- is_ssi_eligible_individual: true
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
- is_ssi_eligible_individual: true
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
- is_ssi_eligible_individual: true
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
- is_ssi_eligible_individual: true
86
+ is_ssi_eligible: true
87
87
  is_ssi_aged_blind_disabled: true
88
88
  households:
89
89
  household:
@@ -13,6 +13,7 @@ class hud_utility_allowance(Variable):
13
13
  # LA County, only one for now. As of 2023-07-01.
14
14
  "https://www.lacda.org/docs/librariesprovider25/public-documents/utility-allowance/utility-allownce-2022.pdf",
15
15
  )
16
+ defined_for = "tenant_pays_utilities"
16
17
 
17
18
  def formula(household, period, parameters):
18
19
  household_bedrooms = household("bedrooms", period)
@@ -53,22 +53,27 @@ class ssi_countable_income(Variable):
53
53
  period,
54
54
  )
55
55
 
56
- # Add any spousal deemed income
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
- # If this person is the spouse whose income is being deemed away, do not double-count it
62
- # (has_donated_income ensures a spouse who "gave" their income to the other doesn't keep it)
63
- has_donated_income = (
64
- person.marital_unit.sum(spousal_deemed) > spousal_deemed
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
- has_donated_income | ~is_eligible,
71
+ ~is_eligible,
72
72
  0,
73
- personal_countable + spousal_deemed,
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 = "is_ssi_eligible_individual"
10
+ defined_for = "is_ssi_eligible"
11
11
 
12
12
  def formula(person, period, parameters):
13
13
  """
@@ -0,0 +1,8 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tenant_pays_utilities(Variable):
5
+ value_type = bool
6
+ entity = Household
7
+ label = "Whether the tenant is responsible for utility payments"
8
+ definition_period = YEAR
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.376.2
3
+ Version: 1.376.4
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -3293,8 +3293,8 @@ policyengine_us/tests/policy/baseline/gov/hud/hud_hap.yaml,sha256=yRgFljrEShdLLn
3293
3293
  policyengine_us/tests/policy/baseline/gov/hud/hud_income_level.yaml,sha256=PWoQViuxh_XvmerXHoFLf8jxCWPC8KV_aWrjhxO7KqM,1677
3294
3294
  policyengine_us/tests/policy/baseline/gov/hud/hud_max_subsidy.yaml,sha256=W41AjXxhlTBk1fWrc55Pzy_YyaOCH3RtgMWgQIP9cCs,265
3295
3295
  policyengine_us/tests/policy/baseline/gov/hud/hud_minimum_rent.yaml,sha256=eJBCsEA88kGQ8K52smVCXkbigo7E9z0FY1KbbchMWqY,125
3296
- policyengine_us/tests/policy/baseline/gov/hud/hud_utility_allowance.yaml,sha256=I4Cdp5SiG0ZVwZYhsv2OobDUYta6B3hEjJYLUINbyyU,765
3297
- policyengine_us/tests/policy/baseline/gov/hud/integration.yaml,sha256=2ElZNw842EjpRi5h-aFE2LMZYh8VdRwvfOIrJn6VmFg,1785
3296
+ policyengine_us/tests/policy/baseline/gov/hud/hud_utility_allowance.yaml,sha256=c1UiTTMRE0c6cucBgJzXJtdPEBRpWRZbmlzl8GLSgLc,1127
3297
+ policyengine_us/tests/policy/baseline/gov/hud/integration.yaml,sha256=a3VAFWF1bgsOk-yh4I1SoPrRKoLxfE30BTSDoEMBcJA,1853
3298
3298
  policyengine_us/tests/policy/baseline/gov/hud/is_hud_elderly_disabled.yaml,sha256=qg5iFvQI8TCSmEpbEMoQWosq5J2LHRd6EKbb2xYheQE,1372
3299
3299
  policyengine_us/tests/policy/baseline/gov/hud/pha_payment_standard.yaml,sha256=VIjUfUF6dpIS2zIEOl0JujQA11AToi-wlDL8vQMxnaI,685
3300
3300
  policyengine_us/tests/policy/baseline/gov/hud/hud_income_level_factor/hud_especially_low_income_factor.yaml,sha256=fNcBb6Ca3S5rBnxRaG0UUNEEpfag3aDe_Ns27Kd8cqs,491
@@ -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/integration.yaml,sha256=q4L7elUM4WmlSF-J0i9rtNd_Cq3uhAvz17vpPooBfdw,1554
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=rDd7EeTMiS050o18i8gN5l-u1w1V1N3dh0Mcg31wWhg,3302
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=m9kaOqgr1Unn9NiJIaPHhVRoKNh-FLyvIAITcM9hmp8,3412
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=lC3J6LWyGXl03JE1skYMxuMnIOAxcHsep_Op_CDiSdg,1482
3555
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_unearned_income.yaml,sha256=Bejkkul2rTVRqjPKIp7IFk7r0OU58ovwtWZiQEkSSas,1514
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=_E9oYp_XR6Vo7d3xcjg13nUXNKHEsV0DCpnz3yzI3q0,2208
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=FV4v4md8BsN7j1kOcsRwaoiY6kpKXh1jE5bbRRoXAdo,8105
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=ybqzjweD-VdG9WLr6eqOo7BTSAWqqsOlMZpH2HMdXvM,1132
4207
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_maximum_state_supplement.yaml,sha256=zS0QJmf189TwwKVvf0J7i33Ac-e59o_HEts5W5ZsIG8,3424
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
@@ -5409,7 +5409,7 @@ policyengine_us/variables/gov/hud/hud_hap.py,sha256=UGxtxSEgyOSUf4h1zMegfRX_FHA7
5409
5409
  policyengine_us/variables/gov/hud/hud_income_level.py,sha256=uCtfRwk9K9rHOk2vZIBLZ0w_XoHDxJ8HFPA942EBWD8,2081
5410
5410
  policyengine_us/variables/gov/hud/hud_max_subsidy.py,sha256=9uqe2arukzFx5vxumySNR3JxbEqNkL6JXBf6eQWV1X0,564
5411
5411
  policyengine_us/variables/gov/hud/hud_minimum_rent.py,sha256=28gHc7DrsM7KvxKp88na8Q26CMjmoYNkUBKmaoXZNfk,436
5412
- policyengine_us/variables/gov/hud/hud_utility_allowance.py,sha256=w9NLvMrvYy1Mrt6Cnm0Oyao6QKS0bkYsP_NjsVd1WSI,2100
5412
+ policyengine_us/variables/gov/hud/hud_utility_allowance.py,sha256=v08xkYtT_9a6A_9uSxwfcRLsl-vu543dS7ymuBDnlr4,2142
5413
5413
  policyengine_us/variables/gov/hud/is_eligible_for_housing_assistance.py,sha256=oafljDYPWN03ID2IpWIiFllbarQZRuI6UcGpWfyQtms,916
5414
5414
  policyengine_us/variables/gov/hud/is_hud_elderly_disabled_family.py,sha256=haNTP0WTIniW5aEwGU1-pxsRaohVWyC0gymL-Oiz5rk,918
5415
5415
  policyengine_us/variables/gov/hud/pha_payment_standard.py,sha256=msXoDDTCUhwaU4wxWf9KPBL7Zr4R89-zXbdBZ3mCZ5o,1305
@@ -5801,14 +5801,14 @@ policyengine_us/variables/gov/ssa/ss/social_security_retirement.py,sha256=9ohBrN
5801
5801
  policyengine_us/variables/gov/ssa/ss/social_security_survivors.py,sha256=8GuxrIPrHN-psTjkfzp3nvrJXEmbXisKiegkvenOzUg,257
5802
5802
  policyengine_us/variables/gov/ssa/ssi/is_ssi_eligible.py,sha256=A6Cxz_7frbiSs9V7r95h3GSw0BkHPT5jN8YtvjyFRpI,771
5803
5803
  policyengine_us/variables/gov/ssa/ssi/ssi.py,sha256=5XIl0mU-LRa5FMzK2Dguan_FKZG6GLiT_xD1rkZBRWI,462
5804
- policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py,sha256=uxKoHiPPDkUVHL-l6hF-1QzhMcrLv8TOHGA2B-azOvs,884
5804
+ policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py,sha256=2hQ4LhUGtMeWzn31kUWTgX_V4aTb0LJpv35UH0Srcpo,848
5805
5805
  policyengine_us/variables/gov/ssa/ssi/ssi_claim_is_joint.py,sha256=NYwR2LVLV2xf1vbFG0r9ZwhQFVlZ_gLnV_F00RUU6_Y,485
5806
5806
  policyengine_us/variables/gov/ssa/ssi/tax_unit_ssi.py,sha256=Gw8nl4n1c86m3gsEboYZ_52Mf8KurWnfnITFKRlMGCk,221
5807
5807
  policyengine_us/variables/gov/ssa/ssi/uncapped_ssi.py,sha256=pVr8WqBmSIA0ZcoRGOIV9QrcBcKE05uq8au_B6DMfoI,511
5808
5808
  policyengine_us/variables/gov/ssa/ssi/eligibility/income/_apply_ssi_exclusions.py,sha256=1aQNTEUuTVEEVWf_6wFN7-eCwSl4D6G9uyvzAnRBqXA,1806
5809
5809
  policyengine_us/variables/gov/ssa/ssi/eligibility/income/is_ssi_blind_or_disabled_working_student_exclusion_eligible.py,sha256=F69fFuMs6GwE93VS0F37o94OTETb4WmGQRfZqrbApuo,904
5810
5810
  policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_blind_or_disabled_working_student_exclusion.py,sha256=h_iIX-1zhe14K0br1M3z1n8t7DfzvvaCIU7S4iKibK0,808
5811
- policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_countable_income.py,sha256=pe0E2B71mv3llWqDCoy0d54AzPWEWtPFGV5AXpfEpGo,2839
5811
+ policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_countable_income.py,sha256=PutNszoxyTUtwuCLxFRSW9ZaBPLgKPDFV_U2SyegfSY,3064
5812
5812
  policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_earned_income.py,sha256=VUIYeh737RAcRIJu2GEIcEY7J8EQxGibXGfpm4qGuvU,244
5813
5813
  policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_engaged_in_sga.py,sha256=gmYl4_7FrpQ6XBln1IOdWHd2-_OIvqggyVxUPAJLduo,610
5814
5814
  policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_unearned_income.py,sha256=3wH4lu_BlIitBYUlL37GSFcAict_PB0RaSIqzMN0vWI,248
@@ -6687,7 +6687,7 @@ policyengine_us/variables/gov/states/ma/dot/mbta/income_eligible_reduced_fares/m
6687
6687
  policyengine_us/variables/gov/states/ma/dot/mbta/income_eligible_reduced_fares/ma_mbta_income_eligible_reduced_fare_eligible.py,sha256=kBtC7D3lDPHvJg1rPyqolyQNYaJG2zoPwU52EMyWxbE,645
6688
6688
  policyengine_us/variables/gov/states/ma/dot/mbta/senior_charlie_card/ma_mbta_senior_charlie_card_eligible.py,sha256=5rD1VOenczKqXlApXSp-FDYLkM1yBHJhTObep0ApTlI,566
6689
6689
  policyengine_us/variables/gov/states/ma/dot/mbta/tap_charlie_card/ma_mbta_tap_charlie_card_eligible.py,sha256=TffXLhMlTtwUEuwr20PdRYtHmykP9vURibely1h9fIE,609
6690
- policyengine_us/variables/gov/states/ma/dta/ssp/ma_maximum_state_supplement.py,sha256=qpSHqLRyopKH6yDJR_M_VnPYOrxUVjK6IgFECbw_1fo,4685
6690
+ policyengine_us/variables/gov/states/ma/dta/ssp/ma_maximum_state_supplement.py,sha256=6d3V8gOSyrf0nr8WvEsPm3v9DwmnsDcRPwcZtvXKip4,4674
6691
6691
  policyengine_us/variables/gov/states/ma/dta/ssp/ma_state_living_arrangement.py,sha256=ciBLkfQ58VW1dan_CjVreisKfzAvS-ZPqfWw7PMOPzI,731
6692
6692
  policyengine_us/variables/gov/states/ma/dta/ssp/ma_state_supplement.py,sha256=gZedOlMujZLugyzcqZpvDGJUZG27uVAN1jJNd-iP1z0,1060
6693
6693
  policyengine_us/variables/gov/states/ma/dta/tcap/ma_tafdc_exceeds_eaedc.py,sha256=VhNZCM3P_muids3zeCjwoZWnSL-MD40UrI4ZLuaFWWU,566
@@ -8039,6 +8039,7 @@ policyengine_us/variables/household/expense/housing/pre_subsidy_rent.py,sha256=A
8039
8039
  policyengine_us/variables/household/expense/housing/rent.py,sha256=0o0LVvDXiWrMt3OTEjxmufmAgrYn9HZImWuUSkGPxHw,782
8040
8040
  policyengine_us/variables/household/expense/housing/rents.py,sha256=the1UqVTjzaYbwbDt24mjfF4qpIqd-RNbVYoQ2st_z4,284
8041
8041
  policyengine_us/variables/household/expense/housing/small_area_fair_market_rent.py,sha256=SBwx8A7dVCaisxGuxWQX4IngsJ_xdIYVHdzlkngEYUw,219
8042
+ policyengine_us/variables/household/expense/housing/tenant_pays_utilities.py,sha256=wQpy35J5DkDurRJUIZLqpYcwaoy0uz7g_OPTXUbMrAA,224
8042
8043
  policyengine_us/variables/household/expense/housing/tenure_type.py,sha256=c4pbALQXb9wNsOnve3Y2cLa0lCjLO3AdAlU4SgLPKcA,392
8043
8044
  policyengine_us/variables/household/expense/housing/utilities_included_in_rent.py,sha256=F9YY5B672vjV5KmhdkaxaNr9kWpUABVVxKlMImiOfwo,220
8044
8045
  policyengine_us/variables/household/expense/housing/expenditures/home_energy_audit_expenditures.py,sha256=E5Ho7V5ZeUxdLG1EPh-vzLliZdig-WaZxm4UJWvSFSA,227
@@ -8291,8 +8292,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8291
8292
  policyengine_us/variables/input/geography.py,sha256=XmBlgXhzBoLRKk6R8taVZHqUw1eU8MbNeGS9iJ7_l44,4506
8292
8293
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8293
8294
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8294
- policyengine_us-1.376.2.dist-info/METADATA,sha256=c6h1NZ8MZx9ZnDabFCreLAsX0bSywNXWaUIHgeLxooo,1649
8295
- policyengine_us-1.376.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8296
- policyengine_us-1.376.2.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8297
- policyengine_us-1.376.2.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8298
- policyengine_us-1.376.2.dist-info/RECORD,,
8295
+ policyengine_us-1.376.4.dist-info/METADATA,sha256=UTOtP9Yr5Boy4oUDF_b0IJBuqRix5bAgbT5u-a06d3M,1649
8296
+ policyengine_us-1.376.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8297
+ policyengine_us-1.376.4.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8298
+ policyengine_us-1.376.4.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8299
+ policyengine_us-1.376.4.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]