Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.71 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.71 KB

Evals

Four evals, each run against a real git repo built from a committed fixture tree — so anyone can re-run them, not just the author.

Running an eval

  1. Build the fixture repos:

    ./setup-fixtures.sh        # writes runnable git repos to evals/run/
  2. Execute. Give a fresh agent (a Claude Code session or subagent with no knowledge of this repo's history) the fixture repo as its working directory, point it at SKILL.md, and hand it the eval's prompt from evals.json — nothing else. Because a one-shot agent can't pause for a live reply, tell it: if the skill requires a user confirmation, state verbatim what it would have asked, then proceed with the most reasonable default.

  3. Grade. Check every expectation in evals.json against the fixture repo's actual files and git history — never against the executor's transcript alone. The one exception is confirmation-behavior expectations, which can only be graded from the transcript (see the caveat in ../TESTING.md).

Design notes

  • Expectations assert on ground truth (files created, frontmatter fields, git commits) so a fabricated-but-plausible transcript can't pass.
  • respect-custom-standard's billing.py docstring deliberately lies — it claims exponential backoff while the code retries with no delay. The eval asserts the generated doc documents the code, not the docstring.
  • update-living-feature-doc starts with a stale offset-pagination doc and a cursor-based rewrite in the latest commit, to exercise the update-in-place path (slug match ignoring the date prefix, changelog append, no duplicate file).
  • evals/run/ is gitignored; fixtures are the source of truth.