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

@@ -65,7 +65,6 @@
65
65
  state_code: IL
66
66
  output:
67
67
  il_tanf_childcare_deduction: 375
68
- il_tanf_spm_unit_fpg: 1_919.17
69
68
  il_tanf_payment_level_for_initial_eligibility: 575.75
70
69
  il_tanf_initial_employment_deduction_person: [383.83, 0, 0]
71
70
  il_tanf_countable_income_for_initial_eligibility: 41.17
@@ -112,10 +111,9 @@
112
111
  state_code: IL
113
112
  output:
114
113
  il_tanf_childcare_deduction: 375
115
- il_tanf_spm_unit_fpg: 1_919.17
116
- il_tanf_payment_level_for_initial_eligibility: 575.75
117
- il_tanf_initial_employment_deduction_person: [187, 0, 0]
118
- il_tanf_countable_income_for_initial_eligibility: 237.8
114
+ il_tanf_payment_level_for_initial_eligibility: 457.75
115
+ il_tanf_initial_employment_deduction_person: [305.17, 0, 0]
116
+ il_tanf_countable_income_for_initial_eligibility: 119.83
119
117
  il_tanf_eligible: true
120
118
  il_tanf_assistance_unit_fpg: 1_525.83
121
119
  il_tanf_payment_level_for_grant_calculation: 343.31
@@ -124,12 +122,12 @@
124
122
 
125
123
  - name: Integration test 3, only parent eligible for payment.
126
124
  period: 2023-01
127
- absolute_error_margin: 1
125
+ absolute_error_margin: 0.5
128
126
  input:
129
127
  people:
130
128
  person1:
131
129
  age: 30
132
- employment_income: 800
130
+ employment_income: 9_600
133
131
  is_tax_unit_head_or_spouse: true
134
132
  immigration_status: CITIZEN
135
133
  ssi: 0
@@ -160,16 +158,15 @@
160
158
  output:
161
159
  il_tanf_childcare_deduction: 33
162
160
  il_tanf_assistance_unit_size: 1 # Kids receive ssi
163
- il_tanf_spm_unit_fpg: 1_919.17
164
161
  il_tanf_assistance_unit_fpg: 1_132.5
165
162
  il_tanf_initial_employment_deduction_fpg: 1_132.5
166
- il_tanf_payment_level_for_initial_eligibility: 575.75
167
- il_tanf_initial_employment_deduction_person: [0, 0, 0]
168
- il_tanf_countable_income_for_initial_eligibility: 33
169
- il_tanf_eligible: true
163
+ il_tanf_payment_level_for_initial_eligibility: 339.75
164
+ il_tanf_initial_employment_deduction_person: [226.5, 0, 0]
165
+ il_tanf_countable_income_for_initial_eligibility: 540.5
166
+ il_tanf_eligible: false
170
167
  il_tanf_payment_level_for_grant_calculation: 84.94
171
- il_tanf_countable_income_for_grant_calculation: 8
172
- il_tanf: 77
168
+ il_tanf_countable_income_for_grant_calculation: 191.75
169
+ il_tanf: 0
173
170
 
174
171
  - name: taxsim_record_277465_2021.yaml
175
172
  absolute_error_margin: 0.3
@@ -178,7 +175,7 @@
178
175
  people:
179
176
  person1:
180
177
  age: 23
181
- employment_income: 3600
178
+ employment_income: 3_600
182
179
  il_aabd_gross_unearned_income: 0
183
180
  social_security: 0
184
181
  is_pregnant: true
@@ -1,7 +1,7 @@
1
1
  - name: Size of 1.
2
2
  period: 2023
3
3
  input:
4
- spm_unit_size: 1
4
+ il_tanf_assistance_unit_size: 1
5
5
  state_code: IL
6
6
  output:
7
7
  il_tanf_payment_level_for_initial_eligibility: 4_333.5
@@ -9,7 +9,7 @@
9
9
  - name: Size of 2.
10
10
  period: 2023
11
11
  input:
12
- spm_unit_size: 2
12
+ il_tanf_assistance_unit_size: 2
13
13
  state_code: IL
14
14
  output:
15
15
  il_tanf_payment_level_for_initial_eligibility: 5_845.25
@@ -17,7 +17,7 @@
17
17
  - name: Size of 3.
18
18
  period: 2023
19
19
  input:
20
- spm_unit_size: 3
20
+ il_tanf_assistance_unit_size: 3
21
21
  state_code: IL
