KeenWoo commited on
Commit
10983b6
·
verified ·
1 Parent(s): 98117bf

Update evaluate.py

Browse files
Files changed (1) hide show
  1. evaluate.py +5 -2
evaluate.py CHANGED
@@ -194,14 +194,17 @@ def load_test_fixtures():
194
  # The old code used a relative path, which is unreliable.
195
  # This new code builds an absolute path to the fixture file based on
196
  # the location of this (evaluate.py) script.
197
- #script_dir = Path(__file__).parent
198
  #default_fixture_file = script_dir / "small_test_cases_v10.jsonl"
199
  #candidates = [env_path] if env_path else [str(default_fixture_file)]
 
 
 
200
 
201
  # --- END: DEFINITIVE FIX ---
202
  # candidates = [env_path] if env_path else ["conversation_test_fixtures_v10.jsonl"]
203
  # candidates = [env_path] if env_path else ["small_test_cases_v10.jsonl"]
204
- candidates = [env_path] if env_path else ["Test_Syn_Caregiving_Patient.jsonl"]
205
 
206
  path = next((p for p in candidates if p and os.path.exists(p)), None)
207
  if not path:
 
194
  # The old code used a relative path, which is unreliable.
195
  # This new code builds an absolute path to the fixture file based on
196
  # the location of this (evaluate.py) script.
197
+ script_dir = Path(__file__).parent
198
  #default_fixture_file = script_dir / "small_test_cases_v10.jsonl"
199
  #candidates = [env_path] if env_path else [str(default_fixture_file)]
200
+
201
+ default_fixture_file = script_dir / "Test_Syn_Caregiving_Patient.jsonl"
202
+ candidates = [env_path] if env_path else [str(default_fixture_file)]
203
 
204
  # --- END: DEFINITIVE FIX ---
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
 
209
  path = next((p for p in candidates if p and os.path.exists(p)), None)
210
  if not path: