from os import environ SESSION_CONFIGS = [ dict( name='Real', app_sequence=['instructions', 'practice', 'quiz', 'Game', 'demographics', 'exit_questions', 'payment_info'], num_demo_participants=5 ), # dict( # name='HumanHistorical', # app_sequence=['Game'], # num_demo_participants=20, # algorithm=0, # historical=1 # ), # dict( # name='HumanPresent', # app_sequence=['Game'], # num_demo_participants=20, # algorithm=0, # historical=0 # ), # dict( # name='AlgorithmHistorical', # app_sequence=['Game'], # num_demo_participants=20, # algorithm=1, # historical=1 # ), # dict( # name='AlgorithmPresent', # app_sequence=['Game'], # num_demo_participants=20, # algorithm=1, # historical=0 # ) ] # 'practice', 'quiz', 'investment_pilotH' , # 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 = ['par_id', 'endowment', 'treatment', 'final_endow', 'total', 'algorithm', 'historical', 'betray', 'r1', 'r2', 'r3', 'r4', 'r5', 'r6', 'r7', 'r8', 'r9', 'r10', 'r11', 'r12', 'r13', 'r14', 'r15', 'r16', 'r17', 'r18', 'r19', 'r20', 'ap1', 'ap2', 'ap3', 'ap4', 'ap5', 'ap6', 'ap7', 'ap8', 'ap9', 'ap10', 'ap11', 'ap12', 'ap13', 'ap14', 'ap15', 'ap16', 'ap17', 'ap18', 'ap19', 'ap20', 'ac1', 'ac2', 'ac3', 'ac4', 'ac5', 'ac6', 'ac7', 'ac8', 'ac9', 'ac10', 'ac11', 'ac12', 'ac13', 'ac14', 'ac15', 'ac16', 'ac17', 'ac18', 'ac19', 'ac20', 'sa1', 'sa2', 'sa3', 'sa4', 'sa5', 'sa6', 'sa7', 'sa8', 'sa9', 'sa10', 'sa11', 'sa12', 'sa13', 'sa14', 'sa15', 'sa16', 'sa17', 'sa18', 'sa19', 'sa20', 'e1', 'e2', 'e3', 'e4', 'e5', 'finished'] SESSION_FIELDS = ['prolific_completion_url'] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'USD' USE_POINTS = False ROOMS = [ dict( name='VT_Econ_Lab', display_name='VT_Econ_Lab', participant_label_file='_rooms/econlab.txt', ), dict(name='live_demo', display_name='Room for live demo'), ] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = 'password' DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ SECRET_KEY = '7500154552343' INSTALLED_APPS = ['otree']