policyengine-us 1.381.3__py3-none-any.whl → 1.382.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.

Potentially problematic release.


This version of policyengine-us might be problematic. Click here for more details.

Files changed (16) hide show
  1. policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/floor.yaml +10 -0
  2. policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/rate.yaml +10 -0
  3. policyengine_us/parameters/gov/states/id/tax/income/credits/refundable.yaml +10 -3
  4. policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/floor.yaml +22 -0
  5. policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/rate.yaml +10 -0
  6. policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_2022_rebate.yaml +17 -0
  7. policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_2022_rebate_floor.yaml +21 -0
  8. policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_special_season_rebate.yaml +17 -0
  9. policyengine_us/variables/gov/states/id/tax/income/credits/2022_rebate/id_2022_rebate.py +18 -0
  10. policyengine_us/variables/gov/states/id/tax/income/credits/2022_rebate/id_2022_rebate_floor.py +11 -0
  11. policyengine_us/variables/gov/states/id/tax/income/credits/id_special_season_rebate.py +21 -0
  12. {policyengine_us-1.381.3.dist-info → policyengine_us-1.382.0.dist-info}/METADATA +1 -1
  13. {policyengine_us-1.381.3.dist-info → policyengine_us-1.382.0.dist-info}/RECORD +16 -6
  14. {policyengine_us-1.381.3.dist-info → policyengine_us-1.382.0.dist-info}/WHEEL +0 -0
  15. {policyengine_us-1.381.3.dist-info → policyengine_us-1.382.0.dist-info}/entry_points.txt +0 -0
  16. {policyengine_us-1.381.3.dist-info → policyengine_us-1.382.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,10 @@
1
+ description: Idaho provides the following minimum 2022 rebate amount for each filer and dependent.
2
+ values:
3
+ 2022-01-01: 75
4
+ metadata:
5
+ unit: currency-USD
6
+ period: year
7
+ label: Idaho 2022 rebate floor
8
+ reference:
9
+ - title: Idaho Statutes 63-3024B (3)
10
+ href: https://legislature.idaho.gov/statutesrules/idstat/title63/t63ch30/sect63-3024b/
@@ -0,0 +1,10 @@
1
+ description: Idaho provides a 2022 rebate amount of this percentage of the state income tax liability.
2
+ values:
3
+ 2022-01-01: 0.12
4
+ metadata:
5
+ unit: currency-USD
6
+ period: year
7
+ label: Idaho 2022 rebate floor
8
+ reference:
9
+ - title: Idaho Statutes 63-3024B (3)
10
+ href: https://legislature.idaho.gov/statutesrules/idstat/title63/t63ch30/sect63-3024b/
@@ -12,7 +12,14 @@ metadata:
12
12
 
13
13
  values:
14
14
  2002-01-01:
15
- - id_aged_or_disabled_credit # Idaho aged or disabled credit
15
+ - id_aged_or_disabled_credit
16
16
  2021-01-01:
17
- - id_grocery_credit # Idaho grocery credit
18
- - id_aged_or_disabled_credit # Idaho aged or disabled credit
17
+ - id_grocery_credit
18
+ - id_aged_or_disabled_credit
19
+ 2022-01-01:
20
+ - id_grocery_credit
21
+ - id_aged_or_disabled_credit
22
+ - id_2022_rebate
23
+ 2023-01-01:
24
+ - id_grocery_credit
25
+ - id_aged_or_disabled_credit
@@ -0,0 +1,22 @@
1
+ description: Idaho provides the following minimum special seasonal rebate amount, based on filing status.
2
+
3
+ metadata:
4
+ unit: currency-USD
5
+ period: year
6
+ breakdown:
7
+ - filing_status
8
+ label: Idaho special seasonal rebate floor
9
+ reference:
10
+ - title: Idaho Statutes 63-3024B (4)
11
+ href: https://legislature.idaho.gov/statutesrules/idstat/title63/t63ch30/sect63-3024b/
12
+
13
+ SINGLE:
14
+ 2022-01-01: 300
15
+ JOINT:
16
+ 2022-01-01: 600
17
+ SEPARATE:
18
+ 2022-01-01: 300
19
+ SURVIVING_SPOUSE:
20
+ 2022-01-01: 300
21
+ HEAD_OF_HOUSEHOLD:
22
+ 2022-01-01: 300
@@ -0,0 +1,10 @@
1
+ description: Idaho provides a special seasonal rebate amount of this percentage of the state income tax liability.
2
+ values:
3
+ 2022-01-01: 0.1
4
+ metadata:
5
+ unit: currency-USD
6
+ period: year
7
+ label: Idaho special seasonal rebate rate
8
+ reference:
9
+ - title: Idaho Statutes 63-3024B (4)
10
+ href: https://legislature.idaho.gov/statutesrules/idstat/title63/t63ch30/sect63-3024b/
@@ -0,0 +1,17 @@
1
+ - name: Floor over rate
2
+ period: 2022
3
+ input:
4
+ id_income_tax_before_non_refundable_credits: 1_000
5
+ state_code: ID
6
+ id_2022_rebate_floor: 300
7
+ output:
8
+ id_2022_rebate: 300
9
+
10
+ - name: Rate over floor
11
+ period: 2022
12
+ input:
13
+ id_income_tax_before_non_refundable_credits: 1_000
14
+ state_code: ID
15
+ id_2022_rebate_floor: 0
16
+ output:
17
+ id_2022_rebate: 120
@@ -0,0 +1,21 @@
1
+ - name: One person in ID
2
+ period: 2022
3
+ input:
4
+ state_code: ID
5
+ output:
6
+ id_2022_rebate_floor: 75
7
+
8
+ - name: Two people
9
+ period: 2022
10
+ input:
11
+ people:
12
+ person1:
13
+ age: 40
14
+ person2:
15
+ age: 40
16
+ households:
17
+ household:
18
+ members: [person1, person2]
19
+ state_code: ID
20
+ output:
21
+ id_2022_rebate_floor: [75, 75]
@@ -0,0 +1,17 @@
1
+ - name: Floor over rate
2
+ period: 2022
3
+ input:
4
+ id_income_tax_before_non_refundable_credits: 1_000
5
+ state_code: ID
6
+ filing_status: SINGLE
7
+ output:
8
+ id_special_season_rebate: 300
9
+
10
+ - name: Rate over floor
11
+ period: 2022
12
+ input:
13
+ id_income_tax_before_non_refundable_credits: 10_000
14
+ state_code: ID
15
+ filing_status: SINGLE
16
+ output:
17
+ id_special_season_rebate: 1_000
@@ -0,0 +1,18 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class id_2022_rebate(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Idaho 2022 rebate"
8
+ definition_period = YEAR
9
+ defined_for = StateCode.ID
10
+
11
+ def formula(tax_unit, period, parameters):
12
+ p = parameters(period).gov.states.id.tax.income.credits["2022_rebate"]
13
+ income_tax_before_credits = tax_unit(
14
+ "id_income_tax_before_non_refundable_credits", period
15
+ )
16
+ percentage_credit = p.rate * income_tax_before_credits
17
+ floor = add(tax_unit, period, ["id_2022_rebate_floor"])
18
+ return max_(percentage_credit, floor)
@@ -0,0 +1,11 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class id_2022_rebate_floor(Variable):
5
+ value_type = float
6
+ entity = Person
7
+ label = "Idaho 2022 rebate floor"
8
+ definition_period = YEAR
9
+ defined_for = StateCode.ID
10
+
11
+ adds = ["gov.states.id.tax.income.credits.2022_rebate.floor"]
@@ -0,0 +1,21 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class id_special_season_rebate(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Idaho special seasonal rebate"
8
+ definition_period = YEAR
9
+ defined_for = StateCode.ID
10
+
11
+ def formula(tax_unit, period, parameters):
12
+ p = parameters(
13
+ period
14
+ ).gov.states.id.tax.income.credits.special_seasonal_rebate
15
+ income_tax_before_credits = tax_unit(
16
+ "id_income_tax_before_non_refundable_credits", period
17
+ )
18
+ percentage_credit = p.rate * income_tax_before_credits
19
+ filing_status = tax_unit("filing_status", period)
20
+ floor = p.floor[filing_status]
21
+ return max_(percentage_credit, floor)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.381.3
3
+ Version: 1.382.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -1531,7 +1531,9 @@ policyengine_us/parameters/gov/states/ia/tax/income/taxable_income/additions.yam
1531
1531
  policyengine_us/parameters/gov/states/ia/tax/income/taxable_income/subtractions.yaml,sha256=xvzYg1pZwnbhPCJnCkpe0EQ1uM_BQqPciyJzD29oizE,1311
1532
1532
  policyengine_us/parameters/gov/states/id/README.md,sha256=kvtjNiUwpLs4_9k916xh9jLgIzvTylItPpMJLmJZREY,7
1533
1533
  policyengine_us/parameters/gov/states/id/tax/income/credits/non_refundable.yaml,sha256=DFvGtl8YZyzYPxNmbFr_rhuG8Ts59YJ55sePKS6HJxg,641
1534
- policyengine_us/parameters/gov/states/id/tax/income/credits/refundable.yaml,sha256=-V1eiVSjS3cRglMuUvQKH8RLfvy_2GkBKelcxK9Q71U,907
1534
+ policyengine_us/parameters/gov/states/id/tax/income/credits/refundable.yaml,sha256=mfvsOxpHPh2EIyTBX9_61SVA90ZRk9HkA9oa4Vu7yA4,984
1535
+ policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/floor.yaml,sha256=G0o8nti3DsIBGskQGaYutFXQTh08-2_lv32W9G_BeEs,350
1536
+ policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/rate.yaml,sha256=mUlgcUQUDEIuXoTBUtc4lOp4RPGat6zQwaJSOoIadqA,356
1535
1537
  policyengine_us/parameters/gov/states/id/tax/income/credits/aged_or_disabled/age_threshold.yaml,sha256=WKPHZLm1j4umAXhJOHzWEEMag94u4Auhnk5QYWwk22Y,1269
1536
1538
  policyengine_us/parameters/gov/states/id/tax/income/credits/aged_or_disabled/amount.yaml,sha256=vDZ9mCNywpPArOj1npful07Ldh9D0D8Wg9cKKaBAGI8,1282
1537
1539
  policyengine_us/parameters/gov/states/id/tax/income/credits/aged_or_disabled/person_cap.yaml,sha256=aVT8BHsHPy6OBUQ1e6Cc_dERBw9-ZW7ATC63-pFefKo,1290
@@ -1542,6 +1544,8 @@ policyengine_us/parameters/gov/states/id/tax/income/credits/grocery/aged/age_thr
1542
1544
  policyengine_us/parameters/gov/states/id/tax/income/credits/grocery/aged/amount.yaml,sha256=J_NorjR2OQrMx5MRtlCFqtUDKlkOEEt2eB9VZ1wMLfA,1470
1543
1545
  policyengine_us/parameters/gov/states/id/tax/income/credits/grocery/aged/in_effect.yaml,sha256=LX-UMYdBk-PUxAve5ClqOwvvsHakJn7tHxIv7oObCJM,1504
1544
1546
  policyengine_us/parameters/gov/states/id/tax/income/credits/grocery/base/amount.yaml,sha256=2JDsT4NJqI3dvq4DAeo2D1fa_7X80Je54_TZebaac4c,1574
1547
+ policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/floor.yaml,sha256=yH00DE9jZgXxLHeaHPEmLLN9Jms0eKejz9yWwt_UVEo,531
1548
+ policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/rate.yaml,sha256=TsdFTB2Ye3_EkgOFXRtnvEN9JbSjgdxDyKbC_xLyIuo,378
1545
1549
  policyengine_us/parameters/gov/states/id/tax/income/deductions/capital_gains/percentage.yaml,sha256=ycrvMenEutCPG-4iVRRjcvG0q2uZRS3a3TDHJlbk1qM,1021
1546
1550
  policyengine_us/parameters/gov/states/id/tax/income/deductions/dependent_care_expenses/cap.yaml,sha256=NEoYQo8rglFbkVmKjRK93B6f2O-z_Cn-jqb9MW_5cuc,1053
1547
1551
  policyengine_us/parameters/gov/states/id/tax/income/deductions/retirement_benefits/cap.yaml,sha256=a9c3vtiGMnIfRLJyoBmUUcP_gEzBL-abEzJE-g36MhI,2043
@@ -4010,9 +4014,12 @@ policyengine_us/tests/policy/baseline/gov/states/id/tax/income/id_salt_deduction
4010
4014
  policyengine_us/tests/policy/baseline/gov/states/id/tax/income/id_taxable_income.yaml,sha256=CzTxtnk9qVtJoY30V2jVOk3O40KDtTHSnbVSnDpN050,579
4011
4015
  policyengine_us/tests/policy/baseline/gov/states/id/tax/income/id_withheld_income_tax.yaml,sha256=hZGxW9CVVHUfVnlrpQZpix5LYkgRu3hh8zk0eX1C1Do,720
4012
4016
  policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml,sha256=FjFVklhKYM_3vc9dvWETfRaDE-hBxdsWMKQsD6MGFqc,4766
4017
+ policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_2022_rebate.yaml,sha256=9d8oNWSDIYMsp-uDCOplCU9JJcfFCS1922L8qzM05pA,371
4018
+ policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_2022_rebate_floor.yaml,sha256=DcNyo7Wrhimm-ojCC0RiT3XtAc9WUDOdglx6YahPfBs,363
4013
4019
  policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_aged_or_disabled_credit.yaml,sha256=ypo7VOLXqf5UNF9nxTXD32M5Ow6GHg__cn7lqv8sWsI,2108
4014
4020
  policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_aged_or_disabled_credit_eligible_person.yaml,sha256=_K8Ku_C5eM1nfS99xLtxj5o5CHut8XhqMuK76mgXcx4,6195
4015
4021
  policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_ctc.yaml,sha256=k9dtZYJCiDXIbWQqf6dWhxgdIINQWvu4XL_DFnyMm48,370
4022
+ policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_special_season_rebate.yaml,sha256=QaUYpsFKzrrVo9appi0UOfmTKc3sE7xxu3nE1Yjdj2M,388
4016
4023
  policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/grocery/id_grocery_credit.yaml,sha256=vXX3ybmcX0idJicBBjwfsc8EK3mLXQQrMj1xPa2IYiE,2335
4017
4024
  policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/grocery/id_grocery_credit_aged.yaml,sha256=DQBH7vI1lfl8W_IPy4WSbT84A4ngTqpnLr3QHKsoe4A,1810
4018
4025
  policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/grocery/id_grocery_credit_base.yaml,sha256=7mZ2mI7yXQsit2ZcVghgZAxsPlLL0E4RQj0pQrBjI0w,447
@@ -6432,6 +6439,9 @@ policyengine_us/variables/gov/states/id/tax/income/id_withheld_income_tax.py,sha
6432
6439
  policyengine_us/variables/gov/states/id/tax/income/credits/id_aged_or_disabled_credit.py,sha256=PJHgc8u8-l38_L15zPIRPkdCeMkqLlSpbBPYPaQuNhs,1128
6433
6440
  policyengine_us/variables/gov/states/id/tax/income/credits/id_aged_or_disabled_credit_eligible_person.py,sha256=R7Cjs8LqLatmO3GzCNnLzUNKbfDlrIvT_2v3v4kKy4w,1253
6434
6441
  policyengine_us/variables/gov/states/id/tax/income/credits/id_ctc.py,sha256=f7c3cnPzeUDddGq04y9bePYGMEO5LgGf7X68u_vLQAY,723
6442
+ policyengine_us/variables/gov/states/id/tax/income/credits/id_special_season_rebate.py,sha256=NSG10Fs-Q353bxUjz7Xkjlcwp46NLci8ShBBgYIqRGI,718
6443
+ policyengine_us/variables/gov/states/id/tax/income/credits/2022_rebate/id_2022_rebate.py,sha256=YqeOhvCLtYkqsSORenn-jUvomeGshB7ooPhmjq0hXzc,632
6444
+ policyengine_us/variables/gov/states/id/tax/income/credits/2022_rebate/id_2022_rebate_floor.py,sha256=2eiEbuiXBKTSccvwRYeoRWXijsMtosEnND0yHN8QkME,288
6435
6445
  policyengine_us/variables/gov/states/id/tax/income/credits/grocery/id_grocery_credit.py,sha256=UTAAx1T9gIFWPCjFXs2vhQ2rXlEOM0RnvkjXRzBQC9k,1064
6436
6446
  policyengine_us/variables/gov/states/id/tax/income/credits/grocery/id_grocery_credit_aged.py,sha256=Ounu9koUqG6guzJJpxHRPr3XSV5t6qjhduTJq_hbVLM,850
6437
6447
  policyengine_us/variables/gov/states/id/tax/income/credits/grocery/id_grocery_credit_base.py,sha256=0LIGHITHapIepN2WpJvnX8FDr9T-dm49SI6OwGacnVw,606
@@ -8298,8 +8308,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8298
8308
  policyengine_us/variables/input/geography.py,sha256=XmBlgXhzBoLRKk6R8taVZHqUw1eU8MbNeGS9iJ7_l44,4506
8299
8309
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8300
8310
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8301
- policyengine_us-1.381.3.dist-info/METADATA,sha256=jsYKFk9M_6GcAwoo8Y13OnzIKFQ_Nwc9tjnuN2gqUyY,1649
8302
- policyengine_us-1.381.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8303
- policyengine_us-1.381.3.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8304
- policyengine_us-1.381.3.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8305
- policyengine_us-1.381.3.dist-info/RECORD,,
8311
+ policyengine_us-1.382.0.dist-info/METADATA,sha256=IedOZfq3uB5TQtWUlKEOkcpevDZbxVKhO0x_B_CLJvk,1649
8312
+ policyengine_us-1.382.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8313
+ policyengine_us-1.382.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8314
+ policyengine_us-1.382.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8315
+ policyengine_us-1.382.0.dist-info/RECORD,,