Skip to content

Guides

Configuration reference

Every field of oloproof.yaml and release.yaml, with its type, its default, the values it accepts and an example, taken from the models that read the files. Use it to look up a field; read the quickstart and gating pages to learn the workflow.

Both files are validated before anything runs. An unknown field, a misspelled field or a value of the wrong type is a configuration error and the command exits 2 without executing a case. Both files have JSON Schemas, which an editor that reads JSON Schema can use for completion. The installed package writes them, with the result schemas, into schemas/v1/ under the current directory: python -m oloproof_core.models.schema_export (the two are project_config.schema.json and release_policy.schema.json).

In the tables below, "required" means the file is refused without the field; any other field shows the value used when it is left out.

oloproof.yaml at a glance

A small, complete project. It runs a Python function locally, needs no network and no keys, and is the shape oloproof init scaffolds.

# oloproof.yaml
version: 1
project: support-bot
dataset: datasets/support.jsonl
system:
  name: support-bot
  callable: app.bot:answer
evaluators:
  - type: exact_match
    criterion: correct_label
    field: label

Top-level fields

FieldTypeDefaultWhat it is
version11File format version. Only 1 exists.
projectstringrequiredThe project's name, shown in reports and used when pushing.
datasetpathrequiredThe suite file, JSONL, relative to the project. Its rows are described in Suites.
time_laginteger, 0 or moreabsentFor a suite whose rows declare time_order: cases more than this many steps apart are independent, as sets (Clustered cases). A pass rate rule is then decided; without it every rule reads MANUAL_REVIEW.
suite_roledevelopment, adversarial, measurement or releaseabsentWhat the suite is for, recorded on each run and outside every digest (Suites). A release suite reports how many system versions have been run on it.
holdoutmapping: budget, reveal (nothing, pass_only, decision or full), stop_at_first_passabsentA release holdout's reuse budget, declared before its first run and recorded on each run, outside every digest. Read by no rule: every surface shows results in full, so reports say there is no reuse guarantee (Suites).
systemmappingrequiredThe system under test. See below.
concurrencymappingsystem: 8, judge: 4How many system calls and judge calls run at once.
evaluatorslistrequired, at least oneWhat is measured on each case. Each entry has a type.
metricslistemptyExtra metrics beyond the one each evaluator criterion already is.
predictivemappingabsentWhere a classifier's label, score and truth live. See Predictive models.
sliceslist of stringsemptyExploratory slices: metadata.<key>, relevant_position or context_truncated. They never reach the gate. See Slices.
min_slice_supportinteger, at least 130Below this many eligible cases a slice shows its estimate but no interval.
replicatesinteger, at least 11Measure every case this many times. The case stays the unit: replicates are aggregated within it before any interval is computed.
budgetmappingabsentThe most one run may spend before it stops: model_calls, tokens or usd (at least one). Checked before every call, locally and on a managed worker. A usd ceiling stops on a call it cannot price and a tokens ceiling on a call that reports no tokens, so neither is accepted for an HTTP system, which reports none: use model_calls there. A system's own model is priced only by the cost it records, never from pricing:. model_calls leaves out a judge's re-ask, a cascade's later stage and a simulated user's turns, and calls already in flight when a ceiling is reached still finish, so a run can pass it at high concurrency. Evaluators without a model (no limiter key) are outside the budget. A comparison spends one budget on both arms, candidate first. The finished cases stay in a partial run.
pricinglistemptyWhat you pay per million tokens, by model. Without it cost is reported in tokens and never in dollars.
egresslist of stringsemptyWhich raw content oloproof push may send to a hosted workspace. See Results and execution.
adversarialmappingabsentGenerated attacks: whether the system under test is a sandbox, and the model that rewords them. See below.
metamorphicmappingabsentTransforms that pair each case with a changed copy of itself, for metamorphic_relation. See below.
export_keymappingabsentWritten by Oloproof, never by hand: the fingerprint of the export key this project's withheld content is keyed under. See below.
trafficmappingabsentThe group the collector reads on production traffic: group_attribute (one span attribute key) and group_values (2 to 20 short labels). A trace whose attribute holds a declared value carries it as its group; any other value is left out and never kept. Read by oloproof collect, never by a run; a group_fairness rule under stream.group_rules in release.yaml reads it.

adversarial

What oloproof generate attacks and oloproof run need for generated attacks (Generating attacks).

FieldTypeDefaultWhat it is
sandboxedbooleanfalseThe system under test is a sandbox: no production credentials, no real outbound network, no destructive tools. oloproof run refuses a suite holding generated attacks without it, or without --allow-adversarial.
rewritemappingabsentThe model oloproof generate attacks --rewrite rewords cases with. Without it, --rewrite refuses.
attackermappinga local Ollama modelThe model oloproof redteam strengthens resisted attacks with, round by round (Red teaming round by round). --attacker-model overrides its model. It takes the same keys as rewrite.

