from os import environ SESSION_CONFIGS = [ dict( name='centipede_game_hot_final', display_name="Centipede Game: Hot (Final Version)", app_sequence=['instruction_combine_newtry','H_newtry','survey'], num_demo_participants=8, #use_browser_bots=True, ), dict( name='centipede_game_hot_like_cold_final', display_name="Centipede Game: Hot-like Cold (Final Version)", app_sequence=['instruction_combine_newtry','HLC_newtry','survey'], num_demo_participants=8, #use_browser_bots=True, ), #dict( #name='centipede_game_hot', #display_name="Centipede Game: Hot", #app_sequence=['instruction','H','survey'], #num_demo_participants=6, #), #dict( #name='centipede_game_hot_like_cold', #display_name="Centipede Game: Hot-like Cold", #app_sequence=['instruction_cold','HLC','survey'], #num_demo_participants=6, #), #dict( #name='centipede_game_only_decision_part_hot', #display_name="centipede_game_only_decision_part_hot", #app_sequence=['H'], #num_demo_participants=6, #), # dict( # name='graph_testing', # display_name="Game Tree Testing", # app_sequence=['graph_testing'], # num_demo_participants=2, # ), #dict( #name='centipede_game_only_decision_part_hot_like_cold', #display_name='centipede_game_only_decision_part_hot_like_cold', #app_sequence=['HLC'], #num_demo_participants=6, #), #dict( #name='survey', app_sequence=['survey'], num_demo_participants=2, #), ] # 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, experiment_time="12:30", experiment_exact_time="2022-05-15 21:55:00", hot_treatment=1, doc="" ) #total_subject=6 PARTICIPANT_FIELDS = ['drop', 'single', 'page_number'] SESSION_FIELDS = [] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'USD' USE_POINTS = True ROOMS = [ dict( name='EER_2022_G3', display_name='EER_2022_G3', participant_label_file='_rooms/econ101.txt', use_secure_urls=True ), #dict(name='live_demo', display_name='Room for live demo (no participant labels)'), ] if environ.get('OTREE_PRODUCTION') not in {None, '', '0'}: DEBUG = False else: DEBUG = True AUTH_LEVEL = environ.get('OTREE_AUTH_LEVEL') ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') CHANNEL_ROUTING = 'transcription.routing.channel_routing' DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ SECRET_KEY = '9446827812067' INSTALLED_APPS = ['otree']