Skip to content

Commit 4a27a12

Browse files
committed
remove comments
1 parent 93bdef9 commit 4a27a12

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

eval_protocol/pytest/remote_rollout_processor.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,6 @@ async def _process_row(row: EvaluationRow) -> EvaluationRow:
124124
status_logs.append(log)
125125

126126
if status_logs:
127-
# finished_logs = []
128-
# for log in status_logs:
129-
# sd = log.get("status") or {}
130-
# if isinstance(sd, dict) and sd.get("code") == Status.Code.FINISHED:
131-
# finished_logs.append(log)
132-
# if len(finished_logs) > 1:
133-
# logger.warning(
134-
# "Found %s FINISHED status logs for rollout %s; expected at most 1. Using the first one.",
135-
# len(finished_logs),
136-
# row.execution_metadata.rollout_id,
137-
# )
138127
# Use the first log with status information
139128
status_log = status_logs[0]
140129
status_dict = status_log.get("status")
@@ -162,8 +151,6 @@ async def _process_row(row: EvaluationRow) -> EvaluationRow:
162151
details=status_details,
163152
)
164153

165-
# then add the log extras to be stuffed into row.artifacts or something
166-
167154
logger.info("Stopping polling for rollout %s", row.execution_metadata.rollout_id)
168155
break
169156

0 commit comments

Comments
 (0)