from os import environ SESSION_CONFIGS = [ dict( name='Tassel_2022_G1', display_name="Tassel_2022_G1", app_sequence=[ 'dictator_introduction', 'dictator', 'dictator_result', 'survey', 'Receipt', ], num_demo_participants=2, ), ] # 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=2.00, participation_fee=50.00, start_time_set = "2022/06/06 11:20:00", doc="start_time_set:表訂實驗開始時間,請依格式填寫:yyyy/mm/dd hh:mm:ss", ) PARTICIPANT_FIELDS = [ 'chosen_round_real', 'hold_real', 'pass_real', 'price_s_real', 'price_o_real', 'hold_money_real', 'pass_money_real', 'hold_NTD_real', 'pass_NTD_real', 'chosen_round_unreal', 'hold_unreal', 'pass_unreal', 'price_s_unreal', 'price_o_unreal', 'hold_money_unreal', 'pass_money_unreal','participated', 'jump_to_next', 'wait_page_arrival', 'total_payoff', 'intro_drop_time','round_drop_time', ] SESSION_FIELDS = [ # chosen_round, hold, pass, price_s, price_o, hold_money, pass_money, hold_NTD, pass_NTD 'chosen_round_real', 'hold_real', 'pass_real', 'price_s_real', 'price_o_real', 'hold_money_real', 'pass_money_real', 'hold_NTD_real', 'pass_NTD_real', 'chosen_round_unreal', 'hold_unreal', 'pass_unreal', 'price_s_unreal', 'price_o_unreal', 'hold_money_unreal', 'pass_money_unreal','participated', 'jump_to_next', 'wait_page_arrival', ] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'NTD' USE_POINTS = True ROOMS = [ dict( name='Tassel_2022_G1', display_name='Tassel_2022_G1', participant_label_file='_rooms/label_list.txt', ), dict(name='live_demo', display_name='Room for live demo (no participant labels)'), ] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ SECRET_KEY = '4448101133336' INSTALLED_APPS = ['otree']