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}",
445
445
)
446
+
ifresult.eval_metadataisnotNone:
447
+
result.eval_metadata.status=Status.error(
448
+
f"Error during evaluation: {type(e).__name__}: {e}",
449
+
)
446
450
ifnotisinstance(result, EvaluationRow):
447
451
raiseValueError(
448
452
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}",
480
-
)
484
+
)
485
+
ifrow.eval_metadataisnotNone:
486
+
row.eval_metadata.status=Status.error(
487
+
f"Error during evaluation: {type(e).__name__}: {e}",
488
+
)
481
489
ifnotisinstance(results, list):
482
490
raiseValueError(
483
491
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