22
22
  output:
23
23
  il_tanf_payment_level_for_initial_eligibility: 7_357
@@ -15,7 +15,7 @@
15
15
  il_tanf_gross_earned_income: 10_000
16
16
  state_code: IL
17
17
  output:
18
- il_tanf_initial_employment_deduction_person: 5_409
18
+ il_tanf_initial_employment_deduction_person: 3_897.25
19
19
 
20
20
  - name: Case 3, household size of 1 with $10000 earned income, but not head or spouse.
21
21
  period: 2023
@@ -144,3 +144,111 @@
144
144
  output:
145
145
  # https://www.dhs.state.il.us/page.aspx?item=82780
146
146
  il_tanf_initial_employment_deduction_person: [463, 0, 0, 0]
147
+
148
+ - name: Integration test, lagged fpg for IED
149
+ period: 2025
150
+ absolute_error_margin: 1
151
+ input:
152
+ people:
153
+ person1:
154
+ employment_income: 10_200
155
+ age: 30
156
+ person2:
157
+ age: 5
158
+ person3:
159
+ age: 3
160
+ spm_units:
161
+ spm_unit:
162
+ members: [person1, person2, person3]
163
+ tax_units:
164
+ tax_unit:
165
+ members: [person1, person2, person3]
166
+ households:
167
+ household:
168
+ members: [person1, person2, person3]
169
+ state_code: IL
170
+ output:
171
+ # 322.75 * 2 (Jan / Feb)
172
+ # 358 * 7 (Mar - Sep) (IED FPG adjusted in Mar)
173
+ # 333 * 3 (Oct - Dec) (Payment level adjusted in October)
174
+ il_tanf_initial_employment_deduction_person: [4_147, 0, 0]
175
+
176
+ - name: 2024 january test
177
+ period: 2024-01
178
+ absolute_error_margin: 1
179
+ input:
180
+ people:
181
+ person1:
182
+ employment_income: 10_200
183
+ age: 30
184
+ person2:
185
+ age: 5
186
+ person3:
187
+ age: 3
188
+ spm_units:
189
+ spm_unit:
190
+ members: [person1, person2, person3]
191
+ tax_units:
192
+ tax_unit:
193
+ members: [person1, person2, person3]
194
+ households:
195
+ household:
196
+ members: [person1, person2, person3]
197
+ state_code: IL
198
+ output:
199
+ # https://www.dhs.state.il.us/page.aspx?item=82780
200
+ il_tanf_initial_employment_deduction_person: [311, 0, 0]
201
+
202
+ - name: 2025 monthly test
203
+ period: 2025-01
204
+ absolute_error_margin: 1
205
+ input:
206
+ people:
207
+ person1:
208
+ employment_income: 10_200
209
+ age: 30
210
+ person2:
211
+ age: 5
212
+ person3:
213
+ age: 3
214
+ spm_units:
215
+ spm_unit:
216
+ members: [person1, person2, person3]
217
+ tax_units:
218
+ tax_unit:
219
+ members: [person1, person2, person3]
220
+ households:
221
+ household:
222
+ members: [person1, person2, person3]
223
+ state_code: IL
224
+ output:
225
+ # https://www.dhs.state.il.us/page.aspx?item=82780
226
+ il_tanf_initial_employment_deduction_person: [323, 0, 0]
227
+
228
+ - name: 2023 monthly test
229
+ period: 2023-01
230
+ absolute_error_margin: 1
231
+ input:
232
+ people:
233
+ person1:
234
+ employment_income: 10_200
235
+ age: 30
236
+ person2:
237
+ age: 5
238
+ person3:
239
+ age: 3
240
+ person4:
241
+ age: 1
242
+ spm_units:
243
+ spm_unit:
244
+ members: [person1, person2, person3, person4]
245
+ tax_units:
246
+ tax_unit:
247
+ members: [person1, person2, person3, person4]
248
+ households:
249
+ household:
250
+ members: [person1, person2, person3, person4]
251
+ state_code: IL
252
+ output:
253
+ # https://www.dhs.state.il.us/page.aspx?item=82780
254
+ il_tanf_initial_employment_deduction_person: [463, 0, 0, 0]
@@ -56,7 +56,6 @@
56
56
  state_code: IL
57
57
  output:
58
58
  il_tanf_childcare_deduction: 375
59
- il_tanf_spm_unit_fpg: 1_919.17
60
59
  il_tanf_payment_level_for_initial_eligibility: 575.75
