from os import environ # 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 = { 'real_world_currency_per_point': 0.05, 'participation_fee': 15.00, 'doc': "", } #participants per treatment ppt = 7 SESSION_CONFIGS = [ { 'name': 'MRall1page', 'display_name': 'Matrix Reasoning', 'num_demo_participants': ppt, 'app_sequence': ['instructions', 'MRall1page','risk_instructions', 'risk', 'big5','max_sat', 'CRT', 'demographics'], #'use_browser_bots': True }, ] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'SGD' USE_POINTS = True ROOMS = [ #{ # 'name': 'stdXnotc', # 'display_name': 'Standard with no time constraint', # 'participant_label_file': '_rooms/stdXnotc.txt', #}, #{ # 'name': 'randXnotc', # 'display_name': 'Randomized with no time constraint', # 'participant_label_file': '_rooms/randXnotc.txt', #}, #{ # 'name': 'splitXnotc', # 'display_name': 'Split with no time constraint', # 'participant_label_file': '_rooms/splitXnotc.txt', #}, #{ # 'name': 'stdXtc', # 'display_name': 'Standard with time constraint', # 'participant_label_file': '_rooms/stdXtc.txt', #}, #{ # 'name': 'randXtc', # 'display_name': 'Randomized with time constraint', # 'participant_label_file': '_rooms/randXtc.txt', #}, #{ # 'name': 'splitXtc', # 'display_name': 'Split with time constraint', # 'participant_label_file': '_rooms/splitXtc.txt', #}, ] 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 = """ Participants are automatically assigned into one of the 6 treatment groups """ # don't share this with anybody. SECRET_KEY = 'd$q9-j5p8g18+bj0u=+-pe!nps4&%qy1vg3kf6-!be73a#c#l-' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']