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

Potentially problematic release.


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

@@ -4,7 +4,7 @@
4
4
  age_head: 56
5
5
  blind_head: false
6
6
  adjusted_gross_income: 30_000
7
- ks_count_exemptions: 3
7
+ tax_unit_size: 3
8
8
  state_code: KS
9
9
  output:
10
10
  ks_fstc: 125 * 3
@@ -15,7 +15,7 @@
15
15
  age_head: 54
16
16
  blind_head: true
17
17
  adjusted_gross_income: 30_000
18
- ks_count_exemptions: 1
18
+ tax_unit_size: 1
19
19
  state_code: KS
20
20
  output:
21
21
  ks_fstc: 125 * 1
@@ -26,7 +26,7 @@
26
26
  age_head: 54
27
27
  blind_head: false
28
28
  adjusted_gross_income: 30_000
29
- ks_count_exemptions: 1
29
+ tax_unit_size: 1
30
30
  state_code: KS
31
31
  output:
32
32
  ks_fstc: 0 # tax unit is ineligible
@@ -37,7 +37,7 @@
37
37
  age_head: 56
38
38
  blind_head: false
39
39
  adjusted_gross_income: 31_000
40
- ks_count_exemptions: 3
40
+ tax_unit_size: 3
41
41
  state_code: KS
42
42
  output:
43
43
  ks_fstc: 0 # income ineligible
@@ -29,3 +29,51 @@
29
29
  state_code: KS
30
30
  output: # expected results from patched TAXSIM35 2023-03-22 version
31
31
  ks_income_tax: 147.18
32
+
33
+ - name: 0-KS.yaml
34
+ absolute_error_margin: 2
35
+ period: 2024
36
+ input:
37
+ people:
38
+ person1:
39
+ age: 70
40
+ employment_income: 0.0
41
+ ssi: 0
42
+ wic: 0
43
+ head_start: 0
44
+ early_head_start: 0
45
+ commodity_supplemental_food_program: 0
46
+ taxable_private_pension_income: 29882.531
47
+ qualified_dividend_income: 4.5687127
48
+ taxable_interest_income: 145.75577
49
+ is_tax_unit_head: true
50
+ person2:
51
+ age: 1
52
+ employment_income: 0
53
+ ssi: 0
54
+ wic: 0
55
+ head_start: 0
56
+ early_head_start: 0
57
+ commodity_supplemental_food_program: 0
58
+ is_tax_unit_dependent: true
59
+ is_tax_unit_head: false
60
+ is_tax_unit_spouse: false
61
+ tax_units:
62
+ tax_unit:
63
+ members: [person1, person2]
64
+ premium_tax_credit: 0
65
+ local_income_tax: 0
66
+ state_sales_tax: 0
67
+ spm_units:
68
+ spm_unit:
69
+ members: [person1, person2]
70
+ snap: 0
71
+ tanf: 0
72
+ free_school_meals: 0
73
+ reduced_price_school_meals: 0
74
+ households:
75
+ household:
76
+ members: [person1, person2]
77
+ state_fips: 20
78
+ output:
79
+ ks_income_tax: 229
@@ -2,7 +2,7 @@
2
2
  period: 2022
3
3
  input:
4
4
  state_code: SC
5
- tax_unit_childcare_expenses: 1_000
5
+ cdcc_relevant_expenses: 1_000
6
6
  count_cdcc_eligible: 1
7
7
  output:
8
8
  sc_cdcc: 70
@@ -12,7 +12,7 @@
12
12
  period: 2021
13
13
  input:
14
14
  state_code: SC
15
- tax_unit_childcare_expenses: 4_000
15
+ cdcc_relevant_expenses: 4_000
16
16
  count_cdcc_eligible: 1
17
17
  output:
18
18
  sc_cdcc: 210
@@ -22,7 +22,7 @@
22
22
  period: 2022
23
23
  input:
24
24
  state_code: SC
