-
Notifications
You must be signed in to change notification settings - Fork 5
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
Make variancechecker() less ugly #1
Comments
I'll take a look at this |
Just a question, is elif i < 40 and i >= 35: suppose to give 4.0, not 3.5? Also. is elif i < 5 and i >= 0: suppose to give 15, not 0.5? |
@2hands10fingers Also, should 1000000 return 0.0095? |
@CometS1 Good catch on the elif i < 40. It seems I accidentally skipped a number. The elif i < 5 and i >= 0 is supposed to return 15, yes |
Fix Issue #1, Cleaned up variancechecker function
Issue is now closed. Thanks everyone for adding their entries. @CometS1 takes the cake for cleanest and most functional approach. |
Currently the variancechecker() function is disgusting. Make it much more elegant and reduce line length. It can be found in packageparser.py
The text was updated successfully, but these errors were encountered: