from os import environ SESSION_CONFIGS = [ dict( name='Ex_mainexperiment_demo', display_name="Study", num_demo_participants=1, app_sequence=['stage1_new_agent1','Mturk_B1_agent' ,'Mturk_B2_agent' ,'Mturk_B3_agent','Mturk_B4_agent','Mturk_B5_agent' ,'Mturk_B6_agent','Mturk_B7_agent','Mturk_B8_agent','Mturk_B9_agent','Mturk_B10_agent','Mturk_inbetweentasks_agent','Mturk_D1_agent','Mturk_D2_agent' ,'Mturk_D3_agent','Mturk_D4_agent','Mturk_D5_agent','Mturk_D6_agent','Mturk_D7_agent','Mturk_D8_agent','Mturk_D9_agent' ,'Mturk_D10_agent', 'MTurk_debriefing'], #app_sequence=['cournot'] # , ), # 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 = { 'real_world_currency_per_point': 1.00, 'participation_fee': 50.00, 'doc': "", 'mturk_hit_settings': 'mturk_hit_settings', } # SESSION_CONFIG_DEFAULTS = dict( # real_world_currency_per_point=1.00, participation_fee=50.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 = 'INR' USE_POINTS = False ROOMS = [ dict( name='econ101', display_name='Econ 101 class', participant_label_file='_rooms/econ101.txt', ), dict(name='live_demo', display_name='Room for live demo (no participant labels)'), ] 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') DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ DEBUG = (environ.get('OTREE_PRODUCTION') in {None, '', '0'}) #SECRET_KEY = 'etys2b7+$@8xu7z@@um8cdacpmjlp!*2_(*4vo+zt-rp#^k@)a' SECRET_KEY = '9e4f2af0-8f58-4285-aa09-15223ade87e1' INSTALLED_APPS = ['otree'] mturk_hit_settings=dict( keywords='bonus, study', title='Performance experiment', description='This is an academic experiment to study decision making', frame_height=500, template='global/mturk_template.html', minutes_allotted_per_assignment=200, expiration_hours=1 * 8, grant_qualification_id='3PUIOT50AR7RFEX0M565TLG0MI4DN2', qualification_requirements=[{ 'QualificationTypeId': "3PUIOT50AR7RFEX0M565TLG0MI4DN2", 'Comparator': "DoesNotExist", }, { 'QualificationTypeId': "00000000000000000071", 'Comparator': "EqualTo", 'LocaleValues': [{'Country': "IN"}] },] ), SENTRY_DSN = environ.get('SENTRY_DSN')