-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Some of our unit tests are probabilistic, so they sometimes fail.
The tests are intended to verify that things like sampling weights are being applied correctly. But since the sampling is random, occasionally the tests don't pass. We should make this more sophisticated 🙂
Here's an example of a probabilistic test:
https://github.com/UDST/choicemodels/blob/master/tests/test_mct.py#L46
And a failure that was resolved simply by re-running the test:
https://travis-ci.org/UDST/choicemodels/jobs/427893157
Metadata
Metadata
Assignees
Labels
No labels