from os import environ # TODO: add gates: # Start Part 1 Done # Start Part 2 Intro Done # Start Part 2 (with exclusion if unmatched) Done # Start Part 3 (NOTE: groups are the same in Part 2 and 3) Done # TODO: add exclusion # - Consent page Done # - P1 in Part 1 How long? Done # - TaskIntro Part 2 Intro How long? Done # - NextPartIntro Part 2 How long? Done # - NextPartIntro Part 4 How long? Done SESSION_CONFIGS = [ dict( name='study_autoset', display_name='Study (Auto-Set)', app_sequence=['consent', 'part1', 'part2_intro', 'part2', 'part3', 'part4', 'eyes_test', 'peq', 'results'], num_demo_participants=6, treatment='autoset', prolific_link='https://app.prolific.co/submissions/complete?cc=32FBE102' ), # TODO: pilot first dict( name='study_manualset', display_name='Study (Manual-Set)', app_sequence=['consent', 'part1', 'part2_intro', 'part2', 'part3', 'part4', 'eyes_test', 'peq', 'results'], num_demo_participants=6, treatment='manualset', prolific_link='https://app.prolific.co/submissions/complete?cc=32FBE102' ), dict( name='study_manualrand', display_name='Study (Manual-Rand)', app_sequence=['consent', 'part1', 'part2_intro', 'part2', 'part3', 'part4', 'eyes_test', 'peq', 'results'], num_demo_participants=6, treatment='manualrand', prolific_link='https://app.prolific.co/submissions/complete?cc=32FBE102' ), dict( name='study_eyes_test', display_name='Eyes Tes and PEQ', app_sequence=['eyes_test', 'peq', 'results'], num_demo_participants=6, treatment='manualrand', prolific_link='https://app.prolific.co/submissions/complete?cc=32FBE102' ), dict( name='study_test', display_name='Study (test)', app_sequence=['consent', 'part1', 'part2_intro', 'part2', 'part3', 'part4', 'eyes_test', 'peq', 'results'], num_demo_participants=18, treatment='manualset', use_browser_bots=True ) ] ROOMS = [ dict( name='virtual_lab', display_name='Virtual Lab' ), ] # 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.16666, participation_fee=4.00, doc="", treatment='' ) PARTICIPANT_FIELDS = ['no_consent', 'treatment', 'game_role', 'dropout', 'unmatched'] SESSION_FIELDS = ['group_matrix'] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'GBP' USE_POINTS = True 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 = '5173926122648' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']