kostaleonard / mlops

A framework for conducting MLOps.
MIT License
3 stars 0 forks source link

Add pytest-randomly plugin to set random seeds for tests #63

Closed kostaleonard closed 2 years ago

kostaleonard commented 2 years ago

Tests that depend on the results of randomized algorithms can cause erroneous failures (e.g., in acceptance tests of ML algorithms) or legitimate, but non-reproducible failures. The pytest-randomly plugin sets relevant random seeds before test sessions to ensure reproducible test results.