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=0.001, participation_fee=0.00, doc="" ) SESSION_CONFIGS = [ dict( name="binary_choice_experiment", display_name="binary_choice_experiment", num_demo_participants=1, app_sequence=["intro", "main_choices", "riskResolution",], base_endowment_init=5, base_endowment_end=10, # time management # min_time_on_page_base=45, # min_time_on_page_choice=20, # min_time_on_page_feedback=40, # min_time_on_page_none=0, # min_time_on_page_short=15, # time_understanding_quest=15, # min_time_on_page_choice=0, # Testing time values min_time_on_page_base=0, min_time_on_page_feedback=0, min_time_on_page_none=0, min_time_on_page_short=0, time_understanding_quest=0, #### Pilot July 2021 force_downloads=False, # Must not download verification.pdf welcome_page=20, screen_4=20, example_choice=30, screen_7=20, min_time_on_page_choice=20, min_time_on_page_choice_modal=2, min_time_on_page_dwnld_BonusFile=15, option_1_page=30, option_2_page=20, #### Test July 2021 # force_downloads=False, # welcome_page=0, # screen_4=0, # example_choice=0, # screen_7=0, # min_time_on_page_choice=0, # min_time_on_page_choice_modal=0, # min_time_on_page_dwnld_BonusFile=1, # option_1_page=0, # option_2_page=0, ), ] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = "en" # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = "EUR" USE_POINTS = True ROOMS = [] 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 = "5@z*ho+fx-0t7jbvc@%msq09b_j(=a%%rn(g&1kfkzo_%%wq&t" # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ["otree"]