Eval: <what's being evaluated>¶
What it tests: <the prompt, rules file, model or workflow, and the file it lives in.>
Why it matters: <what goes wrong for users when this gets worse.>
Pass bar: <for instance 90% of runs, with no case below 2 out of 3.>
How to run it¶
With the harness:
python3 run_evals.py evals/cases.jsonl --dry-run --cmd '<command with {input}>'
python3 run_evals.py evals/cases.jsonl --repeat 3 --min-pass <0.9> \
--out evals/results/<date>-<change>.jsonl --cmd '<command with {input}>'
Cost per full run: <cases x repeats x cost per call>. Get a yes before running it if
it spends money.
What the cases cover¶
| Group | How many | Where they came from |
|---|---|---|
<everyday requests> |
<n> |
<real requests, scrubbed> |
<edge cases> |
<n> |
<bugs reported in real use> |
<things it must refuse or flag> |
<n> |
<...> |
Rules for cases¶
- No real customer data, secrets or internal hostnames. Scrub or make it up.
- Checks test facts and format, not exact wording.
- Every bug from real use becomes a case, with the date and a one-line note.
Results¶
| Date | Change | Pass rate | Notes |
|---|---|---|---|
<date> |
baseline | <x/y (z%)> |
<flaky cases, anything odd> |