policyengine-us 1.437.0__py3-none-any.whl → 1.438.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.
- policyengine_us/parameters/gov/territories/pr/tax/income/credits/refundable.yaml +2 -0
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.yaml +8 -8
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integation.yaml +57 -0
- policyengine_us/variables/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.py +2 -2
- policyengine_us/variables/gov/territories/pr/tax/income/pr_income_tax.py +14 -0
- policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py +11 -0
- {policyengine_us-1.437.0.dist-info → policyengine_us-1.438.1.dist-info}/METADATA +1 -1
- {policyengine_us-1.437.0.dist-info → policyengine_us-1.438.1.dist-info}/RECORD +11 -8
- {policyengine_us-1.437.0.dist-info → policyengine_us-1.438.1.dist-info}/WHEEL +0 -0
- {policyengine_us-1.437.0.dist-info → policyengine_us-1.438.1.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.437.0.dist-info → policyengine_us-1.438.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
input:
|
|
4
4
|
state_code: NJ
|
|
5
5
|
nj_taxable_income: 20_000
|
|
6
|
-
|
|
6
|
+
cdcc: 1_000
|
|
7
7
|
output:
|
|
8
8
|
nj_cdcc: 500
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
input:
|
|
13
13
|
state_code: NJ
|
|
14
14
|
nj_taxable_income: 40_000
|
|
15
|
-
|
|
15
|
+
cdcc: 1_000
|
|
16
16
|
output:
|
|
17
17
|
nj_cdcc: 400
|
|
18
18
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
input:
|
|
22
22
|
state_code: NJ
|
|
23
23
|
nj_taxable_income: 40_000
|
|
24
|
-
|
|
24
|
+
cdcc: 2_000
|
|
25
25
|
output:
|
|
26
26
|
nj_cdcc: 800
|
|
27
27
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
input:
|
|
31
31
|
state_code: NJ
|
|
32
32
|
nj_taxable_income: 70_000
|
|
33
|
-
|
|
33
|
+
cdcc: 1_000
|
|
34
34
|
output:
|
|
35
35
|
nj_cdcc: 300
|
|
36
36
|
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
input:
|
|
40
40
|
state_code: NJ
|
|
41
41
|
nj_taxable_income: 80_000
|
|
42
|
-
|
|
42
|
+
cdcc: 1_500
|
|
43
43
|
output:
|
|
44
44
|
nj_cdcc: 450
|
|
45
45
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
input:
|
|
49
49
|
state_code: NJ
|
|
50
50
|
nj_taxable_income: 100_000
|
|
51
|
-
|
|
51
|
+
cdcc: 1_000
|
|
52
52
|
output:
|
|
53
53
|
nj_cdcc: 200
|
|
54
54
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
input:
|
|
58
58
|
state_code: NJ
|
|
59
59
|
nj_taxable_income: 130_000
|
|
60
|
-
|
|
60
|
+
cdcc: 1_000
|
|
61
61
|
output:
|
|
62
62
|
nj_cdcc: 100
|
|
63
63
|
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
input:
|
|
67
67
|
state_code: NJ
|
|
68
68
|
nj_taxable_income: 160_000
|
|
69
|
-
|
|
69
|
+
cdcc: 1_000
|
|
70
70
|
output:
|
|
71
71
|
nj_cdcc: 0
|
|
@@ -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
|
|
@@ -19,8 +19,8 @@ class nj_cdcc(Variable):
|
|
|
19
19
|
taxable_income = tax_unit("nj_taxable_income", period)
|
|
20
20
|
|
|
21
21
|
# Get federal CDCC
|
|
22
|
-
# New Jersey matches the
|
|
23
|
-
federal_cdcc = tax_unit("
|
|
22
|
+
# New Jersey matches the actual federal credit value
|
|
23
|
+
federal_cdcc = tax_unit("cdcc", period)
|
|
24
24
|
|
|
25
25
|
# Calculate NJ CDCC
|
|
26
26
|
rate = p.calc(taxable_income, right=True)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class pr_income_tax(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
unit = USD
|
|
7
|
+
entity = TaxUnit
|
|
8
|
+
label = "Puerto Rico income tax"
|
|
9
|
+
definition_period = YEAR
|
|
10
|
+
reference = "https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=3"
|
|
11
|
+
defined_for = StateCode.PR
|
|
12
|
+
|
|
13
|
+
adds = ["pr_regular_tax_before_credits"]
|
|
14
|
+
subtracts = ["pr_refundable_credits"]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class pr_regular_tax_before_credits(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Puerto Rico regular tax before credits"
|
|
8
|
+
unit = USD
|
|
9
|
+
definition_period = YEAR
|
|
10
|
+
defined_for = StateCode.PR
|
|
11
|
+
reference = "https://hacienda.pr.gov/sites/default/files/inst_individuals_2023.pdf#page=19"
|
|
@@ -3176,7 +3176,7 @@ policyengine_us/parameters/gov/states/wv/tax/income/subtractions/social_security
|
|
|
3176
3176
|
policyengine_us/parameters/gov/states/wv/tax/income/subtractions/social_security_benefits/social_security_benefits_above_income_limit/applies.yaml,sha256=ctNMsEpXylYn1m7ldayITYXPvYyV7nk44l5F_ikQJ7Q,532
|
|
3177
3177
|
policyengine_us/parameters/gov/states/wv/tax/income/subtractions/social_security_benefits/social_security_benefits_above_income_limit/rate.yaml,sha256=jXHoVxALH_qFSq3ZkbZ3zO5_zOsSt6whgNBxjuVy0fc,625
|
|
3178
3178
|
policyengine_us/parameters/gov/territories/pr/READme.md,sha256=41pLFyxJwnmMliplrfSHFaIWlxloRswm2qpzMPNTG5U,13
|
|
3179
|
-
policyengine_us/parameters/gov/territories/pr/tax/income/credits/refundable.yaml,sha256=
|
|
3179
|
+
policyengine_us/parameters/gov/territories/pr/tax/income/credits/refundable.yaml,sha256=KJlx36biEOJGq-jO5N_ggm1mCqAyVGSmWDxuW-smwb8,617
|
|
3180
3180
|
policyengine_us/parameters/gov/territories/pr/tax/income/credits/earned_income/max_amount.yaml,sha256=FeC-irf6MppbASunIgAvEfxtYrVx2uedxj5NKg1Dgfs,990
|
|
3181
3181
|
policyengine_us/parameters/gov/territories/pr/tax/income/credits/earned_income/phase_in_rate.yaml,sha256=YMsjzU8czbq54teuwbsMrwmSl03UIjMamx5rAEsB01A,1060
|
|
3182
3182
|
policyengine_us/parameters/gov/territories/pr/tax/income/credits/earned_income/eligibility/min.yaml,sha256=3kCm6BHvPMfgwvrSwb-8FFufl_JpdjrFfb1cqlQnO8A,630
|
|
@@ -4891,9 +4891,10 @@ policyengine_us/tests/policy/baseline/gov/states/nj/njdhs/tanf/nj_tanf_countable
|
|
|
4891
4891
|
policyengine_us/tests/policy/baseline/gov/states/nj/njdhs/tanf/nj_tanf_maximum_allowable_income.yaml,sha256=A1CHS69trpLxn_v3Mn12jSfBbTAb9Yvp4-hTmtTKrjQ,585
|
|
4892
4892
|
policyengine_us/tests/policy/baseline/gov/states/nj/njdhs/tanf/nj_tanf_maximum_benefit.yaml,sha256=WSIb05jOKtNppAFUFw9iDdA6XtLyx8DqEEA6FakwHHo,550
|
|
4893
4893
|
policyengine_us/tests/policy/baseline/gov/states/nj/njdhs/tanf/nj_tanf_resources_eligible.yaml,sha256=9QyESfn8ABgX58-DNXefNqVOu-5sVitKdoFIbsXWdFs,403
|
|
4894
|
+
policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integation.yaml,sha256=SkXPEHvPT-W6BmbrXqFtgmrgoxGWYT0xjjL1YpERL08,1472
|
|
4894
4895
|
policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/nj_income_tax.yaml,sha256=2-HOCsItoq1YkN5Evctu6A8C0Bau9FF1AJzi9bA0Iqc,1082
|
|
4895
4896
|
policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/nj_withheld_income_tax.yaml,sha256=dwQ9xFrEMdsNc6v7ZPWtjzwJEQQUvN01uzJBI4NEDKw,717
|
|
4896
|
-
policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.yaml,sha256=
|
|
4897
|
+
policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.yaml,sha256=ZFmgVljDhx1vQBC2_O7rOG7T-1WSp3DDKFjjbNEBACs,1491
|
|
4897
4898
|
policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/ctc/nj_ctc.yaml,sha256=OUPM28BVyv_frCqousFIazodz6h0IEIEX1xQB_7Vm5E,7123
|
|
4898
4899
|
policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/ctc/nj_ctc_eligible.yaml,sha256=Ct7-7Js_SOwlEiLU0_3eq1aB6RdYzRuu_HGZHcZ5sFA,393
|
|
4899
4900
|
policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/eitc/nj_childless_eitc_age_eligible.yaml,sha256=YLe6bmnHI1skGi5ssYW1JjXr1eC0R1RRehrKTU74iQU,2710
|
|
@@ -7675,7 +7676,7 @@ policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_addi
|
|
|
7675
7676
|
policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_agi.py,sha256=hMzCHxrXQv2xCuPiT7-e3C0NJ6tqut71AHMId6XJeHI,603
|
|
7676
7677
|
policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_agi_subtractions.py,sha256=O--mBTHrrRoN9TReRESCUXJ7KgpPFSrjtm577pl8918,703
|
|
7677
7678
|
policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_total_income.py,sha256=QpIEIemOQdPLewGWeM-fJP3MPCVumQGtWXD8DEuG5wE,617
|
|
7678
|
-
policyengine_us/variables/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.py,sha256=
|
|
7679
|
+
policyengine_us/variables/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.py,sha256=3umh8czfQolHmRdlBOPj1ttB4XO-G0sAic1gjdkQwlM,910
|
|
7679
7680
|
policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc.py,sha256=r_lt9w3bdENwsBuXPshrLvGLOa8Q9nx2hijZoFG8fLI,1359
|
|
7680
7681
|
policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc_eligible.py,sha256=oEPVUORcZHbCijZ3K5FNXbSCSh0lq2mWw5mcqLkHCfs,843
|
|
7681
7682
|
policyengine_us/variables/gov/states/nj/tax/income/credits/eitc/nj_childless_eitc_age_eligible.py,sha256=YqM-LY780KlcVq8_hmSpWTYRgkGSZRa9pCeboXCGHKI,1302
|
|
@@ -8265,7 +8266,9 @@ policyengine_us/variables/gov/territories/pr/tax/income/pr_agi.py,sha256=yqLyP6w
|
|
|
8265
8266
|
policyengine_us/variables/gov/territories/pr/tax/income/pr_agi_person.py,sha256=gveEdwFLkTFd_76v_mHGK47tXrozNwtoNTS4bNif_h0,379
|
|
8266
8267
|
policyengine_us/variables/gov/territories/pr/tax/income/pr_gross_income.py,sha256=P2Mn2tUhrnP2LsIx4P0OFz67oo6t9NKZKpKCzqb1RLc,399
|
|
8267
8268
|
policyengine_us/variables/gov/territories/pr/tax/income/pr_gross_income_person.py,sha256=SFZtLDY2V-a1qH8p_EvIvOYhUsH_cjhHJBWYnmBB3jU,431
|
|
8269
|
+
policyengine_us/variables/gov/territories/pr/tax/income/pr_income_tax.py,sha256=oSXFwy96SUJkhVN0MwaW_zpmrN-nL9BHtJKyGsuoRao,442
|
|
8268
8270
|
policyengine_us/variables/gov/territories/pr/tax/income/pr_normal_tax.py,sha256=P2zYc9sjQM-ZNGUpaOzqMTGariqmTXK07lKtBTSh7kc,578
|
|
8271
|
+
policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py,sha256=DAjGSTWUJNd_3QxCijIcf04am0C9YxjtVVOVSTK0ozs,357
|
|
8269
8272
|
policyengine_us/variables/gov/territories/pr/tax/income/credits/pr_refundable_credits.py,sha256=-Vxk6bPiB9tSwDOIE46Q3LNLBMKL-3atTYPBD3SfC_Y,308
|
|
8270
8273
|
policyengine_us/variables/gov/territories/pr/tax/income/credits/earned_income/pr_earned_income_credit.py,sha256=-magFQVK47xuu0D3PleHiy_ihbx4RdJW-Jg_ELQO0Ks,1851
|
|
8271
8274
|
policyengine_us/variables/gov/territories/pr/tax/income/credits/earned_income/pr_earned_income_credit_eligible.py,sha256=ilQSYlQ6cEQuf4oHHnhHWRGywxkzN5Y6GOhu9_FwmqI,630
|
|
@@ -8862,8 +8865,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
|
|
|
8862
8865
|
policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
|
|
8863
8866
|
policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
|
|
8864
8867
|
policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
|
|
8865
|
-
policyengine_us-1.
|
|
8866
|
-
policyengine_us-1.
|
|
8867
|
-
policyengine_us-1.
|
|
8868
|
-
policyengine_us-1.
|
|
8869
|
-
policyengine_us-1.
|
|
8868
|
+
policyengine_us-1.438.1.dist-info/METADATA,sha256=yT0PHNrTIVCeMJA0NH79zEptD_URaXh1-VqpsYz_XjM,1649
|
|
8869
|
+
policyengine_us-1.438.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8870
|
+
policyengine_us-1.438.1.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
|
|
8871
|
+
policyengine_us-1.438.1.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
8872
|
+
policyengine_us-1.438.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|