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

Adjusting assertion threshold to fix flaky test #683

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

crawlingcub
Copy link

@crawlingcub crawlingcub commented Sep 29, 2021

Hi,

I observed that the test test_calc_bootstrap sometimes fails when the seed setting line such as np .random_seed(123) is removed. It failed 55 times out of 500 times that i ran. I adjusted the assertions in the test to make sure that they always pass. Please let me know if this change looks reasonable. Since the test is more stable, do you think I can also remove the seed-setting line?

Happy to include any other suggestions.

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.

1 participant