-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/PolicyEngine/policyengine-us into hua7450/issue5109
- Loading branch information
Showing
16 changed files
with
153 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 20 additions & 8 deletions
28
policyengine_us/parameters/gov/irs/deductions/itemized/interest/mortgage/cap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,33 @@ | ||
description: IRS limits the total home mortgage interest deduction to this amount, based on filing status. | ||
description: The IRS allows an itemized deduction for interest paid on mortgages up to this amount, based on filing status. | ||
SINGLE: | ||
2018-01-01: 1_000_000 | ||
2017-01-01: 1_000_000 | ||
2018-01-01: 750_000 | ||
2026-01-01: 1_000_000 | ||
JOINT: | ||
2018-01-01: 1_000_000 | ||
2017-01-01: 1_000_000 | ||
2018-01-01: 750_000 | ||
2026-01-01: 1_000_000 | ||
SEPARATE: | ||
2018-01-01: 500_000 | ||
2017-01-01: 500_000 | ||
2018-01-01: 375_000 | ||
2026-01-01: 500_000 | ||
HEAD_OF_HOUSEHOLD: | ||
2018-01-01: 1_000_000 | ||
2017-01-01: 1_000_000 | ||
2018-01-01: 750_000 | ||
2026-01-01: 1_000_000 | ||
SURVIVING_SPOUSE: | ||
2018-01-01: 1_000_000 | ||
2017-01-01: 1_000_000 | ||
2018-01-01: 750_000 | ||
2026-01-01: 1_000_000 | ||
metadata: | ||
breakdown: filing_status | ||
unit: currency-USD | ||
label: IRS home mortgage interest deduction amount cap | ||
period: year | ||
label: IRS home mortgage value cap | ||
reference: | ||
# Hawaii applies this AGI threshold in the state itemized deductions computation | ||
- title: Hawaii Income Tax Law, Chapter 235, Section 235-2.4, (j)(3) | ||
href: https://files.hawaii.gov/tax/legal/hrs/hrs_235.pdf#page=10 | ||
- title: 26 U.S. Code § 163 - Interest, (h)(3)(F) | ||
# TCJA adjustemnts described in (h)(3)(F)(i)(II) | ||
- title: 26 U.S. Code § 163 - Interest, (h)(3)(b)(ii) | ||
href: https://www.law.cornell.edu/uscode/text/26/163 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...s/tests/policy/baseline/gov/usda/snap/income/deductions/snap_child_support_deduction.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
- name: 0 out if gross income deduction is present | ||
period: 2022 | ||
input: | ||
child_support_expense: 500 | ||
snap_child_support_gross_income_deduction: 500 | ||
output: | ||
snap_child_support_deduction: 0 | ||
|
||
- name: Otherwise, full deduction | ||
period: 2022 | ||
input: | ||
child_support_expense: 500 | ||
snap_child_support_gross_income_deduction: 0 | ||
output: | ||
snap_child_support_deduction: 500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
policyengine_us/variables/household/expense/person/deductible_mortgage_interest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from policyengine_us.model_api import * | ||
|
||
|
||
class deductible_mortgage_interest(Variable): | ||
value_type = float | ||
entity = Person | ||
label = "Deductible mortgage interest" | ||
documentation = "Under the interest deduction, the US caps the mortgage value to which interest is applied which based on the year of purchase not tax year." | ||
unit = USD | ||
definition_period = YEAR | ||
|
||
# This is a placeholder variable until we can implement the full mortgage interest deduction logic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
setup( | ||
name="policyengine-us", | ||
version="1.154.1", | ||
version="1.156.0", | ||
author="PolicyEngine", | ||
author_email="[email protected]", | ||
long_description=readme, | ||
|
@@ -34,8 +34,9 @@ | |
), | ||
], | ||
install_requires=[ | ||
"policyengine-core>=3.10.0", | ||
"policyengine-us-data==1.13.0", | ||
"policyengine-core>=3.14.1", | ||
# Removing the > portion of the below will cause circular dep issues in -us-data | ||
"policyengine-us-data>=1.13.0", | ||
"microdf-python>=0.4.3", | ||
"tqdm", | ||
], | ||
|