from os import environ SESSION_CONFIG_DEFAULTS = dict(real_world_currency_per_point=1, participation_fee=0) SESSION_CONFIGS = \ [dict(name='Survey', \ num_demo_participants=None, \ app_sequence=['survey']), \ dict(name='Battle_of_the_Sexes', \ num_demo_participants=None, \ app_sequence=['bargaining']), \ dict(name='Bargaining', \ num_demo_participants=None, \ app_sequence=['bargaining']), \ dict(name='Bertrand', \ num_demo_participants=None, \ app_sequence=['bertrand']), \ dict(name='Cournot', \ num_demo_participants=None, \ app_sequence=['cournot']), \ dict(name='Guess_Two_Thirds', \ num_demo_participants=None, \ app_sequence=['guess_two_thirds']), \ dict(name='Stag_Hunt_Game', \ num_demo_participants=None, \ app_sequence=['stag_hunt_with_chat']), \ dict(name='Ebay_Bidding_Game', \ num_demo_participants=None, \ app_sequence=['ebay']), \ dict(name='Rock_Paper_Scissors', \ num_demo_participants=None, \ app_sequence=['rockpaperscissors']), \ dict(name='Dictator', \ num_demo_participants=None, \ app_sequence=['dictator']), \ dict(name='Ultimatum', \ num_demo_participants=None, \ app_sequence=['ultimatum']), \ dict(name='Matching_Pennies', \ num_demo_participants=None, \ app_sequence=['matching_pennies']), \ dict(name='Chicken_Game', \ num_demo_participants=None, \ app_sequence=['chicken']), \ dict(name='Chicken_With_Chat', \ num_demo_participants=None, \ app_sequence=['chicken_with_chat']), \ dict(name='Prisoners_Dilemma', \ num_demo_participants=None, \ app_sequence=['prisoner']), \ dict(name='Prisoners_Dilemma_Chat', \ num_demo_participants=None, \ allow_chat= False,\ app_sequence=['prisoner_with_chat']), \ dict(name='Prisoners_Iterated', \ num_demo_participants=None, \ app_sequence=['iterated_prisoner']), \ dict(name='Prisoners_Sequential', \ num_demo_participants=None, \ app_sequence=['sequential_prisoner']), \ dict(name='Public_Goods', \ num_demo_participants=None, \ app_sequence=['public_goods']), \ dict( name='secondPrice', display_name='Second Price Auction', num_demo_participants=4, app_sequence=['secondPrice'], players_per_group=4, doc="""The 'players_per_group' variable is configurable and has a default value of 4.""", ), dict(name='Travelers_Dilemma', \ num_demo_participants=None, \ app_sequence=['traveler_dilemma']), \ dict(name='Volunteers_Dilemma', \ num_demo_participants=None, \ app_sequence=['volunteer_dilemma']), \ dict(name='Trust', \ num_demo_participants=None, \ app_sequence=['trust']), \ dict(name='Trust_Simple', \ num_demo_participants=None, \ app_sequence=['trust_simple']), \ dict(name='Trust_Simple_2', \ num_demo_participants=None, \ app_sequence=['trust_simple2']), \ dict(name='Trust_Simple_Three', \ num_demo_participants=None, \ app_sequence=['trust_simple3'])] LANGUAGE_CODE = 'en' REAL_WORLD_CURRENCY_CODE = 'USD' USE_POINTS = True DEMO_PAGE_INTRO_HTML = '' PARTICIPANT_FIELDS = [] SESSION_FIELDS = [] ROOMS = [dict(name='my_room', display_name='my_room', participant_label_file='_rooms/my_room.txt')] ADMIN_USERNAME = 'dcthomas' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = '$Fubman4679' SECRET_KEY = 'blahblah' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree'] import sentry_sdk sentry_sdk.init( "https://0b330960e75f40fd95c4d1536fcce803@o1001504.ingest.sentry.io/5961168", # 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 )