policyengine-us 1.363.1__py3-none-any.whl → 1.364.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- description: TThe Department of Agriculture considers individuals who do not have any dependents under this age to be Able-Bodied Adult Without Dependents (ABAWD) under the Supplemental Nutrition Assistance Program.
1
+ description: The Department of Agriculture considers individuals who do not have any dependents under this age to be Able-Bodied Adult Without Dependents (ABAWD) under the Supplemental Nutrition Assistance Program.
2
2
  values:
3
3
  2019-01-01: 18
4
4
  2027-01-01: 14
@@ -1,4 +1,4 @@
1
- description: TThe Department of Agriculture exempts applicants who are within these age brackets from the Able-Bodied Adult Without Dependents (ABAWD) work requirements under the Supplemental Nutrition Assistance Program.
1
+ description: The Department of Agriculture exempts applicants who are within these age brackets from the Able-Bodied Adult Without Dependents (ABAWD) work requirements under the Supplemental Nutrition Assistance Program.
2
2
  metadata:
3
3
  threshold_unit: year
4
4
  amount_unit: bool
@@ -0,0 +1,16 @@
1
+ description: The Department of Agriculture exempts the Able-Bodied Adult Without Dependents (ABAWD) work requirements for these states under the Supplemental Nutrition Assistance Program.
2
+
3
+ values:
4
+ 2018-01-01:
5
+ []
6
+ 2027-01-01:
7
+ - HI
8
+ - AK
9
+
10
+ metadata:
11
+ label: SNAP ABAWD work requirement exempt states
12
+ period: year
13
+ unit: list
14
+ reference:
15
+ - title: H.R.1 - One Big Beautiful Bill Act
16
+ href: https://www.congress.gov/bill/119th-congress/house-bill/1/text
@@ -0,0 +1,13 @@
1
+ description: The Department of Agriculture removes the exemption from Able-Bodied Adult Without Dependents (ABAWD) work requirements for homeless individuals or veterans under the Supplemental Nutrition Assistance Program, if this is true.
2
+
3
+ values:
4
+ 0000-01-01: false
5
+ 2027-01-01: true
6
+
7
+ metadata:
8
+ unit: bool
9
+ period: year
10
+ label: SNAP ABAWD work requirement exemption removed for homeless or veterans
11
+ reference:
12
+ - title: H.R.1 - One Big Beautiful Bill Act
13
+ href: https://www.congress.gov/bill/119th-congress/house-bill/1/text
@@ -28,7 +28,7 @@
28
28
  - name: Case 4, age 30, but disabled.
29
29
  period: 2022
30
30
  input:
31
- age: 39
31
+ age: 30
32
32
  weekly_hours_worked: 1
33
33
  is_disabled: true
34
34
  output:
@@ -85,7 +85,7 @@
85
85
  output:
86
86
  meets_snap_abawd_work_requirements: [false, true]
87
87
 
88
- - name: Case 1, baseline, age 55 exempted from general work requirement.
88
+ - name: Case 9, baseline, age 55 exempted from general work requirement.
89
89
  period: 2026
90
90
  absolute_error_margin: 0.9
91
91
  input:
@@ -95,7 +95,7 @@
95
95
  output:
96
96
  meets_snap_abawd_work_requirements: true
97
97
 
98
- - name: Case 2, reform, age 55 is not exempted from general work requirement.
98
+ - name: Case 10, reform, age 55 is not exempted from general work requirement.
99
99
  period: 2027
100
100
  absolute_error_margin: 0.9
101
101
  input:
@@ -105,7 +105,7 @@
105
105
  output:
106
106
  meets_snap_abawd_work_requirements: false
107
107
 
108
- - name: Case 3, baseline, have a child at age 15.
108
+ - name: Case 11, baseline, have a child at age 15.
109
109
  period: 2026-01
110
110
  absolute_error_margin: 0.9
111
111
  input:
@@ -122,7 +122,7 @@
122
122
  output:
123
123
  meets_snap_abawd_work_requirements: [true, true]
124
124
 
125
- - name: Case 4, reform, have a child at age 15.
125
+ - name: Case 12, reform, have a child at age 15.
126
126
  period: 2027
127
127
  absolute_error_margin: 0.9
128
128
  input:
@@ -139,7 +139,7 @@
139
139
  output:
140
140
  meets_snap_abawd_work_requirements: [false, true]
141
141
 
142
- - name: Case 5, reform, have a child at age 6.
142
+ - name: Case 13, reform, have a child at age 6.
143
143
  period: 2027
144
144
  absolute_error_margin: 0.9
145
145
  input:
@@ -156,7 +156,7 @@
156
156
  output:
157
157
  meets_snap_abawd_work_requirements: [true, true]
158
158
 
159
- - name: Case 6, reform, is veteran with a child 15 in 2027.
159
+ - name: Case 14, reform, is veteran with a child 15 in 2027.
160
160
  period: 2027
161
161
  absolute_error_margin: 0.9
162
162
  input:
@@ -171,10 +171,10 @@
171
171
  is_disabled: false
172
172
  is_tax_unit_dependent: true
173
173
  output:
174
- meets_snap_abawd_work_requirements: [true, true]
174
+ meets_snap_abawd_work_requirements: [false, true]
175
175
 
176
- - name: Case 7, reform, is veteran with a child 15 in 2031, sunset provision in effect.
177
- period: 2031
176
+ - name: Case 15, reform, meets requirement due to work exempted state.
177
+ period: 2027
178
178
  absolute_error_margin: 0.9
179
179
  input:
180
180
  people:
@@ -187,5 +187,20 @@
187
187
  age: 15
188
188
  is_disabled: false
189
189
  is_tax_unit_dependent: true
190
+ households:
191
+ household:
192
+ members: [person1, person2]
193
+ state_code: HI
190
194
  output:
191
- meets_snap_abawd_work_requirements: [false, true]
195
+ meets_snap_abawd_work_requirements: [true, true]
196
+
197
+ - name: Case 16, baseline, live in HI in 2026.
198
+ period: 2026
199
+ absolute_error_margin: 0.9
200
+ input:
201
+ age: 18
202
+ weekly_hours_worked: 1
203
+ is_disabled: false
204
+ state_code: HI
205
+ output:
206
+ meets_snap_abawd_work_requirements: false
@@ -18,7 +18,7 @@ class meets_snap_abawd_work_requirements(Variable):
18
18
  working_age_exempt = p.age_threshold.exempted.calc(age)
19
19
  # Unable to work due to a physical or mental limitation
20
20
  is_disabled = person("is_disabled", period)
21
- # Parent of a household member under 18
21
+ # Parent or other member of a household with responsibility for a dependent child under certain age
22
22
  is_dependent = person("is_tax_unit_dependent", period)
23
23
  is_qualifying_child = age < p.age_threshold.dependent
24
24
  is_parent = person("is_parent", period)
@@ -34,43 +34,21 @@ class meets_snap_abawd_work_requirements(Variable):
34
34
  is_homeless = person.household("is_homeless", period)
35
35
  # A veteran
36
36
  is_veteran = person("is_veteran", period)
