Skip to content

fix(bench): repair pinned public acceptance oracles - #1078

Merged
navidemad merged 4 commits into
mainfrom
codex/brief-public-oracles
Oct 17, 2026
Merged

navidemad merged 4 commits into
mainfrom
codex/brief-public-oracles

Conversation

@navidemad

@navidemad navidemad commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #906

Summary

Stack position 2/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.

Use the maintainer-selected public 56-question benchmark as #906's acceptance set. Repair its five empty oracles from the pinned repositories, preserve full history commit IDs through the source and scorer, and reject missing evidence. Remove 408 references to files absent from the unchanged Pixel pin; the scorer already ignored those paths.

 questions.jsonl → BenchSource.sessions → bench_sessions → oracle_from_ranges
- source ranges only; history commit IDs disappear
+ pinned source ranges + reviewed full commit IDs → line and commit recall

Manual evidence is labelled in oracle_source; the historical baseline call counts are unchanged. The new README fixes delivery, quality and repetition criteria before the fresh live campaign.

Evidence

  • Before: brief-bench.py check accepted five empty oracles. A source audit found 408 absent paths across six Pixel questions. History questions recorded commit IDs in baseline traces but the public scorer never received explicit expected commits.
  • After: python3 -I scripts/bench/brief-bench.py check --verify-oracles --root /tmp/pixel-906-baseline validates all 56 questions, every range against git show <pin>:<path>, and both expected history commits as ancestors of their pins; no network or edits.
  • Local self-tests: brief-bench 9 passed; question_source 10 passed; score_brief 24 passed. The scorer end-to-end fixture now requires commit recall 1.0, so dropping the commit anywhere in the producer/reader chain fails it. New regressions cover empty evidence, preserving benchmark files after a memory-only baseline, missing files, bounds and unreachable commits.
  • SPDX and git diff --check pass. CI 39026046666 passed on head 1c2ed4304e68f4f63080df59f7c2821292c0498f against the immediate stack base, including benchmark/schema self-tests and both installer lanes. Rust compilation, Clippy/MSRV/ranking and dependency policy were skipped by scope. Main-base checks must run again after retargeting the stack. A separate frozen-source 112-session paired campaign is running; no acceptance success is claimed here.

Merge Danger

Door: two-way. Dataset oracles change, so earlier coverage reports retain their original question hash and cannot be pooled with new results.

Blast radius: CI — ordinary schema checking rejects empty evidence. The optional --verify-oracles checks existing shared-cache clones without fetching. Native Pixel code, user configuration and installed probes are unchanged.

Docs touched

eval/brief-bench/README.md records the public acceptance-set decision, evidence provenance and quality/repetition protocol. No changelog fragment: benchmark and tooling changes ship no CLI behavior. No runtime architecture surface moved.

Merge sequence validation

#1077 merged as 50dfc94f. This PR was retargeted to main first, then synchronized with that squash merge using a merge commit. Current head 4fc4c1621620b7dce017815fc94abb4287cb2f2e has an identical content tree to its previous validated head 1c2ed430; new main-base CI and CodeQL are running before the authorized admin merge.

@navidemad
navidemad merged commit 77ea04a into main Oct 17, 2026
14 checks passed
@navidemad
navidemad deleted the codex/brief-public-oracles branch October 17, 2026 11:17
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

* fix(bench): restore pinned public oracle evidence
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