Skip to content

fix(bench): separate zero-call counts from answer quality - #1077

Merged
navidemad merged 2 commits into
mainfrom
codex/brief-oracle-baseline
Oct 17, 2026
Merged

navidemad merged 2 commits into
mainfrom
codex/brief-oracle-baseline

Conversation

@navidemad

@navidemad navidemad commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #906

Summary

Stack position 1/4: #1077 → #1078 → #1079 → #1080. Only #1077 targets main; each subsequent PR targets the previous branch. Retarget the next layer before merging its base, then merge main into it after a squash.

The live zero-call runner could report a pass for a completed session with no answer, and described zero calls as proof that the brief contained everything needed. Require a nonempty final answer in both arms, reject unsuccessful Claude results, and label zero-call results as quality unreviewed. Public rows retain answer byte counts and hashes for later review, never answer text.

 Run.unit → Run.session → parse_codex_stream / parse_stream
- delivered + zero calls → pass
+ successful session + nonempty answer + delivered + zero calls
+   → zero calls; quality unreviewed

Publish a pinned public-56 baseline with the native binary and all 13 bundled probes frozen at ea0f78f444ff6d6d8fa2327e06548523edf00cd3. Map remaining acceptance work; #906 stays open pending the maintainer-selected public 56-question acceptance campaign. #1078 repairs its evidence and records the revised protocol; the private census remains historical.

Evidence

  • Before: loading the base revision and calling verdict("brief", 0, True) returns pass without answer evidence. The report says the session “answered with 0 tool calls.”
  • After: python3 -I scripts/bench/brief-zero-calls.py --self-test — 19 tests pass, including empty/whitespace answers for both agents, explicit commentary, unsuccessful Claude results, and keeping private answer text out of public evidence. brief-bench.py --self-test — 6 pass; brief-check.py --self-test — 16 pass. SPDX check, receipt validation and git diff --check pass.
  • Pinned baseline: the exact commands and hashes are in docs/bench/brief-906-baseline-2026-10-17.md and its JSONL receipt. All 56 brief invocations exited 0; five have empty oracle arrays, leaving 51 defined coverage measurements. Mean line coverage 5.81%, inline 2.00%, pooled line coverage 3.10%. These are coverage scores, not semantic answer scores.
  • Live pilot: Codex 0.163.0, gpt-5.6-terra/medium, one run per arm, requests-02: 3 calls without the brief versus 2 with it; all 3 hook parts delivered 24,318 bytes, generation 360 ms. Both answers describe the same core timeout behavior on manual inspection. This pair is not sufficient to claim a reliable reduction or zero-call success. The harness correctly exits 1 for fallback.

CI 39024718773 passed on current head 4403ebbcb9f17b1dfc612e04a41e9c34e929732d: formatting, 5,426 Rust tests passed (8 skipped), doctests, harness/schema checks including all 19 zero-call tests, and both installer lanes. All three CodeQL analyses passed in 39024718730. Compile-only lint/MSRV/ranking and dependency policy lanes were skipped by CI scope. Maintainer review is still required. No mutation campaign or managed-install deployment was run.

Merge Danger

Door: two-way; revert restores the benchmark behavior. No installed configuration or state format changes.

Blast radius: CI — benchmark consumers now see zero calls; quality unreviewed instead of pass, and missing answers make a run fail. Existing numeric call-count consumers retain their fields; parser results only gain an answer field in memory. Raw answer text stays in the existing private stream location.

Docs touched

New dated baseline and aggregate receipt; historical coverage report links to the distinct current public dataset. measuring.md records the verified need to pin installed probe programs as well as the binary. No changelog fragment: benchmark/reporting work ships no CLI behavior. No architecture, agent prompt or README change: no mapped runtime surface moved.

@navidemad
navidemad merged commit 50dfc94 into main Oct 17, 2026
18 checks passed
@navidemad
navidemad deleted the codex/brief-oracle-baseline branch October 17, 2026 11:15
LivioGama pushed a commit that referenced this pull request Nov 25, 2026
* fix(bench): separate zero-call counts from answer quality

* test(bench): isolate the session error guard from answer presence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant