-
Notifications
You must be signed in to change notification settings - Fork 0
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
Global rng #106
base: main
Are you sure you want to change the base?
Global rng #106
Conversation
Rather than adding a new argument, I just went ahead and allowed |
Looks good and makes a lot of sense! |
@s3alfisc Great, thank you! Is there a way to re-run the CI checks now that the github action is updated? EDIT: nvm, figured it out! |
So it looks like the tests for seeds are failing, but they worked yesterday, I'm going to make the tests a bit more robust and try multiple seeds. |
So as it stands, this part of the
Right now, if you don't add a seed explicitly, Is setting the random seed globally like this a big use-case for https://numpy.org/doc/stable/reference/random/generated/numpy.random.seed.html |
resolves #104
numpy.random.Generator
as argument toseed