25
- tax_unit_childcare_expenses: 7_000
25
+ cdcc_relevant_expenses: 7_000
26
26
  count_cdcc_eligible: 2
27
27
  output:
28
28
  sc_cdcc: 420
@@ -32,7 +32,7 @@
32
32
  period: 2022
33
33
  input:
34
34
  state_code: SC
35
- tax_unit_childcare_expenses: 7_000
35
+ cdcc_relevant_expenses: 7_000
36
36
  count_cdcc_eligible: 4
37
37
  output:
38
38
  sc_cdcc: 420
@@ -42,7 +42,7 @@
42
42
  period: 2021
43
43
  input:
44
44
  state_code: SC
45
- tax_unit_childcare_expenses: 18_000
45
+ cdcc_relevant_expenses: 18_000
46
46
  count_cdcc_eligible: 2
47
47
  output:
48
48
  sc_cdcc: 420
@@ -52,7 +52,7 @@
52
52
  period: 2022
53
53
  input:
54
54
  state_code: SC
55
- tax_unit_childcare_expenses: 0
55
+ cdcc_relevant_expenses: 0
56
56
  count_cdcc_eligible: 0
57
57
  output:
58
58
  sc_cdcc: 0
@@ -61,7 +61,7 @@
61
61
  period: 2022
62
62
  input:
63
63
  state_code: SC
64
- tax_unit_childcare_expenses: 4_000
64
+ cdcc_relevant_expenses: 4_000
65
65
  count_cdcc_eligible: 0
66
66
  output:
67
67
  sc_cdcc: 0
@@ -70,7 +70,7 @@
70
70
  period: 2020
71
71
  input:
72
72
  state_code: SC
73
- tax_unit_childcare_expenses: 9_000
73
+ cdcc_relevant_expenses: 9_000
74
74
  count_cdcc_eligible: 1
75
75
  output:
76
76
  sc_cdcc: 210
@@ -80,7 +80,7 @@
80
80
  period: 2022
81
81
  input:
82
82
  state_code: SC
83
- tax_unit_childcare_expenses: 9_000
83
+ cdcc_relevant_expenses: 9_000
84
84
  count_cdcc_eligible: 1
85
85
  output:
86
86
  sc_cdcc: 210
@@ -25,3 +25,61 @@
25
25
  state_fips: 45
26
26
  output:
27
27
  sc_income_tax: 7_875
28
+
29
+ - name: taxsim_record_1_2024.yaml
30
+ absolute_error_margin: 2
31
+ period: 2024
32
+ input:
33
+ people:
34
+ person1:
35
+ age: 40
36
+ employment_income: 20000.0
37
+ ssi: 0
38
+ wic: 0
39
+ head_start: 0
40
+ early_head_start: 0
41
+ commodity_supplemental_food_program: 0
42
+ deductible_mortgage_interest: 20456.529
43
+ taxable_interest_income: 10684.795
44
+ is_tax_unit_head: true
45
+ person2:
46
+ age: 40
47
+ employment_income: 0.0
48
+ ssi: 0
49
+ wic: 0
50
+ head_start: 0
51
+ early_head_start: 0
52
+ commodity_supplemental_food_program: 0
53
+ taxable_interest_income: 10684.795
54
+ is_tax_unit_spouse: true
55
+ person3:
56
+ age: 10
57
+ employment_income: 0
58
+ ssi: 0
59
+ wic: 0
60
+ head_start: 0
61
+ early_head_start: 0
62
+ commodity_supplemental_food_program: 0
63
+ is_tax_unit_dependent: true
64
+ is_tax_unit_head: false
65
+ is_tax_unit_spouse: false
66
+ tax_units:
67
+ tax_unit:
68
+ members: [person1, person2, person3]
69
+ premium_tax_credit: 0
70
+ local_income_tax: 0
71
+ state_sales_tax: 0
72
+ tax_unit_childcare_expenses: 9202.9531
73
+ spm_units:
74
+ spm_unit:
75
+ members: [person1, person2, person3]
76
+ snap: 0
77
+ tanf: 0
78
+ free_school_meals: 0
79
+ reduced_price_school_meals: 0
80
+ households:
81
+ household:
82
+ members: [person1, person2, person3]
83
+ state_fips: 45
84
+ output:
85
+ sc_income_tax: 117
@@ -45,7 +45,7 @@ class ks_fstc(Variable):
45
45
  eligible_income = fagi <= p.food_sales_tax.agi_limit