61
60
  il_tanf_initial_employment_deduction_person: [383.83, 0, 0]
62
61
  il_tanf_countable_earned_income_for_initial_eligibility: 41.17
@@ -25,9 +25,9 @@
25
25
  ms_total_exemptions_joint: [15_000, 0, 0]
26
26
  ms_total_exemptions: 15_000
27
27
  ms_taxable_income_indiv: [13_200, 8_200, 0]
28
- ms_taxable_income_joint: [21_400, 0, 0]
28
+ ms_taxable_income_joint: [3_400, 18_000, 0]
29
29
  ms_income_tax_before_credits_indiv: [390, 158, 0]
30
- ms_income_tax_before_credits_joint: [800, 0, 0]
30
+ ms_income_tax_before_credits_joint: [0, 630, 0]
31
31
  ms_files_separately: true
32
32
  ms_agi: [23_000, 18_000, 0]
33
33
  ms_income_tax: 548
@@ -144,12 +144,12 @@
144
144
  state_fips: 28 # MS
145
145
  output: # expected results from patched TAXSIM35 2024-03-09 version
146
146
  ms_agi: [301_764.53, 8_030, 0, 0, 0, 0] # TAXSIM 301764.54 + 8030 = 309794.54
147
- ms_taxable_income_joint: [287_194.53, 0, 0, 0, 0, 0] #TAXSIM 279164 + 8030 = 287194.54
147
+ ms_taxable_income_joint: [279_164.53, 8_030, 0, 0, 0, 0] #TAXSIM 279164 + 8030 = 287194.54
148
148
  ms_deductions_joint: [4_600, 0, 0, 0, 0, 0]
149
149
  ms_total_exemptions_joint: [18000,0,0,0,0,0]
150
150
  # ms_income_tax_before_credits_joint: [14089.727, 0, 0, 0, 0, 0]
151
151
  # ms_income_tax_before_credits_indiv: [14253.227, 0, 0, 0, 0, 0]
152
- ms_income_tax: 14_089.727 # TAXSIM 13819.73
152
+ ms_income_tax: 13_839.427 # TAXSIM 13819.73
153
153
 
154
154
  - name: Tax unit with taxsimid 90168 in i21.its.csv and i21.ots.csv
155
155
  absolute_error_margin: 0.01
@@ -193,4 +193,37 @@
193
193
  members: [person1, person2, person3, person4, person5, person6]
194
194
  state_fips: 28 # MS
195
195
  output: # expected results from patched TAXSIM35 2024-04-15 version
196
- ms_income_tax: 3_053
196
+ ms_income_tax: 2_783
197
+
198
+ - name: 950-MS.yaml
199
+ absolute_error_margin: 2
200
+ period: 2024
201
+ input:
202
+ people:
203
+ person1:
204
+ age: 40
205
+ employment_income: 29492.0
206
+ person2:
207
+ age: 40
208
+ employment_income: 11307.0
209
+ tax_units:
210
+ tax_unit:
211
+ members: [person1, person2]
212
+ premium_tax_credit: 0
213
+ local_income_tax: 0
214
+ state_sales_tax: 0
215
+ spm_units:
216
+ spm_unit:
217
+ members: [person1, person2]
218
+ snap: 0
219
+ tanf: 0
220
+ households:
221
+ household:
222
+ members: [person1, person2]
223
+ state_fips: 28
224
+ output:
225
+ ms_agi: [29492.0, 11307.0]
226
+ ms_files_separately: false
227
+ ms_total_exemptions_joint: [12_000, 0]
228
+ ms_taxable_income_joint: [12_892, 11_307]
229
+ ms_income_tax: 197
@@ -12,6 +12,6 @@ class il_tanf_payment_level_for_initial_eligibility(Variable):
12
12
 
13
13
  def formula(spm_unit, period, parameters):
14
14
  p = parameters(period).gov.states.il.dhs.tanf.payment_level
15
- fpg = spm_unit("il_tanf_spm_unit_fpg", period)
15
+ fpg = spm_unit("il_tanf_assistance_unit_fpg", period)
16
16
 
17
17
  return p.rate * fpg
@@ -21,7 +21,4 @@ class ms_taxable_income_joint(Variable):
21
21
  period,
22
22
  ["ms_deductions_joint", "ms_total_exemptions_joint"],
23
23
  )
