Skip to content

Review eval runs and take suggested fixes from sandbox to draft PR - #747

Open
TonsOfFun wants to merge 11 commits into
mainfrom
claude/epic-edison-td4gm7
Open

TonsOfFun wants to merge 11 commits into
mainfrom
claude/epic-edison-td4gm7

Conversation

@TonsOfFun

@TonsOfFun TonsOfFun commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

What to review

A completed scenario run now opens on one report. It shows passed replays with their denominator, execution errors, P95 replay latency, and newly passing and newly failing replays. Run history records the date and available release information. The live step matrix remains available during execution.

Selecting a scenario opens a shareable page with its question, expectations, every model and trial, and links to prior results. Reviewers can annotate a captured turn or an entire replay for judging or training. Imported runs without a captured conversation identify which evidence was retained.

The comparison uses the most recent completed run of the same scenario within the evaluation, then matches provider, model and trial. Changed checks, unscored results and unmatched trials are excluded from the pass-rate delta. The denominator shows how much of the run could be compared.

Dashboard and exports

  • Draft PR opens a suggested fix in a checkout workspace. Select Codex or Claude Code to implement it. A supported browser can pass control between the developer and the agent. Review the changed files and publish a draft while the affected scenarios rerun. Reopen Track fix to follow development, verification and the same PR through review, merge or closure.
  • If an unpublished fix loses its checkout, Start in another checkout lets the developer select or boot a replacement. The attempt picker preserves the earlier transcript and verification. A published branch or a pending publication keeps the fix attached to the existing PR workflow.
  • Agent cards show evaluation coverage and latest score date alongside 30-day run volume, error rate and mean latency.
  • HTML and Markdown exports share the summary and comparisons. Existing report bookmarks open the canonical run page. The separate iframe, run header, rail and duplicate fix list have been removed.

Review on a phone

From test/dummy, run bin/rails runner db/seeds/library_availability.rb and open Library availability explanations (simulated). Two releases answer 14 questions in seven phrasing groups. Run 2 passes 12/14, up from 8/14, at a simulated average of $0.0017 per answer. Select Short tickets and open Tidal Atlas checkout? to inspect the regression and previous answer. Reported or estimated answer costs are shown separately from judge fees. The overview, scenario list, and transcript were exercised in a browser at phone widths of 360 and 390 CSS pixels.

Upgrade and validation

Run bin/rails generate action_agent:install --skip and bin/rails db:migrate to install 037 for transcript annotations and 038 for linking a fix to its pull request.

Migration 038 also reconnects earlier fix PRs when their stored report identifies the checkout, original run, verification run and coding session. Ordinary checkout PRs and ambiguous records remain unassigned.

All 19 GitHub Actions checks passed at 0409be31. The complete dashboard frontend suite passed 809 tests. Focused Rails coverage included evaluations and exports, CLI runners, fix sessions, PR publication and the installer. CI run

Browser verification covered a synthetic 100-scenario suite and saving a transcript annotation across reload. The PR lifecycle was exercised with simulated GitHub writes and at a 390-pixel phone width.

Try signed-in development runners

In a single-user local Rails development environment, configure the local sandbox backend and enable codex_auth = :local_login or claude_code_auth = :local_login. Include the openai Ruby gem for the chat message types used by both runners. As the OS user running Rails and its jobs, use codex login for ChatGPT or claude auth login for Claude. Replay with shows each CLI’s readiness. Judge for next run independently selects how to score LLM criteria. Coding agent on Draft PR chooses who edits the checkout. To publish from the dashboard, connect GitHub and link the repository in Projects. Development setup

A live dashboard replay used the issue tracker’s counting and chart tools on a fictional backlog. Each CLI returned the seven expected counts across 19 open issues. In a separate run, Codex answered in 16.2 seconds and Claude Code independently scored the written takeaway 0.90. The report recorded token usage. The subscription logins supplied no per-answer dollar amount. The real Rails report and expanded transcript were verified at a 390-pixel viewport.

Review walkthrough

claude and others added 4 commits December 2, 2026 20:07
A suite's run opened on its build console: stat tiles, a step matrix,
the run rail and the fix cards, with the report behind a small link.
It now opens on an Overview that reads as a short report: the result in
one sentence, what was found with the fix for each, a pass bar per
model, and every scenario as what the user asks, what a pass needs and
each model's verdict, with the reason and the answer one click away.
The console is unchanged as Details; the choice is remembered, and a
link to one scenario result still opens its row there.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PCEJHq6PpQW12igHbRowrs
Report#to_html, the page the dashboard frames as a run's report and the
file it downloads for someone without dashboard access, led with stat
tiles and the scenario matrix. It now opens on the Overview the run page
shows: the headline and paragraph, what was found with a fix for each,
a pass bar per model, and each scenario with what a pass needs and each
model's verdict, the reason and the answer behind the row. The earlier
content is unchanged under Full details. to_markdown opens on the
headline and paragraph.

The words are ActiveAgent::Evals::Overview's, the Ruby copy of the
dashboard's runOverview.mjs; one fixture is tested against both.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PCEJHq6PpQW12igHbRowrs
@TonsOfFun TonsOfFun changed the title Add Overview view for scenario runs in dashboard and reports Unify eval run reports, scenario comparisons and annotated transcripts Dec 4, 2026
@TonsOfFun
TonsOfFun marked this pull request as ready for review December 4, 2026 16:15
@TonsOfFun TonsOfFun changed the title Unify eval run reports, scenario comparisons and annotated transcripts Review eval runs and take suggested fixes from sandbox to draft PR Dec 4, 2026
…asured against

A second attempt at the same finding, started without naming the first or
in another checkout, opened its own branch and pull request. Publishing a
fix is now decided per finding under the run's lock, and answers with the
existing pull request.

The run comparison showed the run before the selected one as the baseline
while the change was measured per scenario against each one's last
completed run. The summary now names the runs the matched replays were
measured against, the card shows that run (or lists them when they differ),
and the exports say the same. A changed list of criteria or a replay stored
without its scenario definition measures no change; runs record the
criteria they scored with.

Annotations are reviewer notes: they are exported with their replay, can be
deleted, and no longer claim to feed the judge or a training set. A repeat
of a request is settled by the unique index instead of a lookup.

Agent cards whose results are all stale or archived say how many suites
were left out and when they last ran. Finding cards count their newly
failing scenarios, a run link opened on a phone lands on the report, a
corrupt retry chain ends, and the library seed marks its second release as
the deployed one so its walkthrough is current.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PCEJHq6PpQW12igHbRowrs

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants