Spaces:
Sleeping
Sleeping
Update evaluate.py
Browse files- 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 |
-
|
| 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 |
-
|
| 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:
|