from os import environ SESSION_CONFIGS = [ dict( name='SecondOp_low1', app_sequence=['consent','quiz','mainexperiment','demographic'], num_demo_participants=12, beta=60, within=1, use_browser_bots=False ), dict( name='SecondOp_low2', app_sequence=['consent','quiz','mainexperiment','demographic'], num_demo_participants=12, beta=60, within=2, use_browser_bots=False ), dict( name='SecondOp_low3', app_sequence=['consent','quiz','mainexperiment','demographic'], num_demo_participants=12, beta=60, within=3, use_browser_bots=False ), dict( name='SecondOp_low4', app_sequence=['consent','quiz','mainexperiment','demographic'], num_demo_participants=12, beta=60, within=4, use_browser_bots=False ), dict( name='SecondOp_high1', app_sequence=['consent','quiz','mainexperiment','demographic'], num_demo_participants=12, beta=99, within=1, use_browser_bots=False ), dict( name='SecondOp_high2', app_sequence=['consent','quiz','mainexperiment','demographic'], num_demo_participants=12, beta=99, within=2, use_browser_bots=False ), dict( name='SecondOp_high3', app_sequence=['mainexperiment','demographic'], num_demo_participants=12, beta=99, within=3, use_browser_bots=False ), dict( name='SecondOp_high4', app_sequence=['consent','quiz','mainexperiment','demographic'], num_demo_participants=12, beta=99, within=4, use_browser_bots=False ), ] ROOMS = [ dict( name='Lab', display_name='Laboratory Experiment', participant_label_file='labelroom.txt', use_secure_urls=False ), dict( name='Lablow1', display_name='test' ), ] # 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, participation_fee=10.00, doc="" ) PARTICIPANT_FIELDS = ['obsprob', 'overtreatdec','offer', 'selected_round', 'selectedq', 'type', 'pvalue', 'pk','matchedoffer','task1_payoff','task2_payoff','bonus','savings','win_lottery', 'risk','round_players'] SESSION_FIELDS = [] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'AUD' POINTS_DECIMAL_PLACES = 2 POINTS_CUSTOM_NAME = 'ECU' USE_POINTS = False ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') OTREE_AUTH_LEVEL = 'STUDY' OTREE_ADMIN_PASSWORD = 'PimPim' DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = '4922965999840'