from os import environ SESSION_CONFIGS = [ dict( name='verification', display_name="Risk Taking Experiments", num_demo_participants=1, app_sequence=[ 'welcome', 'binaryChoice', 'priceList', 'priceList_new', 'probMatching', 'riskResolution', ], testing = True, study = "Study 2a", # See input - Risk Params to set this value minTimeOnPage = 15, # Minimum waiting time on certain pages // Average was 27 sec, median 18 sec in Pilot on May 12 ) ] # 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=0.00, doc="" ) PARTICIPANT_FIELDS = [ 'treatment', 'study', 'studyName', # binaryChoice, priceList, etc. - Used to root apps 'type', # Type if there are multiple tasks/rows, etc. 'typeMatching', # Assigned type 'singleChoice', # Save choice for single choice 'shuffledPayoff', # Randomly drawn order of payoffs for risk resolution 'option2Dict', # Realization of randomly drawn Option 2 (or Prob for Prob Equiv) 'bonusFileDict', # Dict containing all infos about bonus files 'password_bonus', # Password of bonus files 'password_verification', # Password of verification.pdf 'color', # Used color - Needed here because used on different pages in different apps 'shape', # Selected shape - same as color ] SESSION_FIELDS = [ 'participantCounter', # Save number of participants ending first page 'choicePageReached_verify', # Save number of participants reaching the choice page 'choicePageReached_noVerify', # Save number of participants reaching the choice page ] DEBUG = False #Disables DEBUG for the server # 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 = True ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = 'testVDF' DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = '2546018449759'