-
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
new features in json file #431
Comments
@MattHJensen said:
I don't know anything about how easy or difficult different kinds of changes to TaxBrain are, but it seems to me that this first option is a very sensible approach. There is no need for different output options, just a need to block the current path to the "dynamic" analysis options. That's my two cents on this. @MattHJensen @talumbau @feenberg @brendancol @Amy-Xu @GoFroggyRun @andersonfrailey |
Thanks @martinholmer! That makes sense to me too. |
Added this to milestone b1 as it is blocking any new TC releases. |
I actually think 1 is probably the easiest, due to the fact that it maintains the "file based reform generates static results page" workflow, which is desirable. I can take this on. |
Sounds good. Thanks @talumbau |
- A file-based reform could have behavioral parameters. If this is the case, you should not be able to launch a dynamic simulation. - Adds a modal pop-up if user clicks Link to Dyn. Sims on results page for file based reform that includes behavior parameters. - Behavior is unchanged if file based reform contains no behavioral components - Depends on change to worker node - Resolves #431
@martinholmer recently augmented the JSON reform file to include Growth, Behavior, and Consumption parameters in PSLmodels/Tax-Calculator#1083
These changes break backwards compatibility for TB and TC, and some updates to TB are required before we can deploy any version of TC greater than 0.7.2 to TB.
I described the core issue in PSLmodels/Tax-Calculator#1083:
To be more specific, the problem is that the new JSON format allows users to upload a file that will produce a partial equilibrium result rather than to a static result. The resulting page shouldn't have the same functionality as a static results page, and it also probably can't have the same functionality as the partial equilibrium result page.
The reason that the page shouldn't have the same functionality as the static results page is that it won't make sense for the user to continue on to dynamic modeling after having specified behavioral parameters.
The reason that the page probably can't have the same functionality as the partial equilibrium result page is that our existing PE page allows the user to return to the static results, but no static results were generated with the json file.
I see two options for when the user includes nonzero behavioral parameters:
Have the page take the user to what looks like the static results page, but when the user clicks "Link to Dynamic Simulations" a pop up will say "Your simulation is already a partial equilibrium dynamic simulation. Please resubmit without behavioral parameters if you would like to link to other dynamic modeling options."
Have the page look like the partial equilibrium results page and either:
a) remove the "The microsimulation upon which this dynamic simulation was based can be found here" or,
b) (fancier version) leave the "The microsimulation upon which this dynamic simulation was based can be found here" and when the user clicks "here", run that static calculation and generate the static results on the fly.
@talumbau, it would be helpful to know which of these is easier to implement, and if there will be any other difficulties on the back end with incorporating the new json features from PSLmodels/Tax-Calculator#1083
The text was updated successfully, but these errors were encountered: