Skip to content

Commit fc37a14

Browse files
Merge pull request #6815 from PolicyEngine/PavelMakarchuk/issue6814
Adjust the New Jersey CDCC to apply the actual federal CDCC instead of the potential
2 parents b29af43 + 8272414 commit fc37a14

File tree

4 files changed

+71
-10
lines changed

4 files changed

+71
-10
lines changed

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
fixed:
4+
- Adjust the New Jersey CDCC to apply the actual federal CDCC instead of the potential.

policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
input:
44
state_code: NJ
55
nj_taxable_income: 20_000
6-
cdcc_potential: 1_000
6+
cdcc: 1_000
77
output:
88
nj_cdcc: 500
99

@@ -12,7 +12,7 @@
1212
input:
1313
state_code: NJ
1414
nj_taxable_income: 40_000
15-
cdcc_potential: 1_000
15+
cdcc: 1_000
1616
output:
1717
nj_cdcc: 400
1818

@@ -21,7 +21,7 @@
2121
input:
2222
state_code: NJ
2323
nj_taxable_income: 40_000
24-
cdcc_potential: 2_000
24+
cdcc: 2_000
2525
output:
2626
nj_cdcc: 800
2727

@@ -30,7 +30,7 @@
3030
input:
3131
state_code: NJ
3232
nj_taxable_income: 70_000
33-
cdcc_potential: 1_000
33+
cdcc: 1_000
3434
output:
3535
nj_cdcc: 300
3636

@@ -39,7 +39,7 @@
3939
input:
4040
state_code: NJ
4141
nj_taxable_income: 80_000
42-
cdcc_potential: 1_500
42+
cdcc: 1_500
4343
output:
4444
nj_cdcc: 450
4545

@@ -48,7 +48,7 @@
4848
input:
4949
state_code: NJ
5050
nj_taxable_income: 100_000
51-
cdcc_potential: 1_000
51+
cdcc: 1_000
5252
output:
5353
nj_cdcc: 200
5454

@@ -57,7 +57,7 @@
5757
input:
5858
state_code: NJ
5959
nj_taxable_income: 130_000
60-
cdcc_potential: 1_000
60+
cdcc: 1_000
6161
output:
6262
nj_cdcc: 100
6363

@@ -66,6 +66,6 @@
6666
input:
6767
state_code: NJ
6868
nj_taxable_income: 160_000
69-
cdcc_potential: 1_000
69+
cdcc: 1_000
7070
output:
7171
nj_cdcc: 0
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
- name: 0-NJ.yaml
2+
absolute_error_margin: 2
3+
period: 2024
4+
input:
5+
people:
6+
person1:
7+
age: 40
8+
employment_income: 10000.0
9+
ssi: 0
10+
wic: 0
11+
head_start: 0
12+
early_head_start: 0
13+
commodity_supplemental_food_program: 0
14+
deductible_mortgage_interest: 13333.333
15+
qualified_dividend_income: 23910.8455
16+
is_tax_unit_head: true
17+
person2:
18+
age: 40
19+
employment_income: 10000.0
20+
ssi: 0
21+
wic: 0
22+
head_start: 0
23+
early_head_start: 0
24+
commodity_supplemental_food_program: 0
25+
qualified_dividend_income: 23910.8455
26+
is_tax_unit_spouse: true
27+
person3:
28+
age: 5
29+
employment_income: 0
30+
ssi: 0
31+
wic: 0
32+
head_start: 0
33+
early_head_start: 0
34+
commodity_supplemental_food_program: 0
35+
is_tax_unit_dependent: true
36+
is_tax_unit_head: false
37+
is_tax_unit_spouse: false
38+
tax_units:
39+
tax_unit:
40+
members: [person1, person2, person3]
41+
premium_tax_credit: 0
42+
local_income_tax: 0
43+
state_sales_tax: 0
44+
tax_unit_childcare_expenses: 6_000
45+
spm_units:
46+
spm_unit:
47+
members: [person1, person2, person3]
48+
snap: 0
49+
tanf: 0
50+
free_school_meals: 0
51+
reduced_price_school_meals: 0
52+
households:
53+
household:
54+
members: [person1, person2, person3]
55+
state_fips: 34
56+
output:
57+
nj_income_tax: 955

policyengine_us/variables/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def formula(tax_unit, period, parameters):
1919
taxable_income = tax_unit("nj_taxable_income", period)
2020

2121
# Get federal CDCC
22-
# New Jersey matches the potential federal credit
23-
federal_cdcc = tax_unit("cdcc_potential", period)
22+
# New Jersey matches the actual federal credit value
23+
federal_cdcc = tax_unit("cdcc", period)
2424

2525
# Calculate NJ CDCC
2626
rate = p.calc(taxable_income, right=True)

0 commit comments

Comments
 (0)