How it works
A plain-language tour with pictures. No code knowledge needed.
The idea in one sentence#
You write the rules first, record what the agent actually did, and let a deterministic program compare the two.
| Word | Plain meaning |
|---|---|
| Suite | Your list of rules |
| Case | One situation you test |
| Assertion | One rule inside a case |
| Observation | What the agent did in that situation |
| Gate | The overall decision |
How one rule is judged#
Missing information is its own answer. It is never rounded up to a pass.
Which evidence counts#
Can prove pass or fail
- PASS + FAILactual_runYou ran the agent and recorded it
- PASS + FAILimported_traceLogs from a real run
- PASS + FAILhuman_labelA person checked it
- PASS + FAILtest_fixtureControlled sample data
Can only prove fail
- FAIL ONLYmodel_judgeOpinion of another model
- FAIL ONLYunverified_claimThe agent says it worked
A would-be pass becomes inconclusive. A failure still counts, because acting on a problem is safe.
How the final decision is made#
GO_CANDIDATE means your recorded evidence met your thresholds. A person still decides whether to release.
What a failing run looks like#
Why sample size matters#
An 80% pass rate on 5 cases and on 1000 cases are not the same knowledge. EvalSutra prints a 95% Wilson interval so you can see the uncertainty.
Comparing two versions#
Where everything runs#
You and your tools
A developer, a CI job, or an AI editor that loaded the skills.
Command line shell
Reads files, writes reports, sets exit codes. The only part that touches the disk.
Deterministic core
Same input gives the same result. Fixture text is data and is never executed.
Output and assurance
Reports for people and machines, and a self-audit that shows its working.
Runtime
Node.js 22+ built-ins only. Zero dependencies. No network. No telemetry. No model calls.