policyengine-us 1.400.0__py3-none-any.whl → 1.400.2__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 (55) hide show
  1. policyengine_us/parameters/gov/states/household/state_itemized_deductions.yaml +6 -6
  2. policyengine_us/parameters/gov/states/household/state_standard_deductions.yaml +6 -6
  3. policyengine_us/parameters/gov/states/la/tax/income/deductions/itemized/relevant_federal_deductions.yaml +1 -1
  4. policyengine_us/parameters/gov/states/mn/tax/income/credits/cdcc/reduced_base_amount.yaml +28 -0
  5. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/income_limit/nonstudent.yaml +1 -1
  6. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/income_limit/student.yaml +1 -1
  7. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/personal.yaml +1 -1
  8. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/veteran.yaml +1 -1
  9. policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.yaml +109 -0
  10. policyengine_us/tests/policy/baseline/gov/states/la/tax/income/deductions/la_itemized_deductions.yaml +4 -2
  11. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/taxable_income/deductions/me_deductions.yaml +15 -10
  12. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/taxable_income/deductions/me_itemized_deductions_pre_phaseout.yaml +4 -1
  13. policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/{mn_cdcc.yaml → credits/cdcc/mn_cdcc.yaml} +66 -0
  14. policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_dependent_count.yaml +51 -0
  15. policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_eligible.yaml +24 -0
  16. policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_phase_out.yaml +44 -0
  17. policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_federal_income_tax_deduction_for_federal_itemization.yaml +57 -0
  18. policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_federal_income_tax_deduction_for_federal_itemization_indiv.yaml +39 -0
  19. policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.yaml +76 -0
  20. policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_joint.yaml +76 -0
  21. policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/deductions/nm_itemized_deductions.yaml +47 -0
  22. policyengine_us/tests/policy/baseline/gov/states/tax/income/state_itemized_deductions.yaml +180 -0
  23. policyengine_us/tests/policy/baseline/gov/states/tax/income/state_standard_deduction.yaml +178 -0
  24. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit_eligible.yaml +1 -1
  25. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_dependents_exemption.yaml +1 -1
  26. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_eligible_dependent_for_exemption.yaml +1 -1
  27. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_exemptions_is_eligible_student.yaml +1 -1
  28. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/pr_personal_exemption.yaml +1 -1
  29. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/pr_veteran_exemption.yaml +1 -1
  30. policyengine_us/tests/policy/baseline/gov/territories/pr/tax_unit_dependent/integration.yaml +1 -1
  31. policyengine_us/tests/policy/baseline/gov/territories/pr/tax_unit_dependent/pr_is_tax_unit_dependent.yaml +1 -1
  32. policyengine_us/variables/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.py +21 -2
  33. policyengine_us/variables/gov/states/ia/tax/income/including_married_filing_separately/deductions/ia_standard_deduction_indiv.py +0 -2
  34. policyengine_us/variables/gov/states/la/tax/income/deductions/la_standard_deduction.py +4 -2
  35. policyengine_us/variables/gov/states/me/tax/income/taxable_income/deductions/me_itemized_deductions_pre_phaseout.py +1 -3
  36. policyengine_us/variables/gov/states/me/tax/income/taxable_income/me_deductions.py +5 -2
  37. policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc.py +47 -0
  38. policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_dependent_count.py +27 -0
  39. policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_eligible.py +23 -0
  40. policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_phase_out.py +25 -0
  41. policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/README.md +1 -0
  42. policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_federal_income_tax_deduction_for_federal_itemization.py +26 -0
  43. policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_federal_income_tax_deduction_for_federal_itemization_indiv.py +34 -0
  44. policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py +41 -0
  45. policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_joint.py +37 -0
  46. policyengine_us/variables/gov/states/nm/tax/income/deductions/nm_deductions.py +1 -1
  47. policyengine_us/variables/gov/states/nm/tax/income/deductions/nm_itemized_deductions.py +13 -0
  48. policyengine_us/variables/gov/states/tax/income/state_itemized_deductions.py +64 -0
  49. policyengine_us/variables/gov/states/tax/income/state_standard_deduction.py +68 -1
  50. {policyengine_us-1.400.0.dist-info → policyengine_us-1.400.2.dist-info}/METADATA +1 -1
  51. {policyengine_us-1.400.0.dist-info → policyengine_us-1.400.2.dist-info}/RECORD +54 -33
  52. policyengine_us/variables/gov/states/mn/tax/income/credits/mn_cdcc.py +0 -49
  53. {policyengine_us-1.400.0.dist-info → policyengine_us-1.400.2.dist-info}/WHEEL +0 -0
  54. {policyengine_us-1.400.0.dist-info → policyengine_us-1.400.2.dist-info}/entry_points.txt +0 -0
  55. {policyengine_us-1.400.0.dist-info → policyengine_us-1.400.2.dist-info}/licenses/LICENSE +0 -0
