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 fail percentage #1075

Closed
wants to merge 1 commit into from
Closed

Conversation

zachpmartin
Copy link

@zachpmartin zachpmartin commented Aug 27, 2019

Fixes #1074

The fail percentage was calculated incorrectly. Something that failed
all of the time would be reported as failing 50% total.

The fail percentage was calculated incorrectly. Something that failed
all of the time would be reported as failing 50% total.
@zachpmartin
Copy link
Author

#1074

@aldenpeterson-wf
Copy link
Contributor

this lgtm (I thought another PR fixed this though)?

@cyberw
Copy link
Collaborator

cyberw commented Sep 3, 2019

@aldenpeterson-wf @SquirtsMacintosh This was fixed previously, but only in the in fail_ratio() method (ed542b0#diff-5d5f310549d6d596beaa43a1282ec49e). This particular line never called that, so it needed a fix of its own. Probably, an even better fix would be
fail_percent = self.fail_ratio()*100

@raiyankamal
Copy link
Contributor

I sent another PR with a commit on top of this one after seeing the suggestion by @cyberw
#1082

@cgoldberg
Copy link
Member

superceded by #1082

@cgoldberg cgoldberg closed this Sep 7, 2019
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.

Logged stats show incorrect failure percentage
6 participants