Repository navigation
feat(benchmark): results convention, --report trend view, methodology doc, CI self-test (#66) - #90
Merged
Merged
Conversation
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slice 3 (final) of #66 — the measurement/reporting layer on top of the harness (#87) and cases (#89). Closes #66.
What this adds
verfix_version+date; per-release measurements are committed asbenchmark/results/<date>-<agent-label>.json(convention documented inbenchmark/results/README.md; no fake measurement committed).--reporttrend 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.docs/6-resources/benchmarks-methodology.mdpreviously 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.mdreduced to a pointer.--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.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--reportrendered correctly against a throwaway sample (not committed)