feat(studio): cross-model comparison matrix view#984
Merged
Conversation
Add a Compare tab to the Studio UI that displays a matrix of experiment (columns) x target (rows) cells. Each cell shows pass rate, average score, and test counts, color-coded by performance thresholds (green >80%, yellow 50-80%, red <50%). Cells are expandable to show per-test-case breakdown. Backend: new /api/compare and /api/projects/:projectId/compare endpoints that group runs by experiment x target and compute pass_rate + avg_score. Closes #981 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying agentv with
|
| Latest commit: |
87ca80b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f560b893.agentv.pages.dev |
| Branch Preview URL: | https://feat-981-comparison-view.agentv.pages.dev |
- Use JSON.stringify key to prevent cell collisions - Cap tests array per cell to prevent unbounded payload - Deduplicate test results (keep latest per test_id) - Add aria-expanded to expandable cells - Thread error state into CompareTab - Remove type assertion in project compare tab Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
/api/compareand/api/projects/:projectId/compareendpoints that aggregate results by experiment x targetCloses #981
Test plan
bun run buildpassesbun run test— all 1901 tests passbun run lint— no errorsagentv studiowith multi-experiment/multi-target results and confirm the Compare tab renders the matrix correctly🤖 Generated with Claude Code