-
Couldn't load subscription status.
- Fork 201
Fix and refactor AMT #4815
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
Fix and refactor AMT #4815
Conversation
| tax_unit("capital_gains_tax", period) | ||
| tax_before_credits = ( | ||
| regular_tax_before_credits + regular_tax_before_credits | ||
| ) |
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 the piece that was added in this PR
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.
Can you explain why regular_tax_before_credits is being added to itself?
What am I missing?
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.
is this 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.
Yes
|
@PavelMakarchuk, in PR #4815 the new code looks like this:
I don't understand line 122: the capital_gains_tax is not being assigned to a local variable. And on line 124, I don't understand the point of adding Should the new code be something like this? |
Yes, my mistake, that was exactly the intention |
|
@PavelMakarchuk, There seems to be a problem with building the documentation. |
The CI issue is affecting every Pull Request right now - we have an issue filed for it but it has not been fixed yet |
...icy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/alternative_minimum_tax.yaml
Outdated
Show resolved
Hide resolved
...e_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/alternative_minimum_tax.py
Outdated
Show resolved
Hide resolved
...e_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/alternative_minimum_tax.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/amt_income.py
Outdated
Show resolved
Hide resolved
...s/variables/gov/irs/tax/federal_income/alternative_minimum_tax/regular_tax_before_credits.py
Outdated
Show resolved
Hide resolved
...s/variables/gov/irs/tax/federal_income/alternative_minimum_tax/regular_tax_before_credits.py
Outdated
Show resolved
Hide resolved
...variables/gov/irs/tax/federal_income/alternative_minimum_tax/income/amt_separate_addition.py
Outdated
Show resolved
Hide resolved
...variables/gov/irs/tax/federal_income/alternative_minimum_tax/income/amt_separate_addition.py
Show resolved
Hide resolved
...riables/gov/irs/tax/federal_income/alternative_minimum_tax/income/amt_excluded_deductions.py
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4815 +/- ##
==========================================
+ Coverage 98.98% 99.00% +0.01%
==========================================
Files 2517 2532 +15
Lines 36615 36801 +186
Branches 197 152 -45
==========================================
+ Hits 36245 36435 +190
+ Misses 339 337 -2
+ Partials 31 29 -2 ☔ View full report in Codecov by Sentry. |
|
Seems like we're hitting some sort of resource limit on the GH Actions servers, around the microsim tests. I don't think this PR is adding significant resource use, but it could be a tipping point. Some options I see include:
@nikhilwoodruff any other options you'd see? |
I can remove Microsim tests (mostly not entirely) if we agree that this is the solution that we are going for |
|
Sure, try removing one or two to start? Does |
I would also think the reducing the test suite for structural reforms could help |
The |


Fixes #4775