We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23cfde5 commit f298234Copy full SHA for f298234
eval_protocol/pytest/evaluation_test.py
@@ -602,7 +602,8 @@ async def _collect_result(config, lst):
602
r.eval_metadata.status = Status.error(
603
r.rollout_status.message, r.rollout_status.details
604
)
605
- else:
+ elif not (r.eval_metadata.status and r.eval_metadata.status.code != Status.Code.RUNNING):
606
+ # if the eval_metadata status code has not been set to something else, consider it as finished
607
r.eval_metadata.status = Status.eval_finished()
608
# Optional debug print for assistant/tool sequence
609
if os.getenv("EP_DEBUG_SERIALIZATION", "0").strip() == "1":
0 commit comments