policyengine-us 1.432.5__py3-none-any.whl → 1.432.7__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,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
@@ -135,7 +135,7 @@
135
135
  tanf: 0
136
136
  spm_unit_wic: 0
137
137
  output:
138
- pell_grant_simplified_formula_applies: true
138
+ pell_grant_simplified_formula_applies: [false, true] # main has no benefits, other has medicaid
139
139
 
140
140
  - name: Too much income
141
141
  period: 2023
@@ -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
@@ -0,0 +1,41 @@
1
+ - name: Categorical eligibility respects income limits with axes
2
+ period: 2025
3
+ absolute_error_margin: 100
4
+ input:
5
+ people:
6
+ parent:
7
+ age: 40
8
+ child:
9
+ age: 1
10
+ families:
11
+ fam:
12
+ members: [parent, child]
13
+ marital_units:
14
+ mu1:
15
+ members: [parent]
16
+ mu2:
17
+ members: [child]
18
+ marital_unit_id: 1
19
+ tax_units:
20
+ tu:
21
+ members: [parent, child]
22
+ spm_units:
23
+ spm:
24
+ members: [parent, child]
25
+ households:
26
+ hh:
27
+ members: [parent, child]
28
+ state_code: CA
29
+ axes:
30
+ - - name: employment_income
31
+ min: 0
32
+ max: 100_000
33
+ count: 5
34
+ output:
35
+ # At $0, $25k, $50k, $75k, $100k income
36
+ # Child should only be eligible at low incomes (below ~$26k FPG for family of 2)
37
+ is_early_head_start_eligible: [True, True, False, False, False, True, True, False, False, False]
38
+ # SPM unit lifeline eligibility (indices 0,2,4,6,8 for 5 income levels)
39
+ is_lifeline_eligible: [True, False, False, False, False]
40
+ # Household CA CARE eligibility (indices 0,2,4,6,8 for 5 income levels)
41
+ ca_care_categorically_eligible: [True, False, False, False, False]
@@ -12,6 +12,5 @@ class pell_grant_simplified_formula_applies(Variable):
12
12
  head_income = tax_unit("pell_grant_primary_income", period)
13
13
  p = parameters(period).gov.ed.pell_grant.efc.simplified
14
14
  income_eligible = head_income < p.income_limit
15
- total_benefits = add(tax_unit, period, p.benefits)
16
- has_benefits = np.any(total_benefits > 0)
15
+ has_benefits = add(tax_unit, period, p.benefits) > 0
17
16
  return income_eligible & has_benefits & p.applies
@@ -21,8 +21,8 @@ class is_lifeline_eligible(Variable):
21
21
  )
22
22
  categorically_eligible = np.where(
23
23
  is_on_tribal_land,
24
- np.any(tribal_lifeline_programs),
25
- np.any(non_tribal_lifeline_programs),
24
+ tribal_lifeline_programs > 0,
25
+ non_tribal_lifeline_programs > 0,
26
26
  )
27
27
  # Use the new unified income eligibility variable
28
28
  income_eligible = spm_unit("is_lifeline_income_eligible", period)
@@ -17,6 +17,6 @@ class ca_care_categorically_eligible(Variable):
17
17
  tribal_lifeline_programs = add(household, period, p.tribal_categorical)
