You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to add a property based test similar to /~https://github.com/Nikoleta-v3/Axelrod/blob/635/axelrod/tests/integration/test_matches.py but that checks that when setting a seed we get the same results for stochastic strategies (those tests there only check for 'well behaved deterministic' strategies. I have a hunch that this isn't actually true as we're not setting numpy's seed...
If that's the case and both seeds need to be set, we should document how to get reproducible results and either:
Indicate that you should set both seeds (numpy and stdlib);
Write a little helper function that does this (and just document it: axelrod.seed() or something like that...
The text was updated successfully, but these errors were encountered:
I'd like to add a property based test similar to /~https://github.com/Nikoleta-v3/Axelrod/blob/635/axelrod/tests/integration/test_matches.py but that checks that when setting a seed we get the same results for stochastic strategies (those tests there only check for 'well behaved deterministic' strategies. I have a hunch that this isn't actually true as we're not setting numpy's seed...
If that's the case and both seeds need to be set, we should document how to get reproducible results and either:
axelrod.seed()
or something like that...The text was updated successfully, but these errors were encountered: