from os import environ #SESSION_CONFIG_DEFAULTS = dict(real_world_currency_per_point=0.05, participation_fee=0) #SESSION_CONFIG_DEFAULTS = dict(real_world_currency_per_point=1, participation_fee=0, mturk_hit_settings) SESSION_CONFIG_DEFAULTS = dict(real_world_currency_per_point=0.05, participation_fee=0.01, mturk_hit_settings={ 'keywords': ['experiment, robots, health care'], 'title': 'Experiment on assistant robots and human caregivers', 'description': 'First you perform an experiment and afterwards you will answer questions. After completing this HIT, you will receive your reward based on the number of Tokens you collected in the experiment. On the last page you will see how many Tokens you have collected, 1 token will be 0.05 Dollar. You receive the payment only if you have answered all questions.', 'frame_height': 500, 'template': 'global/MTurkPreview.html', 'minutes_allotted_per_assignment': 30, 'expiration_hours': 8*24, # day * 24h 'grant_qualification_id': '3BIT4H6AA6UF4P1ETG3RKPAJK3NI55',# to prevent retakes 'qualification_requirements': [{ 'QualificationTypeId': "00000000000000000071", 'Comparator': "In", 'LocaleValues':[{'Country': "DE"}, {'Country': "ES"}, {'Country': "FR"}, {'Country': "GB"}, {'Country': "IT"}] }, { 'QualificationTypeId': "3BIT4H6AA6UF4P1ETG3RKPAJK3NI55", 'Comparator': "DoesNotExist", }, #{ ##'QualificationTypeId': "3E3LRXDRZ2R1UPGJXYPU6D47AMKY5Q", #'Comparator': "LessThan", #'IntegerValues': [25] #}, #{ #'QualificationTypeId': "3Z7S37PR6MY5G6RDNK4HJGL733198F", #'Comparator': "GreaterThan", #'IntegerValues': [60] #}, ] }, ) SESSION_CONFIGS = [ dict( name="orient_exp", num_demo_participants=50, app_sequence=["Welcome", "Task", "Quest", "Payment"], ) ] LANGUAGE_CODE = "en" REAL_WORLD_CURRENCY_CODE = "USD" USE_POINTS = True DEMO_PAGE_INTRO_HTML = "" POINTS_CUSTOM_NAME = "Tokens" ROOMS = [dict(name="Exp", display_name="Exp")] ADMIN_USERNAME = "admin" # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get("OTREE_ADMIN_PASSWORD") SECRET_KEY = "blahblah" AWS_ACCESS_KEY_ID = "AKIAJ73BUTEL3J56ZBGQ" AWS_SECRET_ACCESS_KEY = "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" # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ["otree"]