Fixed #1153 Track Random Seed#1154
Conversation
|
Review these changes at https://app.gitnotebooks.com/stumpy-dev/stumpy/pull/1154 |
|
Currently, However, internally, the |
|
With our new setup for tracking the random seed, at the start of each unit test file, you'll see: So, to reproduce all of the tests, you simply need to go into the This should make reproducing failed tests locally a lot easier! And then revert the Note that all of this is still using the old "legacy numpy random number generator" and so all of our tests (that require a specific seed) are unchanged. |
Fixed #1153
Also see #1112
Pull Request Checklist
Below is a simple checklist but please do not hesitate to ask for assistance!
black(i.e.,python -m pip install blackorconda install -c conda-forge black)flake8(i.e.,python -m pip install flake8orconda install -c conda-forge flake8)pytest-cov(i.e.,python -m pip install pytest-covorconda install -c conda-forge pytest-cov)black --exclude=".*\.ipynb" --extend-exclude=".venv" --diff ./in the root stumpy directoryflake8 --extend-exclude=.venv ./in the root stumpy directory./setup.sh dev && ./test.shin the root stumpy directory