feat(benchmark): add test-time scaling workflow - #478
Draft
elyasmnvidian wants to merge 3 commits into
Draft
Conversation
Signed-off-by: Elyas Mehtabuddin <emehtabuddin@nvidia.com>
Signed-off-by: Elyas Mehtabuddin <emehtabuddin@nvidia.com>
…04-16529-pseudocode
|
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.
What
This PR adds an executable version of the paper's two-iteration test-time scaling workflow.
switchyard-test-time-scalingowns the schedule, candidate records, voting, and saved results. The separate runner owns model requests and external commands. Harbor-specific Python adapters create fresh task copies, save patches, and run official verification only after candidate selection finishes.The runner rejects unknown config fields, changed model IDs, invalid votes, reused output directories, and missing API keys.
Why
The repository has no command that can run the paper's schedule while keeping candidate selection independent from benchmark grades. This split keeps the reusable selection code separate from Harbor and model-provider details.
Existing benchmark commands keep their defaults.
run-baseline.shadds an optional custom-agent import and a pinned mini-swe-agent version for this workflow.Current status
A small model-only smoke completed initial and refined candidates, summaries, votes, and
run.jsonoutput. A real Harbor task and the full paper-size run are still pending, so this PR is a draft.Notes for reviewers
Please check the boundary between selection and verification. Candidate selection must not read Harbor reward or verifier output.