-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delete useless file and pass mypy testing
- Loading branch information
Showing
20 changed files
with
144 additions
and
325 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,56 @@ | ||
from os import environ | ||
|
||
|
||
SESSION_CONFIGS = [ | ||
dict( | ||
name='sotopia_pilot_study', | ||
display_name='social interaction qualification test', | ||
app_sequence=['sotopia_pilot_study', 'pilot_study_payment_info'], | ||
num_demo_participants=1, | ||
), | ||
dict( | ||
name='sotopia_official_study', | ||
display_name='social interaction official test', | ||
app_sequence=['sotopia_official_study', 'official_study_payment_info'], | ||
num_demo_participants=1, | ||
) | ||
from typing import List, Dict, Any | ||
|
||
DEBUG: bool = False # control user can see the debug info or not | ||
|
||
SESSION_CONFIGS: List[Dict[str, Any]] = [ | ||
{ | ||
'name': 'sotopia_pilot_study', | ||
'display_name': 'social interaction qualification test', | ||
'app_sequence': ['sotopia_pilot_study', 'pilot_study_payment_info'], | ||
'num_demo_participants': 1, | ||
}, | ||
{ | ||
'name': 'sotopia_official_study', | ||
'display_name': 'social interaction official test', | ||
'app_sequence': ['sotopia_official_study', 'official_study_payment_info'], | ||
'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=1.00, participation_fee=0.00, doc="" | ||
) | ||
|
||
PARTICIPANT_FIELDS = ['expiry'] # to use the timer (haofei) | ||
SESSION_FIELDS = [] | ||
|
||
# ISO-639 code | ||
# for example: de, fr, ja, ko, zh-hans | ||
LANGUAGE_CODE = 'en' | ||
|
||
DEBUG = False # TODO(haofeiyu): to control whether the annotators could see the debug_info or not | ||
|
||
# e.g. EUR, GBP, CNY, JPY | ||
REAL_WORLD_CURRENCY_CODE = 'USD' | ||
USE_POINTS = True | ||
|
||
ROOMS = [ | ||
dict( | ||
name='econ101', | ||
display_name='Econ 101 class', | ||
participant_label_file='_rooms/econ101.txt', | ||
), | ||
dict(name='live_demo', display_name='Room for live demo (no participant labels)'), | ||
SESSION_CONFIG_DEFAULTS: Dict[str, Any] = { | ||
'real_world_currency_per_point': 1.00, | ||
'participation_fee': 0.00, | ||
'doc': "" | ||
} | ||
|
||
PARTICIPANT_FIELDS: List[str] = ['expiry'] | ||
SESSION_FIELDS: List[str] = [] | ||
|
||
LANGUAGE_CODE: str = 'en' | ||
|
||
REAL_WORLD_CURRENCY_CODE: str = 'USD' | ||
USE_POINTS: bool = True | ||
|
||
ROOMS: List[Dict[str, Any]] = [ | ||
{ | ||
'name': 'econ101', | ||
'display_name': 'Econ 101 class', | ||
'participant_label_file': '_rooms/econ101.txt', | ||
}, | ||
{ | ||
'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') | ||
ADMIN_USERNAME: str = 'admin' | ||
ADMIN_PASSWORD: str = environ.get('OTREE_ADMIN_PASSWORD', '') | ||
|
||
DEMO_PAGE_INTRO_HTML = """ | ||
DEMO_PAGE_INTRO_HTML: str = """ | ||
Here are some oTree games. | ||
""" | ||
|
||
SECRET_KEY: str = '4197606110806' | ||
|
||
SECRET_KEY = '4197606110806' | ||
|
||
INSTALLED_APPS = ['otree'] | ||
INSTALLED_APPS: List[str] = ['otree'] |
15 changes: 0 additions & 15 deletions
15
human_eval/sotopia_official_study/GPT4-3.5_toy/01H7ZEPYE09RAC869ZJX93BA2Z.json
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
human_eval/sotopia_official_study/GPT4-3.5_toy/01H84XMFD0FKYZ713D87WYBW3D.json
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
human_eval/sotopia_official_study/GPT4-3.5_toy/01H87J5HSVR63D09TZQE46J7MB.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.