from os import environ experiment_app_sequence = [ "shareholder_manager_DE_Before", "svo_de", "bret", "principal_agent", "shareholder_manager_DE_after", ] SESSION_CONFIGS = [ dict( name="before", display_name="1. Shareholder_manager_DE_Before", app_sequence=["shareholder_manager_DE_Before"], num_demo_participants=1, ), dict( name="svo", display_name="2. SVO", app_sequence=["svo_de"], num_demo_participants=2, ), dict( name="bret", display_name="3. BRET", app_sequence=["bret"], num_demo_participants=1, ), dict( name="pa10", display_name="4.1.1 PA - incentive treatment, 10 rounds", app_sequence=["principal_agent", "no_more_pages"], num_demo_participants=2, treatment="incentive", number_of_rounds=10, ), dict( name="pa12", display_name="4.1.2 PA - incentive treatment, 12 rounds", app_sequence=["principal_agent"], num_demo_participants=2, treatment="incentive", number_of_rounds=12, ), dict( name="pab10", display_name="4.2.1 PA - bonus treatment, 10 rounds", app_sequence=["principal_agent", "no_more_pages"], num_demo_participants=2, treatment="bonus", number_of_rounds=10, ), dict( name="pab12", display_name="4.2.2 PA - bonus treatment, 12 rounds", app_sequence=["principal_agent"], num_demo_participants=2, treatment="bonus", number_of_rounds=12, ), dict( name="paf10", display_name="4.3.1 PA - flat wage treatment, 10 rounds", app_sequence=["principal_agent", "no_more_pages"], num_demo_participants=2, treatment="flat_wage", number_of_rounds=10, ), dict( name="paf12", display_name="4.3.2 PA - flat wage treatment, 12 rounds", app_sequence=["principal_agent"], num_demo_participants=2, treatment="flat_wage", number_of_rounds=12, ), dict( display_name="5. Shareholder_manager_DE_After", name="after", app_sequence=["shareholder_manager_DE_after"], num_demo_participants=1, ), dict( name="epa10", display_name="E1.1 PA - incentive treatment, 10 rounds", app_sequence=experiment_app_sequence, num_demo_participants=2, treatment="incentive", number_of_rounds=10, ), dict( name="epa12", display_name="E1.2 PA - incentive treatment, 12 rounds", app_sequence=experiment_app_sequence, num_demo_participants=2, treatment="incentive", number_of_rounds=12, ), dict( name="epab10", display_name="E2.1 PA - bonus treatment, 10 rounds", app_sequence=experiment_app_sequence, num_demo_participants=2, treatment="bonus", number_of_rounds=10, ), dict( name="epab12", display_name="E2.2 PA - bonus treatment, 12 rounds", app_sequence=experiment_app_sequence, num_demo_participants=2, treatment="bonus", number_of_rounds=12, ), dict( name="epaf10", display_name="E3.1 PA - flat wage treatment, 10 rounds", app_sequence=experiment_app_sequence, num_demo_participants=2, treatment="flat_wage", number_of_rounds=10, ), dict( name="epaf12", display_name="E3.2 PA - flat wage treatment, 12 rounds", app_sequence=experiment_app_sequence, num_demo_participants=2, treatment="flat_wage", number_of_rounds=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 = [] SESSION_FIELDS = [] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = "tr" # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = "TRY" USE_POINTS = False ADMIN_USERNAME = "admin" # for security, best to set admin password in an environment variable ADMIN_PASSWORD = "ws12" DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = "6872091911674" # DEBUG = False AUTH_LEVEL = "STUDY"