Skip to content
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

Remove taxcalc-related variable aliases #3233

Merged
merged 45 commits into from
Nov 4, 2023
Merged

Remove taxcalc-related variable aliases #3233

merged 45 commits into from
Nov 4, 2023

Conversation

martinholmer
Copy link
Collaborator

@martinholmer martinholmer commented Nov 4, 2023

Fixes #3232.

The copilot description of the contents of this PR is severely incomplete.

🤖 Generated by Copilot at 6755528

Summary

🐛📝🧪

This pull request renames the variable earned_income_tax_credit to eitc in the policy engine codebase, to make it more consistent with other federal credit variables. It also updates the test cases, parameters, and changelog to reflect this change. This improves the readability and maintainability of the code.

A pull request was made to rename
The earned_income_tax_credit variable, what a pain!
But eitc is shorter and neater
And makes the codebase much sweeter
So the reviewers approved it with no disdain

Walkthrough

Copy link

codecov bot commented Nov 4, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (a4b2853) 99.01% compared to head (6755528) 99.01%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3233      +/-   ##
==========================================
- Coverage   99.01%   99.01%   -0.01%     
==========================================
  Files        1803     1803              
  Lines       26616    26606      -10     
  Branches      158      158              
==========================================
- Hits        26353    26343      -10     
  Misses        225      225              
  Partials       38       38              
Files Coverage Δ
...s/gov/irs/credits/ctc/refundable/refundable_ctc.py 100.00% <ø> (ø)
...us/variables/gov/irs/credits/earned_income/eitc.py 100.00% <100.00%> (ø)
...edit/non_refundable_american_opportunity_credit.py 100.00% <ø> (ø)
...y_credit/refundable_american_opportunity_credit.py 100.00% <ø> (ø)
...gov/irs/credits/education/education_tax_credits.py 100.00% <100.00%> (ø)
...les/gov/irs/credits/elderly_and_disabled/credit.py 100.00% <100.00%> (ø)
...v/irs/credits/income_tax_non_refundable_credits.py 100.00% <ø> (ø)
...s/gov/irs/credits/refundable_payroll_tax_credit.py 100.00% <ø> (ø)
...ables/gov/irs/credits/retirement_savings/credit.py 100.00% <100.00%> (ø)
...variables/gov/irs/tax/federal_income/income_tax.py 88.88% <100.00%> (-0.59%) ⬇️
... and 32 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MaxGhenis MaxGhenis merged commit 84d8201 into PolicyEngine:master Nov 4, 2023
5 of 7 checks passed
@martinholmer martinholmer deleted the remove-taxcalc-aliases branch November 4, 2023 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove obsolete taxcalc-related alias variable names
2 participants