policyengine-us 1.423.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.

Files changed (100) hide show
  1. policyengine_us/parameters/gov/contrib/states/ri/ctc/age_limit.yaml +9 -0
  2. policyengine_us/parameters/gov/contrib/states/ri/ctc/amount.yaml +9 -0
  3. policyengine_us/parameters/gov/contrib/states/ri/ctc/in_effect.yaml +9 -0
  4. policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/rate.yaml +9 -0
  5. policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/threshold.yaml +23 -0
  6. policyengine_us/parameters/gov/contrib/states/ri/ctc/refundability/cap.yaml +9 -0
  7. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/age_limit/in_effect.yaml +9 -0
  8. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/age_limit/threshold.yaml +9 -0
  9. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/amount.yaml +15 -0
  10. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/in_effect.yaml +9 -0
  11. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/rate.yaml +9 -0
  12. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/threshold.yaml +23 -0
  13. policyengine_us/parameters/gov/states/ca/tax/income/agi/subtractions.yaml +1 -0
  14. policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml +1 -0
  15. policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml +1 -1
  16. policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/joint.yaml +12 -0
  17. policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/single.yaml +12 -0
  18. policyengine_us/parameters/gov/states/de/tax/income/credits/refundable.yaml +2 -2
  19. policyengine_us/parameters/gov/states/de/tax/income/credits/relief_rebate/amount.yaml +1 -1
  20. policyengine_us/parameters/gov/states/ga/tax/income/credits/non_refundable.yaml +1 -4
  21. policyengine_us/parameters/gov/states/ga/tax/income/credits/surplus_tax_rebate/amount.yaml +5 -5
  22. policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/joint.yaml +20 -0
  23. policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/single.yaml +20 -0
  24. policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml +6 -0
  25. policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/floor.yaml +1 -1
  26. policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/rate.yaml +1 -1
  27. policyengine_us/parameters/gov/states/id/tax/income/credits/refundable.yaml +4 -4
  28. policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/floor.yaml +5 -5
  29. policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/rate.yaml +1 -1
  30. policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/dependent.yaml +10 -0
  31. policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/joint.yaml +20 -0
  32. policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/other.yaml +20 -0
  33. policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/max_dependents.yaml +10 -0
  34. policyengine_us/parameters/gov/states/il/tax/income/credits/refundable.yaml +5 -0
  35. policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/additional.yaml +10 -0
  36. policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/base.yaml +12 -0
  37. policyengine_us/parameters/gov/states/in/tax/income/credits/refundable.yaml +6 -1
  38. policyengine_us/parameters/gov/states/ma/tax/income/credits/refundable.yaml +12 -0
  39. policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml +10 -0
  40. policyengine_us/parameters/gov/states/me/tax/income/credits/refundable.yaml +6 -0
  41. policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/amount.yaml +10 -0
  42. policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/income_limit.yaml +21 -0
  43. policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/age_limit.yaml +14 -0
  44. policyengine_us/parameters/gov/states/mt/tax/income/credits/non_refundable.yaml +1 -4
  45. policyengine_us/parameters/gov/states/mt/tax/income/credits/rebate/amount.yaml +5 -5
  46. policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/amount.yaml +1 -1
  47. policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/age.yaml +1 -1
  48. policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/child.yaml +1 -1
  49. policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/income.yaml +5 -5
  50. policyengine_us/parameters/gov/states/ri/tax/income/credits/refundable.yaml +1 -4
  51. policyengine_us/parameters/gov/states/sc/tax/income/credits/2022_rebate/amount.yaml +12 -0
  52. policyengine_us/parameters/gov/states/sc/tax/income/credits/non_refundable.yaml +7 -1
  53. policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml +6 -2
  54. policyengine_us/parameters/gov/states/va/tax/income/rebate/amount.yaml +10 -0
  55. policyengine_us/reforms/reforms.py +8 -0
  56. policyengine_us/reforms/states/ri/__init__.py +2 -0
  57. policyengine_us/reforms/states/ri/ctc/__init__.py +1 -0
  58. policyengine_us/reforms/states/ri/ctc/ri_ctc_reform.py +176 -0
  59. policyengine_us/reforms/states/ri/exemption/__init__.py +1 -0
  60. policyengine_us/reforms/states/ri/exemption/ri_exemption_reform.py +137 -0
  61. policyengine_us/tests/policy/baseline/gov/irs/integration/us_itemize.yaml +1 -1
  62. policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/integration.yaml +50 -0
  63. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/co_tabor_cash_back.yaml +71 -0
  64. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/integration.yaml +38 -0
  65. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml +35 -0
  66. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml +63 -0
  67. policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate.yaml +49 -0
  68. policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.yaml +35 -0
  69. policyengine_us/tests/policy/baseline/gov/states/in/tax/income/credits/in_automatic_refund_rebate.yaml +47 -0
  70. policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.yaml +42 -0
  71. policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/integration_ma.yaml +6 -0
  72. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate.yaml +26 -0
  73. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate_eligible.yaml +35 -0
  74. policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.yaml +26 -0
  75. policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_integration.yaml +55 -0
  76. policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/integration.yaml +3 -0
  77. policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/integration.yaml +47 -0
  78. policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_2022_rebate.yaml +76 -0
  79. policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml +2 -0
  80. policyengine_us/tests/policy/contrib/states/ri/ctc_reform_test.yaml +177 -0
  81. policyengine_us/tests/policy/contrib/states/ri/exemption_reform_test.yaml +88 -0
  82. policyengine_us/variables/gov/states/co/tax/income/credits/co_tabor_cash_back.py +17 -0
  83. policyengine_us/variables/gov/states/hi/tax/income/credits/hi_act_115_rebate.py +32 -0
  84. policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate.py +27 -0
  85. policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.py +24 -0
  86. policyengine_us/variables/gov/states/in/tax/income/credits/in_automatic_refund_rebate.py +26 -0
  87. policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py +29 -0
  88. policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate.py +16 -0
  89. policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate_eligible.py +17 -0
  90. policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits.py +5 -1
  91. policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.py +24 -0
  92. policyengine_us/variables/gov/states/mt/tax/income/credits/rebate/mt_income_tax_rebate.py +1 -2
  93. policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py +29 -0
  94. {policyengine_us-1.423.0.dist-info → policyengine_us-1.424.1.dist-info}/METADATA +1 -1
  95. {policyengine_us-1.423.0.dist-info → policyengine_us-1.424.1.dist-info}/RECORD +98 -46
  96. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_low_income_household_renters/integration.yaml +0 -61
  97. policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/agi/subtractions/taxable_retirement_income/integration.yaml +0 -45
  98. {policyengine_us-1.423.0.dist-info → policyengine_us-1.424.1.dist-info}/WHEEL +0 -0
  99. {policyengine_us-1.423.0.dist-info → policyengine_us-1.424.1.dist-info}/entry_points.txt +0 -0
  100. {policyengine_us-1.423.0.dist-info → policyengine_us-1.424.1.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,35 @@
1
+ - name: Single, higher amount
2
+ period: 2021
3
+ input:
4
+ adjusted_gross_income: 99_999
5
+ filing_status: SINGLE
6
+ state_code: HI
7
+ output:
8
+ hi_act_115_rebate: 300
9
+
10
+ - name: Single, lower amount
11
+ period: 2021
12
+ input:
13
+ adjusted_gross_income: 100_000
14
+ filing_status: SINGLE
15
+ state_code: HI
16
+ output:
17
+ hi_act_115_rebate: 100
18
+
19
+ - name: Joint, higher amount
20
+ period: 2021
21
+ input:
22
+ adjusted_gross_income: 100_000
23
+ filing_status: JOINT
24
+ state_code: HI
25
+ output:
26
+ hi_act_115_rebate: 300
27
+
28
+ - name: Joint, lower amount
29
+ period: 2021
30
+ input:
31
+ adjusted_gross_income: 200_000
32
+ filing_status: JOINT
33
+ state_code: HI
34
+ output:
35
+ hi_act_115_rebate: 100
@@ -40,3 +40,66 @@
40
40
  output:
41
41
  hi_taxable_income: 160_112
42
42
  hi_income_tax: 12_539
43
+
44
+ - name: Tax unit with taxsimid 79840 in g21.its.csv and g21.ots.csv
45
+ absolute_error_margin: 0.01
46
+ period: 2021
47
+ input:
48
+ people:
49
+ person1:
50
+ age: 73
51
+ employment_income: 1010
52
+ taxable_interest_income: 5505
53
+ taxable_private_pension_income: 4000
54
+ social_security_retirement: 2000
55
+ rent: 9000
56
+ ssi: 0 # not in TAXSIM35
57
+ ma_state_supplement: 0 # not in TAXSIM35
58
+ wic: 0 # not in TAXSIM35
59
+ person2:
60
+ age: 73
61
+ employment_income: 10010
62
+ taxable_interest_income: 5505
63
+ taxable_private_pension_income: 4000
64
+ social_security_retirement: 2000
65
+ ssi: 0 # not in TAXSIM35
66
+ ma_state_supplement: 0 # not in TAXSIM35
67
+ wic: 0 # not in TAXSIM35
68
+ person3:
69
+ age: 11
70
+ ssi: 0 # not in TAXSIM35
71
+ ma_state_supplement: 0 # not in TAXSIM35
72
+ wic: 0 # not in TAXSIM35
73
+ person4:
74
+ age: 11
75
+ ssi: 0 # not in TAXSIM35
76
+ ma_state_supplement: 0 # not in TAXSIM35
77
+ wic: 0 # not in TAXSIM35
78
+ person5:
79
+ age: 11
80
+ ssi: 0 # not in TAXSIM35
81
+ ma_state_supplement: 0 # not in TAXSIM35
82
+ wic: 0 # not in TAXSIM35
83
+ person6:
84
+ age: 16
85
+ ssi: 0 # not in TAXSIM35
86
+ ma_state_supplement: 0 # not in TAXSIM35
87
+ wic: 0 # not in TAXSIM35
88
+ tax_units:
89
+ tax_unit:
90
+ members: [person1, person2, person3, person4, person5, person6]
91
+ aca_ptc: 0 # not in TAXSIM35
92
+ local_income_tax: 0 # not in TAXSIM35
93
+ state_sales_tax: 0 # not in TAXSIM35
94
+ hi_act_115_rebate: 0
95
+ spm_units:
96
+ spm_unit:
97
+ members: [person1, person2, person3, person4, person5, person6]
98
+ snap: 0 # not in TAXSIM35
99
+ tanf: 0 # not in TAXSIM35
100
+ households:
101
+ household:
102
+ members: [person1, person2, person3, person4, person5, person6]
103
+ state_fips: 15 # HI
104
+ output: # expected results from patched TAXSIM35 2024-01-29 version
105
+ hi_income_tax: -485.10
@@ -0,0 +1,49 @@
1
+ - name: Head of household, income above threshold
2
+ period: 2021
3
+ input:
4
+ adjusted_gross_income: 200_000
5
+ filing_status: HEAD_OF_HOUSEHOLD
6
+ state_code: IL
7
+ tax_unit_dependents: 3
8
+ output:
9
+ il_income_tax_rebate: 0
10
+
11
+ - name: Head of household, income below threshold, three dependents
12
+ period: 2021
13
+ input:
14
+ adjusted_gross_income: 199_999
15
+ filing_status: HEAD_OF_HOUSEHOLD
16
+ state_code: IL
17
+ tax_unit_dependents: 3
18
+ output:
19
+ il_income_tax_rebate: 350
20
+
21
+ - name: Head of household, income below threshold, five dependents
22
+ period: 2021
23
+ input:
24
+ adjusted_gross_income: 199_999
25
+ filing_status: HEAD_OF_HOUSEHOLD
26
+ state_code: IL
27
+ tax_unit_dependents: 5
28
+ output:
29
+ il_income_tax_rebate: 350
30
+
31
+ - name: Joint with two dependents
32
+ period: 2021
33
+ input:
34
+ adjusted_gross_income: 399_999
35
+ tax_unit_is_joint: true
36
+ state_code: IL
37
+ tax_unit_dependents: 2
38
+ output:
39
+ il_income_tax_rebate: 300
40
+
41
+ - name: Single with no dependents
42
+ period: 2021
43
+ input:
44
+ adjusted_gross_income: 0
45
+ tax_unit_is_joint: false
46
+ state_code: IL
47
+ tax_unit_dependents: 0
48
+ output:
49
+ il_income_tax_rebate: 50
@@ -0,0 +1,35 @@
1
+ - name: Ineligible joint filer
2
+ period: 2021
3
+ input:
4
+ adjusted_gross_income: 400_000
5
+ tax_unit_is_joint: true
6
+ state_code: IL
7
+ output:
8
+ il_income_tax_rebate_eligible: false
9
+
10
+ - name: Eligible joint filer
11
+ period: 2021
12
+ input:
13
+ adjusted_gross_income: 399_999
14
+ tax_unit_is_joint: true
15
+ state_code: IL
16
+ output:
17
+ il_income_tax_rebate_eligible: true
18
+
19
+ - name: Ineligible non-joint filer
20
+ period: 2021
21
+ input:
22
+ adjusted_gross_income: 200_000
23
+ tax_unit_is_joint: false
24
+ state_code: IL
25
+ output:
26
+ il_income_tax_rebate_eligible: false
27
+
28
+ - name: Eligible non-joint filer
29
+ period: 2021
30
+ input:
31
+ adjusted_gross_income: 199_999
32
+ tax_unit_is_joint: false
33
+ state_code: IL
34
+ output:
35
+ il_income_tax_rebate_eligible: true
@@ -0,0 +1,47 @@
1
+ - name: Rebate for single filer
2
+ period: 2020
3
+ input:
4
+ state_code: IN
5
+ head_spouse_count: 1
6
+ output:
7
+ in_automatic_refund_rebate: 325 # (125 base + 200 additional) * 1
8
+
9
+ - name: Rebate for married couple
10
+ period: 2020
11
+ input:
12
+ state_code: IN
13
+ head_spouse_count: 2
14
+ output:
15
+ in_automatic_refund_rebate: 650 # (125 base + 200 additional) * 2
16
+
17
+ - name: No rebate outside Indiana
18
+ period: 2020
19
+ input:
20
+ state_code: CA
21
+ head_spouse_count: 1
22
+ output:
23
+ in_automatic_refund_rebate: 0
24
+
25
+ - name: No rebate for zero head_spouse_count
26
+ period: 2020
27
+ input:
28
+ state_code: IN
29
+ head_spouse_count: 0
30
+ output:
31
+ in_automatic_refund_rebate: 0
32
+
33
+ - name: Rebate for married couple outside Indiana
34
+ period: 2020
35
+ input:
36
+ state_code: NY
37
+ head_spouse_count: 2
38
+ output:
39
+ in_automatic_refund_rebate: 0
40
+
41
+ - name: Single filer rebate validation
42
+ period: 2020
43
+ input:
44
+ state_code: IN
45
+ filing_status: SINGLE
46
+ output:
47
+ in_automatic_refund_rebate: 325 # (125 base + 200 additional) * 1
@@ -0,0 +1,42 @@
1
+ - name: Basic rebate calculation
2
+ period: 2021
3
+ input:
4
+ ma_income_tax_before_refundable_credits: 1_000
5
+ ma_eitc: 100
6
+ ma_child_and_family_credit_or_dependent_care_credit: 50
7
+ ma_senior_circuit_breaker: 25
8
+ state_code: MA
9
+ output:
10
+ ma_taxpayer_refund_rebate: 115.7574
11
+
12
+ - name: No rebate when tax liability is zero
13
+ period: 2021
14
+ input:
15
+ ma_income_tax_before_refundable_credits: 0
16
+ ma_eitc: 0
17
+ ma_child_and_family_credit_or_dependent_care_credit: 0
18
+ ma_senior_circuit_breaker: 0
19
+ state_code: MA
20
+ output:
21
+ ma_taxpayer_refund_rebate: 0
22
+
23
+ - name: No rebate when credits exceed tax liability
24
+ period: 2021
25
+ input:
26
+ ma_income_tax_before_refundable_credits: 500
27
+ ma_eitc: 300
28
+ ma_child_and_family_credit_or_dependent_care_credit: 200
29
+ ma_senior_circuit_breaker: 100
30
+ state_code: MA
31
+ output:
32
+ ma_taxpayer_refund_rebate: 0
33
+
34
+ - name: Partial rebate with some credits
35
+ period: 2021
36
+ input:
37
+ ma_income_tax_before_refundable_credits: 2_000
38
+ ma_eitc: 200
39
+ ma_child_and_family_credit_or_dependent_care_credit: 100
40
+ state_code: MA
41
+ output:
42
+ ma_taxpayer_refund_rebate: 238.53
@@ -23,6 +23,7 @@
23
23
  tax_unit:
24
24
  members: [person1]
25
25
  aca_ptc: 0 # not in TAXSIM35
26
+ ma_taxpayer_refund_rebate: 0
26
27
  households:
27
28
  household:
28
29
  members: [person1]
@@ -87,6 +88,7 @@
87
88
  tax_unit:
88
89
  members: [person1]
89
90
  aca_ptc: 0 # not in TAXSIM35
91
+ ma_taxpayer_refund_rebate: 0
90
92
  households:
91
93
  household:
92
94
  members: [person1]
@@ -121,6 +123,7 @@
121
123
  tax_unit:
122
124
  members: [person1]
123
125
  aca_ptc: 0 # not in TAXSIM35
126
+ ma_taxpayer_refund_rebate: 0
124
127
  households:
125
128
  household:
126
129
  members: [person1]
@@ -151,6 +154,7 @@
151
154
  tax_unit:
152
155
  members: [person1]
153
156
  aca_ptc: 0 # not in TAXSIM35
157
+ ma_taxpayer_refund_rebate: 0
154
158
  households:
155
159
  household:
156
160
  members: [person1]
@@ -198,6 +202,7 @@
198
202
  members: [person1, person2, person3]
199
203
  tax_unit_childcare_expenses: 10_000
200
204
  aca_ptc: 0 # not in TAXSIM35
205
+ ma_taxpayer_refund_rebate: 0
201
206
  households:
202
207
  household:
203
208
  members: [person1, person2, person3]
@@ -262,6 +267,7 @@
262
267
  members: [person1, person2, person3]
263
268
  tax_unit_childcare_expenses: 10_000
264
269
  aca_ptc: 0 # not in TAXSIM35
270
+ ma_taxpayer_refund_rebate: 0
265
271
  households:
266
272
  household:
267
273
  members: [person1, person2, person3]
@@ -0,0 +1,26 @@
1
+ - name: Ineligible
2
+ period: 2021
3
+ input:
4
+ me_relief_rebate_eligible: false
5
+ head_spouse_count: 2
6
+ state_code: ME
7
+ output:
8
+ me_relief_rebate: 0
9
+
10
+ - name: Ineligible, head and spouse
11
+ period: 2021
12
+ input:
13
+ me_relief_rebate_eligible: true
14
+ head_spouse_count: 2
15
+ state_code: ME
16
+ output:
17
+ me_relief_rebate: 1_700
18
+
19
+ - name: Ineligible, head only
20
+ period: 2021
21
+ input:
22
+ me_relief_rebate_eligible: true
23
+ head_spouse_count: 1
24
+ state_code: ME
25
+ output:
26
+ me_relief_rebate: 850
@@ -0,0 +1,35 @@
1
+ - name: Single, income below threshold
2
+ period: 2021
3
+ input:
4
+ adjusted_gross_income: 99_999
5
+ filing_status: SINGLE
6
+ state_code: ME
7
+ output:
8
+ me_relief_rebate_eligible: true
9
+
10
+ - name: Single, income above threshold
11
+ period: 2021
12
+ input:
13
+ adjusted_gross_income: 100_000
14
+ filing_status: SINGLE
15
+ state_code: ME
16
+ output:
17
+ me_relief_rebate_eligible: false
18
+
19
+ - name: Joint, income below threshold
20
+ period: 2021
21
+ input:
22
+ adjusted_gross_income: 199_999
23
+ filing_status: JOINT
24
+ state_code: ME
25
+ output:
26
+ me_relief_rebate_eligible: true
27
+
28
+ - name: Joint, income above threshold
29
+ period: 2021
30
+ input:
31
+ adjusted_gross_income: 200_000
32
+ filing_status: JOINT
33
+ state_code: ME
34
+ output:
35
+ me_relief_rebate_eligible: false
@@ -0,0 +1,26 @@
1
+ - name: 18 year olds are not eligible
2
+ period: 2024
3
+ input:
4
+ age: 18
5
+ meets_eitc_identification_requirements: true
6
+ state_code: MN
7
+ output:
8
+ mn_child_and_working_families_credits_ctc_eligible_child: false
9
+
10
+ - name: 17 year olds are eligible
11
+ period: 2024
12
+ input:
13
+ age: 17
14
+ meets_eitc_identification_requirements: true
15
+ state_code: MN
16
+ output:
17
+ mn_child_and_working_families_credits_ctc_eligible_child: true
18
+
19
+ - name: Child does not meet EITC identification requirements
20
+ period: 2024
21
+ input:
22
+ age: 17
23
+ meets_eitc_identification_requirements: false
24
+ state_code: MN
25
+ output:
26
+ mn_child_and_working_families_credits_ctc_eligible_child: false
@@ -66,3 +66,58 @@
66
66
  output: # expected results from patched TAXSIM35 2023-04-10 version
67
67
  mn_marriage_credit: 69.73
68
68
  mn_income_tax: 12_955.17
69
+
70
+ - name: 0-MN.yaml
71
+ absolute_error_margin: 2
72
+ period: 2024
73
+ input:
74
+ people:
75
+ person1:
76
+ age: 40
77
+ employment_income: 30000.0
78
+ ssi: 0
79
+ wic: 0
80
+ head_start: 0
81
+ early_head_start: 0
82
+ commodity_supplemental_food_program: 0
83
+ deductible_mortgage_interest: 13333.333
84
+ is_tax_unit_head: true
85
+ person2:
86
+ age: 40
87
+ employment_income: 0.0
88
+ ssi: 0
89
+ wic: 0
90
+ head_start: 0
91
+ early_head_start: 0
92
+ commodity_supplemental_food_program: 0
93
+ is_tax_unit_spouse: true
94
+ person3:
95
+ age: 17
96
+ employment_income: 0
97
+ ssi: 0
98
+ wic: 0
99
+ head_start: 0
100
+ early_head_start: 0
101
+ commodity_supplemental_food_program: 0
102
+ is_tax_unit_dependent: true
103
+ is_tax_unit_head: false
104
+ is_tax_unit_spouse: false
105
+ tax_units:
106
+ tax_unit:
107
+ members: [person1, person2, person3]
108
+ premium_tax_credit: 0
109
+ local_income_tax: 0
110
+ state_sales_tax: 0
111
+ spm_units:
112
+ spm_unit:
113
+ members: [person1, person2, person3]
114
+ snap: 0
115
+ tanf: 0
116
+ free_school_meals: 0
117
+ reduced_price_school_meals: 0
118
+ households:
119
+ household:
120
+ members: [person1, person2, person3]
121
+ state_fips: 27
122
+ output:
123
+ mn_income_tax: -2_119
@@ -102,6 +102,7 @@
102
102
  tax_unit:
103
103
  members: [person1, person2]
104
104
  aca_ptc: 0 # not in TAXSIM35
105
+ mt_income_tax_rebate: 0
105
106
  spm_units:
106
107
  spm_unit:
107
108
  members: [person1, person2]
@@ -139,6 +140,7 @@
139
140
  tax_unit:
140
141
  members: [person1, person2, person3, person4, person5, person6]
141
142
  local_income_tax: 0 # not in TAXSIM35
143
+ mt_income_tax_rebate: 0
142
144
  spm_units:
143
145
  spm_unit:
144
146
  members: [person1, person2, person3, person4, person5, person6]
@@ -176,6 +178,7 @@
176
178
  tax_unit:
177
179
  members: [person1, person2, person3, person4, person5, person6]
178
180
  aca_ptc: 0 # not in TAXSIM35
181
+ mt_income_tax_rebate: 0
179
182
  spm_units:
180
183
  spm_unit:
181
184
  members: [person1, person2, person3, person4, person5, person6]
@@ -52,3 +52,50 @@
52
52
  state_fips: 44
53
53
  output:
54
54
  ri_income_tax: 7_337
55
+
56
+ - name: Tax unit with taxsimid 41198 in h21.its.csv and h21.ots.csv
57
+ absolute_error_margin: 0.01
58
+ period: 2021
59
+ input:
60
+ people:
61
+ person1:
62
+ age: 66
63
+ employment_income: 27_010
64
+ taxable_interest_income: 11_010
65
+ short_term_capital_gains: 10_010
66
+ rental_income: 10_010
67
+ taxable_private_pension_income: 12_000
68
+ social_security_retirement: 22_000
69
+ rent: 5_000
70
+ ssi: 0 # not in TAXSIM35
71
+ ma_state_supplement: 0 # not in TAXSIM35
72
+ wic: 0 # not in TAXSIM35
73
+ person2:
74
+ age: 11
75
+ ssi: 0 # not in TAXSIM35
76
+ ma_state_supplement: 0 # not in TAXSIM35
77
+ wic: 0 # not in TAXSIM35
78
+ person3:
79
+ age: 16
80
+ ssi: 0 # not in TAXSIM35
81
+ ma_state_supplement: 0 # not in TAXSIM35
82
+ wic: 0 # not in TAXSIM35
83
+ tax_units:
84
+ tax_unit:
85
+ members: [person1, person2, person3]
86
+ tax_unit_childcare_expenses: 6_000
87
+ aca_ptc: 0 # not in TAXSIM35
88
+ local_income_tax: 0 # not in TAXSIM35
89
+ state_sales_tax: 0 # not in TAXSIM35
90
+ ri_child_tax_rebate: 0
91
+ spm_units:
92
+ spm_unit:
93
+ members: [person1, person2, person3]
94
+ snap: 0 # not in TAXSIM35
95
+ tanf: 0 # not in TAXSIM35
96
+ households:
97
+ household:
98
+ members: [person1, person2, person3]
99
+ state_fips: 44 # RI
100
+ output: # expected results from patched TAXSIM35 2024-01-30 version
101
+ ri_income_tax: 890.25
@@ -0,0 +1,76 @@
1
+ - name: Basic rebate calculation with tax liability
2
+ period: 2021
3
+ input:
4
+ sc_income_tax_before_non_refundable_credits: 1_200
5
+ state_code: SC
6
+ output:
7
+ sc_2022_rebate: 800
8
+
9
+ - name: Rebate limited by remaining tax liability
10
+ period: 2021
11
+ input:
12
+ sc_income_tax_before_non_refundable_credits: 500
13
+ state_code: SC
14
+ output:
15
+ sc_2022_rebate: 500
16
+
17
+ - name: No rebate when tax liability is zero
18
+ period: 2021
19
+ input:
20
+ sc_income_tax_before_non_refundable_credits: 0
21
+ state_code: SC
22
+ output:
23
+ sc_2022_rebate: 0
24
+
25
+ - name: Rebate reduced by other non-refundable credits
26
+ period: 2021
27
+ input:
28
+ sc_income_tax_before_non_refundable_credits: 1_000
29
+ sc_cdcc: 300
30
+ state_code: SC
31
+ output:
32
+ sc_2022_rebate: 700
33
+
34
+ - name: No rebate when other credits exceed tax liability
35
+ period: 2021
36
+ input:
37
+ sc_income_tax_before_non_refundable_credits: 500
38
+ sc_cdcc: 600
39
+ state_code: SC
40
+ output:
41
+ sc_2022_rebate: 0
42
+
43
+ - name: Rebate reduced by refundable credits
44
+ period: 2021
45
+ input:
46
+ sc_income_tax_before_non_refundable_credits: 1_000
47
+ sc_tuition_credit: 400
48
+ state_code: SC
49
+ output:
50
+ sc_2022_rebate: 600
51
+
52
+ - name: Partial rebate with combined credits
53
+ period: 2021
54
+ input:
55
+ sc_income_tax_before_non_refundable_credits: 1_500
56
+ sc_cdcc: 200
57
+ sc_tuition_credit: 100
58
+ state_code: SC
59
+ output:
60
+ sc_2022_rebate: 800
61
+
62
+ - name: Small tax liability yields small rebate
63
+ period: 2021
64
+ input:
65
+ sc_income_tax_before_non_refundable_credits: 100
66
+ state_code: SC
67
+ output:
68
+ sc_2022_rebate: 100
69
+
70
+ - name: High tax liability yields maximum rebate
71
+ period: 2021
72
+ input:
73
+ sc_income_tax_before_non_refundable_credits: 2_000
74
+ state_code: SC
75
+ output:
76
+ sc_2022_rebate: 800
@@ -66,6 +66,7 @@
66
66
  tax_unit:
67
67
  members: [person1, person2, person3]
68
68
  tax_unit_childcare_expenses: 10_000
69
+ va_rebate: 0
69
70
  spm_units:
70
71
  spm_unit:
71
72
  members: [person1, person2, person3]
@@ -124,6 +125,7 @@
124
125
  members: [person1, person2, person3, person4]
125
126
  tax_unit_itemizes: True
126
127
  state_income_tax: 20045.91
128
+ va_rebate: 0
127
129
  spm_units:
128
130
  spm_unit:
129
131
  members: [person1, person2, person3, person4]