-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kentucky Pension Income Exclusion #3043
Merged
MaxGhenis
merged 8 commits into
PolicyEngine:master
from
leogoldman:leogoldman/issue3041_v2
Oct 19, 2023
Merged
Kentucky Pension Income Exclusion #3043
MaxGhenis
merged 8 commits into
PolicyEngine:master
from
leogoldman:leogoldman/issue3041_v2
Oct 19, 2023
Conversation
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
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3043 +/- ##
==========================================
+ Coverage 98.71% 98.94% +0.23%
==========================================
Files 1714 1778 +64
Lines 25815 26625 +810
Branches 145 148 +3
==========================================
+ Hits 25483 26344 +861
+ Misses 301 244 -57
- Partials 31 37 +6
☔ View full report in Codecov by Sentry. |
MaxGhenis
requested changes
Sep 24, 2023
...ters/gov/states/ky/tax/income/exclusions/pension_income/other_retirement_income_sources.yaml
Outdated
Show resolved
Hide resolved
...ters/gov/states/ky/tax/income/exclusions/pension_income/other_retirement_income_sources.yaml
Outdated
Show resolved
Hide resolved
...ters/gov/states/ky/tax/income/exclusions/pension_income/other_retirement_income_sources.yaml
Show resolved
Hide resolved
policyengine_us/parameters/gov/states/ky/tax/income/exclusions/pension_income/threshold.yaml
Show resolved
Hide resolved
policyengine_us/variables/household/income/person/pensions/receives_railroad_benefits.py
Outdated
Show resolved
Hide resolved
...v/states/ky/tax/income/exclusions/pension_income/ky_service_credits_percentage_pre_cutoff.py
Outdated
Show resolved
Hide resolved
...es/gov/states/ky/tax/income/exclusions/pension_income/ky_service_credit_months_pre_cutoff.py
Outdated
Show resolved
Hide resolved
...es/ky/tax/income/exclusions/pension_income/ky_pension_income_exclusion_exemption_eligible.py
Show resolved
Hide resolved
.../variables/gov/states/ky/tax/income/exclusions/pension_income/ky_pension_income_exclusion.py
Outdated
Show resolved
Hide resolved
...states/ky/tax/income/exclusions/pension_income/ky_service_credits_percentage_pre_cutoff.yaml
Outdated
Show resolved
Hide resolved
leogoldman
force-pushed
the
leogoldman/issue3041_v2
branch
from
October 1, 2023 19:32
4dc6dd1
to
e0752bc
Compare
MaxGhenis
approved these changes
Oct 19, 2023
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 #3041
Unsure if there's anything other than IRA distributions that should be counted towards other retirement income.
🤖 Generated by Copilot at c1d0849
Summary
📝🧮🚂
This pull request adds the Kentucky pension income exclusion to the policy engine, which allows certain retirees to exclude some or all of their pension and other retirement income from state income tax. It creates new parameters, variables, and tests to implement the logic and calculations of the exclusion, based on the person's retirement status, service credit months, railroad benefits, and income sources. It also updates the changelog entry to reflect the change.
Walkthrough
ky_pension_income_exclusion
variable to calculate the amount of pension and other retirement income that is excluded from Kentucky income tax (link)ky_pension_income_exclusion_exemption_eligible
variable to determine if a person is eligible for exemption from the exclusion cap, based on their retirement status and railroad benefits (link)ky_service_credits_percentage_pre_cutoff
variable to calculate the share of service credit months a person has worked for the state or local government in Kentucky before 1998, relative to their total service credit months (link)ky_service_credit_months_pre_cutoff
andky_service_credit_months_post_cutoff
variables to store the number of service credit months a person has worked for the state or local government in Kentucky before and after 1997 (link, link)retired_from_ky_government
andretired_from_federal_government
variables to indicate if a person has retired from the state or local government in Kentucky or the federal government (link, link)ira_distributions
andreceives_railroad_benefits
variables to store the amount of distributions a person receives from Individual Retirement Accounts and the indicator of receiving any railroad benefits (link, link)ky_pension_income_exclusion
,ky_pension_income_exclusion_exemption_eligible
, andky_service_credits_percentage_pre_cutoff
variables, using different scenarios of income, retirement status, and service credit months (link, link, link)