feat(viewer): sortable programs browser for a run#18
Merged
Conversation
Adds /setup/{label}/run/{idx}/programs — a full-width, sortable table of
every program in a run, modeled on AlphaEvolve's Programs browser. It
surfaces the task-specific metric columns (e.g. raw_C, sequence_length,
wall_seconds for autocorrelation; circles_n, sum_of_radii for packing)
that the narrow dashboard step-list hides, auto-detecting which numeric
metrics actually vary and excluding folded/constant ones (combined_score,
combined_score_std, stage, runs_successfully).
Sorting is server-side (no JS): each column header links to
?sort={col}&dir={asc|desc}, defaulting to score desc to surface the best
program first; an unknown sort key falls back rather than erroring. Every
row links back into the dashboard at ?step={n}; the run's best row is
tinted and new-best steps keep the left accent bar. The dashboard gains a
"browse all N programs as a table" link.
Tests cover the route, metric-column selection (task metric in, universal
keys out), the dashboard link, ?step row links, and sort-param fallback.
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.
Viewer roadmap item C. Adds a full-width, sortable programs browser at
/setup/{label}/run/{idx}/programs, modeled on AlphaEvolve's Programs tab.What it does
raw_C,sequence_length,wall_secondsfor autocorrelation;circles_n,sum_of_radiifor circle packing — auto-detecting which metrics actually appear and excluding folded/constant ones (combined_score,combined_score_std,stage,runs_successfully).?sort={col}&dir={asc|desc}. Defaults toscore descto surface the best program first; step/model sort ascending by default. An unknown sort key falls back to score rather than erroring.?step={n}; the run's best row is tinted and new-best steps keep the left accent bar (consistent with the dashboard list). The dashboard gains a "browse all N programs as a table →" link.Verification
?step=row links, sort-param fallback).🤖 Generated with Claude Code