import os from os import environ SESSION_CONFIGS = [ # dict( # name='public_goods', # app_sequence=['public_goods'], # num_demo_participants=3, # ), dict( name='LarrySingleGroupSurvey', display_name='Single Group Survey', app_sequence=['LarrySingleSurvey'], num_demo_participants=1 ), dict( name='LarryMultiGroupSurvey', display_name='Multi-Group Survey', app_sequence=['LarryMultiSurvey'], num_demo_participants=1 ), dict( name='Risk_Elicitation', display_name='Risk Preference', app_sequence=['RiskElicitation'], num_demo_participants=1 ), dict( name='SharedAll', display_name='Shared Treatment (with instructions and questions)', app_sequence=['SharedInstrucsCompQs', 'SharedEndowment'], num_demo_participants=16 ), dict( name='SplitAll', display_name='Split Treatment (with instructions and questions)', app_sequence=['SplitInstrucsCompQs', 'SplitEndowment'], num_demo_participants=16 ), dict( name='SingleAll', display_name='Single Treatment (with instructions and questions)', app_sequence=['SingleGroupInstrucsCompQs', 'SingleGroup'], num_demo_participants=8 ), dict( name='StratMethodAll', display_name='Strategy Method (with instructions and questions)', app_sequence=['StrategyMethodInstrucsCompQs', 'StrategyMethod'], num_demo_participants=16 ), dict( name='SingleGroupExperimentLarry', display_name='Single Group Experiment (All Apps & Single-Survey)', app_sequence=['SingleGroupInstrucsCompQs', 'SingleGroup', 'RiskElicitation', 'StrategyMethodInstrucsCompQs', 'StrategyMethod', 'LarrySingleSurvey'], num_demo_participants=16 ), dict( name='SplitEndowmentExperimentLarry', display_name='Split Endowment Experiment (All Apps & Multi-Survey)', app_sequence=['SplitInstrucsCompQs', 'SplitEndowment', 'RiskElicitation', 'StrategyMethodInstrucsCompQs', 'StrategyMethod', 'LarryMultiSurvey'], num_demo_participants=16 ), dict( name='SharedEndowmentExperimentLarry', display_name='Shared Endowment Experiment (All Apps & Multi-Survey)', app_sequence=['SharedInstrucsCompQs', 'SharedEndowment', 'RiskElicitation', 'StrategyMethodInstrucsCompQs', 'StrategyMethod', 'LarryMultiSurvey'], num_demo_participants=16 ), ] # 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=0.02, participation_fee=7.00, doc="" ) PARTICIPANT_FIELDS = [] 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 = 'USD' USE_POINTS = True ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = 'TestPassword' DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = '7751121724279' OTREE_PRODUCTION=1