swiss-seismological-service / SeismoStats

https://seismostats.readthedocs.io
GNU Affero General Public License v3.0
3 stars 3 forks source link

estimate_b tests are based on chance #168

Open aronsho opened 1 week ago

aronsho commented 1 week ago

For the b-value tests, we are generating random synthetic data. However, this makes the tests slow and prone to error (even if the function is correct, sometimes the tests will fail)

Probably, we should instead use one static sample.

aronsho commented 1 week ago

Use a fixed seed