-
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
Error using problematic r1.json file when doing a macro reform simulation #612
Comments
@brittainhard, What is "problematic" about the I thought your recent fixes with respect to start year on the file-upload page had fixed the bug reported in issue #578. What error did you get? Was it a Tax-Calculator error or a TaxBrain error? |
@martinholmer the feature that allowed file uploads to be used for simulations came with the earlier PR to enhance file-input interactions on webapp. The view that handles the macro simulations does support file data, but does not support the EDIT: the error was in taxbrain. |
To further clarify, this is not a bug with the initial file upload, only when you use the file upload to run simulations. Really comes down to an input error. |
@brittainhard said about issue #612:
I don't understand what kind of error the Here are the
|
@martinholmer the error is this:
Not the same issue, but definitely coming from the same file. This feature wasn't designed with that reform file in mind, so we have to deal with this edge case. My hunch is that the problem is similar to the #578 problem. Haven't made work on it yet, but the fix will be added to the next release. |
@brittainhard posted in TaxBrain issue #612 the following as the last item in the error traceback:
This error message shows that the error occurred in TaxBrain (before Tax-Calculator was ever called) in the
Notice that this error has nothing to do the first budget year, but rather has to do with the macroeconomic GDP elasticity passed to the @brittainhard, Can you show us the value of |
@martinholmer thanks for looking into this for me. Your insight is definitely helpful. This is on deck for the next release, but it is not currently the highest priority. My focus right now is on getting @hdoupe access to do his own deployments. After that is ready, I can begin to tackle this problem, and other issues that need fixing before the next release. I can then provide you with the debugging information. |
@brittainhard said:
OK, good. So, where do you stand in working with @hdoupe to get TaxBrain 1.0.1 operational? |
@martinholmer |
@brittainhard said:
I don't understand what you mean by "is up on production right now". I thought the new version was supposed to drop the hash and say this:
Am I confused? |
@martinholmer where on the app are you seeing that text in that picture you posted? I wasn't aware that we were supposed to show I was also not aware that we were supposed to show the taxcalc version and the taxbrain version. Can you clarify a bit? |
@brittainhard asked:
Go to URL http://www.ospc.org/taxbrain/ This is the only place that TaxBrain says what version it is, so it should be up-to-date and informative. We discussed this months ago, so maybe you've forgotten. Here is a summary of the prior conversation: The commit hash is not useful (I couldn't find the one listed now) and is "scary" for non-developers. And the current version of the info says nothing about what version of TaxBrain is running. So, we agreed to have something like this:
There is no need for any commit numbers because each repo has the commit for each release/version. (Sorry I was confused about what T-C version Matt wanted; I see now that he wanted to pair TB 1.0.1 with T-C 0.9.0.) If we don't have this kind of information on the Can we make this change immediately? |
@martinholmer said in issue #612:
Actually, this is not correct because the top of the Static Results page shows this same information: So, we need to eliminate the commit hash here as well. And the version of TaxBrain being used it not mentioned (otherwise there would be some mention of 1.0.1). Also, what does And a final suggestion. While it is useful to show the time of day the results were generated, not specifying the time zone is highly confusing. If the clocks on the servers are all set to @GoFroggyRun and @hdoupe, Do either of you know how to change the TaxBrain code along the lines of the discussion at the end of issue #612? If so, it would be great if you could prepare a pull request that clarifies what the |
@martinholmer I'll look into this unless @GoFroggyRun already has an idea of how to fix this. |
@hdoupe said:
Great! Any suggestions about where Hank should start looking in the code, @GoFroggyRun? |
It seems to me that modifying the code line here will do the work. |
@GoFroggyRun said:
Yes, that line seems to generate the line right under the @hdoupe, Can you try to change it? But we still don't know what Meanwhile, @GoFroggyRun, can you change the version information at the bottom of the Is there a way for the two of you to test your changes while each of you prepare a pull request? |
@martinholmer @GoFroggyRun I think I it will be easier to change this part of the code:
Then change this to something like
Then, we don't have to change the html code. I think that the html code is the only place where |
@hdoupe suggested alternative approach to #612 code version changes. OK, that makes sense. How do we get the TaxBrain version? Now it is 1.0.1 but will be different in the future. @GoFroggyRun, Does this approach make sense to you? |
Actually, do we need to keep track of the commit info? If not it would be nice to drop it. Otherwise, a new variable would have to be created in |
@martinholmer @hdoupe , the alternative approach makes sense to me as well. @martinholmer said:
No problem. I'll take a look at this. |
@hdoupe asked:
No, please drop the commit number per my earlier comment:
|
Whatever @brittainhard was concerned about in #612 seems to be fixed in TaxBrain 1.0.2 version. |
Probably similar to the bug in #578
The text was updated successfully, but these errors were encountered: