Log in
docs/review-2026-09-09.md 126 lines · 10.0 KB

Benchmark quality review β€” 2026-09-09

Reviewed base: a9e8fa39d0a097e03fba83c6fcd0029865e2387373e19b57c8f23da03ec173cd. Integration worker: /Users/mrmrs/o/worker-mrmrs-20260909T080918-benchmark-quality/bench. Branch: mrmrs-0038ef. No changes were made to canonical checkouts.

The suite is useful for VCS development, but does not yet establish broad human usability or industry-leading measurement accuracy. Its strongest assets are explicit measurement contracts, diverse lanes, local integration fixtures, and publication safeguards. The largest risks are false-positive correctness oracles, incomplete comparison identity, and statistical promises that exceed what production consumers enforce. This review prioritizes those risks before increasing the volume of timing data.

Evidence and review map

  • Methodology audit: accuracy, precision, population identity, sampling, uncertainty, reporting and experiment design.
  • Oracle and coverage audit: concrete false-pass paths, lane/test inventory, durable-state checks and missing VCS behaviors.
  • Upstream conformance map: inspected primary sources, pinned references, independently authored ports and deferred behavioral areas.
  • Workstation guide: prepared binary/config paths, isolated execution, validation and requirements for larger campaigns.
  • Human study protocol: proposed participant design, task matrix, observation contract and analysis/publication criteria.

The specialist reviews cite source lines at the reviewed base. They are a source/test audit, not an assertion that every remote or platform cell was executed. Local instrument tests and diagnostic subject runs are separate evidence from a calibrated comparative campaign.

Current testing strategies

LayerExisting strategyWhat it establishes; remaining limit
Shared instrumentsStdlib unittest tests for rows, nulls, skips, timing/accounting, environments, fixtures, semantics, locks and schemasLocal contract behavior; passing tests do not validate experimental design
Statistics and reportingSynthetic boundary cases, bootstrap/ratio helpers, scorecard guards, golden Python/Node reporting fixturesReproducible calculations; no broad empirical interval-coverage or false-positive validation
Core VCSDeterministic fixture/profile matrix, tuned Git modes, output/recall probes, A/A controls and smoke integrationScripted command behavior; exact durable content and output parsing need stronger adversarial checks
Scripted workflowsBugfix/refactor/assets/history/recovery recipes, payload checks, local integrationRepeatable task recipes; they do not observe human actions or model decisions
Real agentsMock adapter, recorded stream fixtures, local CLI adapters, task validators and end-state checksAdapter and oracle mechanics; provider drift, missing resolved model identity and no human participants remain
Concurrency and failure recoveryWorker modes, fake providers, local HTTP fixtures, interruption/race tests and explicit skipsBounded local failure models; broad crash durability and transport-matched hosted evidence remain incomplete
Conflict, mount and networkCorpus/fixture generators, Git conflict execution, mount probes, Linux netshape and remote lanesUseful infrastructure; capability-limited, Git-only or unmeasured cells cannot support cross-subject wins
PublicationProvenance, transport, sample/skip checks, reproducibility bundles and baseline/target booksNecessary gates; baseline compatibility and complete campaign-level statistical enforcement remain open

The original unrestricted baseline ran 903 tests successfully, with three skips. The first restricted run had 18 loopback-socket permission errors; rerunning with loopback access resolved all 18 without code changes. Generated logs are retained outside the tracked repository in the worker directory.

Changes delivered in this review

  1. Agent oracle checks require observed commit growth for snapshot workflows, fail closed on unsuccessful/unrecognized status observations, and track executable bits and symlink targets. Read-only history work has an explicit exception. Oracle versioning keeps changed evaluation semantics visible.
  2. Shared population guards prevent the bootstrap report and scorecards from pooling conflicting observed identities within a cell. This does not yet certify compatibility with a saved baseline or enforce every consumer.
  3. Five independently authored conformance scenarios exercise exact path, byte, mode/symlink, scoped-restore and failed-restore behavior against local Git and Oak. Negative controls challenge the oracles. These are diagnostic correctness records, not performance-lane rows or public trust attestations.
  4. Documentation now distinguishes adaptive/FDR helpers from implemented campaign protections and identifies required-n as a planning heuristic.
  5. A prepared local workstation, evidence-backed audits, and a proposed human experiment protocol make the next work concrete and reviewable.

