from os import environ """ app_sequence=['brief_assessment'], app_sequence=['demographic_survey', 'practice_round', 'intro_piece', 'piece_round', 'intro_tour', 'tour_round', 'intro_choice', 'choice_round', 'brief_assessment', 'big_five', 'zhuo_app2'], """ SESSION_CONFIGS = [ dict( name='test', app_sequence=['demographic_survey', 'practice_round', 'intro_piece', 'piece_round', 'intro_tour', 'tour_round', 'intro_choice', 'choice_round', 'brief_assessment', 'big_five', 'zhuo_app2'], num_demo_participants=10, ), ] # 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=2.00, doc="" ) PARTICIPANT_FIELDS = [ 'expiry', 'practice_num_correct', 'task1_pay', 'piece_num_correct', 'guess1', 'tour_num_correct', 'guess2', 'comp_choice', 'choice_num_correct', 'guess3', 'non_comp_choice', ] SESSION_FIELDS = [] ROOMS = [ dict( name='Room_1', display_name='Experiment Room 1' ), dict( name='Room_2', display_name='Experiment Room 2' ), ] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'CNY' 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 = '6141381020404'