from os import environ SESSION_CONFIG_DEFAULTS = dict( real_world_currency_per_point=0.01, participation_fee=2.25, doc="", mturk_hit_settings={ 'keywords': ['decisions', 'game', 'study', 'opinion', 'questionnaire'], 'title': 'Short study about individual decisions', 'description': 'This is a short study about individual decisions (12-15 minutes)', 'frame_height': 500, 'template': 'global/mturk_template.html', 'minutes_allotted_per_assignment': 60, 'expiration_hours': 7 * 24, # 7 days 'grant_qualification_id': '3GYFFIV9O60B3RSJEL3F6DG8G0CYDR', 'qualification_requirements': [ { 'QualificationTypeId': "00000000000000000071", 'Comparator': "In", # 'LocaleValues': [{'Country': "NL"}] 'LocaleValues': [{'Country': "AT"}, {'Country': "BE"}, {'Country': "EE"}, {'Country': "FI"}, {'Country': "FR"}, {'Country': "DE"}, {'Country': "IE"}, {'Country': "IT"}, {'Country': "LT"}, {'Country': "LU"}, {'Country': "MT"}, {'Country': "NL"}, {'Country': "PT"}, {'Country': "SI"}, {'Country': "ES"}, ] }, { 'QualificationTypeId': '3GYFFIV9O60B3RSJEL3F6DG8G0CYDR', 'Comparator': "DoesNotExist", }, { 'QualificationTypeId': "00000000000000000040", 'Comparator': "GreaterThan", 'IntegerValues': [100] }, { 'QualificationTypeId': "000000000000000000L0", 'Comparator': "GreaterThan", 'IntegerValues': [95] }, ] } ) SESSION_CONFIGS = [ { "name": "study_UU_abc", "display_name": "study_UU_2020", "num_demo_participants": 20, "app_sequence": ["DCC_app",'DCC_seq', 'survey_part1', 'mpl', 'survey_demograp'], } ] LANGUAGE_CODE = "en" REAL_WORLD_CURRENCY_CODE = "USD" USE_POINTS = False DEMO_PAGE_INTRO_HTML = "" ROOMS = [] ADMIN_USERNAME = "admin" # for security, best to set admin password in an environment variable # ADMIN_PASSWORD = environ.get("OTREE_ADMIN_PASSWORD") ADMIN_PASSWORD = "dcc" SECRET_KEY = "dcc" # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ["otree"] AWS_ACCESS_KEY_ID = 'AKIAJWYZSWOPPIDFFTSA' AWS_SECRET_ACCESS_KEY = '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'