Major gaps and development acceptance gates

Severity here prioritizes risk of an incorrect engineering conclusion, not product security severity. The detailed audits preserve exact evidence.

PriorityGapAcceptance gate for subsequent work
P0Complete durable-state oracleIndependently verify exact committed paths, bytes, types/modes and history; reject no-op snapshots, deletion, extras and partial payloads; Oak worktree checks alone remain insufficient
P0Structured output and usable patchesParse exact path records, test escaping/NUL formats, measure false positives as well as recall, and actually apply emitted patches in a fresh fixture
P1Baseline and consumer identityVersion comparison fingerprints through raw rows, books, targets, reports and dashboard; reject mismatched or insufficient public provenance
P1Public certainty from too little evidenceSeparate diagnostic verdicts from claim eligibility; missing noise, singleton runs and inadequate independent replication cannot yield public GREEN/RED
P1Agent validity and generalizationRecord resolved model/config/budgets and task order; serialize measured trials; hold out tasks/seeds from repeated optimization; count all failed attempts
P1Human usabilityBuild event recorder and independent oracle integration, then run the counterbalanced pilot and preregistered study; no proxy human scores
P1Failure/durability matrixAdd controlled interruption points before/during/after publication and recovery; verify both sides and idempotent retry; test ENOSPC/permissions/locks/corruption without conflating process kill with power loss
P1Cross-subject semantic coverageAdd conflict resolution, rename/delete, partial snapshot, task switch, history rewrite/undo, ignored/untracked preservation and recovery under explicit equivalent contracts
P2Statistical validationSimulate false positives/interval coverage for skew, ties, dependence and drift; implement paired/cluster analysis, declared multiplicity and independent confirmation
P2Failures, tails and resource costReport every attempted outcome and censoring; separate success latency from full attempt cost; require tail interval precision rather than only a sample-count floor
P2Representative scale and platformsMaterialize and hash real/XL fixtures; replicate across filesystem/platform classes, warmed/cold states, tuned baselines, same-pipe servers and concurrency levels
P2Reproducible external evidenceArchive raw rows/provenance outside repo; verify bundle reconstruction and analysis independently; distinguish mock, local-loopback and hosted evidence

Development sequence

First make correctness fail closed and propagate comparison identity. Then validate the instrument's error rates with A/A and simulations, and require complete evidence for public verdicts. Expand behavior using the upstream map and shared independent oracles. Finally run frozen agent and human studies with held-out variants and replicated sessions. Increasing repetitions reduces some sampling error; it cannot repair the wrong oracle, unfair semantics or an unrepresentative task distribution.

The delivered patches address a bounded first set of the gaps above. Remaining items are explicitly open; no performance superiority, human study result or complete VCS conformance is claimed by this review.

Final local verification

  • python3 -m unittest discover -s tests: 921 tests, OK, three skipped after the final load-tier compatibility fix (60.990 seconds). Log: ../final-tests.log in the integration worker; no raw log is committed.
  • Core workstation smoke: 117 rows, all returncode zero, across Git and copied Oak 0.103.0 with one repetition and remotes disabled. Ignored rows: results/workstation-smoke/20260909T181900Z.jsonl. These timings are diagnostic, not a calibrated comparison or public performance evidence.
  • New conformance: Git five passes; Oak four passes and the expected observed failure at tab-filename commit. The runner exits 1 and retains the failure. Raw diagnostic records: ../conformance-final.jsonl outside the checkout. A stopping failure does not certify later paths in that same scenario.
  • Current Oak structured probes: an isolated two-commit fixture observed count 1 to 2 and clean/dirty/clean status 0 to 1 to 0. This challenged the human-output parser assumptions discovered during independent review.
  • Independent cross-reviews challenged each implementation; relative-binary resolution, current Oak JSON probes and load-tier identity were corrected. Human-protocol review clarified unsuccessful-attempt and attrition analysis.

The passing instrument suite does not erase the subject's conformance failure or turn the open roadmap into implemented coverage. Hosted, paid-agent, human, crash-durability and calibrated comparative campaigns were not run here.