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

Update evaluate.py

Browse files
Files changed (1) hide show
  1. evaluate.py +4 -2
evaluate.py CHANGED
@@ -206,7 +206,8 @@ def load_test_fixtures():
206
  # candidates = [env_path] if env_path else ["small_test_cases_v10.jsonl"]
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
 
211
  path = next((p for p in candidates if p and os.path.exists(p)), None)
212
  if not path:
@@ -218,7 +219,8 @@ def load_test_fixtures():
218
  # if "small_test_cases_v10.jsonl" in path:
219
  # if "Test_Syn_Caregiving_Patient.jsonl" in path:
220
  # if "Test_Syn_Factual.jsonl" in path:
221
- if "Test_Syn_Multi_Hop.jsonl" in path:
 
222
  print(f"Using corrected test fixtures: {path}")
223
 
224
  with open(path, "r", encoding="utf-8") as f:
 
206
  # candidates = [env_path] if env_path else ["small_test_cases_v10.jsonl"]
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:
 
219
  # if "small_test_cases_v10.jsonl" in path:
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: