""" This version add the following features: - add a introduction with more details -add an exam page after introduction to make sure players understand the game and and excluding subjects who did not understand the rules of the game -exclude the "point" after each payoff number -randomly select one trial in each stage for payment """ from os import environ SESSION_CONFIGS = [ dict( name='strategy_Learning', display_name="Earn as much as you can", # 显示在页面上的名字 app_sequence=['survey', 'strategyLearningExcercise', 'strategyLearningExperiment', 'ending1'], num_demo_participants=1, ), dict( name='strategy_Learning_control', display_name="Earn as much as you can-c", # 显示在页面上的名字 app_sequence=['survey', 'strategyLearningExcercise', 'strategyLearningControl', 'ending2'], num_demo_participants=1, )] # 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=0.02, participation_fee=2.00, doc="" ) # depends PARTICIPANT_FIELDS = ['selected_payoff', 'selected', 'selected_round', 'pays_per_trial', 'pool', 'correct_choice', 'luck'] 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 = 'GBP' USE_POINTS = True ROOMS = [ # dict( # name='econ_with_label', # display_name='Money Game', # participant_label_file='/Users/yang/Desktop/programme/otree/updating-3.1-clean/_rooms/Money Game.txt', # use_secure_urls=True # ), dict(name='econ_exp', display_name='Money Game (1)'), dict(name='econ_con', display_name='Money Game (2)'), ] ADMIN_USERNAME = 'yang' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = '090026' DEMO_PAGE_INTRO_HTML = """ Here is the game you are going to play. """ OTREE_AUTH_LEVEL = 'STUDY' SECRET_KEY = '1330816207613' INSTALLED_APPS = ['otree'] OTREE_PRODUCTION = 'Off'