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.00, participation_fee=10.00, num_choices= 17, doc="" ) SESSION_CONFIGS = [ # { # 'name': 'intro', # 'display_name': 'INTRO', # 'num_demo_participants': 1, # 'app_sequence': ['experiment_intro'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # { # 'name': 'mpl_se', # 'display_name': 'mpl SE', # 'num_demo_participants': 2, # 'app_sequence': ['rat_ind', # 'mpl_autonomy', # 'mpl_responsibility' # ], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # { # 'name': 'mplr_se', # 'display_name': 'mplr SE', # 'num_demo_participants': 2, # 'app_sequence': ['rat_ind', # 'mpl_autonomy', # 'mpl_responsibility' # ], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # { # 'name': 'rat_second', # 'display_name': 'rat_second', # 'num_demo_participants': 2, # 'app_sequence': ['rat_second'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # { # 'name': 'rat2', # 'display_name': 'rat team 2', # 'num_demo_participants': 2, # 'app_sequence': ['rat2'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # { # 'name': 'rats', # 'display_name': 'ratall', # 'num_demo_participants': 2, # 'app_sequence': ['rat_ind','rat_choices','rat', 'rat2','mpl_autonomy','mpl_responsibility' ], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # { # 'name': 'egt', # 'display_name': 'EYES TEST', # 'num_demo_participants': 2, # 'app_sequence': ['egt'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # { # 'name': 'dictator', # 'display_name': 'DICTATOR', # 'num_demo_participants': 2, # 'app_sequence': ['dictator'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # { # 'name': 'rat_choices', # 'display_name': 'rat_choices', # 'num_demo_participants': 2, # 'app_sequence': ['rat_choices'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # dict( # name='rat_ind', # display_name="Rat Bireysel", # num_demo_participants=2, # app_sequence=['rat_ind'] # ), # dict( # name='covid', # display_name="Covid Priming (YES)", # num_demo_participants=1, # color='blue', # app_sequence=['unscramble', 'manipulation_check'] # ), # dict( # name='no_covid', # display_name="Covid Priming (NO)", # num_demo_participants=1, # color='red', # app_sequence=['unscramble', 'manipulation_check'] # ) # , # dict( # name='mpl_resp', # display_name="multiple price lists", # num_demo_participants=2, # app_sequence=['mpl_resp'], # use_browser_bots =True, # experiment_no=2 # ) # , # dict( # name='team', # display_name="rat_team", # num_demo_participants=2, # app_sequence=[ # 'rat_ind','rat_second', 'rat_second2', # 'rat'], # experiment_no=2 # ) # , # dict( # name='survey', # display_name="survey questions", # num_demo_participants=1, # app_sequence=['survey'], # experiment_no=2 # ) # , # dict( # name='competition', # display_name="competition", # num_demo_participants=2, # app_sequence=['competition'], # experiment_no=2 # ) # , # dict( # name='risk', # display_name="risk-mpl", # num_demo_participants=1, # app_sequence=['risk'], # experiment_no=2 # ) # , # dict( # name='reading_the_mind', # display_name="empathy", # num_demo_participants=1, # app_sequence=['egt'], # experiment_no=2 # ) # , # dict( # name='dictatorship', # display_name="altruism", # num_demo_participants=2, # app_sequence=['dictator'], # experiment_no=2 # ) # , dict( name='practise', display_name="örnek etkinlik", num_demo_participants=1, app_sequence=['social_confidence'], experiment_no=2 ) , dict( name='pilot', display_name="Pilot-NC", num_demo_participants=2, color='red', app_sequence=['experiment_intro', 'unscramble', 'manipulation_check', 'rat_ind', 'rat_choices', 'rat', 'rat2', 'mpl_autonomy', 'mpl_responsibility', 'competition', 'risk', 'egt', 'dictator','survey','payment'], experiment_no=1 ) , dict( name='pilotc', display_name="Pilot-C", num_demo_participants=2, color='blue', app_sequence=['experiment_intro', 'unscramble', 'manipulation_check', 'rat_ind', 'rat_choices', 'rat', 'rat2', 'mpl_autonomy', 'mpl_responsibility', 'competition', 'risk', 'egt', 'dictator','survey', 'payment'], experiment_no=1 ) ] # see the end of this file for the inactive session configs ROOMS = [ { 'name': 'Sunduz', 'display_name': 'Sündüz-Session', }, { 'name': 'Mert', 'display_name': 'Mert-Session', }, { 'name': 'birim3', 'display_name': 'Birim 3-Session', }, { 'name': 'birim4', 'display_name': 'Birim 4-Session', }, ] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'tr' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'TL' 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 = """ Here are some oTree games. """ # don't share this with anybody. SECRET_KEY = '^8p=s@wa+)^1z%n+a$t27&ur-4l0v(-e8ef&93iw-*#3mv(f@w' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree','mathfilters'] STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'