24
- head = person("is_tax_unit_head", period)
25
- taxable_income = agi - deductions_and_exemptions
26
- # Attribute taxable income to the head
27
- return person.tax_unit.sum(taxable_income) * head
24
+ return agi - deductions_and_exemptions
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.385.1
3
+ Version: 1.386.1
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -4059,9 +4059,9 @@ policyengine_us/tests/policy/baseline/gov/states/il/dhs/ccap/il_ccap_eligible_ch
4059
4059
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/ccap/il_ccap_immigration_status_eligible_person.yaml,sha256=3pp8P8FsjjdwJP-CYMOJ6g2yQVWZNbaHe0UZj2GilJ4,673
4060
4060
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/ccap/il_ccap_income_eligible.yaml,sha256=reLYko4lN6Fch7dFHsb3DI-WKxS5oH5QCJJ6clRBNnQ,1610
4061
4061
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/ccap/il_ccap_parent_meets_working_requirements.yaml,sha256=x9LNMNeQs6CuOnwiHKLoq9HJLMerlecaZ9huxzm0XnM,2298
4062
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/il_tanf.yaml,sha256=417ZTRNbpODR7ZpOqBlu1qXz59F96D5Uq-zDV6Ub7q4,5764
4062
+ policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/il_tanf.yaml,sha256=-xgHwpYQ5tXJ6bhveQssH-5E1pJkLBA0AcqRhjMvs3I,5680
4063
4063
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/il_tanf_payment_level_for_grant_calculation.yaml,sha256=rA2-oM0WFxsRlEbI9rYiXz2B-9ZPY6K0HAazhZDzR88,2666
4064
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/il_tanf_payment_level_for_initial_eligibility.yaml,sha256=rY1c-obHyNgQSTVBKY0FonMgSOgl3m_rjhTfteddr-E,459
4064
+ policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/il_tanf_payment_level_for_initial_eligibility.yaml,sha256=h1_JL3qFzet0ghIGZCD3cCaeOgSI_l-K6wy913XNLtg,502
4065
4065
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/assistance_unit/il_tanf_assistance_unit_fpg.yaml,sha256=OeRapbtz-c2zWofKRr9WrQN87hCfX5Dj3EmFi7DgSOI,846
4066
4066
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/assistance_unit/il_tanf_assistance_unit_size.yaml,sha256=zkqiYMNA_Chb2s-FgkUQrOZWPmrmty-2Wr5AhCUKgV0,1731
4067
4067
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/assistance_unit/il_tanf_payment_eligible_child.yaml,sha256=OpvQsqFHCiagWOrrQctlrOuA5zo0WgD9tflPTm9gWpA,1040
@@ -4075,9 +4075,9 @@ policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/eligibility/il_tanf
4075
4075
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/eligibility/il_tanf_non_financial_eligible.yaml,sha256=DptqeBfabhX9IscKm7rkcP3y9_9s-QkSIgihp5JUQoA,733
4076
4076
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/deductions/il_tanf_childcare_deduction.yaml,sha256=IjvDPB8O0lAuOlUDHfPw7pGMPQkxJJaTclaevAhrrL8,906
4077
4077
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/deductions/il_tanf_initial_employment_deduction_fpg.yaml,sha256=s16WRFnWbauY-wqSsfgRNdgyWQjD0Ewy8YrxwKdGBBQ,591
4078
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/deductions/il_tanf_initial_employment_deduction_person.yaml,sha256=MebElX6ksf1iZsGEthCiwSc2x8L3jV3_4vSrohiHYzE,3655
4078
+ policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/deductions/il_tanf_initial_employment_deduction_person.yaml,sha256=-l3GXYM8gE8MwffCgF-qdoVufQNqcIqCTXWjHPFZWTM,6219
4079
4079
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/earned/il_tanf_countable_earned_income_for_grant_calculation.yaml,sha256=_Z1lVh7L9QXQf21pX65DRZHfUDWmY3cU0H31CsEu9oQ,1617
4080
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/earned/il_tanf_countable_earned_income_for_initial_eligibility.yaml,sha256=fRlSh5wXfG3_YU-vO_pxI0CQvDjB4Mm309h4zoTMOKI,1946
4080
+ policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/earned/il_tanf_countable_earned_income_for_initial_eligibility.yaml,sha256=yr3vQnx5TKi8cwGhDHyl4VWvyw_fSAyxjvUtVR-_7so,1911
4081
4081
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/earned/il_tanf_countable_gross_earned_income.yaml,sha256=3RihYL4CTmtqnAYwZXsLsc1SJXOSYQWuiuC10s-Nf4w,416
4082
4082
  policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/unearned/il_tanf_countable_unearned_income.yaml,sha256=Tk_aO8C0jVW1ateWv8U66-_QUXLajf6lsbZDPlOTPkQ,412
