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

Reducing the Wil Wheaton factor of the rng-test #60154

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

Stadler76
Copy link
Contributor

@Stadler76 Stadler76 commented Aug 14, 2022

Summary

Bugfixes "Reducing the Wil Wheaton factor of the rng-test"

Purpose of change

Reduce the chance of CI runs failing due to bad rng in an rng-test.

Describe the solution

In one of my PRs I've encountered a reproducable test failure due to bad rng. Raising the number of samples from 100 to 200 fixed it.
Additionally I've tagged the 3 tests there with [rng].

Describe alternatives you've considered

Blame Wil Wheaton™ for it and don't change the test?!

Testing

After raising the number of samples from 100 to 200 I couldn't repro it anymore with the same seed.

Additional context

For those who're asking why the fuzz about Wil Wheaton, then here's the proof: The Wil Wheaton Dice Curse - YouTube
I have to warn you to not watch the video with headphones on and it's recommended to reduce the volume because of the loud laughs of the audience (and Wil Wheaton).

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` Code: Tests Measurement, self-control, statistics, balancing. <Bugfix> This is a fix for a bug (or closes open issue) labels Aug 14, 2022
@Stadler76 Stadler76 changed the title Reducing the Will Wheaton factor of the rng-test Reducing the Wil Wheaton factor of the rng-test Aug 14, 2022
@github-actions github-actions bot added json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Aug 14, 2022
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Aug 14, 2022
@dseguin dseguin merged commit 85a64f1 into CleverRaven:master Aug 15, 2022
@Stadler76 Stadler76 deleted the willwheaton-- branch August 15, 2022 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Code: Tests Measurement, self-control, statistics, balancing. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants