Spaces:
Sleeping
Sleeping
Update evaluate.py
Browse files- evaluate.py +4 -2
evaluate.py
CHANGED
|
@@ -210,7 +210,8 @@ def load_test_fixtures():
|
|
| 210 |
# candidates = [env_path] if env_path else ["Test_Syn_Gen_Chat.jsonl"]
|
| 211 |
# candidates = [env_path] if env_path else ["Test_Syn_Gen_Know.jsonl"]
|
| 212 |
# candidates = [env_path] if env_path else ["Test_Syn_Sum.jsonl"]
|
| 213 |
-
candidates = [env_path] if env_path else ["small_test_cases_v10.jsonl"]
|
|
|
|
| 214 |
|
| 215 |
path = next((p for p in candidates if p and os.path.exists(p)), None)
|
| 216 |
if not path:
|
|
@@ -227,7 +228,8 @@ def load_test_fixtures():
|
|
| 227 |
# if "Test_Syn_Gen_Chat.jsonl" in path:
|
| 228 |
# if "Test_Syn_Gen_Know.jsonl" in path:
|
| 229 |
# if "Test_Syn_Sum.jsonl" in path:
|
| 230 |
-
if "small_test_cases_v10.jsonl" in path:
|
|
|
|
| 231 |
print(f"Using corrected test fixtures: {path}")
|
| 232 |
|
| 233 |
with open(path, "r", encoding="utf-8") as f:
|
|
|
|
| 210 |
# candidates = [env_path] if env_path else ["Test_Syn_Gen_Chat.jsonl"]
|
| 211 |
# candidates = [env_path] if env_path else ["Test_Syn_Gen_Know.jsonl"]
|
| 212 |
# candidates = [env_path] if env_path else ["Test_Syn_Sum.jsonl"]
|
| 213 |
+
# candidates = [env_path] if env_path else ["small_test_cases_v10.jsonl"]
|
| 214 |
+
candidates = [env_path] if env_path else ["Test_Syn_Caregiving_Patient.jsonl"]
|
| 215 |
|
| 216 |
path = next((p for p in candidates if p and os.path.exists(p)), None)
|
| 217 |
if not path:
|
|
|
|
| 228 |
# if "Test_Syn_Gen_Chat.jsonl" in path:
|
| 229 |
# if "Test_Syn_Gen_Know.jsonl" in path:
|
| 230 |
# if "Test_Syn_Sum.jsonl" in path:
|
| 231 |
+
# if "small_test_cases_v10.jsonl" in path:
|
| 232 |
+
if "Test_Syn_Caregiving_Patient.jsonl" in path:
|
| 233 |
print(f"Using corrected test fixtures: {path}")
|
| 234 |
|
| 235 |
with open(path, "r", encoding="utf-8") as f:
|