ckb/tests/evals
Michał Kopeć 5e12dba8ac Template 1.27.0: reference run for ckb-feynman/session (6/6)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 21:43:16 +01:00
..
ckb-decide/record Template 1.26.0: release 3 batch 3, capture module, skill evals, multi-agent docs 2026-11-02 20:44:05 +01:00
ckb-feynman/session Template 1.27.0: reference run for ckb-feynman/session (6/6) 2026-11-02 21:43:16 +01:00
ckb-ingest/batch Template 1.26.0: release 3 batch 3, capture module, skill evals, multi-agent docs 2026-11-02 20:44:05 +01:00
ckb-retract/source Template 1.26.0: release 3 batch 3, capture module, skill evals, multi-agent docs 2026-11-02 20:44:05 +01:00
ckb-retrieve Template 1.26.0: release 3 batch 3, capture module, skill evals, multi-agent docs 2026-11-02 20:44:05 +01:00
README.md Template 1.26.0: release 3 batch 3, capture module, skill evals, multi-agent docs 2026-11-02 20:44:05 +01:00

Skill evals

Structural checks of what an agent run leaves behind: files created or moved, frontmatter values, log entries, pages left alone, lint checks clean. They never check wording, because model output varies between runs.

python3 tests/run_evals.py list
python3 tests/run_evals.py prepare ckb-decide/record /tmp/eval-decide   # scratch KB + the prompt
# open /tmp/eval-decide in the agent, give it the prompt, let it finish
python3 tests/run_evals.py check ckb-decide/record /tmp/eval-decide     # PASS/FAIL per assertion

Each case is tests/evals/<skill>/<case>/case.json: the skill, a fixture under tests/fixtures/, optional setup files, the prompt, and a list of assertions (kinds in run_evals.py). tests/smoke.sh validates every case and checks the runner itself; it does not run an agent, since that costs tokens. Run the agent part by hand before a release, or in CI with a token budget, and say which cases you ran in the release notes.

A case may ship a reference/ folder: the files a correct run produced, recorded from a real run. The smoke test overlays it on a prepared KB to check the runner itself. ckb-decide/record has one, from a run on 2026-11-02.