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

Clarify the three components of the _payrolltax total #909

Merged
merged 8 commits into from
Sep 8, 2016
Merged

Clarify the three components of the _payrolltax total #909

merged 8 commits into from
Sep 8, 2016

Conversation

martinholmer
Copy link
Collaborator

This pull request renames one existing variable and adds a new intermediate variable so that the three components of the total _payrolltax variable are more clear. After these changes the components of _payrolltax are named as follows:

ptax_was : FICA tax on wages & salaries (half is employer share)
ptax_sey : Self-Employment Tax (half is "employer" share)
ptax_amc : Additional Medicare Tax on high earnings (there is no employer share)

So, using these new/renamed ptax_* variables, the employee share of the total _payrolltax is:

employee_share = 0.5 * ptax_was + 0.5 * ptax_sey + ptax_amc

The changes in this pull request do not alter any tax-calculating logic, test results, or reform comparisons.

@MattHJensen @feenberg @Amy-Xu @GoFroggyRun @andersonfrailey

@codecov-io
Copy link

codecov-io commented Sep 8, 2016

Current coverage is 98.13% (diff: 100%)

Merging #909 into master will not change coverage

@@             master       #909   diff @@
==========================================
  Files            13         13          
  Lines          1821       1821          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1787       1787          
  Misses           34         34          
  Partials          0          0          

Powered by Codecov. Last update b0110df...3d85a1f

@martinholmer martinholmer merged commit ab9525e into PSLmodels:master Sep 8, 2016
@martinholmer martinholmer deleted the ptax-components branch September 8, 2016 16:49
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.

3 participants