37
- if p.amended_structure.in_effect:
38
- is_child = person("is_child", period)
39
- older_child_dependent = (
40
- is_dependent & is_child & ~is_qualifying_child
41
- )
42
- is_married = person.family("is_married", period)
43
- has_older_child_dependent = person.spm_unit.any(
44
- older_child_dependent
45
- )
46
- is_head_or_spouse = person("is_tax_unit_head_or_spouse", period)
47
- has_head_or_spouse_working = person.spm_unit.any(
48
- is_head_or_spouse & is_working
49
- )
50
- exempt_married_person = where(
51
- is_married & has_older_child_dependent,
52
- has_head_or_spouse_working,
53
- 0,
54
- )
55
- base_conditions = (
56
- is_working
57
- | working_age_exempt
58
- | is_disabled
59
- | exempt_parent
60
- | meets_snap_general_work_requirements
61
- | is_pregnant
62
- | exempt_married_person
63
- )
64
- if p.amended_structure.sunset_provisions_apply:
65
- return base_conditions
66
- return base_conditions | is_homeless | is_veteran
67
- return (
37
+ # States exempt from work requirements.
38
+ state_code = person.household("state_code", period)
39
+ state_code_str = state_code.decode_to_str()
40
+ is_abawd_work_requirements_exempt_state = np.isin(
41
+ state_code_str, p.exempt_states
42
+ )
43
+ base_conditions = (
68
44
  is_working
69
45
  | working_age_exempt
70
46
  | is_disabled
71
47
  | exempt_parent
72
48
  | meets_snap_general_work_requirements
73
49
  | is_pregnant
74
- | is_homeless
75
- | is_veteran
50
+ | is_abawd_work_requirements_exempt_state
76
51
  )
52
+ if p.in_effect:
53
+ return base_conditions
54
+ return base_conditions | is_homeless | is_veteran
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.363.1
3
+ Version: 1.364.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -3028,11 +3028,11 @@ policyengine_us/parameters/gov/usda/snap/min_allotment/relevant_max_allotment_ho
3028
3028
  policyengine_us/parameters/gov/usda/snap/student/age_threshold.yaml,sha256=Mp4i1UjnMsTF7ghjDjrmlPxNGsXSHfNzSocY1sAQCTs,641
3029
3029
  policyengine_us/parameters/gov/usda/snap/student/working_hours_threshold.yaml,sha256=Ty0ilklakH3kIZa8diRl6AjePrc9Iht00vZleOSA1vo,407
3030
3030
  policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/README.md,sha256=rWFb8jS69xD4Ldr_IYtLf6Pz8EsmA-0uuXZg2YKhOnM,39
3031
+ policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/exempt_states.yaml,sha256=i22r2csAbBbikVFGSug7QRh_Pzb8urZoTFA45vhFIl8,476
3032
+ policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/in_effect.yaml,sha256=IZIQB4D_tnRtCOShnAXZEINtMJmpTAlFRsEtoWbKbEE,543
3031
3033
  policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/weekly_hours_threshold.yaml,sha256=jkKg71wRPooV3-qsjDw6Bgwv2NFNyNqI4qoHvW7LOzI,460
3032
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/age_threshold/dependent.yaml,sha256=DcVWx0OZKrBB7fiIeZp8zJhDI7EPjN9UCZKuhLmFcjY,702
3033
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/age_threshold/exempted.yaml,sha256=X2QMtGQZfwEv9dguoiz9_jHWpKhUtqEiewzPxhvzkRs,999
3034
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/amended_structure/in_effect.yaml,sha256=DOBTkbX0ta7k2ZOzvG_IqOToDsQoVt2fBSwE5xwlEYA,501
3035
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/amended_structure/sunset_provisions_apply.yaml,sha256=c2ovTA_xfSPPhXQk4w0WjHPzzxZ3OB8EI_AV5DRf634,497
3034
+ policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/age_threshold/dependent.yaml,sha256=Bg0lWTuQIS0oKD6xSqKo6sQZVBg7jRHQ-Z_zGke4hf0,701
3035
+ policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/age_threshold/exempted.yaml,sha256=axV_2yfjV2RBChacpA1I7ySX5AHmxmCFTNlNOBwxIdY,998
3036
3036
  policyengine_us/parameters/gov/usda/snap/work_requirements/general/weekly_hours_threshold.yaml,sha256=b3mRs1eugZS8SsdCf8RjpVgjah9u8JUFnqrvJDvRxiE,465
3037
3037
  policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/caring_dependent_child.yaml,sha256=Ujj2AsCLERBrc2ArgGGPIn4GS6cFnovljejtGQLhTw8,478
3038
3038
  policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/exempted.yaml,sha256=TuArqwUfm9v2-qNsdtWN6S5X4TEl4SFGH4MnHqJGXIg,798
@@ -4964,7 +4964,7 @@ policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/meets_snap_categ
4964
4964
  policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/meets_snap_gross_income_test.yaml,sha256=M2z-8DQU0QRey-NSrUSbaPvJYr_cLemSRmpbjJjW1-0,605
4965
4965
  policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/meets_snap_net_income_test.yaml,sha256=SYs0EnZgyiFUzPJf7j8sM_bIb_bPKvbPZ-uUtVyUj88,381
4966
4966
  policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_ineligible_student.yaml,sha256=IPLZFS7Y8DDdsJ25YIR-w1BhQXOIi_x8cUG4qdWD3k8,480
4967
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.yaml,sha256=gW2zRWpVvS75V_wIomvNjWIy68bhVdwHaP4Wjm3Dlak,4370
4967
+ policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.yaml,sha256=Nmz4KKs5hH1CBL6ZcSp4JByPCYo0gR36vXEil1FxB0M,4689
4968
4968
  policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.yaml,sha256=_XHqMZQeOADvG09gW1aaayals9whGUBDoP6mmpQesxc,1907
4969
4969
  policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_work_requirements.yaml,sha256=wLLpqUlDcwnKSC9CYxe7Uts_UWnl_-wl_L3tdTRgeus,1157
4970
4970
  policyengine_us/tests/policy/baseline/gov/usda/snap/income/snap_countable_earner.yaml,sha256=H4fN1CLtjcCRMkJFbHbWMSRrH950F01YxSWIFPaLE-0,691
@@ -7701,7 +7701,7 @@ policyengine_us/variables/gov/usda/snap/eligibility/meets_snap_gross_income_test
7701
7701
  policyengine_us/variables/gov/usda/snap/eligibility/meets_snap_net_income_test.py,sha256=W7E5A2PSaOiKWfvgZcO0FmEWLLlgQFTzcYsMXdNpGxc,695
7702
7702
  policyengine_us/variables/gov/usda/snap/eligibility/snap_assets.py,sha256=7Ja3dvJIHzctgye8Gltvrv6poYElOzdler0rTSZUBQI,240
7703
7703
  policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_ineligible_student.py,sha256=JEfF2PXbl6rIXcn5lU6wVzr2wscQFc4WdetFZhF9qCM,1193
7704
- policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.py,sha256=OWgHQxb5ogKSYbUFS6kH_CFO3WfcQPk_8KAnX3laPvk,3145
7704
+ policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.py,sha256=S0B_KsRGTCbFU3wgVzE7xD-vP6xcS_NqwnMbyk5f7_4,2394
7705
7705
  policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.py,sha256=EBS5zHXyoEjsyqirNsQaGg04eecJoLmHXwzDJvjmXAc,1475
7706
7706
  policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_work_requirements.py,sha256=gtkZDYyTzQcsSISn15Os-AxA4fbihUOUerBkMyM786Q,1289
7707
7707
  policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py,sha256=cLIXE-hTApfoZDmZ2bYAoZurIMKteftK58RRk3I_TLE,441
@@ -8230,8 +8230,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8230
8230
  policyengine_us/variables/input/geography.py,sha256=XmBlgXhzBoLRKk6R8taVZHqUw1eU8MbNeGS9iJ7_l44,4506
8231
8231
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8232
8232
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8233
- policyengine_us-1.363.1.dist-info/METADATA,sha256=wGeHWYnyQKAKlOz74KcgiCDgSPMa8rbtqSHlubZYQE0,1693
8234
- policyengine_us-1.363.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8235
- policyengine_us-1.363.1.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8236
- policyengine_us-1.363.1.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8237
- policyengine_us-1.363.1.dist-info/RECORD,,
8233
+ policyengine_us-1.364.0.dist-info/METADATA,sha256=flFzy9Ko_MCeT0RwaytxeRdfVcEn1C-XTB2PnUGWx_I,1693
8234
+ policyengine_us-1.364.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8235
+ policyengine_us-1.364.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8236
+ policyengine_us-1.364.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8237
+ policyengine_us-1.364.0.dist-info/RECORD,,
@@ -1,13 +0,0 @@
1
- description: TThe Department of Agriculture applies the amended structure to the Able-Bodied Adult Without Dependents (ABAWD) work requirements for the Supplemental Nutrition Assistance Program, if this is true.
2
-
3
- values:
4
- 0000-01-01: false
5
- 2027-01-01: true
6
-
7
- metadata:
8
- unit: bool
9
- period: year
10
- label: SNAP ABAWD work requirements amended structure in effect
11
- reference:
12
- - title: H.R.1 - One Big Beautiful Bill Act
13
- href: https://www.congress.gov/bill/119th-congress/house-bill/1/text
@@ -1,13 +0,0 @@
1
- description: TThe Department of Agriculture applies the sunset provisions to the Able-Bodied Adult Without Dependents (ABAWD) work requirements for the Supplemental Nutrition Assistance Program, if this is true.
2
-
3
- values:
4
- 0000-01-01: false
5
- 2030-10-01: true
6
-
7
- metadata:
8
- unit: bool
9
- period: year
10
- label: SNAP ABAWD work requirements sunset provisions apply
11
- reference:
12
- - title: H.R.1 - One Big Beautiful Bill Act
13
- href: https://www.congress.gov/bill/119th-congress/house-bill/1/text