46
46
  # compute credit amount
47
47
  eligible = eligible_unit & eligible_income
48
- exemptions = tax_unit("ks_count_exemptions", period)
48
+ exemptions = tax_unit("tax_unit_size", period)
49
49
  old_dependents = count_all_dependents - count_child_dependents
50
50
  fstc_exemptions = max_(0, exemptions - old_dependents)
51
51
  return eligible * fstc_exemptions * p.food_sales_tax.amount
@@ -24,7 +24,7 @@ class sc_cdcc(Variable):
24
24
  sc_max_care_expense = parameters(period_max).gov.irs.credits.cdcc.max
25
25
 
26
26
  # Get child care expenses.
27
- childcare_expenses = tax_unit("tax_unit_childcare_expenses", period)
27
+ childcare_expenses = tax_unit("cdcc_relevant_expenses", period)
28
28
 
29
29
  # Married filing separate are ineligible.
30
30
  filing_status = tax_unit("filing_status", period)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.424.4
3
+ Version: 1.424.6
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -4387,10 +4387,10 @@ policyengine_us/tests/policy/baseline/gov/states/in/tax/income/exemptions/in_is_
4387
4387
  policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_agi_subtractions.yaml,sha256=ZFIh5A47_kj7bHhylCHywJoq9XBfbXfdyBNnhYRduDY,420
4388
4388
  policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_cdcc.yaml,sha256=dDpyPvyXGoXWQI0DQoB8FKXdhMXl6Gmp7FtfOupm_Ko,123
4389
4389
  policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_exemptions.yaml,sha256=qFrM646jbwIzd72zOsWNL2ntOMJZGI40DqjQKMJGWBM,879
4390
- policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_fstc.yaml,sha256=Tgl8EeWRbLsKxmi52sIhIL_x_Apo8qFZhL-kwz1ccS0,913
4390
+ policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_fstc.yaml,sha256=zJ09krGf02Nfy7feG22Dgn-n3dRr5AShE6yup_b6lwQ,889
4391
4391
  policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_income_tax_before_credits.yaml,sha256=xDoWLajTNa5CQCW_Fsx-xbi_WqzEw8DG1pcTJaF-heo,1606
4392
4392
  policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_income_tax_before_refundable_credits.yaml,sha256=CmwHLy6JjiSDE43m4qH6JhPcMwWG1KHeTOTsIuLQJX0,475
4393
- policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_integration.yaml,sha256=bKoYxX1jRBK4rFFgF4tcOLnahXVfwTrce14gOjryo1g,893
4393
+ policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_integration.yaml,sha256=7KzEfd7AF3-Qu-BE7XBHqHkaeZ9X0xzZBopTeDNLAKI,2064
4394
4394
  policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_itemized_deductions.yaml,sha256=2dEpH7hUk_vDpIE2i2ZFwTiQys6aHSIB97TVx_3tl9I,485
4395
4395
  policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_non_refundable_credits.yaml,sha256=4UE-Fo-aP7pJO-2bkbisooiUucVwfw_sGi69_z2v3jE,208
4396
4396
  policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_nonrefundable_eitc.yaml,sha256=mSkktBpNAA-J5souXtpHpKp1IUpQ_bI2nMEsb4fuMuQ,415
