Benchmark Infrastructure
Use infrastructure.benchmark for small, deterministic readiness benchmarks over public template exemplar outputs. The module reads real files, applies explicit manifest checks and optional weighted rubrics, and emits JSON or Markdown score reports.
Common Workflows
uv run python -m infrastructure.benchmark --repo-root .
uv run python -m infrastructure.benchmark \
--repo-root . \
--output-json /tmp/template_benchmark.json \
--output-markdown /tmp/template_benchmark.md
uv run python -m infrastructure.benchmark \
--repo-root . \
--write-default-manifest
Routing Rules
- Keep benchmark manifests scoped to public template exemplars and generated output contracts.
- Use real output files, manuscript sources, evidence registries, and artifact manifests.
- Do not add network calls, LLM calls, mocks, or private-project paths.
- Keep scoring dimensions explicit and exactly aligned with manifest checks so
failed checks, weights, and partial scores remain inspectable.
- Treat the default manifest as a fail-closed sweep of the full public roster;
never shrink it to make a readiness run green.
Public Imports
BenchmarkManifestBenchmarkCheckResultBenchmarkScoreRubricScoreRubricSetload_benchmark_manifestrun_benchmark_manifestscore_project_against_manifestscore_rubricscores_to_dictscores_to_markdownwrite_default_manifest