policyengine-us 1.432.4__py3-none-any.whl → 1.432.6__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.
@@ -5,4 +5,4 @@ metadata:
5
5
  # reference: placeholder - bill not yet introduced
6
6
  label: Adult dependent minimum age
7
7
  values:
8
- 2026-01-01: 18
8
+ 2026-01-01: 19
@@ -1,15 +1,14 @@
1
1
  description: Hawaii allows for an alternative tax on capital gains calculation if this is true.
2
2
  values:
3
3
  2021-01-01: true
4
- 2023-01-01: false
5
4
  metadata:
6
5
  unit: bool
7
6
  period: year
8
7
  label: Hawaii alternative tax on capital gain availability
9
8
  reference:
10
- - title: House of Representatives Thirty-Second Legislature, 2023. State of Hawaii, A Bill For An Act
11
- href: https://www.capitol.hawaii.gov/sessions/session2023/bills/HB232_.htm
12
9
  - title: 2022 N-15 Hawaii Nonresident and Part-Year Resident Income Tax Instructions - Tax Computation line 44
13
10
  href: https://files.hawaii.gov/tax/forms/2022/n15ins.pdf#page=28
14
11
  - title: 2022 Hawaii Revised Statutes Title 14. Taxation.235. Income Tax Law.235-51 Tax imposed on individuals; rates.-(f).(2)
15
12
  href: https://law.justia.com/codes/hawaii/2022/title-14/chapter-235/section-235-51/
13
+ - title: 2024 Hawaii N-11
14
+ href: https://files.hawaii.gov/tax/forms/2024/n11_i.pdf#page=3
@@ -19,6 +19,9 @@ def create_income_security_package() -> Reform:
19
19
  period
20
20
  ).gov.contrib.congress.tlaib.income_security_package.baby_bonus_act
21
21
 
22
+ if not p.in_effect:
23
+ return 0
24
+
22
25
  # Baby bonus is for those born in 2026 and after, paid in their birth year
23
26
  birth_year = person("birth_year", period)
24
27
 
@@ -47,6 +50,9 @@ def create_income_security_package() -> Reform:
47
50
  period
48
51
  ).gov.contrib.congress.tlaib.income_security_package.boost_act
49
52
 
53
+ if not p.in_effect:
54
+ return 0
55
+
50
56
  age = person("age", period)
51
57
  is_eligible = (age >= p.min_age) & (age <= p.max_age)
52
58
 
@@ -68,6 +74,9 @@ def create_income_security_package() -> Reform:
68
74
  period
69
75
  ).gov.contrib.congress.tlaib.income_security_package.boost_act
70
76
 
77
+ if not p.in_effect:
78
+ return 0
79
+
71
80
  agi = tax_unit("adjusted_gross_income", period)
72
81
  filing_status = tax_unit("filing_status", period)
73
82
 
@@ -91,6 +100,9 @@ def create_income_security_package() -> Reform:
91
100
  period
92
101
  ).gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act
93
102
 
103
+ if not p.in_effect:
104
+ return 0
105
+
94
106
  age = person("age", period)
95
107
  is_eligible = age < p.child_benefit.age_limit
96
108
 
@@ -117,6 +129,9 @@ def create_income_security_package() -> Reform:
117
129
  period
118
130
  ).gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act
119
131
 
132
+ if not p.in_effect:
133
+ return 0
134
+
120
135
  age = person("age", period)
121
136
  is_dependent = person("is_tax_unit_dependent", period)
122
137
 
@@ -140,6 +155,9 @@ def create_income_security_package() -> Reform:
140
155
  period
141
156
  ).gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act
142
157
 
158
+ if not p.in_effect:
159
+ return 0
160
+
143
161
  person = tax_unit.members
144
162
  age = person("age", period)
145
163
 
@@ -352,6 +370,38 @@ def create_income_security_package() -> Reform:
352
370
 
353
371
  return add(tax_unit, period, CREDITS)
354
372
 
