from os import environ SESSION_CONFIGS = [ dict( name='os_ambiguity_test', app_sequence=['optimal_stopping_ambiguity_test', 'risk_elicitation'], num_demo_participants=10 ), dict( name='os_risk_test', app_sequence=['optimal_stopping_risk_test', 'risk_elicitation'], num_demo_participants=10 ), ] PARTICIPANT_FIELDS = ['os_payoff', 'paid_round', 'mpl_index_to_pay', 'mpl_choice_to_pay', 'mpl_choices_made', 'mpl_choices', 'mpl_payoff'] # 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=1, participation_fee=5.00, doc="" ) # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'EUR' USE_POINTS = False ROOMS = [ dict( name='risk', display_name='Groupe 1', ), dict(name='ambiguity', display_name='Groupe 2'), ] ADMIN_USERNAME = 'Marie' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('Quadro99!') DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ SECRET_KEY = '2923500292757' INSTALLED_APPS = ['otree']