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 = { 'real_world_currency_per_point': 0.01, 'participation_fee': 6, 'doc': "", } SESSION_CONFIGS = [ #{ # 'name': 'public_goods', # 'display_name': "Public Goods", # 'num_demo_participants': 3, # 'app_sequence': ['public_goods', 'payment_info'], #}, { 'name': 'Trmt1b', 'display_name': "NTUEXP: Treatment 1b", 'num_demo_participants': 24, 'app_sequence': [ 'general_info', 'dictator24', 'instruction_t2', 'three_line_t2', 'three_ring_t2', 'comp_treatment', 'instruction_t4', 'three_ring_t4', 'three_line_t4', 'instruction_t5', 'three_ring_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt1a', 'display_name': "NTUEXP: Treatment 1a", 'num_demo_participants': 24, 'app_sequence': [ 'general_info', 'dictator24', 'instruction_t2', 'three_ring_t2', 'three_line_t2', 'comp_treatment', 'instruction_t4', 'three_line_t4', 'three_ring_t4', 'instruction_t5', 'three_line_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt2a', 'display_name': "NTUEXP: Treatment 2a", 'num_demo_participants': 20, 'app_sequence': [ 'general_info', 'dictator20', 'instruction_t2', 'four_ring_t2', 'four_complete_t2', 'comp_treatment', 'instruction_t4', 'four_complete_t4', 'four_ring_t4', 'instruction_t5', 'four_complete_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt2b', 'display_name': "NTUEXP: Treatment 2b", 'num_demo_participants': 20, 'app_sequence': [ 'general_info', 'dictator20', 'instruction_t2', 'four_complete_t2', 'four_ring_t2', 'comp_treatment', 'instruction_t4', 'four_ring_t4', 'four_complete_t4', 'instruction_t5', 'four_ring_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt3a', 'display_name': "NTUEXP: Treatment 3a", 'num_demo_participants': 25, 'app_sequence': [ 'general_info', 'dictator25', 'instruction_t2', 'five_ring_t2', 'five_clique_t2', 'comp_treatment', 'instruction_t4', 'five_clique_t4', 'five_ring_t4', 'instruction_t5', 'five_clique_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt3b', 'display_name': "NTUEXP: Treatment 3b", 'num_demo_participants': 25, 'app_sequence': [ 'general_info', 'dictator25', 'instruction_t2', 'five_clique_t2', 'five_ring_t2', 'comp_treatment', 'instruction_t4', 'five_ring_t4', 'five_clique_t4', 'instruction_t5', 'five_ring_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt4a', 'display_name': "NTUEXP: Treatment 4a", 'num_demo_participants': 21, 'app_sequence': [ 'general_info', 'dictator21', 'instruction_t2', 'seven_tworing_t2', 'seven_clique_t2', 'comp_treatment', 'instruction_t4', 'seven_clique_t4', 'seven_tworing_t4', 'instruction_t5', 'seven_clique_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt4b', 'display_name': "NTUEXP: Treatment 4b", 'num_demo_participants': 21, 'app_sequence': [ 'general_info', 'dictator21', 'instruction_t2', 'seven_clique_t2', 'seven_tworing_t2', 'comp_treatment', 'instruction_t4', 'seven_tworing_t4', 'seven_clique_t4', 'instruction_t5', 'seven_tworing_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt5a', 'display_name': "NTUEXP: Treatment 5a", 'num_demo_participants': 15, 'app_sequence': [ 'general_info', 'dictator15', 'instruction_t2', 'five_clique_t2', 'three_ring_t2', 'comp_treatment', 'instruction_t4', 'three_ring_t4', 'five_clique_t4', 'instruction_t5', 'three_ring_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt5b', 'display_name': "NTUEXP: Treatment 5b", 'num_demo_participants': 15, 'app_sequence': [ 'general_info', 'dictator15', 'instruction_t2', 'three_ring_t2', 'five_clique_t2', 'comp_treatment', 'instruction_t4', 'five_clique_t4', 'three_ring_t4', 'instruction_t5', 'five_clique_t5', 'elicitation2', 'holtlaury_t7', 'survey', ], }, { 'name': 'Trmt6', 'display_name': "NTUEXP: Treatment 6", 'num_demo_participants': 15, 'app_sequence': [ 'general_info', 'dictator15', 'instruction_t2b', 'five_clique_t2', 'comp_treatment', 'instruction_t4b', 'five_clique_t4', 'instruction_t5', 'five_clique_t5', 'elicitation2', 'holtlaury_t7', 'survey6', ], }, { 'name': 'intructions_apps', 'display_name': "NTUEXP: Instructions", 'num_demo_participants': 1, 'app_sequence': [ 'general_info', 'instruction_t2', 'instruction_t2b', 'instruction_t4', 'instruction_t4b', 'instruction_t5', ] }, ] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'SGD' USE_POINTS = True ROOMS = [ { 'name': 'room_25', 'display_name': 'Room 25', 'participant_label_file': '_rooms/room_25.txt', }, ] 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 = 'a5*y6lbygex4^vbgi_!!z2$6*uwuh)p%k_*hddsm5or0c^1rna' # from Joseph's # current 'setting.py' file is from networkexp.git # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']