policyengine-us 1.381.2__py3-none-any.whl → 1.381.3__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/tests/policy/baseline/gov/states/me/tax/income/credits/property_tax_fairness_credit/me_property_tax_fairness_credit_veterans_cap.yaml +41 -10
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/integration.yaml +35 -0
- policyengine_us/variables/gov/states/me/tax/income/credits/fairness/property_tax_fairness_credit/me_property_tax_fairness_credit_veterans_cap.py +13 -1
- {policyengine_us-1.381.2.dist-info → policyengine_us-1.381.3.dist-info}/METADATA +1 -1
- {policyengine_us-1.381.2.dist-info → policyengine_us-1.381.3.dist-info}/RECORD +8 -7
- {policyengine_us-1.381.2.dist-info → policyengine_us-1.381.3.dist-info}/WHEEL +0 -0
- {policyengine_us-1.381.2.dist-info → policyengine_us-1.381.3.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.381.2.dist-info → policyengine_us-1.381.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,21 +1,52 @@
|
|
|
1
|
-
|
|
1
|
+
# Tests for Maine Property Tax Fairness Credit Veterans Cap
|
|
2
|
+
# This credit provides an additional cap match for veteran households
|
|
3
|
+
|
|
4
|
+
- name: Veterans cap does not apply in 2022
|
|
2
5
|
period: 2022
|
|
3
6
|
input:
|
|
4
7
|
state_code: ME
|
|
5
8
|
filing_status: SINGLE
|
|
6
9
|
me_property_tax_fairness_credit_base_cap: 100
|
|
7
|
-
|
|
8
|
-
age_spouse: 65
|
|
10
|
+
veterans_benefits: 0
|
|
9
11
|
output:
|
|
10
12
|
me_property_tax_fairness_credit_veterans_cap: 0
|
|
11
|
-
|
|
12
|
-
- name:
|
|
13
|
-
period:
|
|
13
|
+
|
|
14
|
+
- name: Single filer, head is veteran - gets veterans cap match in 2024
|
|
15
|
+
period: 2024
|
|
14
16
|
input:
|
|
15
17
|
state_code: ME
|
|
16
18
|
filing_status: SINGLE
|
|
17
|
-
me_property_tax_fairness_credit_base_cap:
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
me_property_tax_fairness_credit_base_cap: 1_000
|
|
20
|
+
veterans_benefits: 1_000 # Any positive amount makes them a veteran
|
|
21
|
+
output:
|
|
22
|
+
me_property_tax_fairness_credit_veterans_cap: 1_000 # Base cap * 1.0 match
|
|
23
|
+
|
|
24
|
+
- name: Single filer, head is not veteran - no veterans cap in 2024
|
|
25
|
+
period: 2024
|
|
26
|
+
input:
|
|
27
|
+
state_code: ME
|
|
28
|
+
filing_status: SINGLE
|
|
29
|
+
me_property_tax_fairness_credit_base_cap: 1_000
|
|
30
|
+
veterans_benefits: 0
|
|
31
|
+
output:
|
|
32
|
+
me_property_tax_fairness_credit_veterans_cap: 0
|
|
33
|
+
|
|
34
|
+
- name: Zero base cap means zero veterans cap even with veteran in 2024
|
|
35
|
+
period: 2024
|
|
36
|
+
input:
|
|
37
|
+
state_code: ME
|
|
38
|
+
filing_status: SINGLE
|
|
39
|
+
me_property_tax_fairness_credit_base_cap: 0
|
|
40
|
+
veterans_benefits: 1_000
|
|
41
|
+
output:
|
|
42
|
+
me_property_tax_fairness_credit_veterans_cap: 0
|
|
43
|
+
|
|
44
|
+
- name: High base cap with veteran gets full match in 2024
|
|
45
|
+
period: 2024
|
|
46
|
+
input:
|
|
47
|
+
state_code: ME
|
|
48
|
+
filing_status: SINGLE
|
|
49
|
+
me_property_tax_fairness_credit_base_cap: 5_000
|
|
50
|
+
veterans_benefits: 1_000
|
|
20
51
|
output:
|
|
21
|
-
me_property_tax_fairness_credit_veterans_cap:
|
|
52
|
+
me_property_tax_fairness_credit_veterans_cap: 5_000 # Base cap * 1.0 match
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
- name: taxsim_record_22242_2024.yaml (Property Tax Fairness Credit Debug)
|
|
2
|
+
absolute_error_margin: 2
|
|
3
|
+
period: 2024
|
|
4
|
+
input:
|
|
5
|
+
people:
|
|
6
|
+
person1:
|
|
7
|
+
age: 46
|
|
8
|
+
employment_income: 0.0
|
|
9
|
+
qualified_dividend_income: 95.39
|
|
10
|
+
rent: 7_957.51
|
|
11
|
+
taxable_interest_income: 328.40
|
|
12
|
+
is_tax_unit_head: true
|
|
13
|
+
person2:
|
|
14
|
+
age: 77
|
|
15
|
+
employment_income: 0.0
|
|
16
|
+
qualified_dividend_income: 95.39
|
|
17
|
+
taxable_interest_income: 328.40
|
|
18
|
+
is_tax_unit_spouse: true
|
|
19
|
+
tax_units:
|
|
20
|
+
tax_unit:
|
|
21
|
+
members: [person1, person2]
|
|
22
|
+
premium_tax_credit: 0
|
|
23
|
+
local_income_tax: 0
|
|
24
|
+
state_sales_tax: 0
|
|
25
|
+
spm_units:
|
|
26
|
+
spm_unit:
|
|
27
|
+
members: [person1, person2]
|
|
28
|
+
snap: 0
|
|
29
|
+
tanf: 0
|
|
30
|
+
households:
|
|
31
|
+
household:
|
|
32
|
+
members: [person1, person2]
|
|
33
|
+
state_fips: 23
|
|
34
|
+
output:
|
|
35
|
+
me_income_tax: -1_370
|
|
@@ -8,10 +8,22 @@ class me_property_tax_fairness_credit_veterans_cap(Variable):
|
|
|
8
8
|
label = "Veterans cap for Maine property tax fairness credit"
|
|
9
9
|
definition_period = YEAR
|
|
10
10
|
defined_for = StateCode.ME
|
|
11
|
+
reference = {
|
|
12
|
+
"title": "2024 SCHEDULE PTFC/STFC Form 1040ME",
|
|
13
|
+
"href": "https://www.maine.gov/revenue/sites/maine.gov.revenue/files/inline-files/24_Form%201040ME_Sch%20PTFC_ff_0.pdf#page=2",
|
|
14
|
+
}
|
|
15
|
+
# Only one spouse needs to be a veteran for the filer to get the veteran match
|
|
11
16
|
|
|
12
17
|
def formula(tax_unit, period, parameters):
|
|
13
18
|
p = parameters(
|
|
14
19
|
period
|
|
15
20
|
).gov.states.me.tax.income.credits.fairness.property_tax
|
|
16
21
|
base_cap = tax_unit("me_property_tax_fairness_credit_base_cap", period)
|
|
17
|
-
|
|
22
|
+
# Check if the tax unit head or spouse is a veteran
|
|
23
|
+
person = tax_unit.members
|
|
24
|
+
is_head_or_spouse = person("is_tax_unit_head_or_spouse", period)
|
|
25
|
+
is_veteran = person("is_veteran", period)
|
|
26
|
+
has_veteran_head_or_spouse = tax_unit.any(
|
|
27
|
+
is_head_or_spouse & is_veteran
|
|
28
|
+
)
|
|
29
|
+
return has_veteran_head_or_spouse * base_cap * p.veterans_matched
|
|
@@ -4302,6 +4302,7 @@ policyengine_us/tests/policy/baseline/gov/states/md/tax/income/exemptions/md_bli
|
|
|
4302
4302
|
policyengine_us/tests/policy/baseline/gov/states/md/tax/income/exemptions/md_personal_exemption.yaml,sha256=WTyg9tXxl0qXq1mi7n5AALASBxYJl5f-SfA_pi5aZEE,396
|
|
4303
4303
|
policyengine_us/tests/policy/baseline/gov/states/md/usda/snap/md_snap_elderly_present.yaml,sha256=X4rNmXRTlRIKx2Nb8eBB58I9-2R6kFcPXTO6qrlr6gY,1027
|
|
4304
4304
|
policyengine_us/tests/policy/baseline/gov/states/md/usda/snap/md_snap_is_elderly.yaml,sha256=KCMXVwu3-fWSUR1jYzCI_Ru2V2KqMOwDtJPOgaTbuek,262
|
|
4305
|
+
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/integration.yaml,sha256=b6TZJuZoSp7c4tTk_XHK-55F0mQyteyA0QMrQld2pzo,890
|
|
4305
4306
|
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/me_agi.yaml,sha256=JAbpiWDexZ_6n4roUXULPbRaZNUJaPqI7zJKqksJsMU,798
|
|
4306
4307
|
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/me_income_tax_before_credits.yaml,sha256=sIvOgTHw8Wxs_PUBzhAY4ne9Kf8iLtA0Bi_jLdaD3gA,5178
|
|
4307
4308
|
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/me_income_tax_before_refundable_credits.yaml,sha256=0tvQcTBaiwc44a0xABs-dVkPCfoRLqAQVJqiRfTnYd4,735
|
|
@@ -4315,7 +4316,7 @@ policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/property_
|
|
|
4315
4316
|
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/property_tax_fairness_credit/me_property_tax_fairness_credit_benefit_base.yaml,sha256=bjLBZATVRcebI-fgOnDz4QK4lja87ipqsARZ0XmCVog,1058
|
|
4316
4317
|
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/property_tax_fairness_credit/me_property_tax_fairness_credit_countable_rent.yaml,sha256=kEKwVVltAyhElP_bFc4ooPttRDfBDWC7vIpMmbz55i4,516
|
|
4317
4318
|
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/property_tax_fairness_credit/me_property_tax_fairness_credit_eligible.yaml,sha256=HQc_AIrV0tufYFO2dZAKH9MYZ0dhnzR_0WeTUMhwSuk,628
|
|
4318
|
-
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/property_tax_fairness_credit/me_property_tax_fairness_credit_veterans_cap.yaml,sha256=
|
|
4319
|
+
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/property_tax_fairness_credit/me_property_tax_fairness_credit_veterans_cap.yaml,sha256=O5MNpu3v9kPgXmxPczu6zd6QOS22tRxifgnJHF1Hisw,1595
|
|
4319
4320
|
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/sales_tax_fairness_credit/me_sales_tax_fairness_credit.yaml,sha256=vJNB_mRxb061zP6aiVUpLwZZ4snaTYgP-psZ4cwldQI,1921
|
|
4320
4321
|
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/sales_tax_fairness_credit/me_sales_tax_fairness_credit_eligible.yaml,sha256=WPMQGoKPX7CEiwFJ9xxLmPo8p-wlK-L_5FV7Vog-OoM,574
|
|
4321
4322
|
policyengine_us/tests/policy/baseline/gov/states/me/tax/income/taxable_income/me_agi_subtractions.yaml,sha256=azfcpz84UyHiRMoDoQA50nLleuOF1uU8Zmg9UNzfxfM,1395
|
|
@@ -6861,7 +6862,7 @@ policyengine_us/variables/gov/states/me/tax/income/credits/fairness/property_tax
|
|
|
6861
6862
|
policyengine_us/variables/gov/states/me/tax/income/credits/fairness/property_tax_fairness_credit/me_property_tax_fairness_credit_countable_rent.py,sha256=aeH9nFa7Vv3EJI2YpVdn-xejcixpY8z09lGwRxZrA8k,1214
|
|
6862
6863
|
policyengine_us/variables/gov/states/me/tax/income/credits/fairness/property_tax_fairness_credit/me_property_tax_fairness_credit_countable_rent_property_tax.py,sha256=786RXOd8lfuUIkiT33a84yuLLvy2GRpUUi-abg3PT2I,430
|
|
6863
6864
|
policyengine_us/variables/gov/states/me/tax/income/credits/fairness/property_tax_fairness_credit/me_property_tax_fairness_credit_eligible.py,sha256=Sbhb_TTdK1w8H7ONG-Dcbj0HSWOYH14M-c5oykrDjSc,558
|
|
6864
|
-
policyengine_us/variables/gov/states/me/tax/income/credits/fairness/property_tax_fairness_credit/me_property_tax_fairness_credit_veterans_cap.py,sha256=
|
|
6865
|
+
policyengine_us/variables/gov/states/me/tax/income/credits/fairness/property_tax_fairness_credit/me_property_tax_fairness_credit_veterans_cap.py,sha256=fYmY3_ozQWaqZXVio6dl8tWcs8BEUDy8flf7_goi5IA,1219
|
|
6865
6866
|
policyengine_us/variables/gov/states/me/tax/income/credits/fairness/sales_tax_fairness_credit/me_sales_tax_fairness_credit.py,sha256=67u8EPOUmOyo-zeO2LzPuuXux4WUVlIahhRSES0QWQM,2067
|
|
6866
6867
|
policyengine_us/variables/gov/states/me/tax/income/credits/fairness/sales_tax_fairness_credit/me_sales_tax_fairness_credit_eligible.py,sha256=rOJdLS4KAkYPFFWJPgc2hySz6byPBJyP7nZ9DISMsdc,668
|
|
6867
6868
|
policyengine_us/variables/gov/states/me/tax/income/taxable_income/me_deductions.py,sha256=_4hOxgD141HVGWyk0xODU-1YZA9BWxREmxuLH0TcX0w,1215
|
|
@@ -8297,8 +8298,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
|
|
|
8297
8298
|
policyengine_us/variables/input/geography.py,sha256=XmBlgXhzBoLRKk6R8taVZHqUw1eU8MbNeGS9iJ7_l44,4506
|
|
8298
8299
|
policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
|
|
8299
8300
|
policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
|
|
8300
|
-
policyengine_us-1.381.
|
|
8301
|
-
policyengine_us-1.381.
|
|
8302
|
-
policyengine_us-1.381.
|
|
8303
|
-
policyengine_us-1.381.
|
|
8304
|
-
policyengine_us-1.381.
|
|
8301
|
+
policyengine_us-1.381.3.dist-info/METADATA,sha256=jsYKFk9M_6GcAwoo8Y13OnzIKFQ_Nwc9tjnuN2gqUyY,1649
|
|
8302
|
+
policyengine_us-1.381.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8303
|
+
policyengine_us-1.381.3.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
|
|
8304
|
+
policyengine_us-1.381.3.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
8305
|
+
policyengine_us-1.381.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|