rewrite takes provider (default openai_compatible), model (required), base_url (default http://localhost:11434/v1, a local Ollama server), api_key_env (absent; a server on this machine needs no key), temperature (0), max_tokens (400) and timeout_s (120).

export_key

Written on a project's first keyed run (or by oloproof keys adopt), just after project:, with a line asking you to commit it. Commit it: a machine or CI job without the key it names is refused instead of making a second, incompatible key. It holds a fingerprint, never the key, and no id or cache key reads it. See Running in CI.

FieldTypeDefaultWhat it is
fingerprintstringrequiredsha256: and 64 hex digits: the key's fingerprint over the categories it keys, as runs record it.
keyedlist of stringsemptyThe categories keyed, which are the ones egress: withholds.
previouslist of stringsemptyThe fingerprints before each oloproof keys adopt --rotate, newest first.

An Oloproof older than the one that wrote the block refuses a file carrying it, so bump a pinned version in CI in the same commit.

metamorphic

transforms: Each transform changes one field of every case's input: a string by a template or replacements, or a numeric, categorical or image field by a perturbation. The suite runs each source case beside one derived case per transform (<id>~<name>), clustered by source.

FieldTypeDefaultWhat it is
namestringrequiredLowercase letters, digits and underscores; it names the derived cases.
versioninteger, at least 11Change it when the transform changes.
fieldstringrequiredThe dotted path of the changed field, under input.
templatestringabsentThe new text, with {value} where the old text goes. Exactly one of template, replace or perturb.
replacelist of [old, new] pairsabsentReplacements, applied in order.
perturbmappingabsentA perturbation, by kind (below).
validity_labelsstringabsentA JSONL file beside oloproof.yaml: one line per derived case, {"case": ..., "digest": ..., "kept": true} or false, saying whether the transform kept its meaning.
minimum_validitynumber in (0, 1)absentThe bar the exact lower bound of the kept share must clear.

perturb takes one kind:

KindFieldsWhat it does
numeric_noisescale (feature to standard deviation, each above 0), clip (feature to [low, high]), round (decimals), seedAdds Gaussian noise to the named numeric features of an object field, seeded by seed, the transform's name and the case id, so a case gets the same noise on every machine.
categorical_swapmap (category to category)Replaces the field's category with the one the map names. A category the map does not name is a configuration error.
blurradius (pixels, above 0)A Gaussian blur of the image.
brightnessfactor (above 0, not 1)Darker below 1, brighter above.
occlusionfraction (of the area, in (0, 1)), seed, fill (RGB)A grey rectangle at a seeded position.
jpegquality (1 to 95)The image saved again as JPEG.

An image field is a path relative to oloproof.yaml or a media/v1 item, whose bytes must still be the recorded ones. The changed image is written to .oloproof/metamorphic/media/, named by the sha256 of its bytes, and the derived case points at it. Images need Pillow: pip install 'oloproof[media]'. A perturbation that leaves a case's field unchanged is a configuration error. Read a prediction under a perturbation with same_label or same_score_within (below).

A transform is checked when its labels clear minimum_validity, counted over every pair of that transform in the suite, with an unlabelled pair counted as not kept and a pair counted as kept only when every label of it says so. Until then every rule over a metamorphic_relation that reads it is INSUFFICIENT_EVIDENCE with transform_not_checked, under every policy, or transform_declared for numeric_noise and categorical_swap, which are reported as a declared assumption. A source and its pairs share a cluster. A relation that names one transform judges one copy per source, so its rate is exact (Clopper-Pearson) and two runs' rates are compared paired. A relation over every transform judges several copies per source and is read with the cluster bootstrap: set allow_approximate_methods: true in release.yaml and give the suite at least min_clusters source cases. A rewrite by a model is not built.

concurrency

FieldTypeDefault
systeminteger, at least 18
judgeinteger, at least 14

pricing entries

Oloproof ships no price table. Each entry names a model exactly as an evaluator's model: names it.

FieldTypeDefault
modelstringrequired
input_per_mtoknumber, 0 or morerequired
output_per_mtoknumber, 0 or morerequired
# oloproof.yaml
version: 1
project: support-bot
dataset: datasets/support.jsonl
system:
  name: support-bot
  callable: app.bot:answer
evaluators:
  - type: exact_match
    criterion: correct_label
    field: label
pricing:
  - model: my-judge-model
    input_per_mtok: 0.15
    output_per_mtok: 0.6
egress: [raw_outputs]

system

A system needs exactly one of callable, http, rag, recorded, held or prompt.

FieldTypeDefaultWhat it is
namestringrequiredThe system's name. Part of its version identity.
versionstringabsentYour label for this version. Required for an HTTP system. Part of its identity, so changing it invalidates cached executions.
callablemodule:attributeabsentA Python function, sync or async. It receives the case input and returns the output.
httpmappingabsentAn endpoint called once per case. See below.
ragmappingabsentA staged RAG class declared with @rag_system. See below.
recordedpathabsentAn answers file (case_id, input, expected, output; JSON Lines or CSV), relative to oloproof.yaml, replayed as the system's outputs: nothing runs. oloproof eval --save writes it.
promptmappingabsentA prompt file and a model, run as the system. See below.
helddigestabsentThe digest of answers an imported sheet left in a hosted workspace, replayed as the system's outputs by that workspace's worker: nothing runs. The sheet import writes it; locally, use recorded.
configmappingemptyFree-form settings recorded with the system version. Changing them changes the version.
code_pathslist of glob patternsemptyExtra source files whose contents enter a callable system's version, added to what is hashed by default: the callable's own module and the project's Python modules it imports. In Python, pass code_paths= to @system or evaluate() instead; a function declaring them while this field is set is refused (exit 2).
state_versionmodule:functionabsentA function of no arguments returning a string that names state outside the project a callable system reads, such as an index's build id or a memory snapshot. It is called once when the system is built, and its value enters the system's version: a new value is a new system, nothing is reused from the old one, and an earlier decision reads Evidence: stale. A raise, an empty string or a non-string is a configuration error (exit 2). Refused on an HTTP or RAG system; a RAG system has rag.index_version.
timeout_snumber above 0120Time limit per call for a callable system. An HTTP system uses http.timeout_s instead.
recordslist of artifact kindsemptyArtifact kinds a callable system records, such as retrieval/v1. Refused on an HTTP or RAG system.
simulated_usermappingabsentA model that plays each case's persona in a conversation with a callable system. See below.
per_stepbooleanfalseCall a callable system once per step of the case's input.steps, with that step's observation and the history of the steps before it, never the step itself or what follows; its output is {"steps": [...]}, one answer per step. Part of its version. Refused on an HTTP or RAG system. The sequential off-policy evaluators require it.
environmentmodule:attributeabsentA sandbox with reset(state) and snapshot(), reset to each case's initial_state before a callable system runs it and read back after as environment_state/v1. A callable object with both methods is its own environment. Its class's qualified name is part of the system's version, so another sandbox runs the cases again.

system.http

FieldTypeDefaultWhat it is
urlstringrequiredWhere each case is sent.
methodGET, POST or PUTPOSTThe HTTP method.
output_pathdotted pathabsentWhich field of the JSON response is the output, such as result.answer. Absent means the whole body.
artifactsmapping of kind to dotted pathemptyResponse fields recorded as artifacts, such as retrieval/v1: debug.retrieval.
versionstringabsentUsed as the system's version when system.version is absent. An HTTP system needs one of the two.
timeout_snumber above 030Time limit per request.
headersmapping of header name to valueemptySent with every request. ${NAME} in a value is read from the environment variable NAME when the run starts, such as Authorization: Bearer ${API_TOKEN}; an unset or empty variable stops the run before its first case (exit 2). The names and the text as written are part of the system's version; the values read are not, so a new token keeps the version and its cached answers, and they are never stored. Oloproof's managed workers refuse a header that reads a variable.
streamsseabsentRead the response as server-sent events and join each event's text into the answer, recording when the first text arrived (first_output_ms). Needs stream_path; takes no output_path or artifacts. Declared, it is part of the system's version.
stream_pathdotted path with list positionsabsentWhere each event's text is, such as choices.0.delta.content (OpenAI-compatible) or delta.text (Anthropic). An event without it adds nothing; data: [DONE] ends the stream.
# oloproof.yaml
version: 1
project: support-api
dataset: datasets/support.jsonl
system:
  name: support-api
  version: "2026-10-08"
  http:
    url: http://localhost:8000/answer
    output_path: answer
    artifacts:
      retrieval/v1: debug.retrieval
evaluators:
  - type: hit_rate
    k: 5

The request and response contract, and what happens on timeouts and HTTP errors, are in Results and execution.

system.rag

FieldTypeDefaultWhat it is
objectmodule:attributerequiredThe class declared with @rag_system, or an instance of it.
depthinteger, at least 1the class'sHow many passages retrieval returns.
top_kinteger, at least 1the class'sHow many of them reach generation.
token_budgetinteger, at least 1the class'sA token limit on the context. Needs the class's count_tokens(passage).
index_versionstringthe class'sPart of the retrieval identity. Change it whenever the index is rebuilt.

Settings given here override the ones the class declares. A staged system records its own retrieval/v1, context/v1 and citations/v1 artifacts, so records is refused beside it. See RAG.

system.prompt

FieldTypeDefaultWhat it is
filepathabsentThe prompt template, relative to oloproof.yaml. {{input}} is the case's input (as JSON when it is not text) and {{input.question}} one field of it; a field the input lacks stops the case with an error. A first line system: followed by text up to a line --- is sent as the system message.
textstring, at most 20,000 charactersabsentThe template itself, instead of file: what a managed run and the workbench's playground send, since a worker has no project files. A prompt needs exactly one of file or text.
modelstringrequiredThe model asked, such as llama3.2.
provideropenai_compatible, openai or anthropicopenai_compatibleWhich API the model is reached through.
base_urlstringabsentWhere the model is called. Absent: a local Ollama server (http://localhost:11434/v1) for openai_compatible, the provider's own API for openai and anthropic.
api_key_envstringabsentThe environment variable holding the provider's key. A managed run requires it, naming a key the workspace stored.
temperaturenumber, at least 00Sent with every request.
max_tokensinteger, at least 11024Sent with every request.
timeout_snumber above 0120Time limit per request.

The system's version is the digest of the template's text and these settings, so every edit to the prompt is a new version: its cases run again, the old answers are reused when the old text comes back, and oloproof compare pairs two prompt versions case by case like any two systems. Keep the file under version control; oloproof trend lists a suite's runs across its versions.

# oloproof.yaml
version: 1
project: support-bot
dataset: datasets/support.jsonl
system:
  name: support-bot
  prompt:
    file: prompts/support.md
    model: llama3.2
evaluators:
  - type: contains
    criterion: correct

system.simulated_user

A model that plays a user of a callable system, declared like a judge. Each case's input holds the persona it plays, and the system reads it through current_case().simulated_user() (SDK reference).

FieldTypeDefaultWhat it is
provideranthropic, openai or openai_compatiblerequiredWho serves the model, as for a judge.
modelstringrequiredThe model that plays the user.
base_urlstringthe provider'sThe server, such as http://localhost:11434/v1 for a local model.
api_key_envstringthe provider'sThe environment variable holding the key.
temperaturenumber from 0 to 20.7Above zero so that replicates meet different users. A provider that takes a seed (OpenAI's API does) is given one from the case and the replicate.
max_tokensinteger, at least 1300The longest message the user writes.
timeout_snumber above 060Time limit per model call.
max_turnsinteger from 1 to 1008The most messages the user sends. A persona's own max_turns overrides it.
persona_fieldstringpersonaThe key of each case's input that holds the persona.
instructionsstringabsentAdded to every persona's instructions, such as the language to write in.

A persona has a description (who the user is) and a goal (what they want), both required; facts, a mapping of what the user knows and shares only when the conversation needs it; opening, the user's first message word for word, so every system is greeted alike; and max_turns. A case whose persona is missing or malformed stops the run before any call (exit 2).

# oloproof.yaml
version: 1
project: support-desk
dataset: datasets/customers.jsonl
system:
  name: support-desk
  callable: desk:talk
  simulated_user:
    provider: openai_compatible
    base_url: http://localhost:11434/v1
    model: llama3.1
    max_turns: 6
evaluators:
  - type: rubric_judge
    criterion: resolved
    provider: openai_compatible
    base_url: http://localhost:11434/v1
    model: llama3.1
    rubric_text: Pass only if the assistant answered what the customer asked.

The conversation ends when a check after each answer finds the goal met (the simulated user's model, asked on its own at temperature 0), when the user gives up, when it has sent max_turns messages, or when the system ends it. Oloproof records what passed between them as conversation/v1 and how it ended as simulated_user/v1; the system records neither. The simulated user's version (every setting above, and its prompt) is part of each execution's cache key and not of the system's version, so a different simulated user measures the same system again. Two systems compared must meet the same one. The tokens it spends are kept in simulated_user/v1 and never counted as the system's cost. Only a callable system takes a simulated user.

A result over simulated users reaches real users only as far as the simulated user resembles them. So while require_validated_evaluators is on (the default), every rule over a run or a comparison whose users were simulated is INSUFFICIENT_EVIDENCE with simulated_user_not_validated, until people have found its conversations realistic: label a random sample with oloproof labels export RUN --criterion simulated_user_realistic --sample 30, where passed means realistic, and import it. The simulated user is validated on that suite when the exact lower bound of the realistic share clears minimum_simulated_user_realism in release.yaml; a drawn conversation left unlabelled counts as unrealistic, and one counts as realistic only when everyone who labelled it says so. One validation covers one simulated user's version on one suite, and is read whenever a gate is decided. oloproof simulated-users RUN reports it, with the shape of its conversations beside a run of real ones (--real RUN), which is descriptive and never decides. A hosted workspace does not decide on simulated users yet. Set require_validated_evaluators: false to decide on them knowingly.

evaluators

Every entry takes a type and these two common fields:

FieldTypeDefaultWhat it is
criterionstringrequired unless the type has a defaultThe name of what is measured. Each criterion is a metric, and a rule's metric: names it.
on_execution_errormissing or failmissingWhat a case whose system call failed counts as for this criterion. missing keeps it in the denominator as unobserved; fail counts it as a failure.

fail applies only to pass/fail evaluators; a score evaluator with it is a configuration error. on_execution_error is a YAML field; the SDK evaluator classes take no such argument, and an errored case counts as missing.

Evaluator types

"Reads" lists what the evaluator's verdict depends on, which is also what its cached judgment is keyed on. "SDK" names the class in oloproof.evaluators.

YAML typeReadsSDKNeeds network or a key
exact_matchoutput, expectedExactMatchno
containsoutput, expectedContainsno
regexoutputRegexno
json_schemaoutputJsonSchemano
canary_absentoutput, expected; artifacts.agent_trajectory with tool_callsCanaryAbsentno
personal_data_absentoutputPersonalDataAbsentno
memorized_absentoutput, expectedMemorizedAbsentno
reexecution_agreementoutput, metadata, artifacts.reexecutionYAML onlyno
rubric_judgeinput, output, expectedRubricJudgeyes, a model provider
model_classifieroutput (or the field named by text), optionally premiseYAML onlyyes, a TEI-compatible server
probability_judgethe case and outputYAML onlyyes, an OpenAI-compatible provider returning log probabilities
cascadeas its two stagesYAML onlyyes
hit_rate, recall, mrr, ndcgartifacts.retrieval, expectedHitRate, Recall, MRR, NDCGno
citation_validityartifacts.citations, artifacts.contextCitationValidityno
groundedness_judgeinput, output, artifacts.contextGroundednessyes
citation_support_judgeinput, output, artifacts.context, artifacts.citationsCitationSupportyes
agent_max_stepsartifacts.agent_trajectoryAgentMaxStepsno
agent_tool_calledartifacts.agent_trajectoryAgentToolCalledno
agent_no_tool_loopartifacts.agent_trajectoryAgentNoToolLoopno
agent_tool_sequenceartifacts.agent_trajectory, expectedAgentToolSequenceno
agent_no_undeclared_toolartifacts.agent_trajectory, expectedAgentNoUndeclaredToolno
agent_constraints_satisfiedartifacts.agent_trajectoryAgentConstraintsSatisfiedno
agent_routeartifacts.agent_trajectoryAgentRouteno
agent_tool_permissionsartifacts.agent_trajectoryAgentToolPermissionsno
agent_max_handoffsartifacts.agent_trajectoryAgentMaxHandoffsno
state_matchesartifacts.environment_state, expectedStateMatchesno
state_unchangedartifacts.environment_state, initial_stateStateUnchangedno
fault_recoveryartifacts.agent_trajectory, and a replay of the system (Replayable)FaultRecoveryno
metamorphic_relationoutput, artifacts.agent_trajectory or artifacts.environment_state, of the case and of its sourceMetamorphicRelationno
predictive_correctthe label field of output and expectedPredictiveCorrectno
predictive_recallas abovePredictiveRecallno
predictive_precisionas abovePredictivePrecisionno
predictive_absolute_erroras above, numericAbsoluteErrorno
predictive_brierthe score field of output, the label of expectedBrierno
predictive_log_lossas aboveLogLossno
predictive_rankingas abovePredictiveRankingno
episode_returnartifacts.rl_episodeEpisodeReturnno
episode_successartifacts.rl_episodeEpisodeSuccessno
episode_cost_withinartifacts.rl_episodeEpisodeCostWithinno
off_policy_valueoutput, expectedOffPolicyValueno
off_policy_improvementoutput, expectedOffPolicyImprovementno
sequential_off_policy_valueinput, output, expectedSequentialOffPolicyValueno
sequential_off_policy_improvementinput, output, expectedSequentialOffPolicyImprovementno
media_checkartifacts.mediaMediaCheckno
image_matches_referenceartifacts.media, expected when reference_field is setImageMatchesReferenceno
conversation_completedartifacts.conversationConversationCompletedno
conversation_judgeexpected, artifacts.conversationConversationJudgeyes, a model provider
goal_reachedartifacts.simulated_userGoalReachedno
turns_to_goalartifacts.simulated_userTurnsToGoalno
every_turnartifacts.conversationEveryTurnno
no YAML typewhat you declare@evaluator and CustomEvaluator (SDK only)yours

A judge that calls a hosted model sends case content to that provider and is billed by it. Keys are read from the environment variable named in api_key_env; Oloproof never stores them in these files.

Deterministic evaluators

TypeFieldTypeDefault
exact_matchfielddotted path in the outputabsent: the whole output
exact_matchexpected_fielddotted path in expectedabsent: same as field when expected is an object, else the whole expected
exact_matchstripbooleantrue
exact_matchcasefoldbooleanfalse
containsfield, expected_fieldas exact_matchabsent
regexpatternregular expressionrequired
regexfielddotted pathabsent
regexpass_ifmatch or no_matchmatch
json_schemaschemaa JSON Schema inline, or a path to a JSON file relative to the projectrequired
json_schemafielddotted pathabsent
canary_absentcanarystring, at least 8 charactersabsent: each case's expected.canary
canary_absenttool_callsbooleanfalse
reexecution_agreementcomparatorexact (equal after canonical JSON)exact
reexecution_agreementfielddotted pathabsent: the whole output
personal_data_absentkindslist of credit_card, sin, email, ip_address, phone, postal_codeall six
personal_data_absentpatternsname to regular expressionnone
personal_data_absentallowlist of values that may appear, kept as a digestnone
memorized_absentprotectedlist of strings, each at least 8 charactersnone, besides each case's expected.canary and expected.protected
memorized_absentprotected_filea file of strings, one per line, relative to the projectabsent
memorized_absentmin_lengthinteger, at least 850

Each part of a dotted path names a key of an object or, on a list, a position counted from 0, so field: choices.0.message.content reads a nested answer with no custom check. A path that does not resolve records the case as missing for that criterion and says where it stopped, such as no field 'reply': the value has no key 'reply' (keys: answer); it is never a pass or a fail.

canary_absent fails a case whose output contains the canary, ignoring case; an output that is not text is read as its JSON. With tool_calls: true it also reads the arguments of every recorded tool call, and needs a system that records agent_trajectory/v1. A case with no canary is not applicable (no_canary).

Model judges

rubric_judge, groundedness_judge and citation_support_judge share these fields. Exactly one of rubric_file or rubric_text is required by rubric_judge; the two RAG judges take at most one and otherwise use a built-in rubric. Their criterion defaults to groundedness and citation_support.

FieldTypeDefault
provideranthropic, openai or openai_compatiblerequired
modelstringrequired
rubric_filepathabsent
rubric_textstringabsent
api_key_envenvironment variable nameANTHROPIC_API_KEY or OPENAI_API_KEY
base_urlURLthe provider's
temperaturenumber0
max_tokensinteger, at least 1512
timeout_snumber above 060
medianone, input, output or allnone
audiotranscribe or nativetranscribe
transcribermodel, and optionally provider (openai_compatible or openai), base_url, api_key_env, timeout_sabsent
video_framesa count from 1 to 20, or a list of increasing times in seconds4

media (rubric_judge only) shows the judge the case's recorded media/v1 items of that role, each named in its prompt, for a provider whose model reads images:

  • Images are attached as they are, up to 5 MB each.
  • Video is attached as still frames taken with ffmpeg (on the machine that runs the judge): video_frames: 4 takes the middle of four equal spans, [0.5, 2.0] takes those moments. A declared time past the end leaves the case missing.
  • Audio, with audio: transcribe, is sent to the transcriber (an OpenAI-compatible /audio/transcriptions endpoint, OpenAI's when base_url is left out, no key needed on this machine) and the transcript goes into the prompt; each clip is transcribed once per run. With audio: native the clip is attached as sound (wav and mp3 only, for a model that hears it; not Anthropic's).

At most 20 images and frames per judgment. The media's digests key the judgment, so changed media is judged again, and the transcriber and the frame times are part of the judge's version. A case with none of the declared media, or whose file is gone, is missing; content that changed since the run stops it, and so does audio with no transcriber or video with no ffmpeg. Transcripts and the ffmpeg version are kept with each judgment. A media judge is validated against people's labels like any judge.

probability_judge asks a typed question and reads the model's probabilities:

FieldTypeDefault
provideropenai or openai_compatiblerequired
modelstringrequired
questionstringrequired
formyes_no, choice or scorerequired
min_probabilitynumber in (0, 1]required
optionsmapping of answer to descriptionfor choice
pass_optionslist of answersfor choice
levelsmapping of level to description, lowest firstfor score
pass_at_leasta levelfor score
calibrationslope (above 0), intercept, from_versionabsent
api_key_env, base_urlas aboveabsent
timeout_snumber above 060

cascade runs a cheap judge first and escalates the uncertain cases:

FieldTypeDefault
firsta probability_judge entryrequired
thena rubric_judge or probability_judge entryrequired
escalate_betweentwo probabilitiesrequired

The stages judge the cascade's own criterion; a stage naming a different one is refused.

model_classifier scores text with a trained model on a TEI-compatible server:

FieldTypeDefault
modelstringrequired
base_urlURLrequired
labelthe classifier label to readrequired
min_score or max_scorenumber in [0, 1], exactly onerequired
textwhich field is classifiedoutput
premisea second text, for pair classifiersabsent
api_key_envenvironment variable nameabsent
timeout_snumber above 030

RAG evaluators

TypeFieldTypeDefault
hit_rate, recall, mrr, ndcgkinteger, at least 15 for hit_rate and recall, 10 for mrr and ndcg
hit_rate, recall, mrr, ndcgrelevance_unitdoc or chunkdoc
hit_rate, recall, mrr, ndcgcriterionstring<type>_at_<k>, such as hit_rate_at_5
citation_validityrequire_citationsbooleanfalse
citation_validitycriterionstringcitations_valid

Agent evaluators

TypeFieldTypeDefault
agent_max_stepsmax_stepsinteger, at least 1required
agent_tool_calledtool_namestringrequired
agent_tool_calledmin_callsinteger, at least 11
agent_no_tool_loopmax_repeatsinteger, at least 12
agent_tool_sequenceorderedbooleantrue
agent_constraints_satisfiedconstraintslist of constraint namesempty
agent_tool_permissionspermissionsmapping of agent to allowed toolsrequired
agent_max_handoffsmax_handoffsinteger, 0 or morerequired
state_matchespathslist of dotted pathsabsent: the whole state
state_matchesmodeexact or subsetexact
state_matchestolerancenumber, 0 or moreabsent
state_matchesexpected_fieldstringstate
state_unchangedpathslist of dotted pathsrequired
fault_recoverytoolstringrequired
fault_recoveryfaulterror, timeout or malformedrequired
fault_recoveryoccurrenceinteger, at least 11
fault_recoveryescalate_toolslist of tool namesempty
metamorphic_relationrelationsame_output, same_actions, same_state, same_label or same_score_withinrequired
metamorphic_relationtransformstringabsent: every transform
metamorphic_relationfieldstring, for same_output, same_label and same_score_within; required by the last twoabsent: the whole output
metamorphic_relationtolerancenumber, at least 0, same_score_within only and required thereabsent
metamorphic_relationpasses_whenkept or flipped; flipped makes the rate a flip rate for a max: rule, its criterion flips_under_<transform>kept

Each agent type has a default criterion, so it may be left out: its own type name, or one built from its setting (agent_steps_le_8, agent_tool_lookup_called, agent_handoffs_le_2). See Agents.

Episode evaluators

TypeFieldTypeDefault
episode_returnreturn_rangetwo numbers, ascendingrequired
episode_returndiscountnumber in (0, 1]1
episode_cost_withinbudgetnumber, 0 or morerequired

They read the rl_episode/v1 record of a reinforcement-learning episode. episode_return scores the return, each reward weighted by discount per step, and a return outside return_range stops the run with exit 2. episode_success passes when the episode records success: true, and is missing when it records none. episode_cost_within passes when the steps' costs add up to at most budget. The default criteria are episode_return, episode_success and one built from the budget (episode_cost_le_2). See Reinforcement learning.

Off-policy evaluators

TypeFieldTypeDefault
off_policy_value, off_policy_improvementreward_rangetwo numbers, ascendingrequired
samepropensity_floornumber in (0, 1]required
sameprobabilities_fieldoutput fieldprobabilities

Each case is one decision a policy already made, logged with the action taken, the probability the logging policy gave every action (expected.logging_probabilities), and the reward that followed. The system is the policy you want to evaluate, returning its own probability of every action. off_policy_value estimates that policy's mean reward; off_policy_improvement estimates its mean reward minus the logging policy's. A decision whose policy may take an action logged with probability below propensity_floor, or whose reward is absent, is missing; a malformed log stops the run with exit 2. See Reinforcement learning.

Sequential off-policy evaluators

TypeFieldTypeDefault
sequential_off_policy_value, sequential_off_policy_improvementreward_rangetwo numbers, ascending: every step's rewardrequired
samepropensity_floornumber in (0, 1]required
samehorizonwhole number from 1 to 50required
samediscountnumber in (0, 1]1
sameprobabilities_fieldoutput fieldprobabilities

Each case is one logged episode: input.steps, each with its observation, action and reward, and expected.logging_probabilities, one full distribution per step. The system must be declared per_step. sequential_off_policy_value estimates the policy's expected return over the first horizon steps; sequential_off_policy_improvement that return minus the logging policy's. An episode the policy would leave the log's support in is scored up to that step and bounded after it; a missing reward is bounded at both ends of reward_range; a malformed log, a target whose probabilities do not add up to 1, or an episode longer than horizon stops the run with exit 2. Their scores may be bounds, so they need replicates: 1, and their runs are neither compared nor stopped early. See Reinforcement learning.

Media checks

TypeFieldTypeDefault
media_check, image_matches_referenceroleinput, output or alloutput
media_checkkindimage, audio, video or anyany
media_checkformatsa list of png, jpeg, gif, webp, bmp, tiff, wav, mp3, flac, ogg, mp4, webm, aviabsent
media_checkmin_width, max_width, min_height, max_heightpixelsabsent
media_checkmin_duration_s, max_duration_ssecondsabsent
media_checkmin_bytes, max_bytesbytesabsent
image_matches_referencereference_filepath relative to the projectabsent
image_matches_referencereference_fielddotted path in expected naming an image pathabsent
image_matches_referencemax_distance0 to 648

They read the case's media/v1 items and call no model. media_check passes when every item of the role (and kind) meets every condition it declares, which needs at least one. Each fact is measured from the recorded bytes, not taken from what the system declared: the format from the file's opening bytes, image dimensions and WAV durations from their headers, and anything else (a video's size, an MP3's length) with ffprobe, whose absence stops the run. With formats, an item whose declared MIME type names another format fails too. Dimension bounds apply to images and video, duration bounds to audio and video; a case with no item a condition applies to is missing. The measured facts are kept with each judgment.

image_matches_reference passes when every image of the role looks like the reference: their 64-bit perceptual hashes (a DCT hash of the image in greyscale at 32 by 32) differ in at most max_distance bits, so a resized or recompressed copy matches and a different picture does not. Give exactly one of reference_file, one image for every case, or reference_field, a path each case's expected names; a case without that field is not applicable. It decodes images with Pillow: pip install 'oloproof[media]'.

Conversation evaluators

TypeFieldTypeDefault
conversation_judgeprovider, model, rubric_text or rubric_file, and the other fields of rubric_judgeas for rubric_judgea rubric is optional
turns_to_goalmax_turnsinteger, at least 1required
every_turncontains, not_containslists of stringsempty
every_turnregex, not_regexregular expressionsabsent
every_turnmax_charsinteger, at least 1absent
every_turncasefoldbooleanfalse

They read a recorded conversation, and each gives one verdict per conversation, so the conversation stays the unit. conversation_completed passes when the system answered every turn. conversation_judge is a model judge of the assistant's side of the whole transcript; without a rubric it uses its built-in one (answers consistent with each other and with the reference), and it is validated against people's labels like any judge. every_turn passes when every answer the system gave meets every condition it declares, which needs at least one: it contains each of contains and none of not_contains (ignoring case with casefold), matches regex and not not_regex somewhere, and is at most max_chars long. An answer that is not text is read as its JSON, the turns recorded are the ones checked, and the answers that broke a condition are kept with the judgment as measured: lines.

goal_reached and turns_to_goal read simulated_user/v1, so they need a simulated_user. goal_reached passes when the goal check after one of the system's answers found the goal met; turns_to_goal passes when it did so within max_turns of its own messages, and fails when the goal was never met. Whether the goal was met is the simulated user's model's judgement, which the realism labels cover, so a gate on either is withheld with every rule over simulated users (simulated_user_not_validated). The default criteria are the type name, or goal_within_3_turns for turns_to_goal with max_turns: 3; system.simulated_user is above.

Predictive evaluators

TypeFieldTypeDefault
predictive_correct, predictive_recall, predictive_precisionpositiveany JSON valuetrue, or the predictive: block's
samefieldoutput fieldlabel, or predictive.label_field
sameexpected_fieldexpected fieldlabel, or predictive.expected_field
predictive_absolute_errortarget_rangetwo numbersrequired
predictive_absolute_errorfield, expected_fieldas abovelabel
predictive_brier, predictive_log_loss, predictive_rankingpositiveany JSON valuetrue, or the block's
samefieldoutput fieldscore, or predictive.score_field
sameexpected_fieldexpected fieldlabel, or the block's
predictive_log_lossclipnumber in (0, 0.5)required

A predictive evaluator that leaves positive, field or expected_field unwritten takes it from the predictive: block; a value it writes is kept.

predictive

FieldTypeDefault
label_fieldstringlabel
score_fieldstringscore
expected_fieldstringlabel
positiveany JSON valuetrue
calibration_binsinteger, at least 110
thresholdslist of numbersempty
averagemacro or microabsent: no aggregate

metrics

Each evaluator criterion is already a metric. A metrics: entry adds one more, discriminated by type.

typeFieldsWhat it is
quantileid, source, quantile in (0, 1)A quantile of latency_ms, first_output_ms, ms_per_output_token, input_tokens, output_tokens, cost_usd, agent_steps or agent_tool_calls. first_output_ms is recorded only for a system that streams (returns an iterator of text chunks, or stream: sse) or calls current_case().first_output(); ms_per_output_token is (latency_ms - first_output_ms) / (output_tokens - 1). A case without the value is missing, counted at its worst like every missing value, and oloproof check refuses a project whose system gives a first-output metric nothing to read.
rankingid, criterion, statistic: roc_auc or average_precisionA statistic over the order of a ranking criterion's scores.
every_replicateid, criterionThe share of cases that passed a pass/fail criterion on every replicate, with the exact binomial interval over cases. With replicates: at 1 it equals the pass rate.
every_criterionid, criteria (two or more pass/fail criteria), on_execution_errorThe share of cases that passed every one of the criteria that applies to them, scored on the same case: a failure on any of them fails the case, a criterion that does not apply is left out, a case none applies to is excluded, and a missing verdict otherwise leaves the case missing. Two rules at 99% each do not show that 99% of cases passed both; this does. The exact binomial interval over cases, or the bounded mean of each case's fraction of joint passes with replicates: above 1.
workload_mixid, criterion, slice (a metadata.<key>), weights (each value's share of production, summing to 1; 0 leaves a value out), range (for a score criterion's mean)The criterion's pass rate, or mean score, reweighted to the mix you declare: "production is 40% billing, 60% other; would the decision hold?". Each value with a positive weight is a stratum, decided by workload_mix_stratified_bonferroni@1 (each stratum's exact interval at a stricter level, summed with your weights), so every stratum must have observed cases and every case a named value, or the rule is INSUFFICIENT_EVIDENCE. The weights are your assumption, and the reach line says so. Beside the criterion's own rate; no comparison rule, clusters, replicates or early stopping. Admitted by its audit on 28 October 2026 (WORKLOAD_MIX_METHOD.md); a mix declared after an earlier run of the same version on the same suite is labelled as such (Slices).
worst_groupid, criterion, slice (a metadata.<key>), groups (two or more of its values), range (for a score criterion's mean)The criterion's pass rate, or mean score, in its worst group: a minimum rule on it holds every named group to the bar at once. Each group's exact interval at level 1 - alpha / k, the minimum of the bounds (worst_group_bonferroni@1, WORST_GROUP_METHOD.md). Admitted by its audit on 2 November 2026; only a min rule may read it. Same limits as workload_mix.
human_scoreid, criterion, scale (for example [1, 5])People's mean score for the whole suite, from the scores a measurement queue collected on the run's random blind sample for criterion, on exactly scale, by human_score_labels@1 (Judges). A sampled case nobody scored counts at the bottom of the scale for the lower bound and the top for the upper.
human_preferenceid, criterionPeople's net preference for the candidate over the baseline, in points, from the first paired preference draw over the two runs for criterion, by human_preference_net@1 (Judges). A comparison metric: only a comparison rule names it, and a release rule naming it is refused when the file is read. A sampled pair nobody labelled counts at -1 for the lower bound and +1 for the upper.
human_differenceid, criterionPeople's pass rate on the candidate minus on the baseline, in points, from the first paired pass/fail draw over the two runs for criterion, by human_paired_difference@1 (Judges). A comparison metric, like human_preference. A case the candidate did not finish counts as -1; a sampled pair nobody labelled counts at -1 for the lower bound and +1 for the upper.
cost_per_acceptedid, criterion, cost_ceiling_usd, cost_ceiling_sourceAll execution cost over the cases criterion accepted, by cost_per_accepted_betting@1; a max: rule is a budget in USD per accepted case, and without an enforced ceiling it can fail and never pass (Tracing).
# oloproof.yaml
version: 1
project: support-bot
dataset: datasets/support.jsonl
system:
  name: support-bot
  callable: app.bot:answer
evaluators:
  - type: exact_match
    criterion: correct_label
    field: label
metrics:
  - id: latency_p95
    type: quantile
    source: latency_ms
    quantile: 0.95

release.yaml

The release policy: which rules decide, and which decisions block. Omitted settings keep their defaults, so a policy that names only its rules still blocks on FAIL, INSUFFICIENT_EVIDENCE and MANUAL_REVIEW.

# release.yaml
version: 1
rules:
  - id: label_accuracy
    metric: correct_label
    min: 0.8
FieldTypeDefaultWhat it is
version11File format version.
confidence_levelprobability0.95The level of every interval a rule reads.
block_onlist of decision statesFAIL, INSUFFICIENT_EVIDENCE, MANUAL_REVIEWStates that make the gate block, and set the exit code.
warn_onlist of decision statesemptyStates that warn without blocking. Must not overlap block_on.
block_on_partial_runbooleantrueWhether a run that did not complete blocks, with exit 5.
leakagerequired or absentabsentrequired: the release waits on a recorded leakage check of the run's suite (oloproof leakage check --training FILE --record) that found no case in the training data. Leaked cases, or no check, block under every policy with exit 3, as missing evidence does. A hosted workspace reads a clean check as the provider's word and holds it for a person.
require_approvalbooleanfalseWhether a run's gate that every rule allows still waits for two approvals of the release, with exit 6 until they are given (Gating).
require_suite_rolereleaseabsentDecide only runs on a suite declared suite_role: release; any other is refused as a configuration error (exit 2). Decisions are unchanged.
require_validated_evaluatorsbooleantrueWhether a rule over a model judge withholds its decision until the judge is validated against human labels. Deterministic evaluators are exempt.
minimum_evaluator_agreementnumber in (0, 1]absent: 0.70, the engine's defaultThe agreement with human labels a judge must reach, by its lower bound, before it may be validated or decide. 0 is refused: write judge_floor: none to check no bar.
minimum_simulated_user_realismnumber in [0, 1]absentThe share of a simulated user's conversations people must find realistic, by the lower bound of its exact interval, before rules decide on its conversations. Absent, no rule decides on simulated users.
maximum_evaluator_biasnumber in (0, 1]absent: 0.35, the engine's defaultHow far a judge's pass rate may sit from the people's before it may be validated or decide.
judge_floorjudge_floor@1 or nonejudge_floor@1The engine's default judge bar for each of the two bars above the policy leaves unset, while require_validated_evaluators is true: agreement 0.70, bias 0.35 (Judges). none checks no bar the policy does not declare.
allow_approximate_methodsbooleanfalseWhether a rule may decide on an interval the engine marks approximate (the clustered binary interval). Otherwise it reads MANUAL_REVIEW.
min_clustersinteger, at least 1020Fewer clusters than this and a clustered rule reads INSUFFICIENT_EVIDENCE.
difference_methodbounded_paired_difference@1 or conditional_exact_paired_difference@1absent: the firstWhich admitted method bounds a paired binary-rate difference.
early_stoppingbooleanfalseRun cases in batches and stop once every rule is decided. See Gating.
early_stopping_seedinteger, 0 or moreabsentThe seed of the case order.
early_stopping_batch_sizeinteger, at least 125Cases per batch.
ruleslistrequired, at least oneThe rules. See below.
familieslistemptyRules whose false FAILs are controlled together.
review_rulemappingabsentRefused: the wiring is not admitted yet.
streammappingabsentProduction traffic decided as it arrives: rate (above 0 and at most 1, the share of each hour's committed requests judged), budget (judged cases per UTC day, 1 to 48,000), missing_share (optional, above 0 and below 1), window (day, the only value) and reexecute (boolean, default false: the project's opt-in to consistency on traffic, which lets oloproof collect --evaluate --reexecute run each sampled input again through the declared system; left out of the digest while false) and group_rules (optional: a list of group_fairness rules on the project's declared group attribute, each with an id, a metric, min_group_rate (a worst-group floor), max_gap (the largest gap allowed between group rates), at least one of the two, max_left_out (default 0.10: above this share of the window's traffic outside every group, the window claims nothing) and max_total_variation (default 0.02: above this gap between a group's judged cases and its committed requests over the day so far, as when the hour's cap or the day's budget leaves the group's strata no room, the window claims nothing). Each group needs enough judged cases a day before a bar can decide: with two groups at 95%, about 1,908 for a gap of 0.10 and 7,609 for 0.05, and a floor needs at least 28 at 0.80 and 60 at 0.90 even when every case passes; the governance view states the figure for each rule. Each window decides by the admitted method (30 November 2026): PASS or FAIL per bar when the evidence is enough, INSUFFICIENT_EVIDENCE when it is short or the left-out or total-variation limit is passed, and MANUAL_REVIEW on the same review reasons as rate windows). Inside the policy's digest.
proofslistemptyFormal proofs the release requires. See below.
lossmappingabsentWhat a wrong release would cost, shown beside each pass-rate rule and never deciding. See below.
factorialmappingabsentThe factors, family and rules oloproof factorial decides from one run per cell. In no digest. See below.

rules

One list holds both kinds. A run rule takes exactly one of min, max or max_failures. A comparison rule names its kind and decides a difference between two runs; see Comparison rules.

FieldTypeDefaultApplies to
idstringrequiredall
metrica metric id or criterionrequiredall
kindinterval_threshold, observed_count, superiority, non_inferiority, equivalenceinferred for run rulesall
minnumberabsentrun rules: PASS when the interval's lower bound is at least this
maxnumberabsentrun rules: PASS when the interval's upper bound is at most this
max_failuresinteger, 0 or moreabsentobserved_count: a count over the executed suite, no interval
marginnumber above 0, in the metric's unitsabsentnon_inferiority and equivalence; refused on superiority
directionmin or maxminsuperiority and non_inferiority: whether higher or lower is better. A rule that prefers a higher flip rate (passes_when: flipped), latency, token count or cost is refused: it would prefer the worse run.
max_missing_fractionnumber in [0, 1]absentinterval and comparison rules
requires_manual_reviewbooleanfalseall: the rule always reads MANUAL_REVIEW
scopeglobal or a sliceglobalinterval and comparison rules
min_supportinteger, at least 1absentcomparison rules on a slice
judge_bias_barnumber in (0, 2)absentcomparison rules on a one-criterion pass rate, global scope: keep PASS or FAIL only when people's paired labels show the judge errs alike on both runs within this bar (Judges)

families

FieldTypeDefault
idstringrequired
correctionholmholm
ruleslist of rule idsrequired, at least one

loss

Read beside the decision and never by it: no state, release action, exit code, policy digest or gate key changes with it (Gating).

FieldTypeDefault
false_passnumber, 0 or morerequired: the cost of shipping when the true rate is on the wrong side of the bar
false_failnumber, 0 or morerequired: the cost of blocking when it is on the right side
unitstringrequired: the unit both costs are in
priortwo positive numbers [a, b][1, 1]: a Beta prior on each rule's rate, your word
batchmapping with size (integer, at least 1) and cost (number, 0 or more)absent: one more batch to price
rulesmapping of rule id to false_pass and false_failempty: per-rule costs

factorial

Read only by oloproof factorial FILE, whose file names each cell's run (factorial: {cells: [{top_k: 4, prompt: v1, run: RUN}]}). Declared here, before any cell is read, so the family is never chosen after seeing results.

FieldTypeDefault
criteriona binary criterionrequired: read in every cell's run
factorslist of {name, levels}, levels strings or integersrequired: the first level is the reference
effectslist of effect labels, such as top_k[8 vs 4] or top_k[8 vs 4] x prompt[v2 vs v1]every estimated effect: the Bonferroni family
ruleslist of {id, effect, min} or {id, effect, max}, bars in [-2, 2]required: each effect in the family

proofs

Each entry is decided at every gate on the latest formal result held for its property: PROVED is PASS, DISPROVED is FAIL, anything else or no result is INSUFFICIENT_EVIDENCE. See Formal proofs.

FieldTypeDefault
idstring, unique among every rulerequired
propertythe result's property idrequired
modela sha256: digestabsent: any model
requires_manual_reviewbooleanfalse
# release.yaml
version: 1
warn_on: [INSUFFICIENT_EVIDENCE]
block_on: [FAIL, MANUAL_REVIEW]
rules:
  - id: label_accuracy
    metric: correct_label
    min: 0.8
    max_missing_fraction: 0.05
  - id: no_regression
    metric: correct_label
    kind: non_inferiority
    margin: 0.02
proofs:
  - id: no_unauthorized_transfer
    property: transfer-authorized

select.yaml

A selection file, read by oloproof select (Choosing among candidates). It is decided under the project's release.yaml, or the policy --policy names, which may hold only run rules.

FieldMeaning
select.candidatesEach candidate's name and either a stored run id or a project file (ending in .yaml or .yml, relative to the selection file) that oloproof select runs first, reusing cached work. Names must differ, and every candidate must run the same suite.
select.objective.metricThe metric ranked among the candidates that pass every rule.
select.objective.directionminimize or maximize.
select.alphaThe family level; by default one minus the policy's confidence level. It may only be smaller. Each candidate is decided at 1 - alpha/k.

Artifact kinds

An artifact is a typed record a system writes beside its output, such as what it retrieved. A kind is a lowercase name with an optional version, matching ^[a-z][a-z0-9_]*(/v[1-9][0-9]*)?$. Evaluators that need an artifact name it, and a run whose system does not declare a required kind is refused before it starts, rather than counting every case as missing.

KindWritten byRequired by
retrieval/v1current_case().retrieval(...), a @rag_system, or http.artifactshit_rate, recall, mrr, ndcg
context/v1current_case().context(...) or a @rag_systemcitation_validity, groundedness_judge, citation_support_judge
citations/v1current_case().citations(...) or a @rag_systemcitation_validity, citation_support_judge
agent_trajectory/v1current_case().agent_trajectory(...)every agent_* evaluator, and the agent_steps and agent_tool_calls sources
conversation/v1current_case().artifact(CONVERSATION, ...), or Oloproof for a system with a simulated_userConversationCompleted, ConversationJudge
simulated_user/v1Oloproof, for a system with a simulated_user: how the conversation ended, which simulated user and persona, and the tokens it spentnone; read beside conversation/v1
rl_episode/v1current_case().rl_episode(...)episode_return, episode_success, episode_cost_within
media/v1current_case().media(...)media_check, image_matches_reference, a rubric_judge with media; your own @evaluator with read_media
stage_timings/v1a @rag_systemnone; shown beside latency

A callable system declares the kinds it records in records: (or @system(records=...)); an HTTP system in http.artifacts; a staged RAG system records its own.

Versions, cache keys and invalidation

Oloproof reuses work whose inputs have not changed, and decides what "unchanged" means from content digests. Each is computed by the engine and recorded with the run.

RecordReused when these are identical
System versionname, version, config, the value of state_version when declared, and a code digest: a callable's module source, the project modules it imports (plus every file matched by code_paths) and the function's qualified name (each stage class's qualified name for a staged RAG system, and a declared environment's class), an HTTP system's url, method, output_path, artifacts and, when declared, stream and stream_path
Executionthe system version, the case's input and the replicate index, and the simulated user's version when the system has one. Only successful executions are reused.
Judgmentthe evaluator version (its type and every setting) and a digest of each field it reads, as listed in the evaluator table
Analysisthe analysis plan, the metric, the confidence level, the suite digest and every input it counted
Gateevery analysis, the policy digest, whether the run completed, and the effective status of each evaluator the decisions cite

What Oloproof cannot see is yours to declare:

  • An HTTP system's behaviour lives on the server. Change system.version whenever what is behind the URL changes, or an old cached output will stand for the new system.
  • A callable's own module and the project's Python modules it imports, transitively, are hashed; packages in a virtual environment or site-packages are not (change system.version when a dependency's behaviour matters). Imports are read from the source, not run, so a module imported by a name computed at run time, or a prompt or data file the system reads, is hashed only when code_paths matches it. Oloproof's own packages are never hashed, so upgrading Oloproof is not a new system version. A run that reuses answers names the project files changed since those answers were recorded (a manifest kept beside the store, outside every key), and compare says when both runs are one system version.
  • A method or a callable object must declare a version, and the version must change when the object's state changes.
  • A RAG index is identified by index_version; change it when the index is rebuilt.
  • A model judge's identity is its settings, not the provider's weights. A provider updating the model behind the same name is not detected by the cache.
  • A custom @evaluator hashes the module file that defines it, and its judgments are reused across runs only when it declares cacheable=True. Built-in rubric judges are cacheable; deterministic evaluators are recomputed, which is cheap.

Cached work lives in the project's local store, .oloproof/store.sqlite beside oloproof.yaml (or under OLOPROOF_HOME). Deleting the store discards every cache and every run. In a hosted workspace the engine does not reuse cached executions, judgments or analyses, because a push can write them; it recomputes.