Skip to content

Add agent × model comparison view with token-aware metrics - #4

Merged
travelhawk merged 2 commits into
mainfrom
claude/coding-work-plus-comparison-s09j32
Aug 26, 2026
Merged

Add agent × model comparison view with token-aware metrics#4
travelhawk merged 2 commits into
mainfrom
claude/coding-work-plus-comparison-s09j32

Conversation

@travelhawk

Copy link
Copy Markdown
Owner
  • Persist benchmark_key, task_key, model_id, review_mode, and
    judge_total_tokens per run (model was previously dropped on insert,
    making model-vs-model comparison impossible from history)
  • Add a Comparison workbench view and an 'agent-bench matrix' CLI
    command: setups side by side with score, quality, tests, duration,
    agent/judge tokens, and cost, plus a per-task score heatmap —
    aggregated from persisted runs at zero token cost
  • Add a zero-token review mode (UI toggle, --no-judge, or
    AGENT_BENCH_REVIEW=off) that skips the LLM judge while keeping all
    deterministic metrics
  • Surface free reviews (cache hits, rules/off) vs fresh gateway calls
    so token spend per comparison is visible
  • Cover run metadata persistence, matrix aggregation, and judge-off in
    unit tests; extend the e2e flow with the Comparison tab

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01MZ5iDN2ezGTBFMs43SJ91N

claude added 2 commits August 22, 2026 18:37
- Persist benchmark_key, task_key, model_id, review_mode, and
  judge_total_tokens per run (model was previously dropped on insert,
  making model-vs-model comparison impossible from history)
- Add a Comparison workbench view and an 'agent-bench matrix' CLI
  command: setups side by side with score, quality, tests, duration,
  agent/judge tokens, and cost, plus a per-task score heatmap —
  aggregated from persisted runs at zero token cost
- Add a zero-token review mode (UI toggle, --no-judge, or
  AGENT_BENCH_REVIEW=off) that skips the LLM judge while keeping all
  deterministic metrics
- Surface free reviews (cache hits, rules/off) vs fresh gateway calls
  so token spend per comparison is visible
- Cover run metadata persistence, matrix aggregation, and judge-off in
  unit tests; extend the e2e flow with the Comparison tab

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MZ5iDN2ezGTBFMs43SJ91N
…parison

- Sandboxed runs producing an index.html now capture page.png (full-page
  screenshot) and page.webm (bounded scroll-through video) via local
  Playwright rendering — best-effort, zero model tokens, opt out with
  AGENT_BENCH_VISUALS / AGENT_BENCH_VISUAL_VIDEO
- Persist screenshot_file/video_file per run; artifact route serves
  image/png and video/webm
- Comparison tab gains a per-task Visual comparison gallery: latest
  visual run of each agent × model setup side by side, screenshot as
  video poster, click-to-play; run inspector shows the same media
- Multimodal screenshot judge reuses the captured page.png instead of
  rendering twice
- Tests: capture toggles, no-index.html fallback, real screenshot+video
  capture (skips cleanly when no Chromium is available)

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

@travelhawk travelhawk left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve

@travelhawk
travelhawk merged commit 18b77d0 into main Aug 26, 2026
3 checks passed
@travelhawk
travelhawk deleted the claude/coding-work-plus-comparison-s09j32 branch August 26, 2026 05:29
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