import os from os import environ DEBUG = False SESSION_CONFIGS = [ dict( name='IncentivizedBeliefs', app_sequence=['IncentivizedBeliefs'], num_demo_participants=10 ), dict( name='emotionsAndRelevance', app_sequence=['emotionsAndRelevance'], num_demo_participants=10 ), dict( name='emotionsShort', app_sequence=['emotionsShort'], num_demo_participants=10 ), dict( name='receiveBonus', app_sequence=['receiveBonus'], 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'] mturk_hit_settings={ 'keywords': ['bonus, study'], 'title': 'to receive the promised bonus', 'description': 'to receive the promised bonus', 'frame_height': 500, 'template': 'global/mturk_template.html', 'minutes_allotted_per_assignment': 48*60, 'expiration_hours': 48, 'qualification_requirements': [ { 'QualificationTypeId': "347ZGUFWMX6EXQM6U763IQ75MFK5SE", 'Comparator': "Exists", }, #need to add back US qualification # { # 'QualificationTypeId': "3J9MIGFLB8MT0RKT2QC5M29KWPK38K", # 'Comparator': "DoesNotExist", # }, # { # 'QualificationTypeId': "00000000000000000060", # 'Comparator': "EqualTo", # 'IntegerValues': [1], # 'ActionsGuarded': "PreviewAndAccept", # } ] } SESSION_CONFIG_DEFAULTS = { 'real_world_currency_per_point': 1.00, 'participation_fee': 3.30, 'doc': "", 'mturk_hit_settings': mturk_hit_settings, } PARTICIPANT_FIELDS = [] 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 = 'USD' USE_POINTS = False ROOMS = [ dict( name='experiment1', display_name='experiment1', ), dict(name='experiment2', display_name='experiment2'), ] # AUTH_LEVEL: # this setting controls which parts of your site are freely accessible, # and which are password protected: # - If it's not set (the default), then the whole site is freely accessible. # - If you are launching a study and want visitors to only be able to # play your app if you provided them with a start link, set it to STUDY. # - If you would like to put your site online in public demo mode where # anybody can play a demo version of your game, but not access the rest # of the admin interface, set it to DEMO. AUTH_LEVEL = 'STUDY' ADMIN_USERNAME = 'lnu' ADMIN_PASSWORD = 'ppassword*' DEMO_PAGE_INTRO_HTML = """ Current experiments """ SECRET_KEY = 'v2f&h4^&rl$(%uz9p8c6u+8tglp4fsfw&nc(mey@27_zg%2b2q' INSTALLED_APPS = ['otree', 'otree_mturk_utils'] # setting for integration with AWS Mturk AWS_ACCESS_KEY_ID = 'AKIAQE6QOFLQRDIOSK4B' AWS_SECRET_ACCESS_KEY = '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'