From 168e9ff42dcc389c9c95b7458b1ffc019aaf8421 Mon Sep 17 00:00:00 2001 From: "Anthony V." Date: Tue, 3 Dec 2024 21:14:09 +0100 Subject: [PATCH 1/8] chore: Update pinned versions of policyengine-core and policyegine-us-data (#5380) --- changelog_entry.yaml | 5 +++++ setup.py | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29bb2d..1293e52cfb5 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,5 @@ +- bump: patch + changes: + changed: + - Upgraded minimum policyengine-core version + - Allowed more flexibility in policyengine-us-data version diff --git a/setup.py b/setup.py index 0476ea0a392..64e1a4ad9e4 100644 --- a/setup.py +++ b/setup.py @@ -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", ], From b37c87a2827db9056b210a2549ae6542c7a8d1d6 Mon Sep 17 00:00:00 2001 From: "Github Actions[bot]" Date: Tue, 3 Dec 2024 20:17:55 +0000 Subject: [PATCH 2/8] Update PolicyEngine US --- CHANGELOG.md | 8 ++++++++ changelog.yaml | 6 ++++++ changelog_entry.yaml | 5 ----- setup.py | 2 +- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5887a2479bc..18daeb92703 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.154.2] - 2024-12-03 20:14:27 + +### Changed + +- Upgraded minimum policyengine-core version +- Allowed more flexibility in policyengine-us-data version + ## [1.154.1] - 2024-12-01 16:39:30 ### Fixed @@ -10328,6 +10335,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +[1.154.2]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.1...1.154.2 [1.154.1]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.0...1.154.1 [1.154.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.153.0...1.154.0 [1.153.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.152.0...1.153.0 diff --git a/changelog.yaml b/changelog.yaml index e1567ae1d37..61a7cff26aa 100644 --- a/changelog.yaml +++ b/changelog.yaml @@ -8756,3 +8756,9 @@ fixed: - Arkansas 2023 low income tax table parameters. date: 2024-12-01 16:39:30 +- bump: patch + changes: + changed: + - Upgraded minimum policyengine-core version + - Allowed more flexibility in policyengine-us-data version + date: 2024-12-03 20:14:27 diff --git a/changelog_entry.yaml b/changelog_entry.yaml index 1293e52cfb5..e69de29bb2d 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -1,5 +0,0 @@ -- bump: patch - changes: - changed: - - Upgraded minimum policyengine-core version - - Allowed more flexibility in policyengine-us-data version diff --git a/setup.py b/setup.py index 64e1a4ad9e4..d0b4f1b706e 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="policyengine-us", - version="1.154.1", + version="1.154.2", author="PolicyEngine", author_email="hello@policyengine.org", long_description=readme, From b3d5432692c8f1040416674ebcf248d94f93675d Mon Sep 17 00:00:00 2001 From: Pavel Makarchuk <110687043+PavelMakarchuk@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:23:03 -0500 Subject: [PATCH 3/8] Add the Arizona charitable contributions credit to the net income tree (#5383) --- changelog_entry.yaml | 4 ++++ .../gov/states/az/tax/income/credits/non_refundable.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29bb2d..3b71c4f4fb3 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: minor + changes: + added: + - Add the Arizona charitable contributions credit to the net income tree. diff --git a/policyengine_us/parameters/gov/states/az/tax/income/credits/non_refundable.yaml b/policyengine_us/parameters/gov/states/az/tax/income/credits/non_refundable.yaml index 9cf7e138b27..7df0b3b1154 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/credits/non_refundable.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/credits/non_refundable.yaml @@ -3,6 +3,10 @@ values: 2019-01-01: - az_dependent_tax_credit - az_family_tax_credit + 2021-01-01: + - az_charitable_contributions_credit + - az_dependent_tax_credit + - az_family_tax_credit metadata: unit: list period: year From f3612c3a125db28ddbb60975f725689bc33c936a Mon Sep 17 00:00:00 2001 From: "Github Actions[bot]" Date: Tue, 3 Dec 2024 20:26:55 +0000 Subject: [PATCH 4/8] Update PolicyEngine US --- CHANGELOG.md | 7 +++++++ changelog.yaml | 5 +++++ changelog_entry.yaml | 4 ---- setup.py | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18daeb92703..5e891bae77f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.155.0] - 2024-12-03 20:23:24 + +### Added + +- Add the Arizona charitable contributions credit to the net income tree. + ## [1.154.2] - 2024-12-03 20:14:27 ### Changed @@ -10335,6 +10341,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +[1.155.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.2...1.155.0 [1.154.2]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.1...1.154.2 [1.154.1]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.0...1.154.1 [1.154.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.153.0...1.154.0 diff --git a/changelog.yaml b/changelog.yaml index 61a7cff26aa..c93352d49e5 100644 --- a/changelog.yaml +++ b/changelog.yaml @@ -8762,3 +8762,8 @@ - Upgraded minimum policyengine-core version - Allowed more flexibility in policyengine-us-data version date: 2024-12-03 20:14:27 +- bump: minor + changes: + added: + - Add the Arizona charitable contributions credit to the net income tree. + date: 2024-12-03 20:23:24 diff --git a/changelog_entry.yaml b/changelog_entry.yaml index 3b71c4f4fb3..e69de29bb2d 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -1,4 +0,0 @@ -- bump: minor - changes: - added: - - Add the Arizona charitable contributions credit to the net income tree. diff --git a/setup.py b/setup.py index d0b4f1b706e..2fe13c02685 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="policyengine-us", - version="1.154.2", + version="1.155.0", author="PolicyEngine", author_email="hello@policyengine.org", long_description=readme, From ededeaf3015b9c51fac4b8d4dee1c95aefbcc9c8 Mon Sep 17 00:00:00 2001 From: Pavel Makarchuk <110687043+PavelMakarchuk@users.noreply.github.com> Date: Wed, 4 Dec 2024 14:11:27 -0500 Subject: [PATCH 5/8] Remove the SNAP child support deduction from the net income computation if applied to gross income (#5384) Fixes #5369 --- changelog_entry.yaml | 4 +++ .../snap_child_support_deduction.yaml | 15 ++++++++++ .../gov/usda/snap/snap_net_income.yaml | 30 +++++++++++++++++++ .../snap_child_support_deduction.py | 9 +++++- 4 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/snap_child_support_deduction.yaml diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29bb2d..37e5823dc3a 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: patch + changes: + fixed: + - Remove the SNAP child support deduction from the net income computation if applied to gross income. diff --git a/policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/snap_child_support_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/snap_child_support_deduction.yaml new file mode 100644 index 00000000000..8a2557d8fac --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/snap_child_support_deduction.yaml @@ -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 diff --git a/policyengine_us/tests/policy/baseline/gov/usda/snap/snap_net_income.yaml b/policyengine_us/tests/policy/baseline/gov/usda/snap/snap_net_income.yaml index 1d1f8ab3e74..2686209123c 100644 --- a/policyengine_us/tests/policy/baseline/gov/usda/snap/snap_net_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/usda/snap/snap_net_income.yaml @@ -54,3 +54,33 @@ state_group: CONTIGUOUS_US output: snap_net_income: 428.5 * 12 + +- name: SNAP child support deduction integration test + period: 2024 + absolute_error_margin: 0.01 + input: + people: + person_1: + age: 30 + child_support_expense: 500 + person_2: + age: 10 + spm_units: + spm_unit: + snap_earned_income: 2_000 + snap_unearned_income: 0 + members: [person_1, person_2] + snap_standard_deduction: 0 + snap_earned_income_deduction: 0 + snap_excess_medical_expense_deduction: 0 + snap_excess_shelter_expense_deduction: 0 + snap_dependent_care_deduction: 0 + households: + household: + state_code: DC + output: + snap_child_support_gross_income_deduction: 500 + snap_gross_income: 1_500 + snap_child_support_deduction: 0 + snap_deductions: 0 + snap_net_income: 1_500 diff --git a/policyengine_us/variables/gov/usda/snap/income/deductions/snap_child_support_deduction.py b/policyengine_us/variables/gov/usda/snap/income/deductions/snap_child_support_deduction.py index 07242d6322f..53e7afe17dc 100644 --- a/policyengine_us/variables/gov/usda/snap/income/deductions/snap_child_support_deduction.py +++ b/policyengine_us/variables/gov/usda/snap/income/deductions/snap_child_support_deduction.py @@ -12,4 +12,11 @@ class snap_child_support_deduction(Variable): definition_period = MONTH reference = "https://www.law.cornell.edu/uscode/text/7/2014#e_4" - adds = ["child_support_expense"] + # Excluding deduction for child support, which is applies to the gross income + # calculation + def formula(spm_unit, period, parameters): + child_support = add(spm_unit, period, ["child_support_expense"]) + gross_income_deduction = spm_unit( + "snap_child_support_gross_income_deduction", period + ) + return max_(child_support - gross_income_deduction, 0) From c90195676277392cb9e0cc2883067b8817f0ce89 Mon Sep 17 00:00:00 2001 From: "Github Actions[bot]" Date: Wed, 4 Dec 2024 19:15:14 +0000 Subject: [PATCH 6/8] Update PolicyEngine US --- CHANGELOG.md | 7 +++++++ changelog.yaml | 6 ++++++ changelog_entry.yaml | 4 ---- setup.py | 2 +- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e891bae77f..e2a6fbed1b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.155.1] - 2024-12-04 19:11:45 + +### Fixed + +- Remove the SNAP child support deduction from the net income computation if applied to gross income. + ## [1.155.0] - 2024-12-03 20:23:24 ### Added @@ -10341,6 +10347,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +[1.155.1]: https://github.com/PolicyEngine/policyengine-us/compare/1.155.0...1.155.1 [1.155.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.2...1.155.0 [1.154.2]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.1...1.154.2 [1.154.1]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.0...1.154.1 diff --git a/changelog.yaml b/changelog.yaml index c93352d49e5..e79c82f5774 100644 --- a/changelog.yaml +++ b/changelog.yaml @@ -8767,3 +8767,9 @@ added: - Add the Arizona charitable contributions credit to the net income tree. date: 2024-12-03 20:23:24 +- bump: patch + changes: + fixed: + - Remove the SNAP child support deduction from the net income computation if applied + to gross income. + date: 2024-12-04 19:11:45 diff --git a/changelog_entry.yaml b/changelog_entry.yaml index 37e5823dc3a..e69de29bb2d 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -1,4 +0,0 @@ -- bump: patch - changes: - fixed: - - Remove the SNAP child support deduction from the net income computation if applied to gross income. diff --git a/setup.py b/setup.py index 2fe13c02685..8b26f4ca6c2 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="policyengine-us", - version="1.155.0", + version="1.155.1", author="PolicyEngine", author_email="hello@policyengine.org", long_description=readme, From a01d5833e59f1e2b4cd7f6a1f420d2a3e0e1ae39 Mon Sep 17 00:00:00 2001 From: Pavel Makarchuk <110687043+PavelMakarchuk@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:37:42 -0500 Subject: [PATCH 7/8] Apply the TCJA mortgage interest deduction limits (#5129) * Apply the TCJA mortgage interest deduction limits Fixes #5128 * adjust formula * format * value in desc. and label * new var * test fix * format --- changelog_entry.yaml | 4 +++ .../itemized/interest/mortgage/cap.yaml | 28 +++++++++++++------ .../gov/states/de/tax/income/integration.yaml | 2 +- .../gov/states/id/tax/income/integration.yaml | 2 +- .../gov/states/ky/tax/income/integration.yaml | 4 +-- .../deductions/itemized/integration.yaml | 2 +- .../va_reduced_itemized_deductions.yaml | 2 +- .../gov/states/va/tax/income/integration.yaml | 2 +- .../person/deductible_mortgage_interest.py | 12 ++++++++ .../expense/person/interest_expense.py | 3 +- 10 files changed, 45 insertions(+), 16 deletions(-) create mode 100644 policyengine_us/variables/household/expense/person/deductible_mortgage_interest.py diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29bb2d..e30e8f0e935 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: minor + changes: + added: + - Apply the TCJA mortgage value limits under the mortgage interest deduction. diff --git a/policyengine_us/parameters/gov/irs/deductions/itemized/interest/mortgage/cap.yaml b/policyengine_us/parameters/gov/irs/deductions/itemized/interest/mortgage/cap.yaml index 2f371e152fd..fbaf727f974 100644 --- a/policyengine_us/parameters/gov/irs/deductions/itemized/interest/mortgage/cap.yaml +++ b/policyengine_us/parameters/gov/irs/deductions/itemized/interest/mortgage/cap.yaml @@ -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 diff --git a/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/integration.yaml index d323780686e..6e365931881 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/integration.yaml @@ -241,7 +241,7 @@ taxable_private_pension_income: 4000 social_security_retirement: 12000 real_estate_taxes: 2000 - mortgage_interest: 1000 + deductible_mortgage_interest: 1000 self_employment_income: 121010 business_is_qualified: true business_is_sstb: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml index cfcdb32f2c8..97939484794 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml @@ -106,7 +106,7 @@ rental_income: 1005 taxable_private_pension_income: 2500 real_estate_taxes: 4000 - mortgage_interest: 36000 + deductible_mortgage_interest: 36000 self_employment_income: 127010 business_is_qualified: true business_is_sstb: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/integration.yaml index 2915c9f8ea5..02bf191062e 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/integration.yaml @@ -275,11 +275,11 @@ person1: age: 50 employment_income: 80_000 - mortgage_interest: 3_000 + deductible_mortgage_interest: 3_000 person2: age: 50 employment_income: 20_000 - mortgage_interest: 3_000 + deductible_mortgage_interest: 3_000 tax_units: tax_unit: members: [person1, person2] diff --git a/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/deductions/itemized/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/deductions/itemized/integration.yaml index 23a03247301..1793250a106 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/deductions/itemized/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/deductions/itemized/integration.yaml @@ -3,7 +3,7 @@ period: 2021 input: real_estate_taxes: 12_000 - mortgage_interest: 36_000 + deductible_mortgage_interest: 36_000 state_fips: 28 # MS output: # expected results from filling out 2021 MS form 80-108 ms_itemized_deductions_unit: 46_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml index f85b14efbdb..80257f26b5c 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml @@ -36,7 +36,7 @@ filing_status: JOINT adjusted_gross_income: 364_695 state_and_local_sales_or_income_tax: 19_956 - mortgage_interest: 36_000 + deductible_mortgage_interest: 36_000 state_code: VA output: va_reduced_itemized_deductions: 35_282 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml index 891e1adfbd2..9ffd6bc9db0 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml @@ -91,7 +91,7 @@ long_term_capital_gains: 1005.0 rental_income: 2505.0 real_estate_taxes: 24000 - mortgage_interest: 14000 + deductible_mortgage_interest: 14000 self_employment_income: 141010 business_is_qualified: true business_is_sstb: false diff --git a/policyengine_us/variables/household/expense/person/deductible_mortgage_interest.py b/policyengine_us/variables/household/expense/person/deductible_mortgage_interest.py new file mode 100644 index 00000000000..0c0aa4d5720 --- /dev/null +++ b/policyengine_us/variables/household/expense/person/deductible_mortgage_interest.py @@ -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 diff --git a/policyengine_us/variables/household/expense/person/interest_expense.py b/policyengine_us/variables/household/expense/person/interest_expense.py index f7426a9f881..05707a3b55b 100644 --- a/policyengine_us/variables/household/expense/person/interest_expense.py +++ b/policyengine_us/variables/household/expense/person/interest_expense.py @@ -7,4 +7,5 @@ class interest_expense(Variable): label = "Interest paid on all loans" unit = USD definition_period = YEAR - adds = ["mortgage_interest", "non_mortgage_interest"] + + adds = ["deductible_mortgage_interest", "non_mortgage_interest"] From fd16a8bab3065c72758d5e8ad044d2b7cfedfe3d Mon Sep 17 00:00:00 2001 From: "Github Actions[bot]" Date: Wed, 4 Dec 2024 21:41:30 +0000 Subject: [PATCH 8/8] Update PolicyEngine US --- CHANGELOG.md | 7 +++++++ changelog.yaml | 5 +++++ changelog_entry.yaml | 4 ---- setup.py | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2a6fbed1b4..1de68f1ad1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.156.0] - 2024-12-04 21:38:01 + +### Added + +- Apply the TCJA mortgage value limits under the mortgage interest deduction. + ## [1.155.1] - 2024-12-04 19:11:45 ### Fixed @@ -10347,6 +10353,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +[1.156.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.155.1...1.156.0 [1.155.1]: https://github.com/PolicyEngine/policyengine-us/compare/1.155.0...1.155.1 [1.155.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.2...1.155.0 [1.154.2]: https://github.com/PolicyEngine/policyengine-us/compare/1.154.1...1.154.2 diff --git a/changelog.yaml b/changelog.yaml index e79c82f5774..b9dd1fc65ee 100644 --- a/changelog.yaml +++ b/changelog.yaml @@ -8773,3 +8773,8 @@ - Remove the SNAP child support deduction from the net income computation if applied to gross income. date: 2024-12-04 19:11:45 +- bump: minor + changes: + added: + - Apply the TCJA mortgage value limits under the mortgage interest deduction. + date: 2024-12-04 21:38:01 diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e30e8f0e935..e69de29bb2d 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -1,4 +0,0 @@ -- bump: minor - changes: - added: - - Apply the TCJA mortgage value limits under the mortgage interest deduction. diff --git a/setup.py b/setup.py index 8b26f4ca6c2..971e66f6ff9 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="policyengine-us", - version="1.155.1", + version="1.156.0", author="PolicyEngine", author_email="hello@policyengine.org", long_description=readme,