18
18
  return np.where(
19
19
  is_on_tribal_land,
20
- np.any(tribal_lifeline_programs),
21
- np.any(non_tribal_lifeline_programs),
20
+ tribal_lifeline_programs > 0,
21
+ non_tribal_lifeline_programs > 0,
22
22
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.432.5
3
+ Version: 1.432.7
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -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
@@ -3419,6 +3419,7 @@ policyengine_us/tests/policy/baseline/contrib/ubi_center/basic_income_eligible.y
3419
3419
  policyengine_us/tests/policy/baseline/contrib/ubi_center/basic_income_phase_in.yaml,sha256=NQqlPRrHDMbNADaFbzHa3BBtZFpC6mXXs6MJBI8DbTM,1274
3420
3420
  policyengine_us/tests/policy/baseline/contrib/ubi_center/basic_income_phase_out.yaml,sha256=hVUNLNcgpSpDPD5ogSLCOKeEhcVplmML0MZR_KQPLsg,772
3421
3421
  policyengine_us/tests/policy/baseline/gov/abolitions.yaml,sha256=KpFguu-FjU6H0PNZ7uyQymy7g4gRbfUTVVxYPj0b02w,250
3422
+ policyengine_us/tests/policy/baseline/gov/test_categorical_eligibility_vectorization.yaml,sha256=cmmrBz_8brf7e_7X_fYUX8Z4UzTrO0nhCjmsZ0uyOsA,1191
3422
3423
  policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_child_index.yaml,sha256=T3vKbC6typ0DO8qMVkUM-GfsyItUpyHnjM98KG6_BEs,413
3423
3424
  policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_magi.yaml,sha256=rYl5rPlZg-_LJIhiyDtwyDY0v7xMZoB-98weSvWWIZQ,892
3424
3425
  policyengine_us/tests/policy/baseline/gov/aca/eligibility/is_aca_eshi_eligible.yaml,sha256=XlrN4Hs9Uo-6KU1eWE7EZazb4KKf6QqIxdQLHN8_x88,542
@@ -3451,7 +3452,7 @@ policyengine_us/tests/policy/baseline/gov/doe/high_efficiency_electric_home_reba
3451
3452
  policyengine_us/tests/policy/baseline/gov/doe/residential_efficiency_electrification_rebate_program/residential_efficiency_electrification_rebate.yaml,sha256=zvI71cXcqxLmWMrGeVxvThuV6qeoxrJxyLylERpuYAg,2577
3452
3453
  policyengine_us/tests/policy/baseline/gov/ed/pell_grant/pell_grant.yaml,sha256=54khnkBUsX3irQw0fcLpRU0FAPF9Ec0VECOXwY_lYLI,1719
3453
3454
  policyengine_us/tests/policy/baseline/gov/ed/pell_grant/pell_grant_formula.yaml,sha256=922Z9zpQrnf7TvV9qelKM80PHV_2SVccb4zjJgJK-_8,666
3454
- policyengine_us/tests/policy/baseline/gov/ed/pell_grant/pell_grant_simplified_formula_applies.yaml,sha256=8Dn88rWvM3ywC2IY-KAvDCYpzLy60yaZBnuAl_VaZzQ,2898
3455
+ policyengine_us/tests/policy/baseline/gov/ed/pell_grant/pell_grant_simplified_formula_applies.yaml,sha256=B--hlfDdgKNjeeSMJGa8Eyav8aDVL12E80NlkEJ510o,2951
3455
3456
  policyengine_us/tests/policy/baseline/gov/ed/pell_grant/dependent/pell_grant_dependent_allowances.yaml,sha256=rAZIdoR0bK26DF8JVAlLqt72FnWztBfWKxsmYa5H4WM,608
3456
3457
  policyengine_us/tests/policy/baseline/gov/ed/pell_grant/dependent/pell_grant_dependent_contribution.yaml,sha256=6KfjUIGt5mNwQ0eStdh0bkrS7hCK6tLPZIURvAg8mew,1444
3457
3458
  policyengine_us/tests/policy/baseline/gov/ed/pell_grant/dependent/pell_grant_dependents_in_college.yaml,sha256=t3JFIIOW3If_lbp9yfNkTuOLTNL15HRt3mrSW2zTKI0,832
@@ -4203,9 +4204,9 @@ policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_income_tax_bef
4203
4204
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_income_tax_before_refundable_credits.yaml,sha256=cyRHRB9jVnQBhINoqcu5O8chhZ1FG_k6hiRkPmYmVfU,427
4204
4205
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/hi_taxable_income.yaml,sha256=Mw5GPG3siqrpi7I_6H3WGlfsQ83yViX24rI3WiFCU6U,369
4205
4206
  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
4207
+ policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml,sha256=KbrodFSbY_3TxvSffGXkX3odXbsfXgNPPSA_g0nhEN8,3757
4207
4208
  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
4209
+ 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
4210
  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
4211
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml,sha256=tx_9do9crd_JX-w2yYykXvY4rGmCYZMRpomTZWNB3v4,680
4211
4212
  policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_eitc.yaml,sha256=qwZbr1KIoziRvxVqFz2Ew6_JDsxClVZhknTP2YhbawQ,330
@@ -5696,7 +5697,7 @@ policyengine_us/variables/gov/ed/pell_grant/dependent/pell_grant_dependent_contr
5696
5697
  policyengine_us/variables/gov/ed/pell_grant/dependent/pell_grant_dependent_other_allowances.py,sha256=uZxYiH-F-SIseRaqgLnYlflw7Nazmg_Nl7AbPReMa7I,236
5697
5698
  policyengine_us/variables/gov/ed/pell_grant/efc/pell_grant_dependents_in_college.py,sha256=B4j9_-1KxIZcoBE2nsiGXCK9MKESPAOX-UUi8FZ9rP8,488
5698
5699
  policyengine_us/variables/gov/ed/pell_grant/efc/pell_grant_efc.py,sha256=ReZAFCtnowXQEr6__G74ffD6cXscAZ90vThBr8qI2fw,1133
5699
- policyengine_us/variables/gov/ed/pell_grant/efc/pell_grant_simplified_formula_applies.py,sha256=8kEDI-3CoUa5r68yv10P3reNab2KpwR6LxqV2TdCUWA,651
5700
+ policyengine_us/variables/gov/ed/pell_grant/efc/pell_grant_simplified_formula_applies.py,sha256=g1hOGhz7h96nR5kV-n9xY0pe5_2OaNV0NLIjW6FDp-8,603
5700
5701
  policyengine_us/variables/gov/ed/pell_grant/efc/pell_grant_uses_efc.py,sha256=c8Mbs2rQYg_ZIFX8dIZABzLhMbW_AIfsLWnKdeBgQDE,385
5701
5702
  policyengine_us/variables/gov/ed/pell_grant/head/pell_grant_head_allowances.py,sha256=te4MlQds6xbC3RX0QQ_NWDcC9FV0zCJr6-fDnKSS1XU,214
5702
5703
  policyengine_us/variables/gov/ed/pell_grant/head/pell_grant_head_assets.py,sha256=BMMA4gh8e7Rt-VR6FDz-oWd5hQLxb4wPGAumYQlls4E,550
@@ -5717,7 +5718,7 @@ policyengine_us/variables/gov/fcc/ebb/ebb.py,sha256=b6GkGJTr1EUM67vvgek7P-T88o7r
5717
5718
  policyengine_us/variables/gov/fcc/ebb/enrolled_in_ebb.py,sha256=8f2mhjIC2P3cNtOoAqoOp1OZTXZ9Z2HRWhCo40_OweI,298
5718
5719
  policyengine_us/variables/gov/fcc/ebb/is_ebb_eligible.py,sha256=deBBKNw-ehQOHhNDDMTEWoW0HyysYxBw-DWPux4ifzw,754
5719
5720
  policyengine_us/variables/gov/fcc/lifeline/broadband_cost_after_lifeline.py,sha256=QwdwiK-ghWxGghuLU8ib3hOTcln1HXxanXgQk84jT90,545
5720
- policyengine_us/variables/gov/fcc/lifeline/is_lifeline_eligible.py,sha256=9y87YwHwQkfLt2c0kkZfvPtX4zqHofT8dbI4D0efets,1117
5721
+ policyengine_us/variables/gov/fcc/lifeline/is_lifeline_eligible.py,sha256=Kv4iAgCC7hC6fUkIy6ufZmFV0pg-gwPWv32ubDDRdW8,1109
5721
5722
  policyengine_us/variables/gov/fcc/lifeline/is_lifeline_income_eligible.py,sha256=KcwZ8ar3G3O1tUS8YQTyBDAQyfYod3LA9guLTBLkXSU,1279
5722
5723
  policyengine_us/variables/gov/fcc/lifeline/lifeline.py,sha256=U39enY0v1HJXf9X7DY1lBjjeOkGxtAKDTnVQqZU3LQw,1890
5723
5724
  policyengine_us/variables/gov/hhs/hhs_smi.py,sha256=CfCM973bROOtUqPnp7MokOQBaZv1huJiDh37WYs0vME,1162
@@ -6447,7 +6448,7 @@ policyengine_us/variables/gov/states/ca/cdss/tanf/child_care/reimbursement/ca_ca
6447
6448
  policyengine_us/variables/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.py,sha256=fAUNCk-fQJWqEOhBvJj8bXHZLipbKHILMmIcxs7RVGY,675
6448
6449
  policyengine_us/variables/gov/states/ca/cpuc/care/ca_care.py,sha256=7iOkWAbGhFDCg8aMTJgMrEdAKqc4l9fM1BU_Wq4Fl18,656
6449
6450
  policyengine_us/variables/gov/states/ca/cpuc/care/ca_care_amount_if_eligible.py,sha256=C0YjEX789tM6x9ZNCfqoqdNRydDJ4NMtZwyGOileqGM,695
6450
- policyengine_us/variables/gov/states/ca/cpuc/care/eligibility/ca_care_categorically_eligible.py,sha256=dgGynZU6eaJDm8K_XNRzYKisi-Gw79QX-JUjmXCfPG4,987
6451
+ policyengine_us/variables/gov/states/ca/cpuc/care/eligibility/ca_care_categorically_eligible.py,sha256=OUrSo-zQWNYKy9CG9ZpkUuX8joRMxHXAAWPgdPfhZ3k,979
6451
6452
  policyengine_us/variables/gov/states/ca/cpuc/care/eligibility/ca_care_eligible.py,sha256=uF8wxrLTfP7U_4FJR0VO130882LecXCPkMv2GCj2ZC4,493
6452
6453
  policyengine_us/variables/gov/states/ca/cpuc/care/eligibility/ca_care_income_eligible.py,sha256=xoB5jnnLQIrA0D3aNnQzTVwGzSDX6aFkEmz7H1n6N-U,951
6453
6454
  policyengine_us/variables/gov/states/ca/cpuc/care/eligibility/ca_care_poverty_line.py,sha256=730F0hmE8A0CB4t-YLKDFqhs7M8tr1Y0OduhbP0m21Y,852
@@ -8862,8 +8863,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8862
8863
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8863
8864
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8864
8865
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8865
- policyengine_us-1.432.5.dist-info/METADATA,sha256=nehtURQSRWAgzIQpF0RIa5gSQNMtHj24TI6Oq-Amsx4,1649
8866
- policyengine_us-1.432.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8867
- policyengine_us-1.432.5.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8868
- policyengine_us-1.432.5.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8869
- policyengine_us-1.432.5.dist-info/RECORD,,
8866
+ policyengine_us-1.432.7.dist-info/METADATA,sha256=39OecTuSi1nJv5hldl9tm2LkJGjR3FCHYlaenWehl0s,1649
8867
+ policyengine_us-1.432.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8868
+ policyengine_us-1.432.7.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8869
+ policyengine_us-1.432.7.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8870
+ policyengine_us-1.432.7.dist-info/RECORD,,