Cap self-employed pension contributions at the section 415(c) limit#8419
Merged
Conversation
4a3c597 to
b35b5b9
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8419 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 3 +1
Lines 57 39 -18
Branches 1 0 -1
=========================================
- Hits 57 39 -18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b35b5b9 to
4f4fbca
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8389.
Summary
self_employed_pension_contribution_limitas the lesser of the section 415(c) annual additions dollar limit and modeled self-employment compensationcapped_self_employed_pension_contributionsand route the self-employed pension ALD through itdc_ptcis zero outside DC, rather than asserting other states have no property tax creditsVerification
uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/household/expense/retirement/self_employed_pension_contribution_limit.yaml policyengine_us/tests/policy/baseline/gov/irs/credits/retirement_saving/savers_credit_qualified_contributions.yaml policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief.yaml policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/self_employment_income.yaml -c policyengine_usuv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml policyengine_us/tests/policy/baseline/household/expense/retirement/self_employed_pension_contribution_limit.yaml policyengine_us/tests/policy/baseline/gov/irs/credits/retirement_saving/savers_credit_qualified_contributions.yaml policyengine_us/tests/policy/baseline/gov/states/ut/tax/property/homeowner_renter_relief/ut_homeowner_renter_relief.yaml -c policyengine_usgit diff --name-only upstream/main...HEAD | rg '\.py$' | xargs uv run ruff check && git diff --check upstream/main...HEADgit diff --name-only upstream/main...HEAD | rg '^(policyengine_us|changelog\.d)' | xargs uv run python policyengine_us/tests/run_selective_tests.py --coverage --files