Repository navigation
Agent authoring benchmark - #224
Open
grunion-ai wants to merge 1 commit into
Open
grunion-ai wants to merge 1 commit into
grunion-ai wants to merge 1 commit into
Conversation
benchmarks/authoring/ measures whether an agent following SKILL.md reaches FINALIZE PASS on attempt 1 with the deck its prompt asked for. Five frozen prompts carry semantic keys (format, slide range, required entities, minimum chart, logo, donut or image counts). benchmark.mjs check validates the suite; score <run-dir> runs finalize on each frozen candidate and writes a row per case with the failed stage, the misses, the top three diagnostic codes, and the runner's repairs and minutes. It never launches a model. Five hand-built references prove the wiring and are marked evidence: false. README gives the fair-run protocol. ponytail: structural semantic keys only (format, counts, entities); a fact-level check of the prompt's numbers waits for the first real runs. Closes #208 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CiXonXtVxd5FHk4XqMzY8f
This branch has not been deployed
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 changed
New
benchmarks/authoring/: five frozen prompts, the semantic keys each is checked against, andbenchmark.mjs check|scoreto score an agent's frozen candidates.Why
Closes #208. Decklet's tests prove the engine. Nothing measured whether an agent following SKILL.md gets to
FINALIZE PASSon its first try, so a SKILL.md edit shipped with no number before or after. This follows archify'sbenchmarks/ordinary-model-floorpattern, sized for decklet.document-letter, acarousel-4x5, and a twelve-vendor landscape. The landscape's twelve SVG logos sit ininputs/landscape/, which the runner copies to the agent.model.json: format, slide range, requireddeck.entities, and minimumchart/logo/donut/imgcounts.score <run-dir>runsfinalizeon each candidate and writes one row per case, with pass, failed stage, misses, top three diagnostic codes (from Coded validate diagnostics #214 and Coded verify diagnostics #222), and repairs and minutes from the runner'srun.json.bin/new.mjs; three were hand-built, and the one-pager took one repair, found throughverify --json(parity/text-over-texton rowr2).run.jsonmarks them"evidence": false, and the CLI says so.results/).benchmarks/is not in the npmfileslist, so an installed decklet never contains the cases..gitignorecovers the decks and receipts that scoring writes beside each candidate.How it was verified
test/benchmark.test.mjs: 7 pass. It covers:evidence: false);fit/nowrap-widthin its top codes);score --out;FINALIZE PASS.npm run bench:checkprintsmanifest ok: 5 cases.npm testwith Chromium only: 647 pass, 19 fail, the same 19 that fail on untouched main in this container (17 WebKit cases with no WebKit installed, two sub-pixel toolbar overlaps from container fonts). CI runs all three engines.deck.html/library.htmlrebuild: not needed, the engine is untouched.Generated by Claude Code