@@ -7,27 +7,27 @@ values:
7
7
  - ca_itemized_deductions # California
8
8
  # Connecticut adopts federal itemized deductions
9
9
  - dc_itemized_deductions # DC
10
- - de_itemized_deductions # Delaware
10
+ - de_itemized_deductions_unit # Delaware
11
11
  # Georgia adopts federal itemized deductions
12
12
  - hi_itemized_deductions # Hawaii
13
- - ia_itemized_deductions # Iowa
13
+ # Iowa allows for a married filing separately structure which requires two separate itemized deductions.
14
14
  - id_itemized_deductions # Idaho
15
15
  # Illinois doesn't have deductions.
16
16
  - ks_itemized_deductions # Kansas
17
- - ky_itemized_deductions # Kentucky
17
+ - ky_itemized_deductions_unit # Kentucky
18
18
  - la_itemized_deductions # Louisiana
19
19
  # Massachusetts doesn't have deductions in a standard form.
20
20
  - md_itemized_deductions # Maryland
21
21
  - me_itemized_deductions_pre_phaseout # Maine phases out deductions after choosing itemization.
22
22
  - mn_itemized_deductions # Minnesota
23
23
  - mo_itemized_deductions # Missouri
24
- - ms_itemized_deductions # Mississippi
25
- - mt_itemized_deductions # Montana
24
+ - ms_itemized_deductions_unit # Mississippi
25
+ # Montana allows for a married filing separately structure which requires two separate itemized deductions.
26
26
  - nc_itemized_deductions # North Carolina
27
27
  # North Dakota adopts federal deductions.
28
28
  - ne_itemized_deductions # Nebraska
29
29
  # New Jersey doesn't have a conventional itemized deduction system.
30
- # New Mexico adopts federal itemized deductions with a separate salt addback structure.
30
+ - nm_itemized_deductions # New Mexico adopts federal itemized deductions
31
31
  - ny_itemized_deductions # New York
32
32
  # Ohio doesn't have a conventional itemized deduction system.
33
33
  - ok_itemized_deductions # Oklahoma
@@ -2,20 +2,20 @@ description: All state standard deduction variables.
2
2
  values:
3
3
  0000-01-01:
4
4
  - al_standard_deduction # Alabama
5
- - ar_standard_deduction # Arkansas
5
+ # Arkansas allows for a married filing separately structure which requires two separate standard deductions.
6
6
  - az_standard_deduction # Arizona
7
7
  - ca_standard_deduction # California
8
8
  # Connecticut adopts federal standard deduction
9
9
  - dc_standard_deduction # DC
10
- - de_standard_deduction # Delaware
10
+ # Delaware allows for a married filing separately structure which requires two separate standard deductions.
11
11
  - ga_standard_deduction # Georgia
12
12
  - hi_standard_deduction # Hawaii
13
- - ia_standard_deduction # Iowa
13
+ # Iowa allows for a married filing separately structure which requires two separate standard deductions.
14
14
  # Idaho adopts federal standard deduction.
15
15
  # Illinois doesn't have a standard deduction.
16
16
  # Indiana doesn't have deductions (taxes AGI directly).
17
17
  - ks_standard_deduction # Kansas
18
- - ky_standard_deduction # Kentucky
18
+ # Kentucky allows for a married filing separately structure which requires two separate standard deductions.
19
19
  - la_standard_deduction # Louisiana
20
20
  # Massachusetts doesn't have deductions in a standard form.
21
21
  - md_standard_deduction # Maryland
@@ -23,8 +23,8 @@ values:
23
23
  - mi_standard_deduction # Michigan
24
24
  - mn_standard_deduction # Minnesota
25
25
  # Missouri adopts federal standard deduction
26
- - ms_standard_deduction # Mississippi
27
- - mt_standard_deduction # Montana
26
+ # Mississippi allows for a married filing separately structure which requires two separate standard deductions.
27
+ # Montana allows for a married filing separately structure which requires two separate standard deductions.
28
28
  - nc_standard_deduction # North Carolina
29
29
  # North Dakota adopts federal deductions.
30
30
  - ne_standard_deduction # Nebraska
@@ -1,7 +1,7 @@
1
1
  description: Louisiana subtracts from adjusted gross income the excess of these relevant federal deductions over the standard deduction, based on year.
2
2
  values:
3
3
  2021-01-01:
4
- - taxable_income_deductions_if_itemizing
4
+ - itemized_taxable_income_deductions
5
5
  2022-01-01:
6
6
  - medical_expense_deduction
7
7
 
@@ -0,0 +1,28 @@
1
+ description: Minnesota provides this reduced dependent care credit amount, based on the number of qualifying children.
2
+ metadata:
3
+ period: year
4
+ type: single_amount
5
+ threshold_unit: child
6
+ amount_unit: /1
7
+ label: Minnesota CDCC reduced base amount
8
+ reference:
9
+ - title: 2021 Schedule M1CD, Child and Dependent Care Credit, Line 6
10
+ href: https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf#page=6
11
+ - title: 2022 Schedule M1CD, Child and Dependent Care Credit, Line 6
12
+ href: https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf#page=6
13
+ - title: 2023 Schedule M1CD, Child and Dependent Care Credit, Line 6
14
+ href: https://www.revenue.state.mn.us/sites/default/files/2023-12/m1cd-23.pdf#page=6
15
+ - title: 2024 Schedule M1CD, Child and Dependent Care Credit, Line 6
16
+ href: https://www.revenue.state.mn.us/sites/default/files/2024-12/m1cd-24.pdf#page=6
17
+ - title: Minnesota Statutes 290.067 DEPENDENT CARE CREDIT. Subd. 1.Amount of credit. (h)
18
+ href: https://www.revisor.mn.gov/statutes/cite/290.067#stat.290.067.1
19
+
20
+ brackets:
21
+ - threshold:
22
+ 2021-01-01: 0
23
+ amount:
24
+ 2021-01-01: 600
25
+ - threshold:
26
+ 2021-01-01: 2
27
+ amount:
28
+ 2021-01-01: 1_200
@@ -9,4 +9,4 @@ metadata:
9
9
  - title: Gov. of Puerto Rico Individual Income Tax Return Instructions 2023
10
10
  href: https://hacienda.pr.gov/sites/default/files/inst_individuals_2023.pdf#page=28
11
11
  - title: P.R. Laws tit. 13, § 30138 (b)(1)(i)
12
- href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
12
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
@@ -9,4 +9,4 @@ metadata:
9
9
  - title: Gov. of Puerto Rico Individual Income Tax Return Instructions 2023
10
10
  href: https://hacienda.pr.gov/sites/default/files/inst_individuals_2023.pdf#page=28
11
11
  - title: P.R. Laws tit. 13, § 30138 (b)(1)(ii)
12
- href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
12
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
@@ -20,4 +20,4 @@ metadata:
20
20
  - title: Gov. of Puerto Rico Form 482.0 2024
21
21
  href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=2
22
22
  - title: P.R. Laws tit. 13, § 30138 (a)
23
- href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
23
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
@@ -9,4 +9,4 @@ metadata:
9
9
  - title: Gov. of Puerto Rico Form 482.0 2024
10
10
  href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=2
11
11
  - title: P.R. Laws tit. 13, § 30138 (a)(2)
