Add natural-language benchmark creation and simplify execution - #201
Closed
sumukshashidhar wants to merge 5 commits into
Closed
sumukshashidhar wants to merge 5 commits into
sumukshashidhar wants to merge 5 commits into
Conversation
Collaborator
Author
|
Superseded by #202, which contains the same redesign in a consolidated commit plus the synthetic-URL test and PDF diff fixes. This keeps the secret scanner enabled without retaining the deliberately fake credential-shaped fixture in the PR commit history. |
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 and result
Building a benchmark previously required assembling a brittle YAML pipeline, and model/storage failures could silently lose questions or overwrite data. This redesign adds a natural-language frontend and a small Python API while simplifying the existing execution path and making failures explicit.
yourbench create "Test understanding of policy exceptions" \ --source ./documents --output ./benchmark --model MODEL_ID \ --base-url http://localhost:8000/v1 --max-tokens 4000 --concurrency 2 yourbench inspect ./benchmark --json yourbench run ./benchmarkChanges
plan.json/config.yaml;create,run,load_result, andBenchmarkResult; local result inspection without model credentials; per-response token and per-model concurrency controls.Migration
See the migration guide for the complete changes and limits. Significant changes include recipe-relative paths, explicit prompt-file errors, removed ingestion
upload_to_hub, JSON summary/rewrite responses, removed inferred field/difficulty aliases, choice-indexgoldfor open-ended exports, and JSONL inference metrics replacing duplicate CSV reporting. Generated recipes are local-only; existing YAML can still explicitly publish to the Hub.This PR does not publish a package release.
Verification
docs/superpowers/plans/2026-09-07-flat-core-verification.md.Limits
The real trial exposed two questions whose single-document evidence omitted rules in the other document. The follow-up adds stage-specific evidence instructions and request regressions; semantic improvement has not been revalidated with a real model. Completion and structural validation do not establish question quality, exact counts, or cost. Storage rollback covers individual writes, not whole-run transactions or concurrent writers. A failed run may retain previous artifacts; configuration-loading failures can leave an older manifest status unchanged.