Guides
Judges
An LLM judge is one kind of evaluator, not all of them. Oloproof has several kinds (deterministic, LLM judge, model, custom, and the retrieval, agent and predictive checks), and the rules on this page are about the second, because a model's verdict is the one that needs measuring against a human's.
Why a judge is measured
A deterministic check needs no agreement measurement: it is deterministic, and running it twice gives the same answer. A judge is a model, and a model's error rate is a fact about it that nobody knows until somebody measures it.
So a judge that has never been compared with human labels stays UNVALIDATED, and a policy may refuse to let an unvalidated judge decide a release.
Getting to VALIDATED
One command checks a judge on a run:
oloproof review latest --criterion answer_correct --by aliceIt says first how many cases must agree for the bar your release.yaml declares (minimum_evaluator_agreement), draws a blind random sample of that size, and asks one line per case: p or f, with a note after it if you like (f wrong date), s to skip, q to stop and keep what you labelled. Answers that already carry a blind label count and are not asked again, so a second check, or a check of a changed judge, asks for new answers. Then it measures the judge, marks it VALIDATED only if the low end of its agreement clears your bar, and decides the run again:
Your bar is 0.70 (release.yaml): it needs 19 of 20 cases where you and the judge agree.
...
It agreed with you on 19 of 20 cases: at least 75.1%.
That clears your 0.70 bar, so the judge is now VALIDATED.
The run decided again on release.yaml:With no bar declared it holds the judge to the engine's default bar, judge_floor@1 (agreement 0.70, bias 0.35), and says so; with judge_floor: none it measures the judge and validates nothing. The steps it runs are also commands of their own:
oloproof evaluators list
oloproof evaluators validate EVALUATOR_ID --by aliceoloproof evaluators list prints each stored version with its id and status; validate takes that id (or the criterion's name) and the name of whoever is standing behind the measurement.
VALIDATED requires a measured agreement against human labels.
Recording labels
A label is one person's verdict on what a system produced for one case of a run, for one criterion. The people who know the right answers rarely write Python, so a run's cases go out as a file anyone can fill in, a spreadsheet included, and come back as labels:
oloproof labels export latest --criterion answer_correct --sample 50 --out sample.csv
oloproof labels import sample.csv--sample 50 draws fifty cases at random, prints the seed it used and records the draw on the run, and leaves the judge's verdict out of the file: a person shown a verdict tends to agree with it. Fill in passed (pass or fail) and labelled_by on each row you judge; a row left blank is skipped. The whole file is checked before anything is stored, so one wrong row stores nothing and names the row.
The file leads with what a person reads and writes: scenario_id, input, expected, output, then passed, labelled_by and note. The columns after them tie each row to its run and sample; leave them as they are.
In a terminal, oloproof review asks case by case and stores each verdict as it is given:
oloproof review latest --criterion answer_correct --by alice --sample 20To settle particular cases rather than measure the judge, name them with --cases or take every case the judge failed with --failures. Those show the judge's verdict and are recorded as review labels, which never count toward agreement.
In a hosted workspace, an Owner or Admin can open a review queue from the project's Review page and assign reviewers. A queue that measures the judge has the workspace draw its cases and hides the judge's verdict; a queue of flagged cases shows it and records review labels. Reviewers label in the browser with Pass, Fail or Can't tell, or the keys P, F and C. Each verdict is recorded under the reviewer's own account, which is how the workspace counts independent labellers, and becomes a label the workspace verifies like one pushed from a terminal. Can't tell is recorded and makes no label. Giving a second verdict on a case keeps the first.
A workspace counts only verdicts it recorded itself toward its check of a sample it drew: labels in its review queue, and oloproof review --sample from a terminal, which sends each verdict to the workspace under your account as you give it. Labels imported from a file and pushed still count on your machine, but not in the workspace's check. When a project requires two or more labellers and they disagree on a case, the workspace decides nothing until an Owner or Admin who labelled none of that case resolves it, on the queue page or the run page.
A queue that measures the judge also has a Results page, linked from the queue and from the Review page, which the workspace computes from what it holds. It shows the share of the drawn cases people judged wrong, with its 95% interval by clopper_pearson_missing_bounded@1, the interval every binary metric uses, counting a drawn case nobody has labelled yet both ways; the cases the judge passed and a person failed, and the reverse, each linked to its case, beside the judge's agreement; and the execution cost of the drawn cases. The cost's mean has no interval, because the only admitted interval for a mean needs a declared range and nothing bounds a cost; its median has an order-statistic interval. The workspace drew the cases at random from the run's finished executions, so these numbers estimate that run's cases as they stood when it drew them and, when the run is itself a sample of production traffic, that traffic at the time of the draw. Nothing on the page is by slice. While you are still labelling a measurement queue over the same cases, the page leaves out the judge's side, its misses and its agreement, until you have given a verdict on every case, so your labels measure the judge rather than echo it. The page also shows each reviewer's median time per label, from when the queue first showed them a case to their first verdict on it: it describes that queue, with no interval, and only the workspace sees it.
A queue can also ask for a score on a scale you choose, or for a preference between two runs: reviewers see the two answers as A and B, in an order fixed for each reviewer and case that only the workspace can compute, and the page does not say which run is which. That stops a reviewer anchoring on the run they expect to win; it does not stop one who goes looking, since every member can open both runs. Scores and preferences are recorded, and each reviewer sees their own in the queue. Scores collected by a measurement queue feed a human_score metric (below); preferences collected by a measurement queue over a baseline feed a human_preference metric on a comparison (below).
People's pass rate as a metric
Where people give a pass or fail verdict, a human_rate metric decides on their verdicts alone, with no judge in the interval. It is the rule to start with whenever people label: on the same labels it gives a narrower interval than a judge corrected by people's labels (ppi_judge_rate@1) in every case Oloproof has measured, often half as wide.
# oloproof.yaml
metrics:
- id: correct_people
type: human_rate
criterion: correct# release.yaml
rules:
- id: people-pass-it
metric: correct_people
min: 0.75Only verdicts from a measurement queue on the run's random blind sample for that criterion count, and only the first draw for that run and criterion is read, whatever its state: while it is pending the rule reads INSUFFICIENT_EVIDENCE and says so, and a later draw never replaces it. Each reviewer's first verdict on a case counts. Reviewers who agree give the case their verdict; reviewers who disagree leave it unlabelled, unless the queue reads its majority or an Owner or Admin adjudicates it. A sampled case with no verdict counts as a fail for the lower bound and as a pass for the upper, so leaving the hard cases unlabelled never helps. The interval is human_rate_labels_exact@1, exact for any number of labels because the suite is finite and known: 36 passes in a sample of 40 from 200 cases give 78.0% to 96.5%. The claim is about this suite as these reviewers label it, not about other reviewers or cases outside the suite. A clustered or replicated suite reads MANUAL_REVIEW, and the metric turns early stopping off. The method, its grid and its audits are in docs/engine/HUMAN_RATE_METHOD.md.
People's scores as a metric
A judge's score tells you what the judge thinks. A human_score metric tells you what people think, for the whole suite, from the few cases they scored:
# oloproof.yaml
metrics:
- id: helpfulness_people
type: human_score
criterion: helpfulness
scale: [1, 5]# release.yaml
rules:
- id: people-find-it-helpful
metric: helpfulness_people
min: 4.0Only scores from a measurement queue on the run's random blind sample for that criterion count, on exactly the declared scale; each reviewer's first score on a case counts, and the case's value is their mean; where the workspace requires several labellers per case, a case scored by fewer counts as unscored. The sample is the score queue's first draw, at its own size. The interval is human_score_labels@1, which holds for any number of scored cases: a sampled case nobody scored counts at the bottom of the scale for the lower bound and at the top for the upper, so leaving the hard cases unscored never helps. With a handful of scores the interval is wide and the rule usually reads INSUFFICIENT_EVIDENCE; ten scores of 4 out of 5 give about 2.8 to 4.4. The claim is about this suite as these reviewers score it, not about other reviewers or cases outside the suite. The method, its grid and its audits are in docs/engine/HUMAN_LABEL_METHOD.md.
People's preference between two runs
A pairwise judge says which answer it prefers. A human_preference metric says which one people prefer, for the cases the baseline run finished, from a random sample people labelled:
# oloproof.yaml
metrics:
- id: people_prefer
type: human_preference
criterion: helpfulness# release.yaml
comparison_rules:
- id: people-prefer-the-candidate
metric: people_prefer
kind: superiorityOpen a measurement queue on the candidate run that asks for a preference and names the baseline run, or, on your machine, run oloproof review CANDIDATE --against BASELINE --criterion helpfulness --by you --prefer. The workspace draws the cases at random from those the baseline finished and, for each case, tosses a coin for which answer is shown first; it records the coin itself, so neither the reviewer nor the page chooses the order, and every reviewer of a case sees the same order. Each case's value is +1 when a reviewer preferred the candidate, -1 for the baseline and 0 for a tie, averaged over its reviewers; each reviewer's first verdict counts. A sampled case the candidate did not finish is not shown and counts as -1, so a candidate cannot drop the cases it would lose by failing on them. A sampled case nobody labelled counts at -1 for the lower bound and +1 for the upper. The difference is the net preference in points: +20 points means people preferred the candidate 20 points more often than the baseline. The interval is human_preference_net@1; a superiority rule passes when its lower bound is above zero, non-inferiority with margin: 0.1 when it is at or above -10 points.
The coin removes the direction of a position pull, not its size: if reviewers lean towards whichever answer comes first, a real preference reads smaller and is harder to show, never easier. oloproof compare prints how many labels preferred each run and how often the answer shown first won, which decides nothing. Only the first paired draw for the two runs and criterion counts, at its own size, and only while both runs still hold exactly the answers and judgments it drew; if either changed, the review page stops showing the case and the rule reads MANUAL_REVIEW. A run with several attempts per case also reads MANUAL_REVIEW: no method reads people's labels across attempts yet. A draw on your machine is good faith; only a workspace draw is checked. The view hides which run is in which slot, not the runs themselves: a member who opens both runs' pages can match the answers, so keeping reviewers blind to that is good faith. The claim is about these cases as these reviewers see them.
People's pass or fail on both runs
A human_difference metric asks the plainest question of all: by how much do people pass the candidate more often than the baseline? Reviewers see both answers to the same case, in the order the draw's coin set, and mark each one pass or fail:
# oloproof.yaml
metrics:
- id: people_pass_diff
type: human_difference
criterion: helpfulness# release.yaml
comparison_rules:
- id: people-no-worse
metric: people_pass_diff
kind: non_inferiority
margin: 0.05Open a measurement queue on the candidate run that asks for pass or fail and names the baseline run, or, on your machine, run oloproof review CANDIDATE --against BASELINE --criterion helpfulness --by you and answer pp, pf, fp or ff for the answers in the order shown. The claim is about the cases the baseline run finished, whatever the candidate did on them. Each case's value is people's pass on the candidate minus their pass on the baseline (+1, 0 or -1), averaged over its reviewers; each reviewer's first verdict counts. The difference is in points: +10 points means people passed the candidate on 10 more cases in 100 than the baseline. A sampled case the candidate did not finish counts as -1: that is part of what the metric measures, not a worst case, so a candidate that fails to answer reads lower; a sampled case nobody labelled counts at -1 for the lower bound and +1 for the upper. The interval is human_paired_difference@1; non-inferiority with margin: 0.05 passes when the lower bound is at or above -5 points, superiority when it is above zero. oloproof compare prints how many labels passed each run, which decides nothing. As for a preference, only the first paired pass/fail draw counts, a changed run or several attempts per case reads MANUAL_REVIEW, and no labels read INSUFFICIENT_EVIDENCE. This is the comparison measured by people rather than by the judge; scores on both runs are not read yet, only pass or fail.
Is the judge fair to both runs?
A comparison graded by a judge is only as fair as the judge. If the judge likes the candidate's style, longer answers say, it can pass the candidate more often than people would and make a change look better than it is. A judge_bias_bar on a comparison rule over a pass/fail criterion asks people to check that:
# release.yaml
comparison_rules:
- id: more-helpful
metric: helpfulness
kind: superiority
judge_bias_bar: 0.05It reads the same paired pass/fail labels as human_difference (open the queue, or run oloproof review CANDIDATE --against BASELINE --criterion helpfulness --by you). For each labelled case it compares the judge with people on each run: the judge's error on the candidate (its verdict minus people's) minus its error on the baseline. The average over the cases the baseline finished is how far the judge's difference between the runs exceeds people's, by judge_arm_bias_difference@1. When its interval sits inside plus or minus the bar (here 5 points), the rule's PASS or FAIL stands. Otherwise, including when nobody has labelled yet, a PASS or FAIL becomes MANUAL_REVIEW with the reason judge_arm_bias_not_shown, and a person decides. INSUFFICIENT_EVIDENCE is left as it is. A sampled case nobody labelled, one the candidate did not finish, or one without a pass or fail from the judge on either run counts at the worst value, so with few labels the check rarely clears. There is no default bar: you choose it. oloproof compare prints the interval and how often the judge agreed with people on each run, which decides nothing.
A rule kept this way says the judge treated both runs alike within the bar; it is not by itself a statement that people would reach the same verdict, which is what human_difference measures. The bar works only on a one-criterion pass rate on the whole suite, is refused elsewhere when the file is read, and turns early stopping off. If the runs changed under the draw, or have several attempts per case, the check is not read and a decided rule reads MANUAL_REVIEW.
If your project keeps inputs and outputs on your machines, the workspace has nothing to show reviewers, so run oloproof collect beside the project's store and give its address in the workspace settings. Each reviewer's browser then fetches the case from it directly, with a five-minute ticket the workspace signs for that reviewer and that case; the content never passes through the workspace. Use --certfile and --keyfile to serve HTTPS on your network; http://localhost works for one machine.
From Python, record_label records one:
from oloproof import record_label
record_label(
run_id="run_01M3C15NADYQ8S96WCPD8HHPGQ",
scenario_id="refund_00",
criterion="answer_correct",
passed=True,
labelled_by="alice",
)The run id is the one oloproof run printed. The label names the answer that run produced for the case, so it is compared only with the judge's verdict on that same answer, never with the verdict on a later run's answer to the same question. Refused rather than stored, because a label that matches nothing would be kept and never counted:
- a case the run does not hold;
- a criterion it did not judge;
- a case whose execution produced no output.
Measurement or review: a label is purpose="measurement" by default, which is what measures a judge. Pass purpose="review" for a case you picked because of what its answer or its verdict looked like, such as a failure you are settling. Review labels are kept and never counted toward agreement: a case chosen for how it looked is not a sample, and a reviewer shown the judge's verdict tends to agree with it.
Agreement counts one verdict per person per case. Re-running a labelling script, with or without a different note, does not narrow the interval below, and a person who changes their mind is counted by their latest verdict. Two people labelling one case are two labels, and both count, but the case is counted once: agreement becomes the average, over cases, of the share of labellers who agreed with the judge. Five people on one case add five opinions and one case of evidence.
Then oloproof evaluators validate measures agreement over every measurement label whose answer the judge judged, in any run.
Judge-corrected gates
When a judge-produced pass/fail metric has current-run measurement labels, Oloproof can report ppi_judge_rate@1: the judge-only interval, the human-only interval and the PPI interval shown side by side. The gate decides on the PPI interval, whose estimand is the human-defined pass rate.
Read the three side by side with care. The judge-only interval is the judge's own rate, which can be precise and still wrong. The human-only interval is what the labelled cases say on their own: they are a random sample, so their verdicts alone already bound the rate. It is often narrower than the PPI interval, as it was with every judge in the method's validation grid. PPI makes a judged rate valid for people's verdicts; it does not yet need fewer labels than the sample read alone.
oloproof gate prints them under the rule: first the corrected interval, marked as the one that decided, then your labels alone and the judge alone, which decide nothing, and a sentence on why the corrected range is wide. The judge alone is read at the level it is given inside the correction (98.75% under a 95% policy), so it is wider than the judge's interval in the run's own table. Labels correct only the run they were drawn on: a cached rerun of the same answers is decided on the judge alone, and says which run to gate to use them.
Only the random, seeded, blind measurement sample enters the correction. The labels must carry the exported sample's seed, requested size, blind flag and selected execution ids; hand-entered purpose="measurement" labels without that provenance still measure agreement, but they cannot decide a PPI gate. Only the run's first sample for the criterion counts, and only if Oloproof chose its seed. Each case's place in the draw depends only on its own answer and content, so exporting again, a cached rerun, or renaming, reordering or dropping other cases gives the same cases, and a larger sample adds cases to a smaller one. If the first sample you draw uses a --seed of your own, that run stays out of PPI; rerun it from the cache and draw again without --seed.
A sample drawn on your machine is marked local: it is good-faith, because its seed is known before anyone labels, so someone reading the outputs first could arrange the suite to make it favourable. For a PPI gate other people rely on, push the run and let the workspace draw the sample: once you are logged in (oloproof login) and the run is pushed, oloproof labels export --sample and oloproof review --sample ask the workspace to draw, wait for its cases and mark the sample workspace. The workspace checks the result from the verdicts it receives: those given in its review queue and those oloproof review --sample sends. A file filled in from labels export --sample and imported is a local round trip, and counts on your machine only. The workspace never tells you the order it drew in, only the cases. From the moment it draws, the suite and the judge are frozen for verification: you may add cases, but a run that removes, edits, reorders or re-judges any case the workspace drew over, or adds, renames or changes any judge, is not verified. Settle your suite and your judges before you draw. Which cases a suite contains is still your choice, as it is for every metric. The workspace can check a case's reference answer only on a push that carries its content; what a push carries is set by oloproof.yaml on the machine that pushes, so wherever the content is withheld the reference answers people label against rest on what was pushed. Running the suite on a registered runner binds the reference answers to what the runner scored against, and a pinned evaluation fixes them for every verified run: see "Verified evidence" in the gating guide. oloproof push sends your labels with the run as local evidence; the workspace does not count them toward its check. A verdict oloproof review --sample could not send is kept and sent again by the next oloproof review or oloproof push. Drawing a workspace sample needs a key that can write runs, so Reviewers label in the review queue. Pass --local to draw on your machine anyway.
A later draw, or a --seed you chose, could have been picked after reading the outputs, so its labels measure the judge without entering PPI. Draw the sample once the run has finished. Review labels are still stored for case review, but they are excluded from the PPI rectifier and shown as excluded beside the interval. Each case counts its first recorded measurement verdict only: a re-check or a second opinion recorded later is kept and measures agreement, but it does not change the PPI interval, because people re-check the cases that failed. That only works if the first verdict recorded is your first look. Don't revise verdicts in the file before importing it; oloproof review --sample records each verdict as you give it, and is the safer way to label a measurement sample. A file with two measurement verdicts for one case is refused: import a second opinion as its own file.
The agreement bar
A policy can declare the agreement a judge must clear before it may gate a release.
minimum_evaluator_agreement: 0.90
require_validated_evaluators: trueThe comparison uses the lower bound of the measured agreement, not the estimate: the same rule the product applies to everything else it decides on. A judge measured at 92% agreement on thirty labelled cases has an interval wide enough that its lower bound may sit under a 90% bar, and in that case it does not gate.
Agreement is a binary rate over the labelled cases a run judged, so it takes a Clopper-Pearson interval and bounds uncomparable labels by worst-case substitution.
That fixes how many labels a bar needs before you label anything. oloproof init and oloproof plan print it from the same intervals, solving the agreement and bias bars together: a 0.70 bar with a 0.35 bias bar needs 19 of 20 labels agreeing, and no fewer than 13 labels can clear both, all agreeing (11 clear the agreement bar alone). A 0.90 bar cannot be cleared by 20 labels at all.
A policy that declares neither bar is not left with none. Wherever require_validated_evaluators is true, the engine holds a judge to its default bar, judge_floor@1: agreement 0.70 and bias 0.35, each applied to the bar the policy leaves unset. A policy declaring only minimum_evaluator_agreement: 0.80 keeps its own 0.80 and takes the default bias bar 0.35, so a judge that clears 0.80 on 11 labels waits for 13. The default is a floor that keeps out judges nobody measured, not a recommendation: choose a bar fitted to the decision. Messages say "the engine's default bar" where it decided, and a gate's JSON carries judge_bars with each bar's value and source (declared or engine_default). To check no bar, write judge_floor: none; an agreement bar of 0 is refused. The bias bar counts each case once with the people's share of passes, so a case your labellers split on widens its interval: the default reads people's disagreement as uncertainty about the judge. Rules decided by prediction powered inference are not held to it, since they correct the judge's bias with the labels.
The bar is checked twice: when oloproof evaluators validate promotes the judge, against the policy you give it (the engine's default with no policy at all), and every time a rule is decided, against the policy deciding it. A judge you validated under no bar, or a lower one, does not gate under a stricter policy: its rules report INSUFFICIENT_EVIDENCE with evaluator_below_policy_bar, and the gate prints what to do. Record more labels if the interval straddles the bar, or replace the judge if it sits below.
A policy can also bound the judge's bias:
maximum_evaluator_bias: 0.03Then the whole interval of the judge's pass rate minus the people's must lie within three points either way. A judge whose errors all run one way can clear an agreement bar and still pass more than people do, and every pass rate it measures is off by that much. If the interval straddles the margin, the judge is refused as unmeasured rather than as biased: record more labels. The bias bar is checked at both moments too, with the same reason.
The bias bar is also how far a judged PASS reaches. A rule on a judge's verdicts decides the judge's pass rate, and people's rate differs from it by up to the bias bar, so a PASS at a minimum of 0.80 under the default bar of 0.35 says people's rate is at least about 0.45. oloproof run and oloproof gate print that line under every threshold rule a judge passed. When your claim is about people, set maximum_evaluator_bias to the gap you can accept, or decide on people's labels with a human_rate metric, which bounds their rate directly and more tightly than combining the judge's rate with its bias ever did in our measurements.
Cohen's kappa is reported beside it as a point estimate with no interval, because the usual interval for it is a normal approximation and unvalidated methods are not admitted. Kappa is absent rather than zero when a marginal is degenerate. Absent is not zero: a kappa of zero says the judge agreed no better than chance, which is a measurement.
What else validate reports
Agreement alone can hide which way a judge is wrong. A judge that agrees with people 95% of the time, and whose every error is passing something they failed, runs several points above them on every pass rate it measures. So validate and evaluators list also print:
- bias: the judge's pass rate minus the people's, in points, with an interval;
- passes what people pass, and fails what people fail: which way it errs, when each case has one label;
- people agree with each other: how often two people labelling the same case agreed, where two or more did. If people disagree with each other, the rubric needs work before any judge does.
Checking a judge from counts you already have
If another tool already compared a judge with people's labels, oloproof scores judge reads the four counts, or a CSV of the judge's verdict and the person's label per case, and measures them as validate would, with nothing stored and no project needed:
oloproof scores judge --counts tp=13,fn=1,fp=0,tn=21 --bar 0.90 --bias-bar 0.10These are Langfuse's own example numbers, a judge it recommends shipping against a 0.90 bar. Its agreement, 34 of 35, has a low end of 85.1%, so it does not clear the bar; the hit rates' exact low ends are 66.1% (13 of 14) and 83.9% (21 of 21). Only the agreement and the bias are read against bars, the two a policy declares; the hit rates are shown as information, because three rates against one bar would be three tests with no multiplicity correction. The answer says "clears your bar" or "does not clear your bar yet", as good faith: Oloproof did not draw the labels, so it never validates a judge from them, and it ends with the review and validate commands that do. A second opinion shows the whole answer.
Trying a judge before adopting it
A judge's rubric takes a few attempts. Write the draft as it would appear under evaluators: in oloproof.yaml, in a file of its own, and try it against the answers people have already labelled:
oloproof evaluators try draft.yamlIt prints the draft's agreement, bias and hit rates as validate would, and validates nothing. The system is not run again, and the draft's judgments are cached, so trying the same draft twice costs nothing and a draft you adopt finds its judgments already made.
Probing a judge without labels
Some ways a judge goes wrong need no person to find. Ask it the same question twice, and a verdict that changes is noise. Show it the same answer with a paragraph of neutral filler appended, and a verdict that changes read length rather than content:
oloproof evaluators probe latest --criterion answer_correct --probe repeat
oloproof evaluators probe latest --criterion answer_correct --probe padding --field answerEach prints how often the verdict moved, with an interval, and padding says which way. Both are recorded beside the agreement and shown on the evaluator page. They change nothing a run stored, probing again is free, and nothing gates on them yet.
On a hosted workspace, an Owner or Admin can run the same probes from the browser: Run probe on the evaluator's page queues a managed job that asks the judge again with the workspace's stored provider key, under the project's budget (or one judge call per case when it declares none), the plan's time limit, and Cancel on the Jobs page. It probes a run a managed job produced, since that job's configuration is what built the judge; a run pushed from your machine is probed from the CLI. The result lands in the same place, in the same words. Each probed case counts as one managed case on your plan, like a case a managed run evaluates, but only for a judge offered to the cache; an uncacheable judge's calls are counted and not charged, as in a run.
When the judge's model changes
A judge configured as gpt-4o is answered by whatever the provider currently serves under that name. Each verdict records the model that actually answered, and a validation records the ones it was measured on. If a later run is answered by a different model, that judge's rules report evaluator_recalibration_required instead of deciding: label a sample of the new run and validate again. A pinned, dated model name avoids the surprise.
The bar is on from the first run
oloproof init scaffolds require_validated_evaluators: true, the engine's default. The scaffold's own evaluator is deterministic and needs no measuring, so its first run passes. Swap it for a judge and that judge's rules return INSUFFICIENT_EVIDENCE with evaluator_not_validated until it has been measured, and the run prints the command that gets there: oloproof review latest --criterion NAME --by YOU, which labels a blind sample, measures the judge and validates it once it clears the bar. A custom or model evaluator is held to the same bar, a custom one even when its function is deterministic. A check that only reads a nested field needs no custom evaluator: exact_match, contains and regex take a path such as field: choices.0.message.content, and need no measuring.
Setting it to false lets an unmeasured judge decide. Do that knowingly: a release decided by a judge nobody has measured is a decision whose error rate nobody can state.
Judges on other endpoints
A judge on an endpoint that is not OpenAI's takes base_url: and api_key_env:. The key is read from the environment at call time and is never written to a stored record, a bundle, an export or a log.
A model served on this machine needs no key. Ollama, LM Studio and llama.cpp serve the OpenAI API on a loopback address, and a judge pointed at one runs with no credential, no external network and no account:
evaluators:
- type: rubric_judge
criterion: answer_correct
provider: openai_compatible
model: llama3.1
base_url: http://localhost:11434/v1
rubric_text: "PASS if the answer conveys the same fact as the reference."Only localhost and loopback addresses count as this machine. Any other endpoint, including one on your network, still needs its key, and a missing key fails before any request is sent. A key that is set is sent to a local server too, for servers such as vLLM that can require one.
Ollama and llama.cpp answer one request at a time by default, and Oloproof sends judge calls 4 at a time and system calls 8 at a time. The rest wait in the server's queue, and on a slow model they wait past the time limit. Lower both when the judge, or the system you evaluate, runs on such a server:
concurrency: {system: 2, judge: 2}A run that loses calls to timeouts says so under its metrics, with this setting named.
Model evaluators
An LLM judge writes its verdict. A model evaluator scores text with a trained model and never writes anything: a classifier over one text, such as a toxicity model, or a cross-encoder over a pair, such as a natural-language inference model asked whether the answer follows from the reference. It is faster, cheaper and steadier than an LLM judge, and it runs on a laptop.
model_classifier speaks the protocol of Hugging Face Text Embeddings Inference. The verdict is one label's score against one threshold: min_score passes at or above it, max_score passes below it.
evaluators:
- type: model_classifier
criterion: answer_entailed
model: cross-encoder/nli-deberta-v3-base
base_url: http://localhost:8080
label: entailment
min_score: 0.5
text: output.answer
premise: expected.answertext: and premise: are paths starting at input, expected or output. With a premise: the model is asked about the pair, premise first. A case whose reference lacks the premise is not applicable; an answer whose text field is missing fails the case. Every label's score is kept on the judgment, so a verdict can be read at another threshold without asking again.
A model evaluator is held to what an LLM judge is held to. It is its own kind, so it must be validated against human labels before it may gate a release. Its version names its model: before its first case it asks the server which model it serves and refuses a different one, so swapping the model behind an address cannot borrow the old version's validation. Its verdicts are cached, and the judge probes run on it unchanged. On this machine it needs no key; any other address needs api_key_env:, sent as a bearer token.
Probability judges
A rubric judge writes a verdict and Oloproof reads the text. A probability judge asks a typed question, lets the model produce exactly one token, and reads the probability the model gave each possible answer. There is no text to parse and nothing is sampled, so a call is a single forward pass: on a laptop with a local model, a tenth of a second once the model is loaded.
Three forms of question, each with the answers that pass and one threshold on them:
evaluators:
- type: probability_judge
criterion: answer_supported
provider: openai_compatible
model: qwen2.5:3b
base_url: http://localhost:11434/v1
form: yes_no
question: Is every claim in the output supported by the expected answer?
min_probability: 0.8
- type: probability_judge
criterion: routed_well
provider: openai_compatible
model: qwen2.5:3b
base_url: http://localhost:11434/v1
form: choice
question: Which team should the output send the customer to?
options:
billing: Payments, invoices, refunds
technical: Bugs, outages, integrations
sales: null
pass_options: [billing]
min_probability: 0.7
- type: probability_judge
criterion: helpful
provider: openai_compatible
model: qwen2.5:3b
base_url: http://localhost:11434/v1
form: score
question: How helpful is the output to the person who asked?
levels: # lowest first
poor: null
adequate: Answers the question
excellent: Answers it and anticipates the next one
pass_at_least: adequate
min_probability: 0.75A case passes when the probability on the passing answers (yes, the pass_options, or every level from pass_at_least up) is at least min_probability. Options and levels are shown to the model as letters A to T, so there are at most twenty.
Every answer's probability is kept on the judgment, with the most probable answer, the *coverage* (how much of the model's probability landed on an answer at all) and a *confidence* from 0, spread evenly, to 1, all on one answer. When the coverage is under one half, the model did not answer the question, and the case records an error rather than a verdict.
It needs a server that reports token probabilities: Ollama, llama.cpp, vLLM, LM Studio and OpenAI do; a server that does not is refused, and so is provider: anthropic, whose API reports none. It is never quietly switched to reading text.
A general model's probabilities are not calibrated (90% from a small model does not mean right nine times in ten), so the confidence is description, not evidence. The judge is an LLM judge in every other respect: it must be validated against human labels before it may gate, its verdicts are cached, and the probes run on it.
Calibrating a probability judge
Once people have labelled a random sample of cases the judge stated a probability for (at least forty, and more is better), ask how far its probabilities are from theirs:
oloproof evaluators calibrate EVALUATOR_IDIt reports, with intervals:
- the Brier score: the mean squared gap between the stated probability and the share of people who passed the case (0 is perfect);
- stated minus people: the mean gap with its sign: positive means the judge passes more readily than people do;
- a reliability table in five fixed bins of stated probability, beside how often people passed those cases. It is descriptive: nothing decides on it.
Then it fits a two-parameter correction (Platt scaling) on half the labelled cases and checks it on the other half, reporting the held-out Brier score before and after and the difference with its interval. The halves are fixed by each case's identity, so running it again gives the same split. With a few dozen labels a mild correction is usually not shown to help: the interval says so rather than overstating it.
Nothing is validated. The command records the result on the evaluator's registry entry and prints the lines that declare the correction:
calibration:
slope: 0.61
intercept: -0.18
from_version: sha256:…Added to the judge's entry, the correction makes a new evaluator version: it judges again, applies min_probability to the corrected probability, and keeps the uncorrected one beside it. Validate the new version as any judge; its agreement leaves out the cases the correction was fitted on, because those labels chose its threshold. A correction moves the threshold and never the order of cases, so it makes the stated number mean what it says; it does not make the judge more accurate.
Cascading to a stronger judge
A cascade asks a probability judge first and a second judge only about the cases the first is unsure of. Most cases cost one fast call; the uncertain ones get the careful look.
evaluators:
- type: cascade
criterion: answer_supported
escalate_between: [0.2, 0.8]
first:
type: probability_judge
provider: openai_compatible
model: qwen2.5:3b
base_url: http://localhost:11434/v1
form: yes_no
question: Is every claim in the output supported by the expected answer?
min_probability: 0.5
then:
type: rubric_judge
provider: openai
model: gpt-4.1
rubric_text: PASS if every claim in the output is supported by the expected answer.A case whose first-stage probability is inside escalate_between, ends included, goes to the second stage, whose verdict and rationale are the cascade's. Outside the band the first stage's verdict stands. The band must contain the first stage's min_probability, so the second stage only ever settles what the first was unsure of and never overrules a confident verdict. The stages take the cascade's criterion; a calibration declared on the first stage applies before the band is read.
The cascade is one evaluator and is validated as one: its agreement with people is the agreement of what actually decides. The stages' own statuses do not matter to a gate. Each judgment records its route, both stages' outcomes and what they used together, and oloproof evaluators validate adds how many cases were escalated and the agreement on each route. Those two are description: the escalated cases are the harder ones by construction, so agreement on them is not the second stage's accuracy.
Choose the band before looking at the labels, from what you are willing to pay: a band tuned on the labels and then validated on the same labels looks better than it is. A first-stage error is an error, never an escalation.
Which work goes out without review
A review rule is a cut-off on a judge's score: work scoring at or past it goes out without a person looking at it, and everything else goes to review. The workspace sets the cut-off from a random sample that people labelled, so that, with probability at least 1 - delta over that sample, at most alpha of the work it lets through is work a person would fail. The method is selective_risk_fixed_sequence@1: an exact test at each candidate cut-off, strictest first, stopping at the first one that does not pass. Declare the rule in the release policy:
review_rule:
criterion: helpful
judge: sha256:... # the judge's version id, from `oloproof evaluators list`
score: passing_probability # a probability judge's stated probability
direction: higher_passes
alpha: 0.05
delta: 0.10
traffic_shares: [0.25, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]Everything the guarantee depends on is in the policy, so it is fixed when an Owner or Admin pins the policy in Settings. The workspace then calibrates the rule only on a sample it draws after the pin, from verdicts it recorded itself in a measurement queue: a case counts as failed if any reviewer failed it, and a case nobody has labelled yet counts as failed. traffic_shares sets the candidate cut-offs from the scores of the run's items that the sample did not take. The first share must expect at least the fewest accepted cases a cut-off can pass on (45 at alpha 0.05 and delta 0.10), so start at 25% for a sample of 500. Each sample is calibrated once, and the latest is in force even when it found no cut-off.
A sample is refused when any of its cases already carried a label the workspace holds when it was drawn, on any criterion: a label read before the cut-off was fixed could have shaped it. A larger sample on the same run takes the earlier sample's cases first, so calibrate on a fresh run or fresh traffic that nobody has labelled. Labels kept on a machine and never sent to the workspace cannot be seen, so they cannot be refused: keep them out of a run you will calibrate on. Each criterion and judge has a budget of calibrations (max_calibrations, 3 by default) sharing the one delta, so drawing sample after sample until one passes is charged against it: the page and the CLI state the rule in force at 1 - the delta spent so far.
The project's Review rule page, linked from the Review page, shows the rule in force with when and on what it was calibrated, every calibration, and, for each run the judge scored, which items go out without review (release action ALLOW) and which go to review (BLOCK). That is a release action, not a verdict: no decision state changes. A change of judge or of system version sends every item back to review until a fresh sample is calibrated, and the rule says nothing about traffic that has drifted away from its sample; scheduled re-checks are not built yet. While you are still labelling a sample, the judge's verdicts on its cases are hidden from you on the run, case, failures, diagnosis, routes and results pages, so your labels measure the judge. Download the rule as JSON and run oloproof review-rule route RULE.json latest to route a run on your own machine; sending the work where it should go is up to your systems.
Where to go next
- Writing a suite lists the three judge types and the fields each takes.
- Gating CI covers require_validated_evaluators in the release policy.