ExperimentSession.test_mode#

property ExperimentSession.test_mode: bool[source]#

Indicates whether the experiment runs in test mode.

In test mode, alfred3 prefixes all session IDs with test for easy and save separation of test and production sessions.

You can start the test mode by appending test=true to alfred3’s start url. In a local experiment, this would mean using:

http://127.0.0.1:5000/start?test=true

Warning

Keep in mind that a test session will take up a slot in list randomization via ListRandomizer just as any other session. You have to use experiment version numbers to manage randomization slots.

Notes

The test mode will also be activated in debug mode.

Type

bool