infrastructure-benchmark · git:20260525.f50de94 · 2026-05-25 · sha256 1cb074d787d7a721

infrastructure-benchmark git:20260525.f50de94A

Immutable. This exact content is served forever at /api/v1/blob/1cb074d787d7a721.

---
name: infrastructure-benchmark
description: Deterministic benchmark harnesses for public template exemplars. Use when scoring generated project outputs against benchmark manifests, refreshing the default template smoke manifest, checking publication-readiness rubrics, or adding bounded no-network readiness checks for public template outputs.
---

# 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

```bash
uv run python -m infrastructure.benchmark.template_harness --repo-root .
uv run python -m infrastructure.benchmark.template_harness \
  --repo-root . \
  --output-json /tmp/template_benchmark.json \
  --output-markdown /tmp/template_benchmark.md
uv run python -m infrastructure.benchmark.template_harness \
  --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 in the manifest so failed checks remain inspectable.

## Public Imports

- `load_benchmark_manifest`
- `run_benchmark_manifest`
- `score_project_against_manifest`
- `scores_to_dict`
- `scores_to_markdown`
- `write_default_manifest`

Pair this skill with [`README.md`](README.md) and [`AGENTS.md`](AGENTS.md) for module rules and validation commands.