@@ -5105,14 +5105,14 @@ policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/rebates/r
5105
5105
  policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/deductions/standard/ri_standard_deduction.yaml,sha256=nvTA0THrRYC3ovYlNfZk9rXIn7Nt9C6Bg9F1f04XUPg,2191
5106
5106
  policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/deductions/standard/ri_standard_deduction_applicable_percentage.yaml,sha256=pi4h4Wf14zP3AOV3rsu1dNmr3AuWKFi1XVVJsJC-s2M,1103
5107
5107
  policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/exemption/ri_exemptions.yaml,sha256=5N9R0X6anQ_hkLcGab967-RaM2p8TPlyBnoGqWLknHQ,1079
5108
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/integration.yaml,sha256=X05bpoGYgJGXKxQJORIQdqzrinDbxEHFKXnoTyyqE2Y,584
5108
+ policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/integration.yaml,sha256=DWA0AL_EoA5mZ_1h1mtTjiIFOaVnuqiqRfKFfwc3OFE,2068
5109
5109
  policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/sc_income_tax_before_non_refundable_credits.yaml,sha256=LcMbiy8lielGey85bZusPA-vbAgIWuftT2bqS3GZsj0,1527
5110
5110
  policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/sc_income_tax_before_refundable_credits.yaml,sha256=B0jfa2ptgOsMKpAUNygrXwnw1RvVATUgq5VuZTOIcOo,425
5111
5111
  policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/sc_state_tax_addback.yaml,sha256=4l5DhzCuS6AsTaRL6M0cHfdJqUhgqZA_Udyb_uoeNrg,2560
5112
5112
  policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/sc_taxable_income.yaml,sha256=-xI4LTdmEqxp4Lp7P5bAREunRxAToXLVUd8fi5HKSsQ,367
5113
5113
  policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/sc_withheld_income_tax.yaml,sha256=z9JkBjNw4_6FOWWOjdIPb7GCvItBbvoRUdvC2GZ7iSY,714
5114
5114
  policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_2022_rebate.yaml,sha256=raYP_A7uTmVU0VQF6FXcn2ybqG36vikysNHiC8TVbEs,1734
5115
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_cdcc.yaml,sha256=awY6IA0rJ0RzH6ts3sX6a6ZM8rN4hG5MWso7cq60cVE,2278
5115
+ policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_cdcc.yaml,sha256=fFwAksJZ-pyEV6u5FZkqrfjm8BrbBSK9v_GwPSFnGbY,2233
5116
5116
  policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/eitc/sc_eitc.yaml,sha256=l2jgX0w33XbkDeoYm0LkPchmA2khxCtPlklX5oA3rvY,740
5117
5117
  policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/two_wage_earner/integration.yaml,sha256=PqA-DPG_EJZWmSJ7zJr20bEQaPkVPnmiIojpK7pUTCk,1831
5118
5118
  policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/two_wage_earner/sc_gross_earned_income.yaml,sha256=K_cXCXQuMjZ1PdfAzlf7sY87WKwsP1FkZpFU6Fbc5XI,520
@@ -7023,7 +7023,7 @@ policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_refundab
7023
7023
  policyengine_us/variables/gov/states/ks/tax/income/ks_taxable_income.py,sha256=VWS7-cdGe8nXwH4n1BfyejLH-4dawyo9t4xDF9Av7pI,719
7024
7024
  policyengine_us/variables/gov/states/ks/tax/income/ks_withheld_income_tax.py,sha256=GtxojpGe5MCsqGur5zrWUsWfOeeuDFCP95flS8EYsXU,634
7025
7025
  policyengine_us/variables/gov/states/ks/tax/income/credits/ks_cdcc.py,sha256=RWWyKpQ6BsTA1s_Qh4Q3wjbF4tfEMLgr8UaCp6vtq6A,590
