feat: add --runs-functional and --runs-trigger flags to report command#11
Merged
Merged
Conversation
The report command now supports controlling the number of runs per functional eval case and trigger query, matching the --runs flag available in the standalone functional and trigger commands. Defaults remain unchanged: 1 for functional, 3 for trigger. Fixes aws-samples#10
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.
Problem
The
reportcommand runs functional and trigger evals internally but doesn't expose a way to control the number of runs. The standalonefunctionalandtriggercommands both have--runs, butreportalways uses the hardcoded defaults.Solution
Adds two flags to the
reportcommand:--runs-functional N— number of runs per functional eval case (default: 1)--runs-trigger N— number of runs per trigger query (default: 3)Defaults match the standalone commands, so without these flags behavior is unchanged.
Usage
skill-eval report myskill --runs-functional 3 --runs-trigger 5 skill-eval report myskill --runs-trigger 1 # quick single-run triggerTesting
--runs-functionaland--runs-triggerproduce the expected number of runsFixes #10