khanna-lab / cadre

Other
0 stars 0 forks source link

Note to self: Setting tolerance for stochastic tests #21

Closed khanna7 closed 2 years ago

khanna7 commented 2 years ago

https://github.com/khanna7/cadre/blob/c60fd4ec339f397882a15af4f34760459321b00e/python/mytests/test_person.py#L28

Best practices to ensure tests depending on randomly drawn parameters don't fail?

khanna7 commented 2 years ago

Daniel said he does this heuristically too.