-
-
Notifications
You must be signed in to change notification settings - Fork 162
Add OBBBA.json and NoOBBBA.json reform files #2943
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
Conversation
@maxkossek, Your next step on your local
If If you have questions about how to do this, ask for advice here or email me. ON SECOND THOUGHT Maybe wait to do the above until PR #2942 is merged into the master branch and you have merged that updated master branch into your local |
taxcalc/reforms/NoOBBBA.json
Outdated
// Title: Baseline with TCJA expiration, no OBBBA | ||
// Reform_File_Author: Max Kossek | ||
// Reform_Reference: TCJA.json | ||
// Reform_Baseline: 2017_law.json |
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.
@maxkossek Should this be the current_law_baseline.json
?
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, I've changed Reform_Baseline
to policy_current_law.json
.
…BBBA reform files to use groupings.
@martinholmer, do you all base your out.csv from the reform files based on the output of the res.csv file from running the tests? That is, simply copy the res.csv files to out.csv. This is what I did in commit 8640a0c. The |
@maxkossek said in PR #2943:
Excellent point! So the |
…t_reforms.py:test_round_trip_reforms
@martinholmer I've implemented this in c49cd98. What do you think about changing the |
@maxkossek said in PR #2943:
I think this is a good idea. Consider specifying a dictionary that has reform-file-name (rname) keys and tax_year values, but include only the files that you want to have tax_year greater than 2020. Then access this dictionary using the You may still want to specify |
This is added in commit: 8336b8a. My local tests pass. Marking this PR as ready for @martinholmer @jdebacker to review. |
@maxkossek, Remember that the Tax-Calculator Python coding style is to use single quotes. So, the code fragment:
should look like this:
|
@maxkossek, The three CPS tests in test_reforms.py ( |
Thank you @martinholmer, I've made these changes in: 20e46ff. To enforce the coding style, do you want me to add |
@maxkossek asked in PR #2943:
Thanks for pointing out the existence of this
There are a few lines that use double quotes in a situation in which both type of quotes are necessary. |
@maxkossek, My review PR #2943 is complete. This is very nice work, especially for someone who is relatively new to the Tax-Calculator project. @jdebacker, We are awaiting your review of PR #2943. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2943 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 13
Lines 2657 2657
=========================================
Hits 2657 2657
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
I approve these changes
@maxkossek Excellent work in this PR! Merging. |
This pull request adds a reform file for the counter-factual of the TCJA expiring and no OBBBA passing, law thus reverting to a pre-TCJA baseline.