-
-
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
Reorganize parameters -- will facilitate TaxBrain updates #1109
Conversation
The standard deduction max for dependents used to be tacked on to _STD. I just added a commit to separate it into its own parameter |
Current coverage is 98.81% (diff: 100%)@@ master #1109 diff @@
==========================================
Files 38 38
Lines 2830 2879 +49
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 2796 2845 +49
Misses 34 34
Partials 0 0
|
@talumbau told me on the phone that TB updates would be easier if we point out parameter name changes whenever they occur: This PR renames I believe that neither The easiest way to see this in the diffs is by looking at |
This contains no breaking changes and does not influence tax logic. I hope to merge at the end of the day tomorrow. |
Just a quick note to say that the Appveyor 'X' here is not a problem. Now that Appveyor is turned on, it will try to build all PRs. Until #1111 is merged, it won't have the proper scripts (or the fix that makes the tests fail on Windows) |
@MattHJensen, pull request #1109 look good to me. |
Thanks @zrisher, @martinholmer, @feenberg (for comments on the original issue), and @talumbau (for comments on the phone). Merging. |
section
attribute for all parameters in current_law_policy.json that can be used w puf.csv
#1141
In #1074, I described several disconnects between TaxBrain and current_law_policy.json:
This PR resolves those disconnects by
Adding
section_1
,section_2
, and in some casessection_3
fields that specify the conceptual relationship among parameters and therefore how they ought to be grouped on TaxBrain.Sorting the parameters in current_law_policy.json to be easier to use. (I have not written down/formalized this schema, but I hope it will be fairly easy to stick to by looking at the examples).
Specifying which parameters should not be included in TaxBrain by leaving off the section fields. My intent was to include every parameter on TaxBrain, but some have not received any attention for a long time, and I figure they might need to be dusted off.
Updating the names and descriptions of parameters such as II_rts and PT_rts to make their relationships more obvious and thereby allow us to do away with the 1-2 relationships between TaxBrain inputs and Tax-Calculator parameters.
One of the core motivations for this project is to get to the point where we can fully specify the content and layout of the TaxBrain input page's tax-law parameters with the information in current_law_policy.json plus a set of translation rules. Once that is done, then the tax-calculator team should be able to trigger changes (whether manual or automated) to the TaxBrain input page by making a change to
current_law_policy.json
. @talumbau @PeterDSteinberg @brendancol I'd particularly appreciate feedback on that aspect of the project and which additional steps might be needed.cc, @martinholmer, @feenberg, @GoFroggyRun, @zrisher, @codykallen, @andersonfrailey, @Amy-Xu