373
+ class household_tax_before_refundable_credits(Variable):
374
+ value_type = float
375
+ entity = Household
376
+ label = "total tax before refundable credits"
377
+ documentation = "Total tax liability before refundable credits."
378
+ unit = USD
379
+ definition_period = YEAR
380
+
381
+ def formula(household, period, parameters):
382
+ p = parameters(
383
+ period
384
+ ).gov.contrib.congress.tlaib.income_security_package
385
+
386
+ base_taxes = add(
387
+ household,
388
+ period,
389
+ [
390
+ "employee_payroll_tax",
391
+ "self_employment_tax",
392
+ "income_tax_before_refundable_credits",
393
+ "flat_tax",
394
+ "household_state_tax_before_refundable_credits",
395
+ ],
396
+ )
397
+
398
+ # Add BOOST tax only if active
399
+ if p.boost_act.in_effect:
400
+ boost_tax = add(household, period, ["boost_act_tax"])
401
+ return base_taxes + boost_tax
402
+ else:
403
+ return base_taxes
404
+
355
405
  class reform(Reform):
356
406
  def apply(self):
357
407
  # Update all variables for the Income Security Package
@@ -366,6 +416,7 @@ def create_income_security_package() -> Reform:
366
416
  self.update_variable(income_tax)
367
417
  self.update_variable(income_tax_refundable_credits)
368
418
  self.update_variable(income_tax_non_refundable_credits)
419
+ self.update_variable(household_tax_before_refundable_credits)
369
420
 
370
421
  return reform
371
422
 
@@ -13,11 +13,3 @@
13
13
  net_capital_gain: 0
14
14
  output:
15
15
  hi_alternative_tax_on_capital_gains_eligible: false
16
-
17
- - name: After 2023 and net capitals gains present
18
- period: 2023
19
- input:
20
- state_code: HI
21
- net_capital_gain: 1_000
22
- output:
23
- hi_alternative_tax_on_capital_gains_eligible: false
@@ -103,3 +103,39 @@
103
103
  state_fips: 15 # HI
104
104
  output: # expected results from patched TAXSIM35 2024-01-29 version
105
105
  hi_income_tax: -485.10
106
+
107
+ - name: 0-HI.yaml
108
+ absolute_error_margin: 2
109
+ period: 2024
110
+ input:
111
+ people:
112
+ person1:
113
+ age: 40
114
+ employment_income: 0.0
115
+ ssi: 0
116
+ wic: 0
117
+ head_start: 0
118
+ early_head_start: 0
119
+ commodity_supplemental_food_program: 0
120
+ long_term_capital_gains: 100000
121
+ is_tax_unit_head: true
122
+ tax_units:
123
+ tax_unit:
124
+ members: [person1]
125
+ premium_tax_credit: 0
126
+ local_income_tax: 0
127
+ state_sales_tax: 0
128
+ state_and_local_sales_or_income_tax: 0
129
+ spm_units:
130
+ spm_unit:
131
+ members: [person1]
132
+ snap: 0
133
+ tanf: 0
134
+ free_school_meals: 0
135
+ reduced_price_school_meals: 0
136
+ households:
137
+ household:
138
+ members: [person1]
139
+ state_fips: 15
140
+ output:
141
+ hi_income_tax: 6_461
@@ -30,10 +30,10 @@
30
30
  output:
31
31
  # Baby gets bonus (Baby Bonus Act is in effect)
32
32
  baby_bonus_act_payment: [2_000, 0]
33
- boost_act_payment: [0, 3_000]
34
- ecpa_child_benefit: [5_630, 0]
33
+ boost_act_payment: [0, 0]
34
+ ecpa_child_benefit: [0, 0]
35
35
  ecpa_filer_credit: 0
36
- boost_act_tax: 125
36
+ boost_act_tax: 0
37
37
  # Only the baby bonus payment is applied to the household benefits
38
38
  household_benefits: 2_000
39
39
 
@@ -67,9 +67,9 @@
67
67
  members: [parent, baby]
68
68
  household_state_benefits: 0
69
69
  output:
70
- baby_bonus_act_payment: [2_000, 0]
70
+ baby_bonus_act_payment: [0, 0]
71
71
  boost_act_payment: [0, 3_000]
72
- ecpa_child_benefit: [5_630, 0]
72
+ ecpa_child_benefit: [0, 0]
73
73
  ecpa_filer_credit: 0
74
74
  boost_act_tax: 125
