Spaces:
Running
Running
Update evaluate.py
Browse files- evaluate.py +4 -2
evaluate.py
CHANGED
|
@@ -205,7 +205,8 @@ def load_test_fixtures():
|
|
| 205 |
# candidates = [env_path] if env_path else ["conversation_test_fixtures_v10.jsonl"]
|
| 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 |
|
| 210 |
path = next((p for p in candidates if p and os.path.exists(p)), None)
|
| 211 |
if not path:
|
|
@@ -216,7 +217,8 @@ def load_test_fixtures():
|
|
| 216 |
# if "conversation_test_fixtures_v10.jsonl" in path:
|
| 217 |
# if "small_test_cases_v10.jsonl" in path:
|
| 218 |
# if "Test_Syn_Caregiving_Patient.jsonl" in path:
|
| 219 |
-
if "Test_Syn_Factual.jsonl" in path:
|
|
|
|
| 220 |
print(f"Using corrected test fixtures: {path}")
|
| 221 |
|
| 222 |
with open(path, "r", encoding="utf-8") as f:
|
|
|
|
| 205 |
# candidates = [env_path] if env_path else ["conversation_test_fixtures_v10.jsonl"]
|
| 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:
|
|
|
|
| 217 |
# if "conversation_test_fixtures_v10.jsonl" in path:
|
| 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:
|