from os import environ SESSION_CONFIGS = [ dict( name='cpr_defaults', display_name="Common Pool Resource Dilemma Low", app_sequence=['introduction', 'svo', "risk_assessment", "cpr_instructions", 'cpr_defaults', "cpr_results", "finished_experiment"], # app_sequence=["svo", "risk_assessment", 'cpr_defaults', "cpr_results"], #app_sequence=['cpr_defaults', "cpr_results", "finished_experiment"], num_demo_participants=100, use_browser_bots=False, default_extraction=11, completionlink='https://app.prolific.co/submissions/complete?cc=CHJ6MHRL', failedTestLink = "https://app.prolific.co/submissions/complete?cc=C1V3RGUS", timeOutLink = "https://app.prolific.co/submissions/complete?cc=CBU9U8QQ", kickedOutLink = "https://app.prolific.co/submissions/complete?cc=C15J8BH5", earnedBonuslink = 'https://app.prolific.co/submissions/complete?cc=CL7QZZ1S', ungroupedLink = "https://app.prolific.co/submissions/complete?cc=CZ8JGCEF", lostFocusLink = "https://app.prolific.co/submissions/complete?cc=CH7CA43Q", timeout_seconds_task3=120, timeout_minutes_grouping = 15, timeout_focus = 2 ), dict( name='cpr_defaults_high', display_name="Common Pool Resource Dilemma High", app_sequence=['introduction', 'svo', "risk_assessment", "cpr_instructions", 'cpr_defaults', "cpr_results"], # app_sequence=["cpr_defaults", "cpr_results"], num_demo_participants=4, # use_browser_bots=True, default_extraction=18 ), # dict( # name='cpr_defaults_control', # display_name="Common Pool Resource Dilemma Control", # # app_sequence=['introduction', 'svo', "risk_assessment", "cpr_instructions", 'cpr_defaults', "cpr_results"], # app_sequence=["cpr_defaults", "cpr_results"], # num_demo_participants=4, # # use_browser_bots=True, # default_extraction = 0 # ), ] # 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.0025, participation_fee=0.00, doc="" ) PARTICIPANT_FIELDS = ["payoff_task1", "payoff_task2", "payoff_task3", "self_option_task_1", "self_payoff_task_1", "other_option_task_1", "other_payoff_task_1", "chosen_task_2", "event_task_2", "role_svo", "finished_participant", "reason_finished", "wait_page_arrival", "timeout_groups", "completion_status", "group_size_task3"] SESSION_FIELDS = ["waiting", "grouped"] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = '' USE_POINTS = False ROOMS = [ dict(name='experiment', display_name='Experiment Pilot') ] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable # ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') DATABASE_URL = "postgres://postgres:pgadmin4104@localhost/oTreeDB" DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ # DEBUG = False NUMEXPR_MAX_THREADS = 12 SECRET_KEY = '4155511306251' INSTALLED_APPS = ['otree']