Commit 4d7282b
committed
TST: seed the noisy_barometer fixture to fix a pre-existing flake
test_noisy_barometer asserts a barometer reading within rel=0.03 of the clean
pressure, but the reading carries an unseeded Gaussian noise draw plus a
+1000 Pa constant_bias the expected value omits, leaving only ~+2.42 sigma of
headroom, so it already flaked at ~0.76% on develop (a 20k-trial check: develop
0.77%, this branch 0.75%). Passing a fixed seed makes it deterministic and also
exercises the new sensor seed argument.1 parent 15daf41 commit 4d7282b
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments