policyengine-us 1.422.0__py3-none-any.whl → 1.424.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/parameters/gov/contrib/ctc/per_child_phase_out/avoid_overlap.yaml +7 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/age_limit.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/amount.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/rate.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/threshold.yaml +23 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/refundability/cap.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/age_limit/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/age_limit/threshold.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/amount.yaml +15 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/rate.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/threshold.yaml +23 -0
- policyengine_us/parameters/gov/states/ca/tax/income/agi/subtractions.yaml +1 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml +1 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml +1 -1
- policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/joint.yaml +12 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/single.yaml +12 -0
- policyengine_us/parameters/gov/states/de/tax/income/credits/refundable.yaml +2 -2
- policyengine_us/parameters/gov/states/de/tax/income/credits/relief_rebate/amount.yaml +1 -1
- policyengine_us/parameters/gov/states/ga/tax/income/credits/non_refundable.yaml +1 -4
- policyengine_us/parameters/gov/states/ga/tax/income/credits/surplus_tax_rebate/amount.yaml +5 -5
- policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/joint.yaml +20 -0
- policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/single.yaml +20 -0
- policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml +6 -0
- policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/floor.yaml +1 -1
- policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/rate.yaml +1 -1
- policyengine_us/parameters/gov/states/id/tax/income/credits/refundable.yaml +4 -4
- policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/floor.yaml +5 -5
- policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/rate.yaml +1 -1
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/dependent.yaml +10 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/joint.yaml +20 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/other.yaml +20 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/max_dependents.yaml +10 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/refundable.yaml +5 -0
- policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/additional.yaml +10 -0
- policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/base.yaml +12 -0
- policyengine_us/parameters/gov/states/in/tax/income/credits/refundable.yaml +6 -1
- policyengine_us/parameters/gov/states/ma/tax/income/credits/refundable.yaml +12 -0
- policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml +10 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/refundable.yaml +6 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/amount.yaml +10 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/income_limit.yaml +21 -0
- policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/age_limit.yaml +14 -0
- policyengine_us/parameters/gov/states/mt/tax/income/credits/non_refundable.yaml +1 -4
- policyengine_us/parameters/gov/states/mt/tax/income/credits/rebate/amount.yaml +5 -5
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/amount.yaml +1 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/age.yaml +1 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/child.yaml +1 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/income.yaml +5 -5
- policyengine_us/parameters/gov/states/ri/tax/income/credits/refundable.yaml +1 -4
- policyengine_us/parameters/gov/states/sc/tax/income/credits/2022_rebate/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/sc/tax/income/credits/non_refundable.yaml +7 -1
- policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml +6 -2
- policyengine_us/parameters/gov/states/va/tax/income/rebate/amount.yaml +10 -0
- policyengine_us/reforms/ctc/ctc_per_child_phase_out.py +12 -1
- policyengine_us/reforms/reforms.py +8 -0
- policyengine_us/reforms/states/ri/__init__.py +2 -0
- policyengine_us/reforms/states/ri/ctc/__init__.py +1 -0
- policyengine_us/reforms/states/ri/ctc/ri_ctc_reform.py +176 -0
- policyengine_us/reforms/states/ri/exemption/__init__.py +1 -0
- policyengine_us/reforms/states/ri/exemption/ri_exemption_reform.py +137 -0
- policyengine_us/tests/policy/baseline/gov/irs/integration/us_itemize.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/integration.yaml +50 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/co_tabor_cash_back.yaml +71 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/integration.yaml +38 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml +63 -0
- policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate.yaml +49 -0
- policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/in/tax/income/credits/in_automatic_refund_rebate.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.yaml +42 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/integration_ma.yaml +6 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_integration.yaml +55 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/integration.yaml +3 -0
- policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/integration.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_2022_rebate.yaml +76 -0
- policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml +2 -0
- policyengine_us/tests/policy/contrib/ctc/integration.yaml +205 -2
- policyengine_us/tests/policy/contrib/states/ri/ctc_reform_test.yaml +177 -0
- policyengine_us/tests/policy/contrib/states/ri/exemption_reform_test.yaml +88 -0
- policyengine_us/variables/gov/states/co/tax/income/credits/co_tabor_cash_back.py +17 -0
- policyengine_us/variables/gov/states/hi/tax/income/credits/hi_act_115_rebate.py +32 -0
- policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate.py +27 -0
- policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.py +24 -0
- policyengine_us/variables/gov/states/in/tax/income/credits/in_automatic_refund_rebate.py +26 -0
- policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py +29 -0
- policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate.py +16 -0
- policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate_eligible.py +17 -0
- policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits.py +5 -1
- policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.py +24 -0
- policyengine_us/variables/gov/states/mt/tax/income/credits/rebate/mt_income_tax_rebate.py +1 -2
- policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py +29 -0
- {policyengine_us-1.422.0.dist-info → policyengine_us-1.424.1.dist-info}/METADATA +1 -1
- {policyengine_us-1.422.0.dist-info → policyengine_us-1.424.1.dist-info}/RECORD +101 -48
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_low_income_household_renters/integration.yaml +0 -61
- policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/agi/subtractions/taxable_retirement_income/integration.yaml +0 -45
- {policyengine_us-1.422.0.dist-info → policyengine_us-1.424.1.dist-info}/WHEEL +0 -0
- {policyengine_us-1.422.0.dist-info → policyengine_us-1.424.1.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.422.0.dist-info → policyengine_us-1.424.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -258,8 +258,8 @@
|
|
|
258
258
|
|
|
259
259
|
- name: Joint filer with 3 kids, 250k income
|
|
260
260
|
period: 2025
|
|
261
|
-
reforms: [policyengine_us.reforms.ctc.ctc_per_child_phase_in.ctc_per_child_phase_in,
|
|
262
|
-
policyengine_us.reforms.ctc.ctc_minimum_refundable_amount.ctc_minimum_refundable_amount,
|
|
261
|
+
reforms: [policyengine_us.reforms.ctc.ctc_per_child_phase_in.ctc_per_child_phase_in,
|
|
262
|
+
policyengine_us.reforms.ctc.ctc_minimum_refundable_amount.ctc_minimum_refundable_amount,
|
|
263
263
|
policyengine_us.reforms.ctc.ctc_per_child_phase_out.ctc_per_child_phase_out]
|
|
264
264
|
input:
|
|
265
265
|
gov.contrib.ctc.per_child_phase_out.in_effect: true
|
|
@@ -286,6 +286,7 @@
|
|
|
286
286
|
gov.irs.credits.ctc.phase_out.threshold.SEPARATE: 100_000
|
|
287
287
|
gov.irs.credits.ctc.phase_out.arpa.amount: 25
|
|
288
288
|
gov.irs.credits.ctc.phase_out.amount: 25
|
|
289
|
+
gov.contrib.ctc.per_child_phase_out.avoid_overlap: false
|
|
289
290
|
people:
|
|
290
291
|
person1:
|
|
291
292
|
age: 40
|
|
@@ -308,3 +309,205 @@
|
|
|
308
309
|
output:
|
|
309
310
|
refundable_ctc: 2_850
|
|
310
311
|
non_refundable_ctc: 0
|
|
312
|
+
|
|
313
|
+
- name: Single filer, 1 child, 120k income, avoid_overlap enabled
|
|
314
|
+
period: 2025
|
|
315
|
+
reforms: [policyengine_us.reforms.ctc.ctc_per_child_phase_in.ctc_per_child_phase_in,
|
|
316
|
+
policyengine_us.reforms.ctc.ctc_minimum_refundable_amount.ctc_minimum_refundable_amount,
|
|
317
|
+
policyengine_us.reforms.ctc.ctc_per_child_phase_out.ctc_per_child_phase_out]
|
|
318
|
+
input:
|
|
319
|
+
gov.contrib.ctc.per_child_phase_out.in_effect: true
|
|
320
|
+
gov.contrib.ctc.per_child_phase_in.in_effect: true
|
|
321
|
+
gov.contrib.ctc.minimum_refundable.in_effect: true
|
|
322
|
+
gov.contrib.ctc.minimum_refundable.amount[0].amount: 2_400
|
|
323
|
+
gov.contrib.ctc.minimum_refundable.amount[1].amount: 2_400
|
|
324
|
+
gov.irs.credits.ctc.refundable.individual_max: 4_800
|
|
325
|
+
gov.irs.credits.ctc.refundable.phase_in.threshold: 0
|
|
326
|
+
gov.irs.credits.ctc.refundable.phase_in.rate: 0.2
|
|
327
|
+
gov.irs.credits.ctc.amount.base[0].amount: 2_200
|
|
328
|
+
gov.irs.credits.ctc.amount.arpa[0].amount: 4_800
|
|
329
|
+
gov.irs.credits.ctc.amount.arpa[1].amount: 4_800
|
|
330
|
+
gov.irs.credits.ctc.phase_out.arpa.in_effect: true
|
|
331
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.JOINT: 35_000
|
|
332
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SINGLE: 25_000
|
|
333
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.HEAD_OF_HOUSEHOLD: 25_000
|
|
334
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SURVIVING_SPOUSE: 25_000
|
|
335
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SEPARATE: 25_000
|
|
336
|
+
gov.irs.credits.ctc.phase_out.threshold.JOINT: 200_000
|
|
337
|
+
gov.irs.credits.ctc.phase_out.threshold.SINGLE: 100_000
|
|
338
|
+
gov.irs.credits.ctc.phase_out.threshold.HEAD_OF_HOUSEHOLD: 100_000
|
|
339
|
+
gov.irs.credits.ctc.phase_out.threshold.SURVIVING_SPOUSE: 100_000
|
|
340
|
+
gov.irs.credits.ctc.phase_out.threshold.SEPARATE: 100_000
|
|
341
|
+
gov.irs.credits.ctc.phase_out.arpa.amount: 25
|
|
342
|
+
gov.irs.credits.ctc.phase_out.amount: 25
|
|
343
|
+
gov.contrib.ctc.per_child_phase_out.avoid_overlap: true
|
|
344
|
+
people:
|
|
345
|
+
person1:
|
|
346
|
+
age: 40
|
|
347
|
+
employment_income: 120_000
|
|
348
|
+
person2:
|
|
349
|
+
age: 10
|
|
350
|
+
tax_units:
|
|
351
|
+
tax_unit:
|
|
352
|
+
members: [person1, person2]
|
|
353
|
+
households:
|
|
354
|
+
household:
|
|
355
|
+
members: [person1, person2]
|
|
356
|
+
state_code: TX
|
|
357
|
+
output:
|
|
358
|
+
ctc_arpa_uncapped_phase_out: 2_375
|
|
359
|
+
ctc_phase_out: 0
|
|
360
|
+
ctc: 2_425
|
|
361
|
+
refundable_ctc: 2_425
|
|
362
|
+
|
|
363
|
+
- name: Single filer, 1 child, 120k income, avoid_overlap disabled
|
|
364
|
+
period: 2025
|
|
365
|
+
reforms: [policyengine_us.reforms.ctc.ctc_per_child_phase_in.ctc_per_child_phase_in,
|
|
366
|
+
policyengine_us.reforms.ctc.ctc_minimum_refundable_amount.ctc_minimum_refundable_amount,
|
|
367
|
+
policyengine_us.reforms.ctc.ctc_per_child_phase_out.ctc_per_child_phase_out]
|
|
368
|
+
input:
|
|
369
|
+
gov.contrib.ctc.per_child_phase_out.in_effect: true
|
|
370
|
+
gov.contrib.ctc.per_child_phase_in.in_effect: true
|
|
371
|
+
gov.contrib.ctc.minimum_refundable.in_effect: true
|
|
372
|
+
gov.contrib.ctc.minimum_refundable.amount[0].amount: 2_400
|
|
373
|
+
gov.contrib.ctc.minimum_refundable.amount[1].amount: 2_400
|
|
374
|
+
gov.irs.credits.ctc.refundable.individual_max: 4_800
|
|
375
|
+
gov.irs.credits.ctc.refundable.phase_in.threshold: 0
|
|
376
|
+
gov.irs.credits.ctc.refundable.phase_in.rate: 0.2
|
|
377
|
+
gov.irs.credits.ctc.amount.base[0].amount: 2_200
|
|
378
|
+
gov.irs.credits.ctc.amount.arpa[0].amount: 4_800
|
|
379
|
+
gov.irs.credits.ctc.amount.arpa[1].amount: 4_800
|
|
380
|
+
gov.irs.credits.ctc.phase_out.arpa.in_effect: true
|
|
381
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.JOINT: 35_000
|
|
382
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SINGLE: 25_000
|
|
383
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.HEAD_OF_HOUSEHOLD: 25_000
|
|
384
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SURVIVING_SPOUSE: 25_000
|
|
385
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SEPARATE: 25_000
|
|
386
|
+
gov.irs.credits.ctc.phase_out.threshold.JOINT: 200_000
|
|
387
|
+
gov.irs.credits.ctc.phase_out.threshold.SINGLE: 100_000
|
|
388
|
+
gov.irs.credits.ctc.phase_out.threshold.HEAD_OF_HOUSEHOLD: 100_000
|
|
389
|
+
gov.irs.credits.ctc.phase_out.threshold.SURVIVING_SPOUSE: 100_000
|
|
390
|
+
gov.irs.credits.ctc.phase_out.threshold.SEPARATE: 100_000
|
|
391
|
+
gov.irs.credits.ctc.phase_out.arpa.amount: 25
|
|
392
|
+
gov.irs.credits.ctc.phase_out.amount: 25
|
|
393
|
+
gov.contrib.ctc.per_child_phase_out.avoid_overlap: false
|
|
394
|
+
people:
|
|
395
|
+
person1:
|
|
396
|
+
age: 40
|
|
397
|
+
employment_income: 120_000
|
|
398
|
+
person2:
|
|
399
|
+
age: 10
|
|
400
|
+
tax_units:
|
|
401
|
+
tax_unit:
|
|
402
|
+
members: [person1, person2]
|
|
403
|
+
households:
|
|
404
|
+
household:
|
|
405
|
+
members: [person1, person2]
|
|
406
|
+
state_code: TX
|
|
407
|
+
output:
|
|
408
|
+
ctc_arpa_uncapped_phase_out: 2_375
|
|
409
|
+
ctc_phase_out: 500
|
|
410
|
+
ctc: 1_925
|
|
411
|
+
refundable_ctc: 1_925
|
|
412
|
+
|
|
413
|
+
- name: Single filer, 1 child, 50k income, avoid_overlap enabled (only ARPA applies)
|
|
414
|
+
period: 2025
|
|
415
|
+
reforms: [policyengine_us.reforms.ctc.ctc_per_child_phase_in.ctc_per_child_phase_in,
|
|
416
|
+
policyengine_us.reforms.ctc.ctc_minimum_refundable_amount.ctc_minimum_refundable_amount,
|
|
417
|
+
policyengine_us.reforms.ctc.ctc_per_child_phase_out.ctc_per_child_phase_out]
|
|
418
|
+
input:
|
|
419
|
+
gov.contrib.ctc.per_child_phase_out.in_effect: true
|
|
420
|
+
gov.contrib.ctc.per_child_phase_in.in_effect: true
|
|
421
|
+
gov.contrib.ctc.minimum_refundable.in_effect: true
|
|
422
|
+
gov.contrib.ctc.minimum_refundable.amount[0].amount: 2_400
|
|
423
|
+
gov.contrib.ctc.minimum_refundable.amount[1].amount: 2_400
|
|
424
|
+
gov.irs.credits.ctc.refundable.individual_max: 4_800
|
|
425
|
+
gov.irs.credits.ctc.refundable.phase_in.threshold: 0
|
|
426
|
+
gov.irs.credits.ctc.refundable.phase_in.rate: 0.2
|
|
427
|
+
gov.irs.credits.ctc.amount.base[0].amount: 2_200
|
|
428
|
+
gov.irs.credits.ctc.amount.arpa[0].amount: 4_800
|
|
429
|
+
gov.irs.credits.ctc.amount.arpa[1].amount: 4_800
|
|
430
|
+
gov.irs.credits.ctc.phase_out.arpa.in_effect: true
|
|
431
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.JOINT: 35_000
|
|
432
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SINGLE: 25_000
|
|
433
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.HEAD_OF_HOUSEHOLD: 25_000
|
|
434
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SURVIVING_SPOUSE: 25_000
|
|
435
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SEPARATE: 25_000
|
|
436
|
+
gov.irs.credits.ctc.phase_out.threshold.JOINT: 200_000
|
|
437
|
+
gov.irs.credits.ctc.phase_out.threshold.SINGLE: 100_000
|
|
438
|
+
gov.irs.credits.ctc.phase_out.threshold.HEAD_OF_HOUSEHOLD: 100_000
|
|
439
|
+
gov.irs.credits.ctc.phase_out.threshold.SURVIVING_SPOUSE: 100_000
|
|
440
|
+
gov.irs.credits.ctc.phase_out.threshold.SEPARATE: 100_000
|
|
441
|
+
gov.irs.credits.ctc.phase_out.arpa.amount: 25
|
|
442
|
+
gov.irs.credits.ctc.phase_out.amount: 25
|
|
443
|
+
gov.contrib.ctc.per_child_phase_out.avoid_overlap: true
|
|
444
|
+
people:
|
|
445
|
+
person1:
|
|
446
|
+
age: 40
|
|
447
|
+
employment_income: 50_000
|
|
448
|
+
person2:
|
|
449
|
+
age: 10
|
|
450
|
+
tax_units:
|
|
451
|
+
tax_unit:
|
|
452
|
+
members: [person1, person2]
|
|
453
|
+
households:
|
|
454
|
+
household:
|
|
455
|
+
members: [person1, person2]
|
|
456
|
+
state_code: TX
|
|
457
|
+
output:
|
|
458
|
+
ctc_arpa_uncapped_phase_out: 625
|
|
459
|
+
ctc_phase_out: 0
|
|
460
|
+
ctc: 4_175
|
|
461
|
+
refundable_ctc: 4_175
|
|
462
|
+
|
|
463
|
+
- name: HoH filer, 2 kids, 150k income, avoid_overlap enabled (in overlap zone)
|
|
464
|
+
period: 2025
|
|
465
|
+
reforms: [policyengine_us.reforms.ctc.ctc_per_child_phase_in.ctc_per_child_phase_in,
|
|
466
|
+
policyengine_us.reforms.ctc.ctc_minimum_refundable_amount.ctc_minimum_refundable_amount,
|
|
467
|
+
policyengine_us.reforms.ctc.ctc_per_child_phase_out.ctc_per_child_phase_out]
|
|
468
|
+
input:
|
|
469
|
+
gov.contrib.ctc.per_child_phase_out.in_effect: true
|
|
470
|
+
gov.contrib.ctc.per_child_phase_in.in_effect: true
|
|
471
|
+
gov.contrib.ctc.minimum_refundable.in_effect: true
|
|
472
|
+
gov.contrib.ctc.minimum_refundable.amount[0].amount: 2_400
|
|
473
|
+
gov.contrib.ctc.minimum_refundable.amount[1].amount: 2_400
|
|
474
|
+
gov.irs.credits.ctc.refundable.individual_max: 4_800
|
|
475
|
+
gov.irs.credits.ctc.refundable.phase_in.threshold: 0
|
|
476
|
+
gov.irs.credits.ctc.refundable.phase_in.rate: 0.2
|
|
477
|
+
gov.irs.credits.ctc.amount.base[0].amount: 2_200
|
|
478
|
+
gov.irs.credits.ctc.amount.arpa[0].amount: 4_800
|
|
479
|
+
gov.irs.credits.ctc.amount.arpa[1].amount: 4_800
|
|
480
|
+
gov.irs.credits.ctc.phase_out.arpa.in_effect: true
|
|
481
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.JOINT: 35_000
|
|
482
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SINGLE: 25_000
|
|
483
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.HEAD_OF_HOUSEHOLD: 25_000
|
|
484
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SURVIVING_SPOUSE: 25_000
|
|
485
|
+
gov.irs.credits.ctc.phase_out.arpa.threshold.SEPARATE: 25_000
|
|
486
|
+
gov.irs.credits.ctc.phase_out.threshold.JOINT: 200_000
|
|
487
|
+
gov.irs.credits.ctc.phase_out.threshold.SINGLE: 100_000
|
|
488
|
+
gov.irs.credits.ctc.phase_out.threshold.HEAD_OF_HOUSEHOLD: 100_000
|
|
489
|
+
gov.irs.credits.ctc.phase_out.threshold.SURVIVING_SPOUSE: 100_000
|
|
490
|
+
gov.irs.credits.ctc.phase_out.threshold.SEPARATE: 100_000
|
|
491
|
+
gov.irs.credits.ctc.phase_out.arpa.amount: 25
|
|
492
|
+
gov.irs.credits.ctc.phase_out.amount: 25
|
|
493
|
+
gov.contrib.ctc.per_child_phase_out.avoid_overlap: true
|
|
494
|
+
people:
|
|
495
|
+
person1:
|
|
496
|
+
age: 40
|
|
497
|
+
employment_income: 150_000
|
|
498
|
+
person2:
|
|
499
|
+
age: 10
|
|
500
|
+
person3:
|
|
501
|
+
age: 10
|
|
502
|
+
tax_units:
|
|
503
|
+
tax_unit:
|
|
504
|
+
members: [person1, person2, person3]
|
|
505
|
+
households:
|
|
506
|
+
household:
|
|
507
|
+
members: [person1, person2, person3]
|
|
508
|
+
state_code: TX
|
|
509
|
+
output:
|
|
510
|
+
ctc_arpa_uncapped_phase_out: 6_250
|
|
511
|
+
ctc_phase_out: 0
|
|
512
|
+
ctc: 5_850
|
|
513
|
+
refundable_ctc: 5_850
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
- name: RI CTC - fully refundable with AGI phaseout
|
|
2
|
+
absolute_error_margin: 0.1
|
|
3
|
+
period: 2025
|
|
4
|
+
reforms: policyengine_us.reforms.states.ri.ctc.ri_ctc_reform.ri_ctc
|
|
5
|
+
input:
|
|
6
|
+
gov.contrib.states.ri.ctc.in_effect: true
|
|
7
|
+
gov.contrib.states.ri.ctc.amount: 1_000
|
|
8
|
+
gov.contrib.states.ri.ctc.age_limit: 18
|
|
9
|
+
gov.contrib.states.ri.ctc.refundability.cap: 999_999 # High cap = fully refundable, amount.yaml controls max
|
|
10
|
+
gov.contrib.states.ri.ctc.phaseout.threshold.SINGLE: 75_000
|
|
11
|
+
gov.contrib.states.ri.ctc.phaseout.rate: 0.05
|
|
12
|
+
people:
|
|
13
|
+
parent:
|
|
14
|
+
age: 35
|
|
15
|
+
employment_income: 50_000
|
|
16
|
+
child1:
|
|
17
|
+
age: 5
|
|
18
|
+
is_tax_unit_dependent: true
|
|
19
|
+
child2:
|
|
20
|
+
age: 10
|
|
21
|
+
is_tax_unit_dependent: true
|
|
22
|
+
tax_units:
|
|
23
|
+
tax_unit:
|
|
24
|
+
members: [parent, child1, child2]
|
|
25
|
+
filing_status: SINGLE
|
|
26
|
+
households:
|
|
27
|
+
household:
|
|
28
|
+
members: [parent, child1, child2]
|
|
29
|
+
state_name: RI
|
|
30
|
+
output:
|
|
31
|
+
ri_ctc_eligible_children: 2
|
|
32
|
+
ri_ctc_maximum: 2_000 # 2 children × $1_000 amount
|
|
33
|
+
ri_ctc_phaseout: 0
|
|
34
|
+
ri_total_ctc: 2_000
|
|
35
|
+
ri_refundable_ctc: 2_000 # min(2_000 total credit, 999_999 cap) = 2_000 (amount controls)
|
|
36
|
+
ri_non_refundable_ctc: 0
|
|
37
|
+
ri_refundable_credits: 2_246.32 # 2_000 (CTC) + 246.32 (EITC)
|
|
38
|
+
ri_non_refundable_credits: 0
|
|
39
|
+
|
|
40
|
+
- name: RI CTC - partially refundable
|
|
41
|
+
absolute_error_margin: 0.1
|
|
42
|
+
period: 2025
|
|
43
|
+
reforms: policyengine_us.reforms.states.ri.ctc.ri_ctc_reform.ri_ctc
|
|
44
|
+
input:
|
|
45
|
+
gov.contrib.states.ri.ctc.in_effect: true
|
|
46
|
+
gov.contrib.states.ri.ctc.amount: 1_500
|
|
47
|
+
gov.contrib.states.ri.ctc.age_limit: 18
|
|
48
|
+
gov.contrib.states.ri.ctc.refundability.cap: 1_000 # Cap < total credit = partially refundable
|
|
49
|
+
gov.contrib.states.ri.ctc.phaseout.threshold.SINGLE: 75_000
|
|
50
|
+
gov.contrib.states.ri.ctc.phaseout.rate: 0.05
|
|
51
|
+
people:
|
|
52
|
+
parent:
|
|
53
|
+
age: 35
|
|
54
|
+
employment_income: 30_000
|
|
55
|
+
child1:
|
|
56
|
+
age: 5
|
|
57
|
+
is_tax_unit_dependent: true
|
|
58
|
+
tax_units:
|
|
59
|
+
tax_unit:
|
|
60
|
+
members: [parent, child1]
|
|
61
|
+
filing_status: SINGLE
|
|
62
|
+
households:
|
|
63
|
+
household:
|
|
64
|
+
members: [parent, child1]
|
|
65
|
+
state_name: RI
|
|
66
|
+
output:
|
|
67
|
+
ri_total_ctc: 1_500
|
|
68
|
+
ri_refundable_ctc: 1_000 # min(1_500 total credit, 1_000 cap) = 1_000
|
|
69
|
+
ri_non_refundable_ctc: 500 # 1_500 - 1_000 = 500
|
|
70
|
+
ri_refundable_credits: 1_522.45 # 1_000 (CTC refundable) + 522.45 (EITC)
|
|
71
|
+
ri_non_refundable_credits: 500 # 500 (CTC non-refundable)
|
|
72
|
+
|
|
73
|
+
- name: RI CTC - nonrefundable with no phaseout
|
|
74
|
+
absolute_error_margin: 0.1
|
|
75
|
+
period: 2025
|
|
76
|
+
reforms: policyengine_us.reforms.states.ri.ctc.ri_ctc_reform.ri_ctc
|
|
77
|
+
input:
|
|
78
|
+
gov.contrib.states.ri.ctc.in_effect: true
|
|
79
|
+
gov.contrib.states.ri.ctc.amount: 500
|
|
80
|
+
gov.contrib.states.ri.ctc.age_limit: 6
|
|
81
|
+
gov.contrib.states.ri.ctc.refundability.cap: 0 # Cap = 0, credit is nonrefundable
|
|
82
|
+
people:
|
|
83
|
+
parent:
|
|
84
|
+
age: 35
|
|
85
|
+
employment_income: 40_000
|
|
86
|
+
child1:
|
|
87
|
+
age: 3
|
|
88
|
+
is_tax_unit_dependent: true
|
|
89
|
+
child2:
|
|
90
|
+
age: 10
|
|
91
|
+
is_tax_unit_dependent: true
|
|
92
|
+
tax_units:
|
|
93
|
+
tax_unit:
|
|
94
|
+
members: [parent, child1, child2]
|
|
95
|
+
filing_status: SINGLE
|
|
96
|
+
households:
|
|
97
|
+
household:
|
|
98
|
+
members: [parent, child1, child2]
|
|
99
|
+
state_name: RI
|
|
100
|
+
output:
|
|
101
|
+
ri_ctc_eligible_children: 1
|
|
102
|
+
ri_total_ctc: 500
|
|
103
|
+
ri_refundable_ctc: 0 # min(500 total credit, 0 cap) = 0
|
|
104
|
+
ri_non_refundable_ctc: 500 # 500 - 0 = 500
|
|
105
|
+
ri_refundable_credits: 583.28 # 0 (CTC refundable) + 583.28 (EITC)
|
|
106
|
+
ri_non_refundable_credits: 500 # 500 (CTC non-refundable)
|
|
107
|
+
|
|
108
|
+
- name: RI CTC - AGI phaseout reduces credit
|
|
109
|
+
absolute_error_margin: 0.1
|
|
110
|
+
period: 2025
|
|
111
|
+
reforms: policyengine_us.reforms.states.ri.ctc.ri_ctc_reform.ri_ctc
|
|
112
|
+
input:
|
|
113
|
+
gov.contrib.states.ri.ctc.in_effect: true
|
|
114
|
+
gov.contrib.states.ri.ctc.amount: 1_000
|
|
115
|
+
gov.contrib.states.ri.ctc.age_limit: 18
|
|
116
|
+
gov.contrib.states.ri.ctc.refundability.cap: 999_999 # Fully refundable
|
|
117
|
+
gov.contrib.states.ri.ctc.phaseout.threshold.SINGLE: 75_000
|
|
118
|
+
gov.contrib.states.ri.ctc.phaseout.rate: 0.05
|
|
119
|
+
people:
|
|
120
|
+
parent:
|
|
121
|
+
age: 35
|
|
122
|
+
employment_income: 85_000
|
|
123
|
+
child1:
|
|
124
|
+
age: 5
|
|
125
|
+
is_tax_unit_dependent: true
|
|
126
|
+
tax_units:
|
|
127
|
+
tax_unit:
|
|
128
|
+
members: [parent, child1]
|
|
129
|
+
filing_status: SINGLE
|
|
130
|
+
households:
|
|
131
|
+
household:
|
|
132
|
+
members: [parent, child1]
|
|
133
|
+
state_name: RI
|
|
134
|
+
output:
|
|
135
|
+
ri_ctc_maximum: 1_000 # 1 child × $1_000 amount
|
|
136
|
+
ri_ctc_phaseout: 500 # (85_000 - 75_000) * 0.05 = 500
|
|
137
|
+
ri_total_ctc: 500 # 1_000 - 500 = 500
|
|
138
|
+
ri_refundable_ctc: 500 # min(500 total credit, 999_999 cap) = 500 (total credit controls)
|
|
139
|
+
ri_non_refundable_ctc: 0
|
|
140
|
+
ri_refundable_credits: 500 # 500 (CTC refundable) + 0 (EITC - income too high)
|
|
141
|
+
ri_non_refundable_credits: 0
|
|
142
|
+
|
|
143
|
+
- name: RI CTC - cap exceeds amount but amount controls max
|
|
144
|
+
absolute_error_margin: 0.1
|
|
145
|
+
period: 2025
|
|
146
|
+
reforms: policyengine_us.reforms.states.ri.ctc.ri_ctc_reform.ri_ctc
|
|
147
|
+
input:
|
|
148
|
+
gov.contrib.states.ri.ctc.in_effect: true
|
|
149
|
+
gov.contrib.states.ri.ctc.amount: 500 # Only $500 per child
|
|
150
|
+
gov.contrib.states.ri.ctc.age_limit: 18
|
|
151
|
+
gov.contrib.states.ri.ctc.refundability.cap: 10_000 # Cap is much higher than possible credit
|
|
152
|
+
people:
|
|
153
|
+
parent:
|
|
154
|
+
age: 35
|
|
155
|
+
employment_income: 40_000
|
|
156
|
+
child1:
|
|
157
|
+
age: 5
|
|
158
|
+
is_tax_unit_dependent: true
|
|
159
|
+
child2:
|
|
160
|
+
age: 10
|
|
161
|
+
is_tax_unit_dependent: true
|
|
162
|
+
tax_units:
|
|
163
|
+
tax_unit:
|
|
164
|
+
members: [parent, child1, child2]
|
|
165
|
+
filing_status: SINGLE
|
|
166
|
+
households:
|
|
167
|
+
household:
|
|
168
|
+
members: [parent, child1, child2]
|
|
169
|
+
state_name: RI
|
|
170
|
+
output:
|
|
171
|
+
ri_ctc_eligible_children: 2
|
|
172
|
+
ri_ctc_maximum: 1_000 # 2 children × $500 amount (NOT $10_000!)
|
|
173
|
+
ri_total_ctc: 1_000 # amount.yaml controls the maximum
|
|
174
|
+
ri_refundable_ctc: 1_000 # min(1_000 total credit, 10_000 cap) = 1_000
|
|
175
|
+
ri_non_refundable_ctc: 0
|
|
176
|
+
ri_refundable_credits: 1_583.28 # 1_000 (CTC refundable) + 583.28 (EITC)
|
|
177
|
+
ri_non_refundable_credits: 0
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
- name: RI exemption reform - restrict to children under 18
|
|
2
|
+
period: 2025
|
|
3
|
+
reforms: policyengine_us.reforms.states.ri.exemption.ri_exemption_reform.ri_exemption_reform
|
|
4
|
+
input:
|
|
5
|
+
gov.contrib.states.ri.dependent_exemption.in_effect: true
|
|
6
|
+
gov.contrib.states.ri.dependent_exemption.amount: 5_100
|
|
7
|
+
gov.contrib.states.ri.dependent_exemption.age_limit.in_effect: true
|
|
8
|
+
gov.contrib.states.ri.dependent_exemption.age_limit.threshold: 18
|
|
9
|
+
people:
|
|
10
|
+
parent:
|
|
11
|
+
age: 40
|
|
12
|
+
employment_income: 60_000
|
|
13
|
+
child1:
|
|
14
|
+
age: 16
|
|
15
|
+
is_tax_unit_dependent: true
|
|
16
|
+
child2:
|
|
17
|
+
age: 20
|
|
18
|
+
is_tax_unit_dependent: true
|
|
19
|
+
tax_units:
|
|
20
|
+
tax_unit:
|
|
21
|
+
members: [parent, child1, child2]
|
|
22
|
+
filing_status: SINGLE
|
|
23
|
+
households:
|
|
24
|
+
household:
|
|
25
|
+
members: [parent, child1, child2]
|
|
26
|
+
state_name: RI
|
|
27
|
+
output:
|
|
28
|
+
ri_exemptions: 10_150 # 1 personal (5_050) + 1 dependent (5_100)
|
|
29
|
+
|
|
30
|
+
- name: RI exemption reform - restrict to children under 13
|
|
31
|
+
period: 2025
|
|
32
|
+
reforms: policyengine_us.reforms.states.ri.exemption.ri_exemption_reform.ri_exemption_reform
|
|
33
|
+
input:
|
|
34
|
+
gov.contrib.states.ri.dependent_exemption.in_effect: true
|
|
35
|
+
gov.contrib.states.ri.dependent_exemption.amount: 5_100
|
|
36
|
+
gov.contrib.states.ri.dependent_exemption.age_limit.in_effect: true
|
|
37
|
+
gov.contrib.states.ri.dependent_exemption.age_limit.threshold: 13
|
|
38
|
+
people:
|
|
39
|
+
parent:
|
|
40
|
+
age: 40
|
|
41
|
+
employment_income: 60_000
|
|
42
|
+
child1:
|
|
43
|
+
age: 10
|
|
44
|
+
is_tax_unit_dependent: true
|
|
45
|
+
child2:
|
|
46
|
+
age: 16
|
|
47
|
+
is_tax_unit_dependent: true
|
|
48
|
+
tax_units:
|
|
49
|
+
tax_unit:
|
|
50
|
+
members: [parent, child1, child2]
|
|
51
|
+
filing_status: SINGLE
|
|
52
|
+
households:
|
|
53
|
+
household:
|
|
54
|
+
members: [parent, child1, child2]
|
|
55
|
+
state_name: RI
|
|
56
|
+
output:
|
|
57
|
+
ri_exemptions: 10_150 # 1 personal (5_050) + 1 dependent (5_100)
|
|
58
|
+
|
|
59
|
+
- name: RI exemption reform - AGI phaseout
|
|
60
|
+
period: 2025
|
|
61
|
+
reforms: policyengine_us.reforms.states.ri.exemption.ri_exemption_reform.ri_exemption_reform
|
|
62
|
+
input:
|
|
63
|
+
gov.contrib.states.ri.dependent_exemption.in_effect: true
|
|
64
|
+
gov.contrib.states.ri.dependent_exemption.amount: 5_100
|
|
65
|
+
gov.contrib.states.ri.dependent_exemption.phaseout.threshold.SINGLE: 100_000
|
|
66
|
+
gov.contrib.states.ri.dependent_exemption.phaseout.rate: 0.05
|
|
67
|
+
people:
|
|
68
|
+
parent:
|
|
69
|
+
age: 40
|
|
70
|
+
employment_income: 120_000
|
|
71
|
+
child1:
|
|
72
|
+
age: 10
|
|
73
|
+
is_tax_unit_dependent: true
|
|
74
|
+
tax_units:
|
|
75
|
+
tax_unit:
|
|
76
|
+
members: [parent, child1]
|
|
77
|
+
filing_status: SINGLE
|
|
78
|
+
households:
|
|
79
|
+
household:
|
|
80
|
+
members: [parent, child1]
|
|
81
|
+
state_name: RI
|
|
82
|
+
output:
|
|
83
|
+
# Personal exemption: 5_050 (baseline)
|
|
84
|
+
# Dependent exemption before phaseout: 5_100
|
|
85
|
+
# Phaseout: (120_000 - 100_000) * 0.05 = 1_000 (only applies to dependent exemption)
|
|
86
|
+
# Dependent exemption after phaseout: 5_100 - 1_000 = 4_100
|
|
87
|
+
# Final: 5_050 (personal) + 4_100 (dependent) = 9_150
|
|
88
|
+
ri_exemptions: 9_150
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class co_tabor_cash_back(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Colorado TABOR cash back"
|
|
8
|
+
defined_for = StateCode.CO
|
|
9
|
+
unit = USD
|
|
10
|
+
definition_period = YEAR
|
|
11
|
+
reference = "https://leg.colorado.gov/sites/default/files/documents/2022A/bills/2022a_233_01.pdf"
|
|
12
|
+
|
|
13
|
+
def formula(tax_unit, period, parameters):
|
|
14
|
+
p = parameters(period).gov.states.co.tax.income.credits.tabor
|
|
15
|
+
|
|
16
|
+
joint = tax_unit("tax_unit_is_joint", period)
|
|
17
|
+
return where(joint, p.joint, p.single)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class hi_act_115_rebate(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Hawaii ACT 115 rebate"
|
|
8
|
+
defined_for = StateCode.HI
|
|
9
|
+
unit = USD
|
|
10
|
+
definition_period = YEAR
|
|
11
|
+
reference = "https://tax.hawaii.gov/act-115-ref/"
|
|
12
|
+
|
|
13
|
+
def formula(tax_unit, period, parameters):
|
|
14
|
+
p = parameters(period).gov.states.hi.tax.income.credits.act_115_rebate
|
|
15
|
+
filing_status = tax_unit("filing_status", period)
|
|
16
|
+
statuses = filing_status.possible_values
|
|
17
|
+
federal_agi = tax_unit("adjusted_gross_income", period)
|
|
18
|
+
return select(
|
|
19
|
+
[
|
|
20
|
+
filing_status == statuses.JOINT,
|
|
21
|
+
filing_status == statuses.HEAD_OF_HOUSEHOLD,
|
|
22
|
+
filing_status == statuses.SEPARATE,
|
|
23
|
+
filing_status == statuses.SURVIVING_SPOUSE,
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
p.joint.calc(federal_agi),
|
|
27
|
+
p.single.calc(federal_agi),
|
|
28
|
+
p.single.calc(federal_agi),
|
|
29
|
+
p.joint.calc(federal_agi),
|
|
30
|
+
],
|
|
31
|
+
default=p.single.calc(federal_agi),
|
|
32
|
+
)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class il_income_tax_rebate(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Illinois income tax rebate"
|
|
8
|
+
defined_for = "il_income_tax_rebate_eligible"
|
|
9
|
+
unit = USD
|
|
10
|
+
definition_period = YEAR
|
|
11
|
+
reference = "https://codes.findlaw.com/il/chapter-35-revenue/il-st-sect-35-5-212-1.html"
|
|
12
|
+
|
|
13
|
+
def formula(tax_unit, period, parameters):
|
|
14
|
+
p = parameters(
|
|
15
|
+
period
|
|
16
|
+
).gov.states.il.tax.income.credits.income_tax_rebate
|
|
17
|
+
federal_agi = tax_unit("adjusted_gross_income", period)
|
|
18
|
+
joint = tax_unit("tax_unit_is_joint", period)
|
|
19
|
+
base_amount = where(
|
|
20
|
+
joint,
|
|
21
|
+
p.amount.joint.calc(federal_agi),
|
|
22
|
+
p.amount.other.calc(federal_agi),
|
|
23
|
+
)
|
|
24
|
+
dependent_count = tax_unit("tax_unit_dependents", period)
|
|
25
|
+
capped_dependents = min_(dependent_count, p.max_dependents)
|
|
26
|
+
dependent_amount = capped_dependents * p.amount.dependent
|
|
27
|
+
return base_amount + dependent_amount
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class il_income_tax_rebate_eligible(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Illinois income tax rebate eligible"
|
|
8
|
+
defined_for = StateCode.IL
|
|
9
|
+
unit = USD
|
|
10
|
+
definition_period = YEAR
|
|
11
|
+
reference = "https://codes.findlaw.com/il/chapter-35-revenue/il-st-sect-35-5-212-1.html"
|
|
12
|
+
|
|
13
|
+
def formula(tax_unit, period, parameters):
|
|
14
|
+
p = parameters(
|
|
15
|
+
period
|
|
16
|
+
).gov.states.il.tax.income.credits.income_tax_rebate
|
|
17
|
+
federal_agi = tax_unit("adjusted_gross_income", period)
|
|
18
|
+
joint = tax_unit("tax_unit_is_joint", period)
|
|
19
|
+
income_threshold = where(
|
|
20
|
+
joint,
|
|
21
|
+
p.amount.joint.thresholds[1],
|
|
22
|
+
p.amount.other.thresholds[1],
|
|
23
|
+
)
|
|
24
|
+
return federal_agi < income_threshold
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class in_automatic_refund_rebate(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Indiana automatic refund rebate"
|
|
8
|
+
defined_for = StateCode.IN
|
|
9
|
+
unit = USD
|
|
10
|
+
definition_period = YEAR
|
|
11
|
+
reference = "https://law.justia.com/codes/indiana/2022/title-4/article-10/chapter-22/"
|
|
12
|
+
|
|
13
|
+
def formula(tax_unit, period, parameters):
|
|
14
|
+
p = (
|
|
15
|
+
parameters(period)
|
|
16
|
+
.gov.states["in"]
|
|
17
|
+
.tax.income.credits.automatic_refund_rebate.amount
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
# Total amount per person (base + additional)
|
|
21
|
+
amount_per_person = p.base + p.additional
|
|
22
|
+
|
|
23
|
+
# Multiply by number of head and spouse
|
|
24
|
+
head_spouse_count = tax_unit("head_spouse_count", period)
|
|
25
|
+
|
|
26
|
+
return amount_per_person * head_spouse_count
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ma_taxpayer_refund_rebate(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Massachusetts taxpayer refund rebate"
|
|
8
|
+
defined_for = StateCode.MA
|
|
9
|
+
unit = USD
|
|
10
|
+
definition_period = YEAR
|
|
11
|
+
reference = "https://tax.hawaii.gov/act-115-ref/"
|
|
12
|
+
|
|
13
|
+
def formula(tax_unit, period, parameters):
|
|
14
|
+
income_tax_before_credits = tax_unit(
|
|
15
|
+
"ma_income_tax_before_refundable_credits", period
|
|
16
|
+
)
|
|
17
|
+
p = parameters(period).gov.states.ma.tax.income.credits
|
|
18
|
+
|
|
19
|
+
# Sum refundable credits except ma_taxpayer_refund_rebate to avoid circular reference
|
|
20
|
+
refundable_credit_list = p.refundable
|
|
21
|
+
other_refundable_credits = 0
|
|
22
|
+
for credit in refundable_credit_list:
|
|
23
|
+
if credit != "ma_taxpayer_refund_rebate":
|
|
24
|
+
other_refundable_credits += tax_unit(credit, period)
|
|
25
|
+
|
|
26
|
+
income_tax_less_credits = max_(
|
|
27
|
+
income_tax_before_credits - other_refundable_credits, 0
|
|
28
|
+
)
|
|
29
|
+
return p.taxpayer_refund_rebate.rate * income_tax_less_credits
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class me_relief_rebate(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Maine Relief Rebate"
|
|
8
|
+
defined_for = "me_relief_rebate_eligible"
|
|
9
|
+
unit = USD
|
|
10
|
+
definition_period = YEAR
|
|
11
|
+
reference = "https://www.maine.gov/governor/mills/relief-checks"
|
|
12
|
+
|
|
13
|
+
def formula(tax_unit, period, parameters):
|
|
14
|
+
p = parameters(period).gov.states.me.tax.income.credits.relief_rebate
|
|
15
|
+
head_spouse_count = tax_unit("head_spouse_count", period)
|
|
16
|
+
return head_spouse_count * p.amount
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class me_relief_rebate_eligible(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Maine Relief Rebate eligible"
|
|
8
|
+
defined_for = StateCode.ME
|
|
9
|
+
definition_period = YEAR
|
|
10
|
+
reference = "https://www.maine.gov/governor/mills/relief-checks"
|
|
11
|
+
|
|
12
|
+
def formula(tax_unit, period, parameters):
|
|
13
|
+
p = parameters(period).gov.states.me.tax.income.credits.relief_rebate
|
|
14
|
+
filing_status = tax_unit("filing_status", period)
|
|
15
|
+
federal_agi = tax_unit("adjusted_gross_income", period)
|
|
16
|
+
income_threshold = p.income_limit[filing_status]
|
|
17
|
+
return federal_agi < income_threshold
|