feat: list every rollout in the eval dashboard, queued ones as pending#1913
Merged
Conversation
The --rich eval dashboard only rendered rollouts that had already started (it filtered on `rollout.trace is not None`), so with a low `--max-concurrent` the queued rollouts were invisible until they began — `-n 8 -c 1` showed just the one in flight. Give each Rollout a PENDING phase before it starts (advanced to SETUP the moment `run()` begins) and render those queued rollouts in the dashboard, keyed off the `task` every Rollout already carries. All rollouts now appear from the first frame: queued ones read `[pending]` (dim) until they leave the concurrency queue. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ApprovabilityVerdict: Approved This PR adds a display-only feature showing queued rollouts as 'pending' in the eval dashboard CLI. Changes are self-contained to visualization logic with no impact on core rollout behavior. You can customize Macroscope's approvability policy. Learn more. |
samsja
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--richeval dashboard only rendered rollouts that had already started —_groupsfiltered onrollout.trace is not None— so with a low--max-concurrentthe queued rollouts were invisible until they began.eval <taskset> -n 8 -c 1showed only the single rollout in flight.PENDINGphase toRollout: a rollout now startsPENDING(queued behind the concurrency cap) and advances toSETUPthe momentrun()begins.taskeachRolloutalready carries at construction. Queued rollouts render as[pending](dim) — only the task is known yet — until they leave the queue, then progress through the normal lifecycle._groupsgroups byrollout.task.idx(always available) and sorts still-pending rollouts last (no start time), so in-flight/finished ones stay on top and pending ones trail in task order.Verification
Ran
eval reverse_text_v1 -n 8 -c 1end-to-end (real Prime inference model,max_concurrent=1) and snapshotted the live dashboard as it progressed.Timelines across frames:
[8, 7, 6, 5, 4, 3, 2, 1, 0, 0][0, 0, 1, 2, 3, 4, 5, 6, 7, 8]First frame (t=0.0s) — all eight register as pending immediately:
Mid-run (t=20.6s) — processed one by one under
-c 1: three done, one running, four still pending:Final frame (t=79.1s) — all eight processed:
8/8.Before this change the first two frames would show only
task idx=0; the rest of the batch was invisible until each one started.Note
Low Risk
Display and lifecycle labeling only; no changes to scoring, concurrency, or rollout execution semantics beyond initial phase default and SETUP transition timing.
Overview
The
--richeval dashboard now lists every rollout from the first frame, including ones still waiting on--max-concurrent. Previously_groupsonly included rollouts with a trace, so queued work was invisible untilrun()started.Rollout lifecycle: New
Phase.PENDING. Each rollout beginsPENDINGand switches toSETUPwhenrun()creates the trace.Dashboard:
[pending](dim) rows show only the task (rollout.task); grouping usestask.idxinstead of trace timing. Pending rollouts sort last via_started(+inf when no trace).Reviewed by Cursor Bugbot for commit ed8e0db. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
List queued rollouts as pending in the eval dashboard
PENDINGphase toRolloutin rollout.py; newly constructed rollouts start in this phase and transition toSETUPwhenrun()begins.rollout.task.idxinstead ofrollout.trace.task.idx, so rollouts without a trace are included and sorted after in-flight ones.[pending]marker, with no result or elapsed time.PENDINGrather thanSETUP, which affects any code that inspects the initial phase beforerun()is called.Macroscope summarized ed8e0db.