4083
4083
  policyengine_us/tests/policy/baseline/gov/states/il/idoa/bap/il_bap_eligible.yaml,sha256=bxAIxI1GYL6I-htJnFPMEbbbq4yo0QZ2_b4V9jfboQc,1115
@@ -4430,7 +4430,7 @@ policyengine_us/tests/policy/baseline/gov/states/mo/tax/tax_sim/mo_income_tax.ya
4430
4430
  policyengine_us/tests/policy/baseline/gov/states/mo/tax/tax_sim/mo_itemized_deductions.yaml,sha256=0-6PfYu-qfTYx1RNM1oBamqlVcbZRFCdg3sqbQMXIkg,1594
4431
4431
  policyengine_us/tests/policy/baseline/gov/states/mo/tax/tax_sim/mo_taxable_income.yaml,sha256=ujjTbAGTfjGM8sfkCmXkdnIyLagsdCXqdVlhvKAlwUA,1765
4432
4432
  policyengine_us/tests/policy/baseline/gov/states/mo/tax/tax_sim/scenarios/mo_income_tax_by_family_structure.yaml,sha256=7ASnAlxx8XOL6hTrChaZJZO-K4UmV8mSsJ6Y1sP4OAo,4297
4433
- policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/integration.yaml,sha256=IkX9urTmBNpQ9-tmcjdTOE6JuyC4ZXwTXWMFPQucclQ,6608
4433
+ policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/integration.yaml,sha256=1dQ-hY6QP6PkQN3zB-KTHeY9RDAFOwV44Wv2Tk1-VXo,7359
4434
4434
  policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/ms_agi.yaml,sha256=X7s_uAMVTQEp6bz8qaIWiAv9eMuBmBpHS94M6Vsc1TE,793
4435
4435
  policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/ms_files_separately.yaml,sha256=rAg4SuPx8zB5_FQCej4EtzuroFTd6H2QEHECxYgVGAA,653
4436
4436
  policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/ms_income_tax.yaml,sha256=FJlt9Lp1wdcwKJZIyn8lU-jFMgPrcYxAkh-MPZKDeCA,1151
@@ -6501,8 +6501,7 @@ policyengine_us/variables/gov/states/il/dhs/ccap/eligibility/il_ccap_income_elig
6501
6501
  policyengine_us/variables/gov/states/il/dhs/ccap/eligibility/il_ccap_parent_meets_working_requirements.py,sha256=4joQ0ujXb1ZVxOuRd2RhNBYPIdpKK9yYS0cwdRvfHXo,938
6502
6502
  policyengine_us/variables/gov/states/il/dhs/tanf/il_tanf.py,sha256=QM4fibE08qvX0e53uDO-Ue5K39v7jkIfDDr2QypNUEU,694
6503
6503
  policyengine_us/variables/gov/states/il/dhs/tanf/il_tanf_payment_level_for_grant_application.py,sha256=s8nEYbkiOa5QfGVpkpgHwbegdR3bP1r7e79e99EMxj8,1606
6504
- policyengine_us/variables/gov/states/il/dhs/tanf/il_tanf_payment_level_for_initial_eligibility.py,sha256=tiTWVdvEGzaZ9bJ51z_Fn8nogA7XXtwkfuu7KpR5IK4,633
6505
- policyengine_us/variables/gov/states/il/dhs/tanf/il_tanf_spm_unit_fpg.py,sha256=ficXvkwTHNMNOiFKLMdXkFOG8hj7nsYwUB4hd7UeNEE,852
6504
+ policyengine_us/variables/gov/states/il/dhs/tanf/il_tanf_payment_level_for_initial_eligibility.py,sha256=cSlpyBf1LqMF8Dq1mGI7tl8dyvUiUEHD83JqLVKu7Kg,640
6506
6505
  policyengine_us/variables/gov/states/il/dhs/tanf/assistance_unit/il_tanf_assistance_unit_fpg.py,sha256=sOSLU08dwOTYcwF__lh9jLkzxKkn3-H3QR0RgCaQewc,881
