-
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
Fix Form Inputs #640
Fix Form Inputs #640
Conversation
@brittainhard, The following warnings suggest a need for code revision:
and
|
@martinholmer this error effects all reforms from 2013-2016, but beyond 2017 everything it working okay. I think I zeroed in on the problem. The inputs that fail are the ones that have validations specs in
This one has validators that uses other params for comparison. I haven't tried all of these, but these are the ones that are failing consistently. Goof around with this and I think you'll find the same thing I did. The source of the whole problem is this: the function, It fails on this line: So, And so on, until you get to 2017, which only has one default to compare to. 2018 also has no problems, and also has one default to compare to. It looks like its all coming from this clause in I don't have experience with this part of the taxcalc code, so I think your insight is essential here. It looks like there is some serious incongruity between taxbrain and taxcalc, and I'm not sure how to tackle it yet. Let me know what you think. |
@brittainhard said about the bug reported in issue #640:
Please do not spend any time trying to fix the TaxBrain input validation logic. That logic is going to be completely eliminated from TaxBrain as we implement the TaxBrain redesign suggested by @talumbau in issue #619. In particular, see this comment in the discussion of that issue. Put another was, implementing #619 will make the bug in #640 (and many others as well) go away. So, the best use of your time is to help @hdoupe implement #619. |
Closes #638