-
Notifications
You must be signed in to change notification settings - Fork 187
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
Reform to include employer payroll taxes in taxable income #5635
Reform to include employer payroll taxes in taxable income #5635
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5635 +/- ##
=======================================
Coverage 99.07% 99.07%
=======================================
Files 2695 2699 +4
Lines 38990 39030 +40
Branches 172 171 -1
=======================================
+ Hits 38629 38669 +40
Misses 327 327
Partials 34 34 ☔ View full report in Codecov by Sentry. |
policyengine_us/variables/gov/irs/tax/payroll/social_security/employer_social_security_tax.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the parts that adjust social security benefit taxability, since we can already do that in the app by zeroing out the tax rate parameters
policyengine_us/reforms/tax_payroll_not_benefits/tax_payroll_not_benefits_reform.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will need to add the re
policyengine_us/reforms/tax_payroll_not_benefits/tax_payroll_not_benefits_reform.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/irs/tax/payroll/medicare/employer_medicare_tax.py
Show resolved
Hide resolved
policyengine_us/reforms/tax_payroll_not_benefits/tax_payroll_not_benefits_reform.py
Outdated
Show resolved
Hide resolved
policyengine_us/reforms/tax_payroll_not_benefits/tax_payroll_not_benefits_reform.py
Outdated
Show resolved
Hide resolved
policyengine_us/reforms/tax_payroll_not_benefits/tax_payroll_not_benefits_reform.py
Outdated
Show resolved
Hide resolved
fixes are: 1. renaming yaml containing boolean to "in_effect" 2. adding a five-year-forward check also sorry that i renamed the directory. i didn't realize that it breaks all github tracked changes. i'll add the unit tests in a subsequent commit.
i had the black library make the reformatting changes.
this is a path and not a custom object, so it shouldn't have a parenthesis
policyengine_us/parameters/gov/contrib/tax_employer_payroll/in_effect.yaml
Outdated
Show resolved
Hide resolved
policyengine_us/parameters/gov/contrib/tax_employer_payroll/in_effect.yaml
Outdated
Show resolved
Hide resolved
policyengine_us/reforms/tax_employer_payroll/tax_employer_payroll.py
Outdated
Show resolved
Hide resolved
policyengine_us/reforms/tax_employer_payroll/tax_employer_payroll.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/irs/tax/payroll/social_security/employer_social_security_tax.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/irs/tax/payroll/medicare/employer_medicare_tax.py
Outdated
Show resolved
Hide resolved
policyengine_us/reforms/tax_employer_payroll/tax_employer_payroll.py
Outdated
Show resolved
Hide resolved
adding unit test next
(the one for the reform is incomplete because it will be deleted)
no unit test for purely parametric reforms
(1) The function that feeds into modify_parameters now appends to the existing income sources list, rather than replaces it. (2) Added a unit test for the reform as well. (3) Directories and files are renamed. (4) Added a missing return statement to the function that feeds into modify_parameters.
Fixes #5633
Fixes #619