ctreffe / alfred

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

Optimize ListRandomizer behavior in debug mode #84

Closed jobrachem closed 8 months ago

jobrachem commented 3 years ago

It would be nice if sessions that were run in debug mode are assigned to a condition, but not counted towards the running counter of participants. This way, we can conduct test runs that will not take up condition slots.

jobrachem commented 3 years ago

But the debug mode should also be usable for testing conditions. A possible solution: Sesssions with the "debug" prefixes can be matched together - but for sessions without it, the randomizer will ignore "debug" data.

jobrachem commented 8 months ago

Should probably get the same fix as #220. Maybe we can even use the same suffix ("test") for the debug mode as for the test mode.

jobrachem commented 8 months ago

Turns out, since ExperimentSession.test_mode already treats both test mode and debug mode as "test" mode, there is no need for further coding here.