Repository navigation
feat(agent-testing): add Template cases, turn file editor and llmJudge spend - #494
Merged
Merged
Conversation
- Template cases call one of the entry agent's templates directly, so they need an entry agent and a template picked from it, and cannot have history - Turn files have no editor yet; carry them through load and save so editing a case in the UI does not clear files attached through the API Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The agent list is long enough that scrolling for one is slow; apply the same search box the assertion pickers already have to entry agent, involved agents, changed agents and the Template case's template Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
- Turn files were read-only; add an editor so they can be added and removed in the UI, and require both a name and a URL on save - A template call does not route or call functions, so routedToAgent, agentChain, toolCalled and toolNotCalled have a fixed result in a Template case; hide them in the Type picker and reject ones already on the case - Clear the template when the entry agent changes, since templates belong to one agent; retry loading templates after a failed fetch - List Template in CASE_TYPES Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ad failures - Run page reloads when the run id changes: Re-run Failures navigates on the same route, so the mount-only load kept showing the old run and never polled - Stop polling a run that never loaded, keep the last snapshot on a failed poll, and never overlap polls so an older response cannot overwrite a newer one - Re-run failures in one run per model set: a run applies its models to every case, so a single run forced one case's model onto the others - Key per-model stats and pricing by provider and model, not model alone - Suite page shows a retryable error when cases or runs fail to load instead of the empty states, which read as data loss - Clear the template when an AI draft changes the entry agent, and keep Template cases off richContent, which a template call never returns - Stop rejecting .NET-only regex syntax that JS RegExp cannot parse - Add missing en/zh strings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Judge spend is kept out of the model-under-test totals, so it gets its own column per model and its own badge per case, shown only when a judge ran Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Give judge tokens and judge cost their own columns in the latency table - Separate tokens and cost with a slash in the per-case badges Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… edits - Stamp the reviewed date in local time; toISOString() gave yesterday before 08:00 in UTC+8 - Restart a notice's timer on a new message so the old one cannot hide it early - Warn when edits made while the assistant was working get replaced by its draft - Apply the suite agent filter on pick and ignore out-of-date list responses - Move the stale form JSDoc back onto the form it describes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
4 of 5 tasks
…n page - Add a judge row to the cost table with the run's judge model, total judge spend and unit cost - Merge tokens and cost into one "Agent tokens / cost" column beside "Judge tokens / cost" - Translate "Judge model" as "Judge 模型" in Chinese Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- totalCount only counts finished executions, so a running run showed no progress - Show finished / planned on the run page and the suite's run history; older runs without plannedCount keep the old figure Co-Authored-By: Claude Opus 5.5 <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
Agent-testing UI updates: a new Template case type, a per-turn file editor, llmJudge spend on the run page, and a round of review fixes.
Case editor
routedToAgent,agentChain,toolCalled,toolNotCalled) are hidden from the type picker and rejected on save; therichContentoutput source is hidden too, since a template call returns text only.toISOString()gave yesterday before 08:00 in UTC+8).Run page
plannedCountshow the finished count as before.Lists
Backend dependency
Needs the matching BotSharp
AgentTestingplugin changes (Template case type,judgeTokens/judgeCoston results, pricing snapshot,judgePricingandplannedCounton runs). Against an older plugin build the Judge column and Judge row stay hidden and unit cost shows as unknown.Test plan
🤖 Generated with Claude Code