Fixing bug with multiple providers + stats for multiple runs#752
Open
Fixing bug with multiple providers + stats for multiple runs#752
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
EricGustin
approved these changes
Feb 6, 2026
Comment on lines
+946
to
+956
| if runs: | ||
| for run_index, run in enumerate(runs, start=1): | ||
| lines.append(f" Run {run_index}:") | ||
| if run.tool_calls: | ||
| for tc in run.tool_calls: | ||
| total_calls += 1 | ||
| lines.append(f" - {tc.name}") | ||
| if tc.args: | ||
| for key, value in tc.args.items(): | ||
| lines.append( | ||
| f" {key}: {self._format_value(value)}" |
Member
There was a problem hiding this comment.
this file has some wild nesting. I'm scared to read it
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.
@EricGustin you can use this cli command:
Note
Medium Risk
Touches core eval/capture execution and result aggregation, plus all formatter outputs; risk is mainly correctness/regression in scoring/serialization and the expanded HTML/JS rendering path.
Overview
Adds first-class multi-run support to
arcade evalsand capture mode, including new CLI flags--num-runs,--seed, and--multi-run-pass-rule, and fixes provider selection to accept repeated--use-providerentries (enabling multi-provider runs as documented).Evaluation execution now reruns each case N times (with optional OpenAI seeding), aggregates outcomes via
last/mean/majority, and emits per-run/aggregate statistics (run_stats) plus aggregated per-critic-field variance (critic_stats). All output formatters (text/markdown/html/json) are updated to display these stats, with HTML gaining per-run tabs and summary visuals.Capture results gain a
CapturedRun/runsstructure so multi-run tool-call recordings are preserved and rendered across formats, and tests are expanded/adjusted accordingly (including XSS expectations due to new embedded JS).Written by Cursor Bugbot for commit ef3a9d3. This will update automatically on new commits. Configure here.