ctreffe / alfred

Alfred - A library for rapid experiment development
MIT License
10 stars 1 forks source link

Make ListRandomizer abort experiment immediately if full #98

Closed jobrachem closed 3 years ago

jobrachem commented 3 years ago

Currently, the experiment is only aborted when get_condition is called. This should probably be optional.

jobrachem commented 3 years ago

In v2.2.0, you can check for the ListRandomizer's status with the new attributes ListRandomizer.full, ListRandomizer.allfinished, ListRandomizer.nopen, ListRandomizer.npending - these allow a fine-grained manual control over experiment abortion.