policyengine-us 1.432.8__py3-none-any.whl → 1.432.9__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.
@@ -4,6 +4,7 @@
4
4
  hi_agi: 1_000
5
5
  hi_cdcc_min_head_spouse_earned: 1_000
6
6
  hi_dependent_care_benefits: 100
7
+ hi_cdcc_eligible: true
7
8
  state_code: HI
8
9
  output:
9
10
  hi_cdcc: 25
@@ -14,6 +15,7 @@
14
15
  hi_agi: 1_000
15
16
  hi_cdcc_min_head_spouse_earned: 1_000
16
17
  hi_dependent_care_benefits: 2_000
18
+ hi_cdcc_eligible: true
17
19
  state_code: HI
18
20
  output:
19
21
  hi_cdcc: 250
@@ -24,6 +26,7 @@
24
26
  hi_agi: 50_000
25
27
  hi_cdcc_min_head_spouse_earned: 1_000
26
28
  hi_dependent_care_benefits: 100
29
+ hi_cdcc_eligible: true
27
30
  state_code: HI
28
31
  output:
29
32
  hi_cdcc: 20
@@ -34,6 +37,7 @@
34
37
  hi_agi: 50_001
35
38
  hi_cdcc_min_head_spouse_earned: 1_000
36
39
  hi_dependent_care_benefits: 100
40
+ hi_cdcc_eligible: true
37
41
  state_code: HI
38
42
  output:
39
43
  hi_cdcc: 15
@@ -0,0 +1,15 @@
1
+ - name: No eligible dependents
2
+ period: 2022
3
+ input:
4
+ count_cdcc_eligible: 0
5
+ state_code: HI
6
+ output:
7
+ hi_cdcc_eligible: false
8
+
9
+ - name: No eligible dependents
10
+ period: 2022
11
+ input:
12
+ count_cdcc_eligible: 1
13
+ state_code: HI
14
+ output:
15
+ hi_cdcc_eligible: true
@@ -139,3 +139,63 @@
139
139
  state_fips: 15
140
140
  output:
141
141
  hi_income_tax: 6_461
142
+
143
+ - name: 0-HI.yaml
144
+ absolute_error_margin: 2
145
+ period: 2024
146
+ input:
147
+ people:
148
+ person1:
149
+ age: 70
150
+ employment_income: 10000.0
151
+ ssi: 0
152
+ wic: 0
153
+ head_start: 0
154
+ early_head_start: 0
155
+ commodity_supplemental_food_program: 0
156
+ deductible_mortgage_interest: 167159.52
157
+ taxable_interest_income: 250739.28
158
+ is_tax_unit_head: true
159
+ person2:
160
+ age: 70
161
+ employment_income: 10000.0
162
+ ssi: 0
163
+ wic: 0
164
+ head_start: 0
165
+ early_head_start: 0
166
+ commodity_supplemental_food_program: 0
167
+ taxable_interest_income: 250739.28
168
+ is_tax_unit_spouse: true
169
+ person3:
170
+ age: 17
171
+ employment_income: 0
172
+ ssi: 0
173
+ wic: 0
174
+ head_start: 0
175
+ early_head_start: 0
176
+ commodity_supplemental_food_program: 0
177
+ is_tax_unit_dependent: true
178
+ is_tax_unit_head: false
179
+ is_tax_unit_spouse: false
180
+ tax_units:
181
+ tax_unit:
182
+ members: [person1, person2, person3]
183
+ premium_tax_credit: 0
184
+ local_income_tax: 0
185
+ state_sales_tax: 0
186
+ tax_unit_childcare_expenses: 5196.9619
187
+ state_and_local_sales_or_income_tax: 0
188
+ spm_units:
189
+ spm_unit:
190
+ members: [person1, person2, person3]
191
+ snap: 0
192
+ tanf: 0
193
+ free_school_meals: 0
194
+ reduced_price_school_meals: 0
195
+ households:
196
+ household:
197
+ members: [person1, person2, person3]
198
+ state_fips: 15
199
+ output:
200
+ hi_cdcc: 0
201
+ hi_income_tax: 28_681
@@ -5,7 +5,7 @@ class hi_cdcc(Variable):
5
5
  value_type = float
6
6
  entity = TaxUnit
7
7
  label = "Hawaii child and dependent care credit"
8
- defined_for = StateCode.HI
8
+ defined_for = "hi_cdcc_eligible"
9
9
  unit = USD
10
10
  definition_period = YEAR
11
11
  reference = "https://files.hawaii.gov/tax/legal/hrs/hrs_235.pdf#page=40"
@@ -0,0 +1,14 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class hi_cdcc_eligible(Variable):
5
+ value_type = bool
6
+ entity = TaxUnit
7
+ label = "Hawaii child and dependent care credit eligible"
8
+ defined_for = StateCode.HI
9
+ definition_period = YEAR
10
+ reference = "https://law.justia.com/codes/hawaii/title-14/chapter-235/section-235-55-6/"
11
+
12
+ def formula(tax_unit, period, parameters):
13
+ count_cdcc_eligible = tax_unit("count_cdcc_eligible", period)
14
+ return count_cdcc_eligible > 0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.432.8
3
+ Version: 1.432.9
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -4197,13 +4197,14 @@ policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_income_tax_bef
4197
4197
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_income_tax_before_refundable_credits.yaml,sha256=cyRHRB9jVnQBhINoqcu5O8chhZ1FG_k6hiRkPmYmVfU,427
4198
4198
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_taxable_income.yaml,sha256=Mw5GPG3siqrpi7I_6H3WGlfsQ83yViX24rI3WiFCU6U,369
4199
4199
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_withheld_income_tax.yaml,sha256=89Y_LEpvrr0eot5NSj4k3U8TOiNX96q_b06Y93Sc2AQ,711
4200
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml,sha256=KbrodFSbY_3TxvSffGXkX3odXbsfXgNPPSA_g0nhEN8,3757
4200
+ policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml,sha256=-aHCSK6m5dZrqozq_hAzcnfBX4_2FsRzGXYLt0CLSc4,5294
4201
4201
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_alternative_tax_on_capital_gains.yaml,sha256=yTElk9tqjIVezk2pMqbNH07VNx6YwtcppQhfZtBvZU8,837
4202
4202
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_alternative_tax_on_capital_gains_eligible.yaml,sha256=kgAVvMcG8RpYH-ge4n0sO_-ycqwN0LF9THj9-kcoT6k,375
4203
4203
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_taxable_income_for_alternative_tax.yaml,sha256=CH_J3YHTVLzQSMMRX8d5rU5p20pS__zRK5n6RiYkJuo,1236
4204
4204
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml,sha256=tx_9do9crd_JX-w2yYykXvY4rGmCYZMRpomTZWNB3v4,680
4205
4205
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_eitc.yaml,sha256=qwZbr1KIoziRvxVqFz2Ew6_JDsxClVZhknTP2YhbawQ,330
4206
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.yaml,sha256=lhdRRNqTpHfbqnbDCFXF7yGAlGH0bG2dyKHfH-n9jIk,773
4206
+ policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.yaml,sha256=ghzRNPsDgD4MCI75yS3EJ80n2ehJpE727vbJ4mMYVmU,881
4207
+ policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.yaml,sha256=GNgQMT-NEZMqZEhmyyJPLzpjrLaRlyi2HAjoht1Ft8Q,278
4207
4208
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_income_floor_eligible.yaml,sha256=QCQcZnvgBSHzydbI93GrAOycfWYOGIBg4fQN5JJRoB0,1390
4208
4209
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_integration.yaml,sha256=QONKnmjOik0h0jNNXLGJ5s87fj4z-7hdNSuwUE7qpT4,3335
4209
4210
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_min_head_spouse_earned.yaml,sha256=bXR2C0OdBC4W8yysQW2buaFP_Jy96gCsFRoajitVZKs,4013
@@ -6778,7 +6779,8 @@ policyengine_us/variables/gov/states/hi/tax/income/alternative_tax/hi_alternativ
6778
6779
  policyengine_us/variables/gov/states/hi/tax/income/alternative_tax/hi_taxable_income_for_alternative_tax.py,sha256=9y5zcdFh1VjHfLelTRgE1XW0J8hF57bU7h_wgRhPZiI,2240
6779
6780
  policyengine_us/variables/gov/states/hi/tax/income/credits/hi_act_115_rebate.py,sha256=3OtjkOubssYfcYNoVlV1v6XHwDE5ckvzsVZl_udZR7k,1119
6780
6781
  policyengine_us/variables/gov/states/hi/tax/income/credits/hi_eitc.py,sha256=6mLr3Z0pKSd6QZGWFtNXW5P1CTa2f4PlrPRmSZW7PY0,550
6781
- policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.py,sha256=CNgjDkakN5a1uJ2aLsvVCu9lNr9My833Bp7U1s_8gMs,1143
6782
+ policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.py,sha256=M3JgdOi5tAZCi4vXHi-D2iNN0nSl4Nz0u76Awd_IkcU,1149
6783
+ policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.py,sha256=sHXQaMVw_OYK-9N-ydOZWPF3EtShDmdnEleTyGyq29c,491
6782
6784
  policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/dependent_care_benefit/hi_cdcc_income_floor_eligible.py,sha256=84hgR2_CvvA1euMZalRoo8E9TnOt1larlPuwQj5AN9Y,702
6783
6785
  policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/dependent_care_benefit/hi_cdcc_min_head_spouse_earned.py,sha256=EVHbnyKhN-O7iPC5IrCZGttUGilWUQcohMuWrA5rRZE,2834
6784
6786
  policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/dependent_care_benefit/hi_dependent_care_benefits.py,sha256=VbIFuTn_gY3ff3Z2XCJyi7MXNXuUVuOooU711KKN6sc,2572
@@ -8856,8 +8858,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8856
8858
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8857
8859
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8858
8860
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8859
- policyengine_us-1.432.8.dist-info/METADATA,sha256=SSIK2TtnmQUltDDLnwK3kXFbr7W7NPwuwSB0i0tSnXU,1649
8860
- policyengine_us-1.432.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8861
- policyengine_us-1.432.8.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8862
- policyengine_us-1.432.8.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8863
- policyengine_us-1.432.8.dist-info/RECORD,,
8861
+ policyengine_us-1.432.9.dist-info/METADATA,sha256=Ym-HT7pNzY_u9VS07u0R3VNFouqUbuwDFsM5aABhyRs,1649
8862
+ policyengine_us-1.432.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8863
+ policyengine_us-1.432.9.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8864
+ policyengine_us-1.432.9.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8865
+ policyengine_us-1.432.9.dist-info/RECORD,,