Skip to content

feat(benchmark): results convention, --report trend view, methodology doc, CI self-test (#66) - #90

Merged
jyotir-aditya merged 2 commits into
mainfrom
feat/benchmark-reporting
Jul 11, 2026
Merged

jyotir-aditya merged 2 commits into
mainfrom
feat/benchmark-reporting

Conversation

@jyotir-aditya

Copy link
Copy Markdown
Contributor

Slice 3 (final) of #66 — the measurement/reporting layer on top of the harness (#87) and cases (#89). Closes #66.

What this adds

  • Results convention: harness output now carries verfix_version + date; per-release measurements are committed as benchmark/results/<date>-<agent-label>.json (convention documented in benchmark/results/README.md; no fake measurement committed).
  • --report trend view: reads every committed result and prints the release-over-release markdown table (version, date, agent, closure rate, mean iterations, per-case glyphs) — the roadmap's exit-condition view, no browser runs.
  • Methodology doc rewritten: docs/6-resources/benchmarks-methodology.md previously described aspirational benchmarks that don't exist; it now documents the real metric, the null/oracle floor/ceiling semantics, how a release measurement is taken, and honest caveats. benchmarks.md reduced to a pointer.
  • CI self-test job ("Benchmark self-test", parallel to the existing jobs): --agent null (floor, must stay 0%) then --agent oracle (ceiling, must stay 100%) — the harness exits nonzero otherwise, so benchmark cases can't rot silently as the engine changes. This PR's own CI run is the first execution of that job.
  • Full guide: docs/4-guides/loop-closure-benchmark.md — narrative walkthrough (why it exists, how a run unfolds on the occluding-modal case, the three adapters, taking a release measurement, reading results honestly, growing the case set), cross-linked from the methodology doc.

Verification

  • node benchmark/run.js --agent oracle → 8/8, --agent null → 0/8, both with the new output fields
  • --report rendered correctly against a throwaway sample (not committed)
  • ci.yml parsed/validated; benchmark job mirrors the existing node job's setup exactly
  • No cli/ or workers/ source touched

… doc, CI self-test (#66)

Adds the release-measurement convention (benchmark/results/<date>-<label>.json),
a --report mode that reads committed measurements and prints a markdown
trend table, and CI wiring so the null/oracle self-test runs every push.
Rewrites the methodology doc to describe the actual loop-closure benchmark
instead of aspirational content, and points the old benchmarks.md at it.
@jyotir-aditya
jyotir-aditya merged commit b7a3b23 into main Jul 11, 2026
3 checks passed
@jyotir-aditya
jyotir-aditya deleted the feat/benchmark-reporting branch July 11, 2026 08:58
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.

feat(testbed): loop-closure benchmark — broken-app testbed + harness for the product metric (Roadmap Phase 3)

1 participant