from os import environ #SESSION_FIELDS = ['absDevs'] SESSION_CONFIGS = [ dict( name='DFG_experiment', display_name="DFG_experiment_all_treatments", num_demo_participants=2, app_sequence=['a_instructions', 'DFG_experiment'], session=0, treatment=1, stranger_matching=1, doc=""" treatment=1: Baseline: Keine monetäre Strafe, treatment=2: Strafe für Vorteilsgewährung, treatment=3: Strafe für Amtsmissbrauch, treatment=4: Strafe für Vorteilsannahme, treatment=5: Strafe durch Nichtigkeit des Preises, stranger_matching=0: fixed groups stranger_matching=1: stranger matching """ ), #dict( # name='DFG_experiment_T2', # display_name="DFG_experiment_T2", # num_demo_participants=2, #app_sequence=['DFG_experiment_T2'], #treatment=['T2'], #stranger_matching=0, #doc=""" # stranger_matching=0: fixed groups # stranger_matching=1: stranger matching # """ #), #dict( # name='DFG_experiment_T3', # display_name="DFG_experiment_T3", # num_demo_participants=2, #app_sequence=['DFG_experiment_T3'], #treatment=['T3'], #stranger_matching=0, #doc=""" # stranger_matching=0: fixed groups # stranger_matching=1: stranger matching # """ #), #dict( # name='DFG_experiment_T4', # display_name="DFG_experiment_T4", # num_demo_participants=2, #app_sequence=['DFG_experiment_T4'], #treatment=['T4'], #stranger_matching=0, #doc=""" # stranger_matching=0: fixed groups # stranger_matching=1: stranger matching # """ #), #dict( # name='DFG_experiment_T5', # display_name="DFG_experiment_T5", # num_demo_participants=2, #app_sequence=['DFG_experiment_T5'], #treatment=['T5'], #stranger_matching=0, #doc=""" # stranger_matching=0: fixed groups # stranger_matching=1: stranger matching # """ #), #dict( # name='trust', # display_name="Trust Game", # num_demo_participants=4, # app_sequence=['trust'], #), #dict( # name='public_goods', # display_name="Public Goods", # num_demo_participants=3, # app_sequence=['public_goods', 'payment_info'], #), #dict( # name='guess_two_thirds', # display_name="Guess 2/3 of the Average", # num_demo_participants=3, # app_sequence=['guess_two_thirds', 'payment_info'], #), #dict( # name='survey', # display_name='survey', # num_demo_participants=1, # app_sequence=['survey', 'payment_info'], #), ] # 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=0.20, participation_fee=5.00, doc="" ) # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'EUR' USE_POINTS = True POINTS_CUSTOM_NAME = 'Taler' ROOMS = [ dict( name='T1_Room', display_name='T1_Room', # participant_label_file='CSG_Survey_Labels.txt', # use_secure_urls=True # for prolific, don't use a label list, use the session-wide link and add ?participant_label={{%PROLIFIC_PID%}} ), dict( name='T2_Room', display_name='T2_Room', # participant_label_file='CSG_Survey_Labels.txt', # use_secure_urls=True # for prolific, don't use a label list, use the session-wide link and add ?participant_label={{%PROLIFIC_PID%}} ), dict( name='T3_Room', display_name='T3_Room', # participant_label_file='CSG_Survey_Labels.txt', # use_secure_urls=True # for prolific, don't use a label list, use the session-wide link and add ?participant_label={{%PROLIFIC_PID%}} ), dict( name='T4_Room', display_name='T4_Room', # participant_label_file='CSG_Survey_Labels.txt', # use_secure_urls=True # for prolific, don't use a label list, use the session-wide link and add ?participant_label={{%PROLIFIC_PID%}} ), dict( name='T5_Room', display_name='T5_Room', # participant_label_file='CSG_Survey_Labels.txt', # use_secure_urls=True # for prolific, don't use a label list, use the session-wide link and add ?participant_label={{%PROLIFIC_PID%}} ), dict( name='Spare_Room', display_name='Spare_Room', # participant_label_file='CSG_Survey_Labels.txt', # use_secure_urls=True # for prolific, don't use a label list, use the session-wide link and add ?participant_label={{%PROLIFIC_PID%}} ), ] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ SECRET_KEY = 'phh_)f41ne#e=rfpa=6mr+o(t5q-4lb^=wlz2zfs)784$@*%(^' INSTALLED_APPS = ['otree']