12
- href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
12
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
@@ -0,0 +1,109 @@
1
+ - name: When branching, itemization is based on tax liability
2
+ period: 2024
3
+ input:
4
+ gov.simulation.branch_to_determine_itemization: true
5
+ state_itemized_deductions: 14_000
6
+ state_standard_deduction: 11_000
7
+ tax_liability_if_itemizing: 10_000
8
+ tax_liability_if_not_itemizing: 1_000
9
+ output:
10
+ tax_unit_itemizes: False
11
+
12
+ - name: When branching, itemization is based on tax liability, unit does not itemize
13
+ period: 2024
14
+ input:
15
+ gov.simulation.branch_to_determine_itemization: true
16
+ state_itemized_deductions: 14_000
17
+ state_standard_deduction: 11_000
18
+ tax_liability_if_itemizing: 10_000
19
+ tax_liability_if_not_itemizing: 11_000
20
+ output:
21
+ tax_unit_itemizes: True
22
+
23
+ - name: When tax liability is equal, itemization is based on state deductions
24
+ period: 2024
25
+ input:
26
+ gov.simulation.branch_to_determine_itemization: true
27
+ state_itemized_deductions: 14_000
28
+ state_standard_deduction: 11_000
29
+ tax_liability_if_itemizing: 10_000
30
+ tax_liability_if_not_itemizing: 10_000
31
+ output:
32
+ tax_unit_itemizes: True
33
+
34
+ - name: When tax liability is equal, itemization is based on state deductions, unit itemizes
35
+ period: 2024
36
+ input:
37
+ gov.simulation.branch_to_determine_itemization: true
38
+ state_itemized_deductions: 14_000
39
+ state_standard_deduction: 16_000
40
+ tax_liability_if_itemizing: 10_000
41
+ tax_liability_if_not_itemizing: 10_000
42
+ output:
43
+ tax_unit_itemizes: False
44
+
45
+ - name: Without branching, itemization is based on deduction amount
46
+ period: 2024
47
+ input:
48
+ gov.simulation.branch_to_determine_itemization: false
49
+ state_itemized_deductions: 20_000
50
+ state_standard_deduction: 16_000
51
+ tax_liability_if_itemizing: 10_000
52
+ tax_liability_if_not_itemizing: 9_000
53
+ standard_deduction: 16_000
54
+ itemized_taxable_income_deductions: 13_000
55
+ output:
56
+ tax_unit_itemizes: False
57
+
58
+ - name: Integration test which fails without tolerance in the itemization choice
59
+ period: 2024
60
+ absolute_error_margin: 0.1
61
+ input:
62
+ people:
63
+ person1:
64
+ age: 47
65
+ employment_income: 0.0
66
+ taxable_interest_income: 31428.572
67
+ is_tax_unit_head: true
68
+ person2:
69
+ age: 4
70
+ employment_income: 0
71
+ is_tax_unit_dependent: true
72
+ is_tax_unit_head: false
73
+ is_tax_unit_spouse: false
74
+ person3:
75
+ age: 11
76
+ employment_income: 0
77
+ is_tax_unit_dependent: true
78
+ is_tax_unit_head: false
79
+ is_tax_unit_spouse: false
80
+ person4:
81
+ age: 19
82
+ employment_income: 0
83
+ is_tax_unit_dependent: true
84
+ is_tax_unit_head: false
85
+ is_tax_unit_spouse: false
86
+ tax_units:
87
+ tax_unit:
88
+ members: [person1, person2, person3, person4]
89
+ premium_tax_credit: 0
90
+ local_income_tax: 0
91
+ state_sales_tax: 0
92
+ spm_units:
93
+ spm_unit:
94
+ members: [person1, person2, person3, person4]
95
+ snap: 0
96
+ tanf: 0
97
+ households:
98
+ household:
99
+ members: [person1, person2, person3, person4]
100
+ state_fips: 45
101
+ output:
102
+ tax_liability_if_itemizing: 0
103
+ tax_liability_if_not_itemizing: 0
104
+ itemized_taxable_income_deductions: 401
105
+ standard_deduction: 21_900
106
+ state_itemized_deductions: 401
107
+ state_standard_deduction: 21_900
108
+ tax_unit_itemizes: False
109
+ sc_income_tax: 0
@@ -33,11 +33,13 @@
33
33
  state_code: LA
34
34
  standard_deduction: 12_550
35
35
  medical_expense_deduction: 20_000
36
- taxable_income_deductions_if_itemizing: 30_000
36
+ itemized_taxable_income_deductions: 30_000
37
+ qualified_business_income_deduction: 1_000
37
38
  tax_unit_itemizes: true
38
39
  output:
