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
evaluation_test_kwargs=kwargs.get("evaluation_test_kwargs") or {}
422
-
result=awaitexecute_pytest(
423
-
test_func,
424
-
processed_row=row,
425
-
evaluation_test_kwargs=evaluation_test_kwargs,
426
-
)
427
+
asyncwithrollout_logging_context(
428
+
row.execution_metadata.rollout_idor"",
429
+
experiment_id=experiment_id,
430
+
run_id=run_id,
431
+
):
432
+
result=awaitexecute_pytest(
433
+
test_func,
434
+
processed_row=row,
435
+
evaluation_test_kwargs=evaluation_test_kwargs,
436
+
)
427
437
ifnotisinstance(result, EvaluationRow):
428
438
raiseValueError(
429
439
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."
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