You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reason=f"Error during evaluation: {type(e).__name__}: {e}",
449
449
)
450
+
ifresult.eval_metadataisnotNone:
451
+
result.eval_metadata.status=Status.error(
452
+
f"Error during evaluation: {type(e).__name__}: {e}",
453
+
)
454
+
else:
455
+
raise
450
456
ifnotisinstance(result, EvaluationRow):
451
457
raiseValueError(
452
458
f"Test function {test_func.__name__} did not return an EvaluationRow instance. You must return an EvaluationRow instance from your test function decorated with @evaluation_test."
reason=f"Error during evaluation: {type(e).__name__}: {e}",
488
494
)
495
+
ifrow.eval_metadataisnotNone:
496
+
row.eval_metadata.status=Status.error(
497
+
f"Error during evaluation: {type(e).__name__}: {e}",
498
+
)
499
+
else:
500
+
raise
489
501
ifnotisinstance(results, list):
490
502
raiseValueError(
491
503
f"Test function {test_func.__name__} did not return a list of EvaluationRow instances. You must return a list of EvaluationRow instances from your test function decorated with @evaluation_test."
0 commit comments