@@ -204,9 +204,9 @@ def check_missing_scorer_data(results: List[ScoringResult]) -> List[ScoringResul
204
204
)
205
205
return results
206
206
207
- def check_experiment_type (eval_name : str , project_name : str , judgment_api_key : str , organization_id : str , is_sequence : bool ) -> None :
207
+ def check_experiment_type (eval_name : str , project_name : str , judgment_api_key : str , organization_id : str , is_trace : bool ) -> None :
208
208
"""
209
- Checks if the current experiment, if one exists, has the same type (examples of sequences )
209
+ Checks if the current experiment, if one exists, has the same type (examples of traces )
210
210
"""
211
211
try :
212
212
response = requests .post (
@@ -220,7 +220,7 @@ def check_experiment_type(eval_name: str, project_name: str, judgment_api_key: s
220
220
"eval_name" : eval_name ,
221
221
"project_name" : project_name ,
222
222
"judgment_api_key" : judgment_api_key ,
223
- "is_sequence " : is_sequence
223
+ "is_trace " : is_trace
224
224
},
225
225
verify = True
226
226
)
@@ -382,7 +382,7 @@ def run_trace_eval(trace_run: TraceRun, override: bool = False, ignore_errors: b
382
382
)
383
383
384
384
if trace_run .append :
385
- # Check that the current experiment, if one exists, has the same type (examples of sequences )
385
+ # Check that the current experiment, if one exists, has the same type (examples or traces )
386
386
check_experiment_type (
387
387
trace_run .eval_name ,
388
388
trace_run .project_name ,
@@ -756,7 +756,7 @@ def run_eval(evaluation_run: EvaluationRun, override: bool = False, ignore_error
756
756
)
757
757
758
758
if evaluation_run .append :
759
- # Check that the current experiment, if one exists, has the same type (examples of sequences )
759
+ # Check that the current experiment, if one exists, has the same type (examples of traces )
760
760
check_experiment_type (
761
761
evaluation_run .eval_name ,
762
762
evaluation_run .project_name ,
0 commit comments