7026
- policyengine_us/variables/gov/states/ks/tax/income/credits/ks_fstc.py,sha256=6qs1_MaqM6a0h2H_OVor5CnOo-gaeTf6LRV2drGzQ-s,2187
7026
+ policyengine_us/variables/gov/states/ks/tax/income/credits/ks_fstc.py,sha256=gtjEAML8_3krmoEE6lnvb-JLqm2VlSi7qGSmdTL8CK4,2181
7027
7027
  policyengine_us/variables/gov/states/ks/tax/income/credits/ks_non_refundable_credits.py,sha256=cD-5W3-dXkT3S_RP6u2xO12WiBRhp-j0n7zMr8bp0lA,725
7028
7028
  policyengine_us/variables/gov/states/ks/tax/income/credits/ks_refundable_credits.py,sha256=Rtb4nRZvTF25pr8thXPYyfSakqzJfH-1aGh9uRPhX18,430
7029
7029
  policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_nonrefundable_eitc.py,sha256=BGfMqUcuzg5hMTxxELTyZZ4Q7F2h_CtpPZSAKxUZqlM,912
@@ -7961,7 +7961,7 @@ policyengine_us/variables/gov/states/sc/tax/income/sc_withheld_income_tax.py,sha
7961
7961
  policyengine_us/variables/gov/states/sc/tax/income/additions/sc_additions.py,sha256=xTu1z2WLLsZIt5yUATAt8fWDrVvaK7l8VwE5Cl62d8M,288
7962
7962
  policyengine_us/variables/gov/states/sc/tax/income/additions/sc_state_tax_addback.py,sha256=RVNB_G6_o6v-t1VRy7HZaSfAuG77jJMBDTxvTmXz8P4,1774
7963
7963
  policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py,sha256=LzmXgmNMhQkDxP7EqqiQPFdl7dgUvk-Uc30VRZZYTMA,1070
7964
- policyengine_us/variables/gov/states/sc/tax/income/credits/cdcc/sc_cdcc.py,sha256=MSSv_EKSOd-tlgV_f339hR1mQcbhZvpuaRreizgf7Ps,1562
7964
+ policyengine_us/variables/gov/states/sc/tax/income/credits/cdcc/sc_cdcc.py,sha256=tPcRK8ffWeni6jygsf6ZGMLl8iLne2096ozrQ_759fA,1557
7965
7965
  policyengine_us/variables/gov/states/sc/tax/income/credits/college_tuition/sc_tuition_credit.py,sha256=BVm21_qiGClxAbG3iXg7ww3IkPLvKzund8HzTZQP6dc,464
7966
7966
  policyengine_us/variables/gov/states/sc/tax/income/credits/college_tuition/sc_tuition_credit_eligible.py,sha256=5pXlY4hxnWz8q8AiGXRtGO7EvuOM1oeaGlUV6xIpINk,464
7967
7967
  policyengine_us/variables/gov/states/sc/tax/income/credits/eitc/sc_eitc.py,sha256=tsBc3vDoubGMb1ykOL3nwi0ePHWx745pL9No7Y0qgOU,509
@@ -8840,8 +8840,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8840
8840
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8841
8841
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8842
8842
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8843
- policyengine_us-1.424.4.dist-info/METADATA,sha256=Nkcg3uqBV0USeod9qJOakqIHe-6HT7zn0nIhUWDy1xc,1649
8844
- policyengine_us-1.424.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8845
- policyengine_us-1.424.4.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8846
- policyengine_us-1.424.4.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8847
- policyengine_us-1.424.4.dist-info/RECORD,,
8843
+ policyengine_us-1.424.6.dist-info/METADATA,sha256=Q61TeC9mXV9cXh6D0T9S0P5hoS1xUzWrQtTgwtNgl6g,1649
8844
+ policyengine_us-1.424.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8845
+ policyengine_us-1.424.6.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8846
+ policyengine_us-1.424.6.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8847
+ policyengine_us-1.424.6.dist-info/RECORD,,