6507
6506
  policyengine_us/variables/gov/states/il/dhs/tanf/assistance_unit/il_tanf_assistance_unit_size.py,sha256=xYdABo62EPA9optuG2PRGz__ZLaoyd9HKhYSyKNuBOM,487
6508
6507
  policyengine_us/variables/gov/states/il/dhs/tanf/assistance_unit/il_tanf_payment_eligible_child.py,sha256=KTifkd0vUkyKMDttstqHm9JctYVFrlKKOYyd_DmO3mE,666
@@ -7023,7 +7022,7 @@ policyengine_us/variables/gov/states/ms/tax/income/exemptions/ms_total_exemption
7023
7022
  policyengine_us/variables/gov/states/ms/tax/income/exemptions/ms_total_exemptions_joint.py,sha256=Rv0WZkTNapVX-5ZjLFPwUY0zFA-OGiJZygutSUqbark,593
7024
7023
  policyengine_us/variables/gov/states/ms/tax/income/taxable_income/ms_pre_deductions_taxable_income_indiv.py,sha256=B4Kxx8IJaS_zVib0k3bm4RWTMJwNDz4sw8Y3NQl6LbY,716
7025
7024
  policyengine_us/variables/gov/states/ms/tax/income/taxable_income/ms_taxable_income_indiv.py,sha256=wQz7Mo1d_mFVbqS_U8pXqUEIHR_IiAhQ31eHxHNXaHc,764
7026
- policyengine_us/variables/gov/states/ms/tax/income/taxable_income/ms_taxable_income_joint.py,sha256=PuhCE8Fj2PsZDrZExbOmpBR3Blidy5vtwrLTPtWCc1A,947
7025
+ policyengine_us/variables/gov/states/ms/tax/income/taxable_income/ms_taxable_income_joint.py,sha256=o1RUmRM5QSnUUxcyEHtk93dINpsHpNaiNkBG0XMmmK0,782
7027
7026
  policyengine_us/variables/gov/states/mt/tax/income/additions/mt_additions.py,sha256=XuPgB_HXbq118yvUEKr9s8NWRB4sXhQcVCTqNd47iJQ,548
7028
7027
  policyengine_us/variables/gov/states/mt/tax/income/base/mt_agi.py,sha256=9S_0FrtFoihITuWPZQW4_dn7K4_x8V3tax7AbxtzgZA,1693
7029
7028
  policyengine_us/variables/gov/states/mt/tax/income/base/mt_applicable_ald_deductions.py,sha256=rQQ_QEqRxQJJpO75b93CQdRs_nsrSizC3f5YWwJQdZI,620
@@ -8310,8 +8309,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8310
8309
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8311
8310
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8312
8311
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8313
- policyengine_us-1.385.1.dist-info/METADATA,sha256=0hIAzd0KIxRsawLP1LMm036qEhmp6isFV5IozcEeaXc,1649
8314
- policyengine_us-1.385.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8315
- policyengine_us-1.385.1.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8316
- policyengine_us-1.385.1.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8317
- policyengine_us-1.385.1.dist-info/RECORD,,
8312
+ policyengine_us-1.386.1.dist-info/METADATA,sha256=E6cox3P81t10xwuXvQZVDAdvEdgcbgpiS5h-IvQE73w,1649
8313
+ policyengine_us-1.386.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8314
+ policyengine_us-1.386.1.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8315
+ policyengine_us-1.386.1.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8316
+ policyengine_us-1.386.1.dist-info/RECORD,,
@@ -1,24 +0,0 @@
1
- from policyengine_us.model_api import *
2
-
3
-
4
- class il_tanf_spm_unit_fpg(Variable):
5
- value_type = float
6
- entity = SPMUnit
7
- label = "Illinois TANF spm unit's federal poverty guideline"
8
- definition_period = MONTH
9
- defined_for = StateCode.IL
10
-
11
- def formula(spm_unit, period, parameters):
12
- n = spm_unit("spm_unit_size", period)
13
- state_group = spm_unit.household("state_group_str", period)
14
- p_fpg = parameters(period).gov.hhs.fpg
15
- year = period.start.year
16
- month = period.start.month
17
- if month >= 10:
18
- instant_str = f"{year}-10-01"
19
- else:
20
- instant_str = f"{year - 1}-10-01"
21
- p_fpg = parameters(instant_str).gov.hhs.fpg
22
- p1 = p_fpg.first_person[state_group]
23
- pn = p_fpg.additional_person[state_group]
24
- return (p1 + pn * (n - 1)) / MONTHS_IN_YEAR