39
40
  la_itemized_deductions: 17_450
40
41
  #30_000-12_550
42
+ # QBID does not affect the state itemized deductions
41
43
 
42
44
  - name: 2021 Louisiana deduction given Single status, with federal itemized deductions 10_000
43
45
  period: 2021
@@ -45,7 +47,7 @@
45
47
  state_code: LA
46
48
  standard_deduction: 12_550
47
49
  medical_expense_deduction: 20_000
48
- taxable_income_deductions_if_itemizing: 10_000
50
+ itemized_taxable_income_deductions: 10_000
49
51
  tax_unit_itemizes: true
50
52
  output:
51
53
  la_itemized_deductions: 0
@@ -9,24 +9,29 @@
9
9
  output:
10
10
  me_deductions: 0
11
11
 
12
- - name: Maine deduction is itemized deductions minus phaseout.
12
+ - name: Maine deduction is standard deduction minus phaseout.
13
13
  period: 2022
14
14
  absolute_error_margin: 0
15
15
  input:
16
16
  state_code: ME
17
- me_deduction_phaseout_percentage: 0.40
18
- standard_deduction: 20_000
19
- me_itemized_deductions_pre_phaseout: 25_000
17
+ me_deduction_phaseout_percentage: 0.90
18
+ standard_deduction: 25_000
19
+ me_itemized_deductions_pre_phaseout: 20_000
20
20
  output:
21
- me_deductions: 15_000
21
+ me_deductions: 2_500
22
22
 
23
- - name: Maine deduction is standard deduction minus phaseout.
23
+ - name: Maine deduction is itemized deductions minus phaseout.
24
24
  period: 2022
25
25
  absolute_error_margin: 0
26
26
  input:
27
+ gov.simulation.branch_to_determine_itemization: true
27
28
  state_code: ME
28
- me_deduction_phaseout_percentage: 0.90
29
- standard_deduction: 25_000
30
- me_itemized_deductions_pre_phaseout: 20_000
29
+ me_deduction_phaseout_percentage: 0.40
30
+ standard_deduction: 10_000
31
+ me_itemized_deductions_pre_phaseout: 15_000
31
32
  output:
32
- me_deductions: 2_500
33
+ tax_liability_if_itemizing: 0
34
+ tax_liability_if_not_itemizing: 0
35
+ state_standard_deduction: 10_000
36
+ state_itemized_deductions: 15_000
37
+ me_deductions: 9_000
@@ -53,12 +53,15 @@
53
53
  tax_unit_itemizes: false
54
54
  medical_expense_deduction: 500
55
55
  charitable_deduction: 10_000
56
+ standard_deduction: 5_000
56
57
  households:
57
58
  household:
58
59
  members: [person1]
59
60
  state_code: ME
60
61
  output:
61
- me_itemized_deductions_pre_phaseout: 0
62
+ me_itemized_deductions_pre_phaseout: 11_500
63
+ me_deductions: 5_000
64
+
62
65
 
63
66
  - name: Maine itemized deduction is capped.
64
67
  period: 2022
@@ -174,3 +174,69 @@
174
174
  state_code: MN
175
175
  output:
176
176
  mn_cdcc: 660.5