75
75
  household_benefits: 3_000
@@ -104,8 +104,8 @@
104
104
  members: [parent, baby]
105
105
  household_state_benefits: 0
106
106
  output:
107
- baby_bonus_act_payment: [2_000, 0]
108
- boost_act_payment: [0, 3_000]
107
+ baby_bonus_act_payment: [0, 0]
108
+ boost_act_payment: [0, 0]
109
109
  ecpa_child_benefit: [5_630, 0]
110
110
  ecpa_filer_credit: 700
111
111
  boost_act_tax: 0
@@ -141,7 +141,7 @@
141
141
  2026: [5_630, 5_630, 0]
142
142
 
143
143
  # ECPA Adult Dependent Credit Tests
144
- - name: ECPA adult dependent credit requires dependent status and age 18+
144
+ - name: ECPA adult dependent credit requires dependent status and age 19+
145
145
  period: 2026
146
146
  reforms: policyengine_us.reforms.congress.tlaib.income_security_package.income_security_package
147
147
  input:
@@ -151,18 +151,18 @@
151
151
  people:
152
152
  parent:
153
153
  age: 45
154
- child_17:
155
- age: 17
156
- is_tax_unit_dependent: true
157
- adult_dep_18:
154
+ child_18:
158
155
  age: 18
159
156
  is_tax_unit_dependent: true
157
+ adult_dep_19:
158
+ age: 19
159
+ is_tax_unit_dependent: true
160
160
  adult_not_dep:
161
161
  age: 20
162
162
  is_tax_unit_dependent: false
163
163
  tax_units:
164
164
  tax_unit:
165
- members: [parent, child_17, adult_dep_18, adult_not_dep]
165
+ members: [parent, child_18, adult_dep_19, adult_not_dep]
166
166
  output:
167
167
  ecpa_adult_dependent_credit:
168
168
  2026: [0, 0, 700, 0]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.432.4
3
+ Version: 1.432.6
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -196,7 +196,7 @@ policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/bo
196
196
  policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/tax/threshold.yaml,sha256=wd0b8c3qDngAw-lbAeI-agKWTQ89oCS-t4tC0ZUgT9E,595
197
197
  policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/end_child_poverty_act/in_effect.yaml,sha256=X0mBeiY4HR2V2JEF1Zd1WFNOOcfFb8U9VpCK-8l010E,258
198
198
  policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/end_child_poverty_act/adult_dependent_credit/amount.yaml,sha256=s_girhhwgSKx5ol2pULD1P7Ggz2lSOPm90vA2I1ZoLs,319
199
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/end_child_poverty_act/adult_dependent_credit/min_age.yaml,sha256=C9OUssu_Z1r49eOqwGpjKkQ1wm-40Qs4vA_FlCC_ssc,281
199
+ policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/end_child_poverty_act/adult_dependent_credit/min_age.yaml,sha256=x3BD_JpylmcdFj3G7z9PuMr1Ql98yi46lGx1jN8EnJM,281
200
200
  policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/end_child_poverty_act/child_benefit/age_limit.yaml,sha256=Aw87cFqY9VYoXZHNrNzATrCWOLrNBDnQEw9rU59GaSU,274
201
201
  policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/end_child_poverty_act/filer_credit/amount.yaml,sha256=hzpRY4e0yTQuvIACpwCXIcLa2QgU2xZa7qWH3S_mWd0,501
202
202
  policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/end_child_poverty_act/filer_credit/eligibility/max_age.yaml,sha256=oQyHvxq6ahk4dNCLT1w255s0pPa5yxSTB3_Yz2cYg3o,310
@@ -1517,7 +1517,7 @@ policyengine_us/parameters/gov/states/ga/tax/income/main/single.yaml,sha256=TK0r
1517
1517
  policyengine_us/parameters/gov/states/ga/tax/income/main/surviving_spouse.yaml,sha256=8O4Gfq9FNQssFgwDEaAN6Dg8M5NkQF8QPNHmrkw1XgQ,2581
1518
1518
  policyengine_us/parameters/gov/states/ga/tax/income/subtractions/subtractions.yaml,sha256=r1f3k6URCyEBH0-Hn9aU8ESvlhPZGegrqMV3uklxa6g,934
