KeenWoo commited on
Commit
8dad38d
·
verified ·
1 Parent(s): 4b67325

Update evaluate.py

Browse files
Files changed (1) hide show
  1. evaluate.py +4 -2
evaluate.py CHANGED
@@ -85,14 +85,16 @@ def load_test_fixtures():
85
  global test_fixtures
86
  test_fixtures = []
87
  env_path = os.environ.get("TEST_FIXTURES_PATH", "").strip()
88
- candidates = [env_path] if env_path else ["conversation_test_fixtures_v10.jsonl", "conversation_test_fixtures_v8.jsonl"]
 
89
  path = next((p for p in candidates if p and os.path.exists(p)), None)
90
  if not path:
91
  print("Warning: No test fixtures file found for evaluation.")
92
  return
93
 
94
  # Use the corrected v10 file if available
95
- if "conversation_test_fixtures_v10.jsonl" in path:
 
96
  print(f"Using corrected test fixtures: {path}")
97
 
98
  with open(path, "r", encoding="utf-8") as f:
 
85
  global test_fixtures
86
  test_fixtures = []
87
  env_path = os.environ.get("TEST_FIXTURES_PATH", "").strip()
88
+ # candidates = [env_path] if env_path else ["conversation_test_fixtures_v10.jsonl"]
89
+ candidates = [env_path] if env_path else ["small_test_cases_v10.jsonl", "conversation_test_fixtures_v10.jsonl"]
90
  path = next((p for p in candidates if p and os.path.exists(p)), None)
91
  if not path:
92
  print("Warning: No test fixtures file found for evaluation.")
93
  return
94
 
95
  # Use the corrected v10 file if available
96
+ # if "conversation_test_fixtures_v10.jsonl" in path:
97
+ if "small_test_cases_v10.jsonl" in path:
98
  print(f"Using corrected test fixtures: {path}")
99
 
100
  with open(path, "r", encoding="utf-8") as f: