Skip to content

[P1][hillclimb] Freeze an offline proposal-and-repair benchmark for agent-facing Nano #87

Closed

Description

@AetherAI3

Outcome

Measure whether an agent proposal is bound to the correct typed task, safely abstains and can be repaired, rather than reporting syntax acceptance as task success. Reuse the shipped explicit quantum parser, command profile, fixtures, local command adapter and versioned compiler diagnostics. Existing 64-case quantum parser evidence is a compatibility baseline, not a new independent holdout.

Scope and dependencies

Build a deterministic benchmark runner over fixtures/recorded proposals; no live model or paid inference is required or authorized. Existing #55/#56/#57 and PRs #68/#69/#70 own editor/Intent/provider fixes. Record whether the benchmark baseline contains those fixes; expose their regressions as expected baseline failures until integrated, rather than silently including unmerged patches or duplicating their work. Reuse #65's diagnostic repair fixture. Do not expand the parser vocabulary merely to make benchmark scores improve.

Separate development and immutable held-out files. Before hillclimbing, check in dataset schema, split IDs/hashes, expected semantics, allowed repairs, metric implementation and a no-model control. An implementer-visible repository holdout is a locked regression set, not a blinded scientific experiment; state that limitation.

Frozen first dataset and scoring

Target 120 new, manually reviewed fixture cases: 60 development and 60 locked evaluation, each with 20 supported unambiguous tasks,20 ambiguous/unsupported requests and20 adversarial/malformed proposals. Include domain collisions with market tickers, negation, trailing commands, wrong plan/backend/evidence bindings, unit errors, duplicate JSON keys, bool/nonfinite quantities, resource violations and stale schema/version. Freeze exact counts before candidate runs; report any exclusions explicitly.

Each case contains source/payload bytes, expected domain/operation/resource/evidence identity, effect authorization, expected abstention/error category, and an independent deterministic task verifier. Never derive the expected answer by calling the implementation being scored. Include typed quantum commands and a small explicitly labelled non-quantum diagnostic subset without blending their denominators.

Report:

  • syntactic validity, schema validity and exact semantic binding as separate counts;

  • supported-task success and safe abstention by class, with false executable acceptance separately;

  • repair attempts and success, semantic regressions after repair, bytes/tokens only where actually measured;

  • compile/validate p50/p95 latency with environment, warmup and repeated-run policy; no universal speed claim.

Hard acceptance: zero unauthorized executable proposals on the negative sets and no regression on existing market/ATS canonical fixtures. Publish honest baseline/final supported-task scores; do not invent a success target after seeing results.

Bounded repair and hillclimb

Use deterministic recorded candidate proposals and at most one allowlisted source/JSON repair per case. Repair may correct a schema field or syntax error when the intended meaning is independently unambiguous. It cannot change requested operation, target, evidence identity, resource ceiling or host authority; ambiguous input must abstain. Revalidate and run the independent task verifier after repair. A parser-valid but semantically wrong result is a failure.

At most three development-set candidate iterations; evaluate the locked set once at the end and publish all cases/denominators, including failures/timeouts/skips. If a safety control fails, stop promotion; report the defect in its existing owner issue or a precisely scoped follow-up.

Deliverables and acceptance

Versioned dataset/runner/report schemas, hashed raw outputs and replay command; baseline/candidate comparison; negative controls proving a wrong-but-valid operation and a fabricated zero budget result fail; no-model versus recorded-repair control; deterministic repeat-run output except explicitly separated performance telemetry. Run installed-wheel smoke and existing quantum/Intent/diagnostics suites. Keep benchmark code under new scripts/fixtures, leaving parser/compiler shared files to their owners. This issue does not claim model qualification, GPU savings, quantum advantage or hardware results.

Hillclimb protocol and evidence

Start from a clean, isolated branch and record the actual base SHA; the reviewed baseline is Nano cb6ea884d63dcaa8cc0e7c0b952bb88784e8219f (source). Rebase and recheck if main has advanced. Link this issue to roadmap #67. Before editing, freeze the contract/fixture hashes, reproduce the specific missing behavior, and record a passing adjacent compatibility control. A missing feature is an expected rejection, not an invented production incident.

Use at most three candidate iterations against the frozen development set. Log each hypothesis, minimal diff, command, seed/environment, result and regression delta. Keep any held-out set immutable and report its final evaluation separately; do not tune against it. Stop and report an unresolved failure or dependency rather than weakening validation, increasing caps, deleting a negative control or relabelling skips as passes.

Deliver small reviewable PRs with exact head/base SHAs, commands, pass/fail/skip denominators, fixture/artifact hashes and limitations. Coordinate shared schemas before implementation; only one lane edits each shared contract at a time. Preserve baseline/Intent/executable/package/quantum schema identities independently. Issue creation is planning authorization, not permission to launch agents, merge, deploy, spend or change runner/security/credential settings. Tests are offline, fake-provider or local simulator only. CI startup failure with zero jobs remains a failure; any later merge exception needs its own applicable authority. The prior local-test waiver covered only PRs #82/#188/#460.

Dependencies and lane boundary

Reuse #60/#65 behavior and existing #55/#56/#57 defects/PRs #68/#69/#70; none is silently treated as merged. Coordinate semantic goldens with #61 without requiring native service execution for parser benchmarking. Supply the frozen dataset/report contract to #88. This lane owns benchmark code and fixture splits, not concurrent compiler or service patches.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions