Get started
Writing a suite
A suite is two files and a dataset. oloproof init scaffolds both, and the scaffold is commented because the first onboarding walk lost four attempts to a missing string rather than a missing feature.
The project file
oloproof.yaml declares what is measured and what does the measuring.
version: 1
project: example
dataset: data/example.jsonl
system:
name: example-support-bot
version: "1"
callable: app:answer
config: {}
evaluators:
- type: exact_match
criterion: exact_label
field: labelsystem.callable is an import path to the thing under test. criterion is the name a metric, a threshold and a report will all use for this evaluator's result, so it is worth choosing a word you will recognise in a gate.
The evaluator types
Every type: the file accepts, by family. A rejected field answers with the ones that evaluator takes, so a wrong guess is one run away from the right one.
| Family | Types |
|---|---|
| Deterministic | exact_match, contains, regex, json_schema, canary_absent, personal_data_absent, memorized_absent, reexecution_agreement (traffic only) |
| LLM judge | rubric_judge, groundedness_judge, citation_support_judge, probability_judge, cascade |
| model | model_classifier |
| Retrieval | hit_rate, recall, mrr, ndcg, citation_validity |
| Agent | agent_max_steps, agent_tool_called, agent_no_tool_loop, agent_tool_sequence, agent_no_undeclared_tool, agent_constraints_satisfied, state_matches, state_unchanged, fault_recovery, metamorphic_relation |
| Multi-agent | agent_route, agent_tool_permissions, agent_max_handoffs |
| Predictive | predictive_correct, predictive_precision, predictive_recall, predictive_ranking, predictive_brier, predictive_log_loss, predictive_absolute_error |
| Reinforcement learning | episode_return, episode_success, episode_cost_within, off_policy_value, off_policy_improvement, sequential_off_policy_value, sequential_off_policy_improvement |
| Media | media_check, image_matches_reference |
| Conversation | conversation_completed, conversation_judge, every_turn, goal_reached, turns_to_goal |
An LLM judge on an endpoint that is not OpenAI's needs two more fields: base_url: and api_key_env:. The key is read from the environment at call time and never stored.
Running it
oloproof runA run executes every case, judges each one with every evaluator, and stores the results as content-addressed records. Running it again against an unchanged system and an unchanged dataset reuses what it already has, which is why a repeated run costs almost nothing and is not metered.
oloproof plan latest --run reports what settling an undecided rule would take, priced from what that run actually spent. Given a comparison id instead, it needs no flag.
Replicates
A case measured once tells you what happened once. replicates: measures each case more than once and reports how many changed their verdict between identical measurements.
That number is worth knowing before you trust any comparison: against a live assistant, about one observed case in nine changed its verdict between identical runs.
On the meter, each replicate is a further case, since it is a further measurement the engine performed. A replicate whose answer did not change is judged from the cache and costs no judge call; its execution still counts.
Suite roles and the holdout
suite_role: says what the suite is for: development (the cases you iterate on), adversarial (attacks), measurement (cases people label to check a judge) or release (the holdout a release is decided on). It is recorded on each run and shown by oloproof run, oloproof gate, oloproof runs and the workbench. It never changes a digest, an interval or a decision state; it is the project's own declaration, kept outside every digest and signature, so it states what the suite is for and proves nothing about it.
dataset: data/holdout.jsonl
suite_role: releaseA release policy can refuse every other suite: with require_suite_role: release in release.yaml, a run on a suite declared anything else, or nothing, stops before it runs with a configuration error (exit 2); oloproof gate and oloproof compare refuse a stored one the same way, and a hosted workspace deciding under such a policy withholds it.
A release suite also says how many runs have decided it so far: every run of the holdout, reruns of one version and cancelled runs included, and every run of a suite that shares a case with it, so an edited holdout keeps its spent count. Each interval holds for one run; trying many runs against the same holdout and keeping the one that passed is a choice no interval accounts for, and because every surface shows a run's results in full, the line says there is no reuse guarantee. Keep the holdout's inputs away from whoever writes the next version too: the system's own logs, traces and cached outputs hand them back, and any reuse guarantee is then void. Refresh the holdout after a release.
Where to go next
- Recording what a system did covers artifacts, usage and latency metrics.
- RAG evaluation, Agents and tools and Classifiers and regressors cover the retrieval, agent and predictive types.
- Gating CI turns a decision into an exit code.
- Judges covers what an LLM judge must clear before it may gate a release.
- Core concepts explains the four decision states and why denominators matter.