From 37c947e1653138833305efa8d184911c0e6ea14b Mon Sep 17 00:00:00 2001 From: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> Date: Mon, 24 Aug 2026 02:24:54 +0530 Subject: [PATCH 1/2] fix: docs: document router-cache benchmark fixtures - benchmarks/corpus/router-cache/README.md: document fixtures Fixes #27 Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> --- COMMITMSG | 7 ++++ benchmarks/corpus/router-cache/README.md | 41 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 COMMITMSG create mode 100644 benchmarks/corpus/router-cache/README.md diff --git a/COMMITMSG b/COMMITMSG new file mode 100644 index 0000000..df347d2 --- /dev/null +++ b/COMMITMSG @@ -0,0 +1,7 @@ +fix: docs: document router-cache benchmark fixtures + +- benchmarks/corpus/router-cache/README.md: document fixtures + +Fixes #27 + +Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> diff --git a/benchmarks/corpus/router-cache/README.md b/benchmarks/corpus/router-cache/README.md new file mode 100644 index 0000000..d1bb6b9 --- /dev/null +++ b/benchmarks/corpus/router-cache/README.md @@ -0,0 +1,41 @@ + # Router-cache benchmark fixtures + + Checked-in corpus used by router-cache benchmarks so CI and local runs share the same + inputs (manifest, campaign, schedule, synthetic PowerPlan / observation samples). + + ## Layout + + - `campaign.json` +- `cost-model.json` +- `legacy-offline-campaign.json` +- `legacy-offline-manifest.json` +- `manifest.json` +- `minimal-live-pilot.json` +- `oracles/README.md` +- `oracles/ripgrep-crlf-trace.json` +- `oracles/ripgrep-glob-case-insensitive-locate.json` +- `oracles/ripgrep-no-ignore-vcs-locate.json` +- `oracles/ripgrep-null-data-trace.json` +- `power-plan.json` +- `schedule.json` +- `synthetic-calibration-observations.jsonl` +- `synthetic-final-observations.jsonl` +- `synthetic-sealed/docs/ripgrep-crlf-trace-calibration.json` +- `synthetic-sealed/docs/ripgrep-glob-case-insensitive-locate-calibration.json` +- `synthetic-sealed/docs/ripgrep-no-ignore-vcs-locate-holdout.json` +- `synthetic-sealed/docs/ripgrep-null-data-trace-holdout.json` +- `synthetic-sealed/index.json` + + ## How these are used + + - Treat this tree as **read-only fixtures**: do not commit regenerated large artifacts + or machine-specific paths. + - Benchmarks should resolve paths relative to the repository root (or the package + `CARGO_MANIFEST_DIR`) so clones remain portable. + - When adding a fixture, keep payloads small, deterministic, and document purpose + plus which bench target consumes them. + + ## Regenerating (if applicable) + + Prefer committed golden files over ad-hoc generation. If a generator exists under + `benchmarks/`, document the exact command here and keep outputs stable across platforms. From 6e1018192828bc661cf4869979ddefad561b4529 Mon Sep 17 00:00:00 2001 From: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> Date: Mon, 24 Aug 2026 02:29:47 +0530 Subject: [PATCH 2/2] chore: drop accidental COMMITMSG from PR branch Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> --- COMMITMSG | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 COMMITMSG diff --git a/COMMITMSG b/COMMITMSG deleted file mode 100644 index df347d2..0000000 --- a/COMMITMSG +++ /dev/null @@ -1,7 +0,0 @@ -fix: docs: document router-cache benchmark fixtures - -- benchmarks/corpus/router-cache/README.md: document fixtures - -Fixes #27 - -Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>