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 = dict( real_world_currency_per_point=1/400, #!!!! change for other experiment!!!1 #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! participation_fee=4.50, # participation_fee=0.40, doc="", # mturk_hit_settings= dict( # keywords='bonus, study', # title='Prediction Task (Experiment) - Bonus up to 12 USD', # description='In this study, we would like to understand how people make predictions about future realizations of random processes. With more accurate predictions you earn a higher bonus Payment. When the study is taken seriously, you will typically earn a bonus amount between 6 USD and 12 USD. The study takes around 50 minutes to complete. In case you do not plan to seriously study the experimental instructions and try to make accuracte predictions, do not accept this HIT as you will earn no bonus payment.', # frame_height=500, # template='global/mturk_template.html', # minutes_allotted_per_assignment=120, # expiration_hours=7 * 24, # qualification_requirements=[ # { # 'QualificationTypeId': "00000000000000000071", # 'Comparator': "EqualTo", # 'LocaleValues': [{'Country': "US"}] # }, # { # 'QualificationTypeId': "3FWSYHGAEFNKRBBQC3JCO7EH021R76", # 'Comparator': "DoesNotExist", # }, # ], # grant_qualification_id='3FWSYHGAEFNKRBBQC3JCO7EH021R76', # ) ) SESSION_CONFIGS = [ # dict( # name='public_goods', # display_name="Public Goods", # num_demo_participants=3, # app_sequence=['public_goods', 'payment_info'], # ), # 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'], completionlink= 'https://app.prolific.co/submissions/complete?cc=C1IFTGNV', ), dict( name='forecasting', display_name='forecasting', num_demo_participants=1, app_sequence=['forecasting'], completionlink= 'https://app.prolific.co/submissions/complete?cc=C1IFTGNV', ), dict( name='survey_Ok', display_name='Survey_Oksana', num_demo_participants=1, app_sequence=['survey_Ok'], completionlink= 'https://app.prolific.co/submissions/complete?cc=C1IFTGNV', ), dict( name='survey_Ok2', display_name='Survey_Oksana2', num_demo_participants=1, app_sequence=['survey_Ok2'], completionlink= 'https://app.prolific.co/submissions/complete?cc=C1IFTGNV', ), dict( name='survey_Ok2en', display_name='Survey_Oksana2en', num_demo_participants=1, app_sequence=['survey_Ok2en'], completionlink= 'https://app.prolific.co/submissions/complete?cc=C1IFTGNV', ), ] # 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 = True ROOMS = [ dict( name='exp_prol', display_name='Expectations Prolific', #participant_label_file='_rooms/econ101.txt', ), dict(name='room2', display_name='Room 2'), ] 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. """ # don't share this with anybody. SECRET_KEY = '_qwg%7n*!sh$mfd+8h7ah730g1z1gqll+$&mrw@46a0)0$92@^' INSTALLED_APPS = ['otree'] PARTICIPANT_FIELDS =['consent'] # inactive session configs # dict(name='trust', display_name="Trust Game", num_demo_participants=2, app_sequence=['trust', 'payment_info']), # dict(name='prisoner', display_name="Prisoner's Dilemma", num_demo_participants=2, # app_sequence=['prisoner', 'payment_info']), # dict(name='volunteer_dilemma', display_name="Volunteer's Dilemma", num_demo_participants=3, # app_sequence=['volunteer_dilemma', 'payment_info']), # dict(name='cournot', display_name="Cournot Competition", num_demo_participants=2, app_sequence=[ # 'cournot', 'payment_info' # ]), # dict(name='dictator', display_name="Dictator Game", num_demo_participants=2, # app_sequence=['dictator', 'payment_info']), # dict(name='matching_pennies', display_name="Matching Pennies", num_demo_participants=2, app_sequence=[ # 'matching_pennies', # ]), # dict(name='traveler_dilemma', display_name="Traveler's Dilemma", num_demo_participants=2, # app_sequence=['traveler_dilemma', 'payment_info']), # dict(name='bargaining', display_name="Bargaining Game", num_demo_participants=2, # app_sequence=['bargaining', 'payment_info']), # dict(name='common_value_auction', display_name="Common Value Auction", num_demo_participants=3, # app_sequence=['common_value_auction', 'payment_info']), # dict(name='bertrand', display_name="Bertrand Competition", num_demo_participants=2, app_sequence=[ # 'bertrand', 'payment_info' # ]), # dict(name='public_goods_simple', display_name="Public Goods (simple version from tutorial)", # num_demo_participants=3, app_sequence=['public_goods_simple', 'payment_info']), # dict(name='trust_simple', display_name="Trust Game (simple version from tutorial)", num_demo_participants=2, # app_sequence=['trust_simple']),