KeenWoo commited on
Commit
5f045cd
·
verified ·
1 Parent(s): 2403721

Update evaluate.py

Browse files
Files changed (1) hide show
  1. evaluate.py +4 -2
evaluate.py CHANGED
@@ -207,7 +207,8 @@ def load_test_fixtures():
207
  # candidates = [env_path] if env_path else ["Test_Syn_Caregiving_Patient.jsonl"]
208
  # candidates = [env_path] if env_path else ["Test_Syn_Factual.jsonl"]
209
  # candidates = [env_path] if env_path else ["Test_Syn_Multi_Hop.jsonl"]
210
- candidates = [env_path] if env_path else ["Test_Syn_Gen_Chat.jsonl"]
 
211
 
212
  path = next((p for p in candidates if p and os.path.exists(p)), None)
213
  if not path:
@@ -220,7 +221,8 @@ def load_test_fixtures():
220
  # if "Test_Syn_Caregiving_Patient.jsonl" in path:
221
  # if "Test_Syn_Factual.jsonl" in path:
222
  # if "Test_Syn_Multi_Hop.jsonl" in path:
223
- if "Test_Syn_Gen_Chat.jsonl" in path:
 
224
  print(f"Using corrected test fixtures: {path}")
225
 
226
  with open(path, "r", encoding="utf-8") as f:
 
207
  # candidates = [env_path] if env_path else ["Test_Syn_Caregiving_Patient.jsonl"]
208
  # candidates = [env_path] if env_path else ["Test_Syn_Factual.jsonl"]
209
  # candidates = [env_path] if env_path else ["Test_Syn_Multi_Hop.jsonl"]
210
+ # candidates = [env_path] if env_path else ["Test_Syn_Gen_Chat.jsonl"]
211
+ candidates = [env_path] if env_path else ["Test_Syn_Caregiving_Caregiver.jsonl"]
212
 
213
  path = next((p for p in candidates if p and os.path.exists(p)), None)
214
  if not path:
 
221
  # if "Test_Syn_Caregiving_Patient.jsonl" in path:
222
  # if "Test_Syn_Factual.jsonl" in path:
223
  # if "Test_Syn_Multi_Hop.jsonl" in path:
224
+ # if "Test_Syn_Gen_Chat.jsonl" in path:
225
+ if "Test_Syn_Caregiving_Caregiver.jsonl" in path:
226
  print(f"Using corrected test fixtures: {path}")
227
 
228
  with open(path, "r", encoding="utf-8") as f: