from os import environ SESSION_CONFIGS = [ dict( name='attribution_agents', app_sequence=['welcome_app_agent', 'instructions1_agents', 'additions_rounds_agents', 'Inbetween', 'instructions2_agents_nounder', 'puzzles_rounds_agents', 'instructions2_agents', 'puzzles_rounds_agents_copy', 'Inbetween_copy', 'instructions1_agents_nounder', 'additions_rounds_agents_copy', 'debriefing_agents'], num_demo_participants=1, ), dict( name='attribution_principals', app_sequence=['welcome_app_principal', 'instructions1_principals', 'additions_rounds_principals', 'Inbetween', 'instructions2_principals_nounder', 'puzzles_rounds_principals', 'instructions2_principals', 'puzzles_rounds_principals_copy', 'Inbetween_copy', 'instructions1_principals_nounder', 'additions_rounds_principals_copy', 'debriefing_principal'], num_demo_participants=1, ), ] # 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 = ['finished', 'afirst', 'pfirst', 'treatment', 'param_rounds'] SESSION_FIELDS = ['prolific_completion_url', 'parameterization'] # PARTICIPANT_FIELDS = ['finished', 'param_rounds', 'environment_choice', 'bonus_choices', # 'compType', 'chosen_decisions', 'part1_payoffs', 'part2_payoffs', 'det', 'base', 'salient', # 'treatment', 'lottery_order', 'pool_choice'] # SESSION_FIELDS = ['prolific_completion_url', 'parameterization', 'lottery_payoffs', 'lottery_det_payoffs'] # 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 = 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 = """ """ SECRET_KEY = '1913601007063'