policyengine-us 1.403.0__py3-none-any.whl → 1.403.1__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.
- policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.yaml +71 -0
- policyengine_us/variables/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.py +1 -1
- {policyengine_us-1.403.0.dist-info → policyengine_us-1.403.1.dist-info}/METADATA +1 -1
- {policyengine_us-1.403.0.dist-info → policyengine_us-1.403.1.dist-info}/RECORD +7 -7
- {policyengine_us-1.403.0.dist-info → policyengine_us-1.403.1.dist-info}/WHEEL +0 -0
- {policyengine_us-1.403.0.dist-info → policyengine_us-1.403.1.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.403.0.dist-info → policyengine_us-1.403.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -107,3 +107,74 @@
|
|
|
107
107
|
state_standard_deduction: 21_900
|
|
108
108
|
tax_unit_itemizes: False
|
|
109
109
|
sc_income_tax: 0
|
|
110
|
+
|
|
111
|
+
- name: Oklahoma itemization test requiring higher tolerance
|
|
112
|
+
period: 2024
|
|
113
|
+
absolute_error_margin: 0.9
|
|
114
|
+
input:
|
|
115
|
+
people:
|
|
116
|
+
person1:
|
|
117
|
+
age: 25
|
|
118
|
+
employment_income: 0.0
|
|
119
|
+
ssi: 0
|
|
120
|
+
wic: 0
|
|
121
|
+
head_start: 0
|
|
122
|
+
early_head_start: 0
|
|
123
|
+
commodity_supplemental_food_program: 0
|
|
124
|
+
qualified_dividend_income: 94610.219
|
|
125
|
+
is_tax_unit_head: true
|
|
126
|
+
person2:
|
|
127
|
+
age: 2
|
|
128
|
+
employment_income: 0
|
|
129
|
+
ssi: 0
|
|
130
|
+
wic: 0
|
|
131
|
+
head_start: 0
|
|
132
|
+
early_head_start: 0
|
|
133
|
+
commodity_supplemental_food_program: 0
|
|
134
|
+
is_tax_unit_dependent: true
|
|
135
|
+
is_tax_unit_head: false
|
|
136
|
+
is_tax_unit_spouse: false
|
|
137
|
+
person3:
|
|
138
|
+
age: 8
|
|
139
|
+
employment_income: 0
|
|
140
|
+
ssi: 0
|
|
141
|
+
wic: 0
|
|
142
|
+
head_start: 0
|
|
143
|
+
early_head_start: 0
|
|
144
|
+
commodity_supplemental_food_program: 0
|
|
145
|
+
is_tax_unit_dependent: true
|
|
146
|
+
is_tax_unit_head: false
|
|
147
|
+
is_tax_unit_spouse: false
|
|
148
|
+
person4:
|
|
149
|
+
age: 12
|
|
150
|
+
employment_income: 0
|
|
151
|
+
ssi: 0
|
|
152
|
+
wic: 0
|
|
153
|
+
head_start: 0
|
|
154
|
+
early_head_start: 0
|
|
155
|
+
commodity_supplemental_food_program: 0
|
|
156
|
+
is_tax_unit_dependent: true
|
|
157
|
+
is_tax_unit_head: false
|
|
158
|
+
is_tax_unit_spouse: false
|
|
159
|
+
tax_units:
|
|
160
|
+
tax_unit:
|
|
161
|
+
members: [person1, person2, person3, person4]
|
|
162
|
+
premium_tax_credit: 0
|
|
163
|
+
local_income_tax: 0
|
|
164
|
+
state_sales_tax: 0
|
|
165
|
+
ok_use_tax: 0
|
|
166
|
+
spm_units:
|
|
167
|
+
spm_unit:
|
|
168
|
+
members: [person1, person2, person3, person4]
|
|
169
|
+
snap: 0
|
|
170
|
+
tanf: 0
|
|
171
|
+
free_school_meals: 0
|
|
172
|
+
reduced_price_school_meals: 0
|
|
173
|
+
households:
|
|
174
|
+
household:
|
|
175
|
+
members: [person1, person2, person3, person4]
|
|
176
|
+
state_fips: 40
|
|
177
|
+
output:
|
|
178
|
+
ok_itemized_deductions: 0
|
|
179
|
+
tax_unit_itemizes: false
|
|
180
|
+
ok_income_tax: 3_483
|
|
@@ -26,7 +26,7 @@ class tax_unit_itemizes(Variable):
|
|
|
26
26
|
"state_itemized_deductions", period
|
|
27
27
|
)
|
|
28
28
|
# Use a small tolerance for floating-point comparison due to floating point imprecision
|
|
29
|
-
TOLERANCE = 0.
|
|
29
|
+
TOLERANCE = 0.01
|
|
30
30
|
federal_tax_equal = (
|
|
31
31
|
np.abs(
|
|
32
32
|
tax_liability_if_itemizing - tax_liability_if_not_itemizing
|
|
@@ -3453,7 +3453,7 @@ policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gro
|
|
|
3453
3453
|
policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/alimony_expense_ald.yaml,sha256=VWBqHVnf8OIaANQ-Spt1wCivCr2YmRUL1DL1kliVatY,1251
|
|
3454
3454
|
policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/auto_loan_interest_deduction.yaml,sha256=thZKFR7I1SX4Jj4INWvAQOz_hC2rZLTOPA5oeEyWJBg,723
|
|
3455
3455
|
policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction_person.yaml,sha256=82uoVdaiDMUgiLJJeTmlf8NcIMC9PzBrJfeE1qzBo98,1245
|
|
3456
|
-
policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.yaml,sha256=
|
|
3456
|
+
policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.yaml,sha256=mIMKPpTw3ApnjPebjsVy710TVM3z-2Bo25fv75Q-030,5131
|
|
3457
3457
|
policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/taxable_income_deductions.yaml,sha256=7XxH0tdlu4IM1k96_38WaOmLPU68Vek6U7EZvRZ3KwI,734
|
|
3458
3458
|
policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/tip_and_overtime_income_deduction.yaml,sha256=hX_AfJFJX1ZeCC7RkKptqo7j4eRNulm5eub2uWpgqzY,11393
|
|
3459
3459
|
policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/tuition_and_fees_deduction.yaml,sha256=tsioaMFA9wyazulpJQ-s1X_fYkA-IhhRvx9YdgagGx0,2626
|
|
@@ -5709,7 +5709,7 @@ policyengine_us/variables/gov/irs/income/taxable_income/deductions/capped_proper
|
|
|
5709
5709
|
policyengine_us/variables/gov/irs/income/taxable_income/deductions/itemized_deductions_less_salt.py,sha256=WviIIDFZNsXiMikzvTzHBOWhvj9yebk5f-5x4Bwi2wc,603
|
|
5710
5710
|
policyengine_us/variables/gov/irs/income/taxable_income/deductions/tax_liability_if_itemizing.py,sha256=xLNYWRwhDYyycOZQmuCprJEhNAfVH5Qx4Ep5kdTY16c,553
|
|
5711
5711
|
policyengine_us/variables/gov/irs/income/taxable_income/deductions/tax_liability_if_not_itemizing.py,sha256=1pYxa5mPL3oVgOun19tsfazrovfVGeGtWC7nRDUSx0U,654
|
|
5712
|
-
policyengine_us/variables/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.py,sha256=
|
|
5712
|
+
policyengine_us/variables/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.py,sha256=Eo0ut8TcHK-my16qEYB4QGCGu9JxFvVsIwYRqrqDN8c,1885
|
|
5713
5713
|
policyengine_us/variables/gov/irs/income/taxable_income/deductions/taxable_income_deductions.py,sha256=Q9NMk-7ONE0H9Z6E32ay9dgBgxn6G14H1ce3-BAzGGU,663
|
|
5714
5714
|
policyengine_us/variables/gov/irs/income/taxable_income/deductions/taxable_income_deductions_if_itemizing.py,sha256=pI3xt-FyA8mzQEanXTrJqF5opoiTYyIKkhc-oSevkSs,345
|
|
5715
5715
|
policyengine_us/variables/gov/irs/income/taxable_income/deductions/taxable_income_deductions_if_not_itemizing.py,sha256=0ugPH-lBKYFRH5LAGzrp4Tm9O-263UpWTCKizCgLlp0,293
|
|
@@ -8449,8 +8449,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
|
|
|
8449
8449
|
policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
|
|
8450
8450
|
policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
|
|
8451
8451
|
policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
|
|
8452
|
-
policyengine_us-1.403.
|
|
8453
|
-
policyengine_us-1.403.
|
|
8454
|
-
policyengine_us-1.403.
|
|
8455
|
-
policyengine_us-1.403.
|
|
8456
|
-
policyengine_us-1.403.
|
|
8452
|
+
policyengine_us-1.403.1.dist-info/METADATA,sha256=44jUY0ibfCBm9iO8ZbLfGAzwCu_YdM96Ki3TzhBTk1Q,1649
|
|
8453
|
+
policyengine_us-1.403.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8454
|
+
policyengine_us-1.403.1.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
|
|
8455
|
+
policyengine_us-1.403.1.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
8456
|
+
policyengine_us-1.403.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|