Skip to content
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 Issue #1, Cleaned up variancechecker function #2

Merged
merged 3 commits into from
Oct 27, 2018

Conversation

CometS1
Copy link
Contributor

@CometS1 CometS1 commented Oct 25, 2018

Modified variancechecker to use calculations instead of checks for ease of use, created calculatevariance function for use with variancechecker.

@2hands10fingers
Copy link
Owner

Interesting! I'll try testing it out later tonight.

@CometS1
Copy link
Contributor Author

CometS1 commented Oct 26, 2018

How did it go?

@2hands10fingers
Copy link
Owner

@CometS1

Very clean, but as you can see here, the calculations are off from the desired number.

Result on the left is using your code, and the right is the old code.

@CometS1
Copy link
Contributor Author

CometS1 commented Oct 27, 2018

Alright, fixed the issue. There was a large gap between 9500 and 100000 that gives 0.095 no matter what the number rounded was (For example, 23025 gives 0.095). The current commit should fix that.

@2hands10fingers 2hands10fingers merged commit 1e3912b into 2hands10fingers:master Oct 27, 2018
@2hands10fingers
Copy link
Owner

@CometS1 Beautiful! You've earned this one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants