ProbeAgent

Reference

Glossary

Every term this documentation uses in a specific sense. Where a word has a loose everyday meaning and a narrow meaning here, the narrow one is what the code implements — record and mode in particular are not interchangeable, and most confusion about what ProbeAgent reports comes from treating them as if they were.

The unit#

seed
A real benchmark task, used as the starting point for variation. Seeds are not written for ProbeAgent; they are drawn from existing suites and must survive three gates before they qualify. See Benchmarks.
probe environment
One generated task: a container, an instruction, a checker that decides pass/fail by executing code, and a reference solution. This is the unit everything else is defined over. Often shortened to environment.
oracle
The reference solution shipped with an environment. It exists to prove the task is solvable: an environment whose oracle does not score 1.0 is not admitted, so "the agent failed" can never mean "the task was impossible".
null / nop
The do-nothing agent. It exists to prove the checker can fail someone: a checker that pays the null agent is measuring nothing, and no pass rate computed from it would reveal that.
target
The agent being diagnosed. A target is a pair of a scaffold (the harness that issues actions and observes results) and a backbone (the model). Both vary independently, and a finding has to name both.
rollout
One run of the target inside one environment. The count per environment is k; a campaign and a replay may use different k.

What comes out#

record
One explained failure: a summary, the causal step, the trigger, the stage, a corrective action, an open-vocabulary label, and the provenance of the run it came from. A record is an observation, not a finding.
trigger
The structural condition a failure depends on — the property another task must share for that failure to be possible. It is what a sibling holds fixed.
sibling
A variant environment that keeps one failure's trigger and changes everything else: domain, data, tool surface, naming, artifact format. If the failure reproduces in siblings it is a property of the agent; if it reproduces in none it was a property of that one task.
mode
A group of records stated as one falsifiable sentence, together with the records it covers and a boundary of the nearest records it deliberately excludes. Induction produces modes; it does not verify them. A mode carries a verdict only after siblings have been built for it, and a mode that has not been through that is a candidate — see the lifecycle below. A mode with no excluded neighbour describes everything and therefore nothing. This is the thing ProbeAgent exists to produce.
boundary
The nearest non-member records of a mode. They are chosen as the hardest available counterexamples rather than convenient ones, so a sentence that survives has survived something.
verdict

What sibling verification concluded about one failure. The table below is the definition; it is implemented once, in probeagent.core.verdicts, and every other page links here rather than restating it.

reproduced ρ of m tested verdict
m<3 unverified
ρ=0,m≥3 task-specific
0<ρ/m<2/3 weak
ρ/m≥2/3 agent-behaviour

unverified is a verdict, not a zero: it means too little was tried, and reporting it as 0/3 would claim evidence that does not exist.

task-specific is operational too: the failure reproduced in none of the tested variations. How much that says depends on how different the siblings were and on m; it is not a proof that the environment caused the failure.

The counts are written onto the records of the failure that was tested (sibling_tested, sibling_reproduced; sibling_source says whether the campaign wrote them or a rebuild from its log did; both are keyed by the environment the tested failure came from). A mode's verdict pools the distinct tests of its members: summed counts, same thresholds, since each sibling is one trial of the mode's claim. A mode with no tested member has no verdict at all — none ran — which is not unverified.

The lifecycle of a finding#

Four states, in order. Pages that say "mode" without qualification mean the third; "confirmed" always means the fourth.

record
One explained failure from one rollout. An observation.
candidate mode
What induction produces: a group of records with a sentence. No sibling has been built for it, so nothing is known about whether it generalises.
verified mode
A candidate that has been through sibling verification and carries one of the four verdicts above.
confirmed mode
A verified mode whose verdict is agent-behaviour. This is the only state the project treats as a finding about the agent.

Running it#

campaign
One full search run: build, measure, explain, verify, repeat. A campaign is adaptive — it chooses its own environments and its own budgets, which is right for discovery and disqualifying for comparison.
replay
The controlled counterpart to a campaign. One pool of environments is fixed once and every agent meets exactly that pool, so the resulting rates are comparable. See CLI reference.
induction
The offline stage that consolidates a record store into modes. It runs over the whole store after the fact, so an old corpus can be regrouped without re-running anything.
density margin
The parameter that decides how coarse a diagnosis is, written μ. It is a dial rather than a constant: turning it down merges modes, turning it up splits them, and the range in which it produces meaningful output is measured rather than asserted.
hold-out
A slice of records withheld from the entire induction pipeline and then classified using only the sentences it produced. It is how "these modes generalise" becomes a measurement instead of a claim.
ProbeAgent — principled diagnosis of agent failures Source