-
Couldn't load subscription status.
- Fork 201
Add GainsTax #342
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
Add GainsTax #342
Conversation
Codecov Report
@@ Coverage Diff @@
## master #342 +/- ##
==========================================
+ Coverage 94.67% 94.87% +0.20%
==========================================
Files 59 59
Lines 3510 3652 +142
Branches 473 480 +7
==========================================
+ Hits 3323 3465 +142
Misses 162 162
Partials 25 25
Continue to review full report at Codecov.
|
…into gains-tax
…into gains-tax
|
@MaxGhenis seems like at some point between the tests of the AMT PR and the AMT PR merge, something changed in the coverage action. Fixed by adding the |
| definition_period = YEAR | ||
|
|
||
| def formula(tax_unit, period, parameters): | ||
| # Negatives cannot offset other income sources |
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.
Could you add a unit test for this?
Adds the functionality and variables of
GainsTax. This required converting a multi-output formula into (the minimum number of) single-output variables.