from os import environ import sentry_sdk sentry_sdk.init( dsn="https://ecf288a7b1607d3a34a9c4b964ff4794@o4505873498767360.ingest.sentry.io/4505873498767360", # Set traces_sample_rate to 1.0 to capture 100% # of transactions for performance monitoring. # We recommend adjusting this value in production. traces_sample_rate=1.0, ) ADMIN_USERNAME = 'admin' ADMIN_PASSWORD = 'Paparoach.345' # for security, best to set admin password in an environment variable # ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') # 'demographics','experiment_information', SESSION_CONFIGS = [ dict( name='WoC_Del', app_sequence=['demographics','experiment_information','try_out', 'start_disclaimer', 'experiment', 'BiasConf','payment_info'], num_demo_participants=12 #TODO payment_info is an already provided page by otree, ask people who have already conducted experiments what text should be displayed #or if they have a page for payment informations ), ] # 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.104167, participation_fee=20.00, doc="" # Real world currency/point is set to 0.104167 as 96 points can be reached max which would equal 10 EUR # Participation_fee is set to 10 EUR as participants always receive 10 EUR for participating ) PARTICIPANT_FIELDS = [] SESSION_FIELDS = [] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'de' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'EUR' # USE_POINTS should be set to True so the conversion takes place already within the experiment USE_POINTS = True ROOMS = [ dict(name='Live_Demo', display_name='Room for live demo (no participant labels)'), dict( name='WULABSA', display_name='WULABSA', participant_label_file='_rooms/WULABSA.txt', use_secure_urls=True ), dict( name='WULABSB', display_name='WULABSB' , participant_label_file='_rooms/WULABSB.txt', use_secure_urls=True ), ] DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ SECRET_KEY = '9566839449239' INSTALLED_APPS = ['otree']