177
+
178
+ - name: taxsim_record_1_2024.yaml
179
+ absolute_error_margin: 2
180
+ period: 2024
181
+ input:
182
+ people:
183
+ person1:
184
+ age: 40
185
+ employment_income: 60000.0
186
+ ssi: 0
187
+ wic: 0
188
+ head_start: 0
189
+ early_head_start: 0
190
+ commodity_supplemental_food_program: 0
191
+ is_tax_unit_head: true
192
+ person2:
193
+ age: 40
194
+ employment_income: 10000.0
195
+ ssi: 0
196
+ wic: 0
197
+ head_start: 0
198
+ early_head_start: 0
199
+ commodity_supplemental_food_program: 0
200
+ is_tax_unit_spouse: true
201
+ person3:
202
+ age: 4
203
+ employment_income: 0
204
+ ssi: 0
205
+ wic: 0
206
+ head_start: 0
207
+ early_head_start: 0
208
+ commodity_supplemental_food_program: 0
209
+ is_tax_unit_dependent: true
210
+ is_tax_unit_head: false
211
+ is_tax_unit_spouse: false
212
+ person4:
213
+ age: 4
214
+ employment_income: 0
215
+ ssi: 0
216
+ wic: 0
217
+ head_start: 0
218
+ early_head_start: 0
219
+ commodity_supplemental_food_program: 0
220
+ is_tax_unit_dependent: true
221
+ is_tax_unit_head: false
222
+ is_tax_unit_spouse: false
223
+ tax_units:
224
+ tax_unit:
225
+ members: [person1, person2, person3, person4]
226
+ premium_tax_credit: 0
227
+ local_income_tax: 0
228
+ state_sales_tax: 0
229
+ tax_unit_childcare_expenses: 4000
230
+ spm_units:
231
+ spm_unit:
232
+ members: [person1, person2, person3, person4]
233
+ snap: 0
234
+ tanf: 0
235
+ free_school_meals: 0
236
+ reduced_price_school_meals: 0
237
+ households:
238
+ household:
239
+ members: [person1, person2, person3, person4]
240
+ state_fips: 27
241
+ output:
242
+ mn_cdcc: 800
@@ -0,0 +1,51 @@
1
+ - name: One person qualifies by age, one by disability
2
+ absolute_error_margin: 0.01
3
+ period: 2021
4
+ input:
5
+ people:
6
+ person1:
7
+ is_tax_unit_head: true
8
+ age: 40
9
+ person2:
10
+ age: 10
11
+ person3:
12
+ age: 16
13
+ is_incapable_of_self_care: true
14
+ spm_units:
15
+ spm_unit:
16
+ members: [person1, person2, person3]
17
+ tax_units:
18
+ tax_unit:
19
+ members: [person1, person2, person3]
20
+ households:
21
+ household:
22
+ members: [person1, person2, person3]
23
+ state_code: MN
24
+ output:
25
+ mn_cdcc_dependent_count: 2
26
+
27
+ - name: No eligible dependents
28
+ absolute_error_margin: 0.01
29
+ period: 2021
30
+ input:
31
+ people:
32
+ person1:
33
+ is_tax_unit_head: true
34
+ age: 40
35
+ is_incapable_of_self_care: true
36
+ person2:
37
+ age: 17
38
+ person3:
39
+ age: 16
40
+ spm_units:
41
+ spm_unit:
42
+ members: [person1, person2, person3]
43
+ tax_units:
44
+ tax_unit:
45
+ members: [person1, person2, person3]
46
+ households:
47
+ household:
48
+ members: [person1, person2, person3]
49
+ state_code: MN
50
+ output:
51
+ mn_cdcc_dependent_count: 0
@@ -0,0 +1,24 @@
1
+ - name: Separate filers are ineligible in 2021
2
+ period: 2021
3
+ input:
4
+ filing_status: SEPARATE
5
+ state_code: MN
6
+ output:
7
+ mn_cdcc_eligible: False
8
+
9
+ - name: Separate joint filers are eligible in 2021
10
+ period: 2021
11
+ input:
12
+ filing_status: JOINT
13
+ state_code: MN
14
+ output:
15
+ mn_cdcc_eligible: True
16
+
17
+ - name: Separate filers are eligible in 2024`
18
+ period: 2024
19
+ input:
20
+ filing_status: SEPARATE
21
+ state_code: MN
22
+ output:
23
+ mn_cdcc_eligible: True
24
+
@@ -0,0 +1,44 @@
1
+ - name: Income below phaseout threshold
2
+ period: 2024
3
+ input:
4
+ mn_cdcc_dependent_count: 3
5
+ adjusted_gross_income: 50_000
6
+ state_code: MN
7
+ output:
8
+ mn_cdcc_phase_out: 1_200
9
+
10
+ - name: Income above phaseout threshold, 3 dependents
11
+ period: 2024
12
+ input:
13
+ mn_cdcc_dependent_count: 3
14
+ adjusted_gross_income: 80_000
15
+ state_code: MN
16
+ output:
17
+ mn_cdcc_phase_out: 320.5
18
+
19
+ - name: Income above phaseout threshold, no dependents
20
+ period: 2024
21
+ input:
22
+ mn_cdcc_dependent_count: 0
23
+ adjusted_gross_income: 80_000
24
+ state_code: MN
25
+ output:
26
+ mn_cdcc_phase_out: 0
27
+
28
+ - name: Income above phaseout threshold, 3 dependents, fully phased out
29
+ period: 2024
30
+ input:
31
+ mn_cdcc_dependent_count: 3
32
+ adjusted_gross_income: 300_000
33
+ state_code: MN
34
+ output:
35
+ mn_cdcc_phase_out: 0
36
+
37
+ - name: Income below phaseout threshold, one dependent
38
+ period: 2024
39
+ input:
40
+ mn_cdcc_dependent_count: 1
41
+ adjusted_gross_income: 50_000
42
+ state_code: MN
43
+ output:
44
+ mn_cdcc_phase_out: 600
@@ -0,0 +1,57 @@
1
+ - name: Test case filing separate with income tax over limit
2
+ period: 2021
3
+ input:
4
+ filing_status: SEPARATE
5
+ mt_withheld_income_tax: 6_000 # >5,000
6
+ state_code: MT
7
+ output:
8
+ mt_federal_income_tax_deduction_for_federal_itemization: 5_000
9
+
10
+ - name: Test case filing single with income tax below limit
11
+ period: 2021
12
+ input:
13
+ filing_status: SINGLE
14
+ mt_withheld_income_tax: 2_000 # <5,000
15
+ state_code: MT
16
+ output:
17
+ mt_federal_income_tax_deduction_for_federal_itemization: 2_000
18
+
19
+ - name: Test case filing joint with income tax below limit
20
+ period: 2021
21
+ input:
22
+ filing_status: JOINT
23
+ mt_withheld_income_tax: 7_000 #<10,000
24
+ state_code: MT
25
+ output:
26
+ mt_federal_income_tax_deduction_for_federal_itemization: 7_000
27
+
28
+ - name: Test case filing joint with income tax below limit
29
+ period: 2021
30
+ input:
31
+ filing_status: JOINT
32
+ mt_withheld_income_tax: 7_000 #<10,000
33
+ state_code: MT
34
+ output:
35
+ mt_federal_income_tax_deduction_for_federal_itemization: 7_000
36
+
37
+ - name: Amount distributed to the head
38
+ period: 2021
39
+ absolute_error_margin: 1
40
+ input:
41
+ people:
42
+ person1:
43
+ is_tax_unit_head: true
44
+ mt_withheld_income_tax: 3_000
45
+ person2:
46
+ is_tax_unit_head: false
47
+ mt_withheld_income_tax: 4_000
48
+ tax_units:
49
+ tax_unit:
50
+ members: [person1, person2]
51
+ filing_status: JOINT
52
+ households:
53
+ household:
54
+ members: [person1, person2]
55
+ state_code: MT
56
+ output:
57
+ mt_federal_income_tax_deduction_for_federal_itemization: 7_000
@@ -0,0 +1,39 @@
1
+ - name: Deductions split evenly
2
+ period: 2021
3
+ input:
4
+ people:
5
+ person1:
6
+ mt_agi: 500
7
+ person2:
8
+ mt_agi: 500
9
+ tax_units:
10
+ tax_unit:
11
+ members: [person1, person2]
12
+ mt_federal_income_tax_deduction_for_federal_itemization: 3_000
13
+ state_filing_status_if_married_filing_separately_on_same_return: SEPARATE
14
+ households:
15
+ household:
16
+ members: [person1, person2]
17
+ state_code: MT
18
+ output:
19
+ mt_federal_income_tax_deduction_for_federal_itemization_indiv: [1_500, 1_500]
20
+
21
+ - name: Deductions capped at max amount individually
22
+ period: 2021
23
+ input:
24
+ people:
25
+ person1:
26
+ mt_agi: 100
27
+ person2:
28
+ mt_agi: 900
29
+ tax_units:
30
+ tax_unit:
31
+ members: [person1, person2]
32
+ mt_federal_income_tax_deduction_for_federal_itemization: 10_000
33
+ state_filing_status_if_married_filing_separately_on_same_return: SEPARATE
34
+ households:
35
+ household:
36
+ members: [person1, person2]
37
+ state_code: MT
38
+ output:
39
+ mt_federal_income_tax_deduction_for_federal_itemization_indiv: [1_000, 5_000]