1519
1519
  policyengine_us/parameters/gov/states/hi/README.md,sha256=9ilQtjEQvdYSE7d-M6NHkhd19Mi3wWZCSKx64CEIOo0,9
1520
- policyengine_us/parameters/gov/states/hi/tax/income/alternative_tax/availability.yaml,sha256=7nonmCppUgipSiUz2sMgzeG__ig73gWRxetOrAN_dRc,857
1520
+ policyengine_us/parameters/gov/states/hi/tax/income/alternative_tax/availability.yaml,sha256=ziUWw01FkxJVoCYZslB2-YQpjq1zVPTaMjLAyo9i2_Q,749
1521
1521
  policyengine_us/parameters/gov/states/hi/tax/income/alternative_tax/rate.yaml,sha256=UV8niOWEuImnN_NYW7xKG50fH9JwkgWfv1epGRRvaGg,761
1522
1522
  policyengine_us/parameters/gov/states/hi/tax/income/credits/non_refundable.yaml,sha256=0GnviGcVPy52KJmqenXS82XqTi7llrPiDShWyi1CRgU,444
1523
1523
  policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml,sha256=2YYwPOLzobToOC5eo8lDaR9-Gyx3195ftaUwP64wJao,942
@@ -3343,7 +3343,7 @@ policyengine_us/reforms/congress/tlaib/end_child_poverty_act.py,sha256=DVsG5B4wg
3343
3343
  policyengine_us/reforms/congress/tlaib/boost/__init__.py,sha256=mTOD_i0DRodonczSQHf3Z22IaboeAbSREGca3uwnJXA,96
3344
3344
  policyengine_us/reforms/congress/tlaib/boost/boost_middle_class_tax_credit.py,sha256=i-QXr3jR8yTq8XDUdytE7FXjSlNTdBcXV5QZQqrNAZw,5964
3345
3345
  policyengine_us/reforms/congress/tlaib/income_security_package/__init__.py,sha256=FYIyIT-6yyliwb49QFQPg0PEtqrkl7GvJPZqpccxcYw,492
3346
- policyengine_us/reforms/congress/tlaib/income_security_package/income_security_package.py,sha256=6gk5786wdwe4u7hCv2ymK0DKM8c_7uFdyQN8PSz4G3A,14063
3346
+ policyengine_us/reforms/congress/tlaib/income_security_package/income_security_package.py,sha256=PdZrLKybAcEZLTVKquP8lHO8kzVDlyWtM_NT7GjFLdo,15580
3347
3347
  policyengine_us/reforms/congress/wyden_smith/__init__.py,sha256=E2ZbN4mRYi9FniynFYQiWk18byKe_-WmAp9tpG1aXnU,55
3348
3348
  policyengine_us/reforms/congress/wyden_smith/ctc_expansion.py,sha256=SLqv8nk2gQT9xH8amGZMOgbljIkxPMSvL3RC1IMyLsA,5269
3349
3349
  policyengine_us/reforms/crfb/__init__.py,sha256=IGlcXcMYsTgW3mGt2DRvygTM9hz3V3IVXFkHS2Zu8Jo,830
