-
Notifications
You must be signed in to change notification settings - Fork 32
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
Update TaxBrain input page based on new info from current_law_policy.json #436
Comments
This is ready now that PSLmodels/Tax-Calculator#1109 is merged. After the final b1 milestone is cleared, this should be the next big priority. cc @talumbau. |
@MattHJensen is the idea here to manually update the inputs on the taxbrain page when the law policy changes? |
@brittainhard asked:
Yes, that's the idea for now. After we have some experience with that process, we can make a decision about whether it is worth the effort to refactor the TaxBrain backend to automatically generate from current_law_policy.json. (see #435 for one approach we might consider at that time). |
@MattHJensen looking at this more, it seems like we are adding another big feature -- the ability to set year parameters for inputs themselves, rather than just a blanket parameter set by the |
@brittainhard asked:
No. The only changes should be adding some fields, reorganizing the ordering of the fields, renaming some sections and subsections, and adding new sections. |
Ahh, okay. I was reading too much into that json file. |
Earlier @brittainhard asked:
To which I replied:
I should clarify: The values of the parameters should continue to be pulled over automatically as they are now. There should be no manual update for parameter values. The manual update will be when we add new parameters, rename them, or change their sections. |
@MattHJensen @talumbau I'll give you an update on where I am. I have created two functions that take the JSON from There is a problem on the taxcalc side, however. The lines here do not retain the order of A fix to this would be to add the keyword argument This fix would have to be made on the Let me know what you think. |
good info @brittainhard. Let me try what you suggest quickly and see what it looks like on the |
@brittainhard I just created this PR: is that what you had in mind? |
This was closed by #450 |
PSLmodels/Tax-Calculator#1109 makes it so that current_law_policy.json fully specifies the content and layout of the TaxBrain input page to a human interpreter. A major update to the TaxBrain input page will be necessary when that PR is merged to reflect all of the new parameters available.
The text was updated successfully, but these errors were encountered: