dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
403 stars 134 forks source link

Reset NumPy random state when running Sphinx-Gallery examples #685

Closed sdhiscocks closed 2 years ago

sdhiscocks commented 2 years ago

A number of examples modify the seed when run, and this seed is then carried on into further examples currently. This may unintentionally fix the output of later examples, in particular when running all examples (e.g. CircleCI tests and Read the Docs).

codecov[bot] commented 2 years ago

Codecov Report

Merging #685 (f30d1de) into main (bfbe6ec) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #685   +/-   ##
=======================================
  Coverage   94.60%   94.60%           
=======================================
  Files         170      170           
  Lines        8548     8548           
  Branches     1654     1654           
=======================================
  Hits         8087     8087           
  Misses        342      342           
  Partials      119      119           
Flag Coverage Δ
integration 68.49% <ø> (-0.03%) :arrow_down:
unittests 92.11% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bfbe6ec...f30d1de. Read the comment docs.