@@ -4203,9 +4203,9 @@ policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_income_tax_bef
4203
4203
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_income_tax_before_refundable_credits.yaml,sha256=cyRHRB9jVnQBhINoqcu5O8chhZ1FG_k6hiRkPmYmVfU,427
4204
4204
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_taxable_income.yaml,sha256=Mw5GPG3siqrpi7I_6H3WGlfsQ83yViX24rI3WiFCU6U,369
4205
4205
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_withheld_income_tax.yaml,sha256=89Y_LEpvrr0eot5NSj4k3U8TOiNX96q_b06Y93Sc2AQ,711
4206
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml,sha256=zvt23tBcXne_mEKOqrDro_K3vFtrKcBmMFj_xC3AeDw,2950
4206
+ policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml,sha256=KbrodFSbY_3TxvSffGXkX3odXbsfXgNPPSA_g0nhEN8,3757
4207
4207
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_alternative_tax_on_capital_gains.yaml,sha256=yTElk9tqjIVezk2pMqbNH07VNx6YwtcppQhfZtBvZU8,837
4208
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_alternative_tax_on_capital_gains_eligible.yaml,sha256=TFqoHYFAkcpWSl7UqoyWjizs14dC7LRd6Rx6boHeAxw,563
4208
+ 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
4209
4209
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_taxable_income_for_alternative_tax.yaml,sha256=CH_J3YHTVLzQSMMRX8d5rU5p20pS__zRK5n6RiYkJuo,1236
4210
4210
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml,sha256=tx_9do9crd_JX-w2yYykXvY4rGmCYZMRpomTZWNB3v4,680
4211
4211
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_eitc.yaml,sha256=qwZbr1KIoziRvxVqFz2Ew6_JDsxClVZhknTP2YhbawQ,330
@@ -5534,8 +5534,8 @@ policyengine_us/tests/policy/contrib/congress/tlaib/end_child_poverty_act/ecpa_f
5534
5534
  policyengine_us/tests/policy/contrib/congress/tlaib/end_child_poverty_act/integration.yaml,sha256=-hliVNgaI5F10nm7kmdyWtJCbGyxdavjLO4uztFjIzQ,2532
5535
5535
  policyengine_us/tests/policy/contrib/congress/tlaib/income_security/integration.yaml,sha256=O1T38z4Cp7YNENuVRY2s7jjurGZ2x8OZN6CGTb7jP2U,4926
5536
5536
  policyengine_us/tests/policy/contrib/congress/tlaib/income_security/state_integration.yaml,sha256=9gwepE6mZBr4lKNpU7BUp1aTsx6KmJ7_Zg2CfNBf3c0,3299
5537
- policyengine_us/tests/policy/contrib/congress/tlaib/income_security/test_individual_acts.yaml,sha256=enR7ZvAwtl0EVX-En6tO-JUgSwFDrNpTAPhcjzPTeCY,4506
5538
- policyengine_us/tests/policy/contrib/congress/tlaib/income_security/unit_tests.yaml,sha256=V4VgBFRzwF9xE4MVp2zDqjaCzkdM24GzhEAN37qlPNE,9294
5537
+ policyengine_us/tests/policy/contrib/congress/tlaib/income_security/test_individual_acts.yaml,sha256=sHuOwVX1j9OCggADzQSZ2sFJnsSDPhR8gFYL1-S-zIs,4480
5538
+ policyengine_us/tests/policy/contrib/congress/tlaib/income_security/unit_tests.yaml,sha256=7wQFhHrFEePOlRKdVf_i3iJfDnjFxLqMTPSQ6t6ZCXA,9294
5539
5539
  policyengine_us/tests/policy/contrib/crfb/non_refundable_ss_credit.yaml,sha256=XEn-3HO1EDVCpv-vNYgi2165ZQZWVmHTISoUSqKWNYk,3259
5540
5540
  policyengine_us/tests/policy/contrib/crfb/senior_deduction_extension.yaml,sha256=GaDP76XMk-elnR3EyfGzSWxKnpFcBkNrS-xRBAjmiPs,3876
5541
5541
  policyengine_us/tests/policy/contrib/crfb/tax_employer_all_payroll_tax.yaml,sha256=ljSr35bDosWTqTDqEZKWhRqZvIw7SwPVMY-O8YFIsLc,559
@@ -8862,8 +8862,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8862
8862
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8863
8863
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8864
8864
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8865
- policyengine_us-1.432.4.dist-info/METADATA,sha256=fj9EsqQavRtDDKBaXr70xhlmXS6bY1fVFbNhN9lG9d4,1649
8866
- policyengine_us-1.432.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8867
- policyengine_us-1.432.4.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8868
- policyengine_us-1.432.4.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8869
- policyengine_us-1.432.4.dist-info/RECORD,,
8865
+ policyengine_us-1.432.6.dist-info/METADATA,sha256=75a1X1rBDk5oUiuFSwY3cJfpIfORQ6R8GDCssdxOf08,1649
8866
+ policyengine_us-1.432.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8867
+ policyengine_us-1.432.6.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8868
+ policyengine_us-1.432.6.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8869
+ policyengine_us-1.432.6.dist-info/RECORD,,