from os import environ SESSION_CONFIGS = [ dict( name='Pilot', display_name="Pilot", num_demo_participants=3, app_sequence=['survey', 'encryption_trial', 'round2', 'survey_fin'], ),] # 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=3.00, doc="", keywords='bonus, study', title='Encryption', description='An experiment that analyzes learning and decision making', frame_height=500, template='global/mturk_template.html', minutes_allotted_per_assignment=60, expiration_hours=2 * 24, qualification_requirements=[], mturk_hit_settings=dict( keywords='bonus, study', title='Encryption', description='An experiment that analyzes learning and decision making.', frame_height=500, template='global/mturk_template.html', minutes_allotted_per_assignment=60, expiration_hours=2 * 24, qualification_requirements=[{ 'QualificationTypeId': "3QB8AZP8N7QKK9XK7N7WKB6T7IG5QJ", 'Comparator': "DoesNotExist", }], grant_qualification_id='3QB8AZP8N7QKK9XK7N7WKB6T7IG5QJ', # to prevent retakes )) PARTICIPANT_FIELDS = ['tr_group', 'expiry', 'compl_group','finished',] 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 = False 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 = """ """ SECRET_KEY = '3611485337786'