ncncomplete commited on
Commit
595a155
·
verified ·
1 Parent(s): 69cf4ae

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. server/task_bank.py +1 -1
server/task_bank.py CHANGED
@@ -190,7 +190,7 @@ def _persist_score(task_id: str, episode_id: str, score: float) -> None:
190
 
191
  def _load_persisted_score(task_id: str, episode_id: str) -> float:
192
  if not os.path.exists(SCORE_FILE):
193
- return 0.0
194
  try:
195
  with open(SCORE_FILE, "r", encoding="utf-8") as f:
196
  loaded = json.load(f)
 
190
 
191
  def _load_persisted_score(task_id: str, episode_id: str) -> float:
192
  if not os.path.exists(SCORE_FILE):
193
+ return MIN_STRICT_SCORE
194
  try:
195
  with open(SCORE_FILE, "r", encoding="utf-8") as f:
196
  loaded = json.load(f)