-
-
Notifications
You must be signed in to change notification settings - Fork 158
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 _cpi_offset parameter and associated logic and tests #1667
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1667 +/- ##
======================================
Coverage 100% 100%
======================================
Files 37 37
Lines 2856 2880 +24
======================================
+ Hits 2856 2880 +24
Continue to review full report at Codecov.
|
@martinholmer, what do you think about adding a test that checks that a reform with an _ACPIU growdiff response produces the same result as a reform cpi offset? "growdiff_response": { |
Yes, top of page makes sense to me. How about: _section_1: Parameter Indexing |
@MattHJensen asked:
Thanks for the good suggestion. The test has been added. |
LGTM. Thanks @martinholmer! |
Does anybody else want to review the code and tests in #1667 that add a new Speaking of 0.13.2, why do we have multiple House TCJA reform files in taxcalc/reforms when the House has passed a bill. Don't we want one @MattHJensen @codykallen |
@martinholmer asked
We made multiple versions to account for how the bill evolved. This allowed the comparison of multiple versions, although this is less useful now that it has been passed by the House. |
@codykallen said:
I think that approach was very sensible.
That's my point. Going forward the evolution of the House bill is pretty academic. |
I'd prefer to keep these because some of our users have wanted to compare different versions of the bill and see how priorities shifted as it evolved over time. I also don't see much a maintenance cost to keeping them. We will need a better and more-consistent naming scheme though. |
I agree that the json files should be updated to include the new _cpi_offset parameter. I'm not sure about #1671 -- the legislative text really is ambiguous as far as I can tell. @codykallen, what do you think? |
@MattHJensen, there certainly is at least some ambiguity. Perhaps we should open a separate issue to discuss any potential notes and comments to add to each of the TCJA json files. |
Merging. Thanks again @martinholmer cc @GoFroggyRun |
This pull request attempts to add the CPI-offset capability discussed in issue #1621.
The required changes in
current_law_policy.json
have been made except for the section titles. @MattHJensen, presumably this parameter will be available to TaxBrain users, so I'd like to hear from you what thesection_1
andsection_2
titles should be, and also where on the TaxBrain input page you intend to show this new parameter (presumably at the very top, right?).Any suggestions or comments are welcome.
@Amy-Xu @andersonfrailey @hdoupe @GoFroggyRun @codykallen @evtedeschi3