-
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
Version 1.0.1 Testing #606
Comments
On completion of the tasks I set out for tomorrow and further input here, I will send out the email as required in the |
@hdoupe said:
I'm not sure how TaxBrain is suppose to work, but I have found the paper trail on this matter. First, look at item 4 in Tax-Calculator issue 1074 and item 4 in Tax-Calculator pull request 1109, which was merged on December 22, 2016. Then look at TaxBrain pull request #448 (merged on January 12, 2017), which was supposed to be the fix on the TaxBrain side. However, the #448 TaxBrain changes did not eliminate the So, maybe I'm reading too fast, but it seems as if the behavior you've found was once considered a "feature", then became to be viewed as a "bug", but was never removed from TaxBrain. You're doing a great job on this TaxBrain debugging, so I'll leave it to you to read these issues and pull requests more carefully than I have to see what the intention was. Only then will you be able to determine if this behavior is a "feature" or a "bug". |
@hdoupe this is great stuff. Some suggestions/misc. items:
|
@martinholmer said
Thanks for your feedback. I agree with your interpretation that this used to be a feature but now it is probably a bug. I will open a separate issue addressing this bug and a PR with a test exposing this bug. @talumbau said
Thanks for the heads up. It would have been unfortunate if I'd swamped the test webapp or blown up my computer.
Good idea. I will do this. |
I'm closing this since I sent out an email documenting these results in the list serve. Issue #615 and PR #627 address the scripts I mention here:
|
I discovered several bugs in the taxbrain interface. I used the requests library as suggested by @talumbau in issue #602 to create reforms on the test webapp and the local instance of the webapp. I uploaded the script
post_reforms.py
on mywebapp-public
branch.I altered every parameter in the taxbrain interface, did a HTTP POST on my local webapp instance, copied the keywords to dropq from the celery log, and compared the expected dictionary to the actual dictionary in
hdoupe/webapp-public/reform_input_processing/gen_reforms.assert_reforms_equal()
I think this could be better done using the functions intest_views.py
and I will spend time going over that tomorrow._ID_Medical_frt_add4aged
-- I received a warning when I entered -0.02 which is in the permitted range of -0.025 to 0.0._AMT_CG_rt{1,2,3}
-- if I alter_CG_rt{i}
then the corresponding rate_AMT_CG_rt{i}
is pinned to the former rate, i = 1, 2, and 3. But_AMT_CG_rt4
is not affected. If_CG_rt{1,2,3}
are not altered then_AMT_CG_rt{1,2,3}
are correctly set to the specified values. See http://ospc-taxes7.herokuapp.com/taxbrain/edit/1406/?start_year=2017 and http://ospc-taxes7.herokuapp.com/taxbrain/edit/1407/?start_year=2017 I may be wrong and this could be a feature and not a bug. @martinholmer what are your thoughts here?As noted in issue Itemized deduction ceiling switch not correctly processed by TaxBrain GUI interface #598 the last three switches of
_ID_BenefitSurtax_Switch
and_ID_BenefitCap_Switch
cannot be switched toFalse
.Tomorrow, I will clean up the scripts that I posted above and set up tests for the bugs listed above. I will also look into varying the start year and uploading reform files. Hopefully this first round of testing will be finished by the end of the day tomorrow.
@martinholmer @PeterDSteinberg @brittainhard
The text was updated successfully, but these errors were encountered: