from os import environ # TODO: setze Browser Bots auf False SESSION_CONFIGS = [ dict( name='human1', # player B has 10 choices to make display_name="Treatment Human I", num_demo_participants=30, app_sequence=['human'], use_browser_bots=False, ppg=3, doc="""""" ), dict( name='human2', # player B has 1 choice to make display_name="Treatment Human II", num_demo_participants=30, app_sequence=['human'], use_browser_bots=False, ppg=3, doc="""""" ), dict( name='algorithm1', # player 2 has 10 choices to make display_name="Treatment Algorithm I", num_demo_participants=20, app_sequence=['algorithm'], use_browser_bots=False, ppg=2, doc="""""" ), dict( name='algorithm2', # player 2 has 1 choice to make display_name="Treatment Algorithm II", num_demo_participants=20, app_sequence=['algorithm'], use_browser_bots=False, ppg=2, doc="""""" ), dict( name='algorithm3', # player 2 has 1 choice to make, no algortithm, control treatment display_name="Treatment Control", num_demo_participants=20, app_sequence=['algorithm'], use_browser_bots=False, ppg=2, doc="""""" ) ] # if you set a property in SESSION_CONFIG_DEFAULTS, it will be inherited by all configs # in SESSION_CONFIGS, except those that explicitly override it. # the session config can be accessed from methods in your apps as self.session.config, # e.g. self.session.config['participation_fee'] SESSION_CONFIG_DEFAULTS = dict( real_world_currency_per_point=1.00, participation_fee=0.00, doc="" ) # TODO: set OTREE_PRODUCTION to 1 # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'de' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'EUR' USE_POINTS = False ROOMS = [ dict( name='hltccwpqrj', display_name='28.06.2021 Testraum', participant_label_file='_rooms/hltccwpqrj.txt' ), dict( name='q3t5kmeu8r', display_name='29.06.2021 11:30', participant_label_file='_rooms/q3t5kmeu8r.txt' ), dict( name='3bwyj6dxvu', display_name='29.06.2021 13:00', participant_label_file='_rooms/3bwyj6dxvu.txt' ), ] ADMIN_USERNAME = 'hfp-admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') OTREE_AUTH_LEVEL = 'STUDY' DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = 'zi83ewd)l0o1&)swkb52fn!$-h35v8q4=4!io@!zrr4brr!iki' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']