Repository navigation
test(benchmark): frozen offline proposal-and-repair benchmark for agent-facing Nano - #97
Merged
Merged
Conversation
…plit Add the versioned dataset/case schema, hand-written case tables, frozen dev (60) and locked eval (60) splits, the synthetic quantum catalog, the allowlisted repair policy and a hashed manifest, before any candidate run. Add the independent task verifier and strict proposal decoder, neither of which imports the implementation under test, plus a lock test that pins the eval split bytes literally. Part of #87. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…report Add the deterministic three-arm runner (no-model control, recorded proposal, recorded repair), Nano admission adapters, explicit-denominator metrics, a report integrity check and separate latency telemetry. The repair gate is present but derives no correction yet (baseline). The committed dev baseline uses repair policy "none" and replays byte for byte. Hard acceptance holds on dev in all arms. Part of #87. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Derive at most one correction from the first proposal alone: one string-aware trailing-comma removal, one closing brace for an unclosed object, one missing constant field, or the #65 missing-paren policy for strategy source. A recorded candidate is accepted only when it equals that correction under strict native types; the policy never reads task expectations, hints or suggestions, and never runs after a diagnostic abstention, duplicate key or nonfinite payload. Dev candidate 1: quantum expected-execute 17/17 (baseline 15/17), strategy 4/4 (baseline 3/4), one post-repair semantic regression scored as a failure, hard acceptance holds. Part of #87. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uide Evaluate dev and the locked eval split once with allowlist-v1 and commit the canonical final report, its hash sidecar and separate latency telemetry. Every committed report is replayed byte for byte by the tests. Document the dataset, metrics, repair contract, replay commands, results, iteration log, findings and the locked-not-blinded limitation. Part of #87. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sion CI on Python 3.10 failed to replay the committed reports: json_syntax rejections hashed the decoder's own message and offset text, which CPython 3.13 words differently (trailing commas). Record only the category so the canonical report bytes are interpreter independent. Reports regenerated with the documented replay commands. Every metric and row is unchanged; only the json_syntax output hashes and the report digests moved. The locked eval split was replayed deterministically, not retuned. Verified byte-identical replay on CPython 3.10, 3.11, 3.12 and 3.13. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 8, 2026
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.
Adds a deterministic offline benchmark under
benchmarks/proposal/that measures whether an agent proposal binds to the right typed task, abstains safely, or can be repaired — instead of counting syntax acceptance as success.nano/nano_qsearch(enforced by a test); expectations are hand-written.Results: zero unauthorized executable proposals on every negative set in every arm; market/ATS canonical fixture unchanged; locked eval evaluated once (supported success 15/17 per split — the 2 misses are out-of-grammar requests Nano correctly refuses). Reports are canonical and hashed; repeat runs are byte-identical. The eval split is visible in the repo, so it is a locked regression set, not a blinded experiment. No parser vocabulary was added.
Evidence: 54 benchmark tests; full local suite on the integrated tree 3144 passed / 0 failed; conformance harness
cap.proposal_benchmark54/54 on two byte-identical runs.benchmarks/is not packaged, so the wheel is unchanged.Closes #87. Part of #67.
🤖 Generated with Claude Code