from os import environ SESSION_CONFIGS = [ dict( name='Pilot2', display_name="Encryption", num_demo_participants=120, app_sequence=['survey', 'r1_encryption', 'r2_encryption', '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=2.50, 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=1 * 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', 'lottery', 'expiry','compl_group','finished', 'le_1', 'le_2', 'le_3', 'le_4', 'le_5', 'le_6', 'le_7',] 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 = 'GBP' 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'