-
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
Refactor the regular_tax_before_credits
variable and add unit tests
#5036
base: master
Are you sure you want to change the base?
Conversation
regular_tax_before_credits
variable and add unit tests
policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks6.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.
This is a start, can you add the relevant tax form lines, especially for the ambiguous variables names
e.g.
# Line 17
dwks19 = ...
policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks6.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks9.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks9.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks9.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks9.py
Outdated
Show resolved
Hide resolved
2017 Instructions for Schedule D |
https://www.irs.gov/pub/irs-prior/i1040sd--2017.pdf#page=15
https://github.com/PolicyEngine/policyengine-us/blob/master/policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/regular_tax_before_credits.py
|
Fixes #4817