from os import environ SESSION_CONFIGS = [ dict( name='Survey', display_name="Survey", app_sequence=['SurveyandResults'], num_demo_participants=4, ), dict( name='Task1', display_name="Task 1", app_sequence=['Task1'], num_demo_participants=4, ), dict( name='Task2', display_name="Task 2", app_sequence=['Task2'], num_demo_participants=4), dict( name='Task3', display_name="Task 3", app_sequence=['Task3'], num_demo_participants=4), dict( name='Study05', display_name="Complete Study", app_sequence=['Start','Task1', 'Task2', 'Task3', 'SurveyandResults'], num_demo_participants=12) #dict( # name='Start Study', app_sequence=['Task1oldP', 'Task3', 'Task2', 'SurveyandResults'], num_demo_participants=12 #), ] ROOMS = [ dict( name='PEEL_lab', display_name='Pittsburgh Experimental Economics Lab' )] # 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.1, participation_fee=8.00, doc="" ) POINTS_CUSTOM_NAME = 'tokens' PARTICIPANT_FIELDS = ['selected_round', 'T2id', 'T2receiverresult', 'T2nporesult', 'T2npo','T2payoff','T1role','T1partner','T1report','T1belief','T1probbelief','T1payoff','T1npo','T1npoimpact', 'T1type','T1right','T1luck','T3payoff','studyid','mpl_payoff','plates','true_count','false_count'] SESSION_FIELDS = ['dice','r_1','r_2','Treatment','PLATES','Type'] # 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 #fot bots use_browser_bots = True DEBUG = (environ.get('OTREE_PRODUCTION') in {None, '', '0'}) 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') #In Heroku: Change OTREE_AUTH_LEVEL to STUDY to start the Study DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = '1878424500937'