KeenWoo commited on
Commit
4758154
·
verified ·
1 Parent(s): 8874827

Update evaluate.py

Browse files
Files changed (1) hide show
  1. evaluate.py +4 -4
evaluate.py CHANGED
@@ -95,17 +95,17 @@ def load_test_fixtures():
95
  # candidates = [env_path] if env_path else [str(default_fixture_file)]
96
 
97
  # --- END: DEFINITIVE FIX ---
98
- candidates = [env_path] if env_path else ["conversation_test_fixtures_v10.jsonl"]
99
- # candidates = [env_path] if env_path else ["small_test_cases_v10.jsonl"]
100
 
101
  path = next((p for p in candidates if p and os.path.exists(p)), None)
102
  if not path:
103
  print("Warning: No test fixtures file found for evaluation.")
104
  return
105
 
106
- # if "small_test_cases_v10.jsonl" in path:
107
  # Use the corrected v10 file if available
108
- if "conversation_test_fixtures_v10.jsonl" in path:
109
  print(f"Using corrected test fixtures: {path}")
110
 
111
  with open(path, "r", encoding="utf-8") as f:
 
95
  # candidates = [env_path] if env_path else [str(default_fixture_file)]
96
 
97
  # --- END: DEFINITIVE FIX ---
98
+ # candidates = [env_path] if env_path else ["conversation_test_fixtures_v10.jsonl"]
99
+ candidates = [env_path] if env_path else ["small_test_cases_v10.jsonl"]
100
 
101
  path = next((p for p in candidates if p and os.path.exists(p)), None)
102
  if not path:
103
  print("Warning: No test fixtures file found for evaluation.")
104
  return
105
 
106
+ if "small_test_cases_v10.jsonl" in path:
107
  # Use the corrected v10 file if available
108
+ # if "conversation_test_fixtures_v10.jsonl" in path:
109
  print(f"Using corrected test fixtures: {path}")
110
 
111
  with open(path, "r", encoding="utf-8") as f: