Skip to content
Poisson Labs Docs
GitHub poissonlabs.ai

Prove

Changelog

All notable changes to Poisson Prove are written here. The format follows Keep a Changelog, and the project uses semantic versioning.

  • With --json, stdout is the one JSON document whatever the target writes (#28). Before, a target that printed put its text in stdout beside the document and the sweep still exited 0, so a caller got success and a document it could not parse. Now everything the target writes to stdout goes to stderr instead, once, as it is written: a print in the rollout or at import, a write to sys.stdout.buffer, os.write(1, ...), the C library, a program the target starts, an atexit hook, and all of these under --episode-timeout. The same holds for ui --open --json, whose browser inherits stdout, and for what the Modal client or a Burla sweep’s own process writes. The document, the exit codes and everything without --json are as they were.
  • What that means for a caller of sweep --json: read both streams, because a caller that pipes stdout and stderr and reads only stdout can hang on a target that prints a lot (200 kB a rollout is enough; subprocess.run(capture_output=True) reads both); look for the line that starts error: , not stderr’s first line, which can be the target’s text; and with stderr a terminal the target sees sys.stdout.isatty() true, so a framework may draw there.
  • A target that calls sys.exit, at import or in a rollout, no longer ends sweep --json with exit 0 and an empty stdout: the sweep exits 3 with one error: line. Without --json it ends the process as before.
  • A target that closes its stdout no longer costs sweep --json its document.
  • main() called in the caller’s own process with --json and no stdout= leaves file descriptor 1 pointing at stderr for the rest of that process, so a host script that prints afterwards prints to stderr; Prove’s own output from later calls still goes to the process’s real stdout. A caller that passes stdout= or uses contextlib.redirect_stdout is untouched.
  • Under --episode-timeout, text a rollout printed and had not yet flushed is no longer lost when the episode’s process is ended. This holds without --json too, where it was lost in some runs.
  • On Burla, a rollout that writes to stdout through the file descriptor (a flushed print, os.write, a child process, or any print under --episode-timeout) no longer fails the sweep with an UnpicklingError, with or without --json. What a rollout writes stays with the worker.
  • The dashboard no longer cuts a chart off at its panel’s edge (#31). On the comparison page the heatmaps’ last column was cut at 1,280, 1,440 and 1,920 wide, and on a phone the differences and limits charts and the charts on a condition’s page were cut too. A chart now leaves room for its own padding inside its panel; a chart in a panel wider than the chart is drawn as before.
  • diff reads in plain words by default: the verdict block, then one table of the conditions in the order of their axis values, each with its change and the smallest rise and fall it could have detected, and what the comparison left out, in words. The machine sections (the per-event tables by hash, the coverage table, the omnibus, the fault lines and the bound) moved behind --full, which prints what diff printed before. A tool that read them from the text passes --full or reads --json, which did not change.
  • Saved comparison ids change at this minor: an id hashes the tool’s major and minor version, so the same comparison saved again under 0.2.0 gets a new id. Comparisons saved by 0.1.x stay readable.
  • inspect prints identical errors as one traceback with a count of the episodes that have it, each listed episode on a line of its own under it; an error none of the listed episodes has is counted in one line. --json is unchanged.
  • The dashboard’s comparison page shows its heatmaps on the first screen, between the verdict’s detail lines and what the verdict rests on; the differences and limits charts stay after the conditions.
  • The limits line of diff, check, report, the dashboard and the terminal app counts the rows with no limit by direction, so a row with no limit on its fall is not said to have none on its rise; “no change of any size” is said only of a row with no limit either way.
  • The look file gains the banner section the Poisson Labs tools share, and its static UI’s type rule lets labels (table headers, detail labels, captions) take the system’s sans.
  • When every rollout of a sweep errored, the sweep’s next: line suggests inspect with --limit 3, so the first look shows three of the failing episodes rather than every one.
  • diff, report and check of a run in which every episode errored name that run in plain words and suggest inspect of its commonest error with --limit 3, one line per such run, in place of an error about the event set. report writes nothing for it.
  • report ends with a next: line, poisson-prove ui, on the store that was typed, so the chain of next: lines has no dead end; --json carries the same command.
  • runs, the dashboard and the terminal app show a complete run in which every episode errored as stopped, as the sweep did. Its manifest and runs --json keep complete, with rows and no_outcome carrying the fact; a partial run stays partial. The app’s comparison screen takes complete runs, so it no longer offers such a run.
  • Before a release, and on every pull request, CI runs Poisson Tasks’ own Prove check against Prove built from the tree: the check from Tasks’ latest release, unedited, on a wheel built under a version the package index cannot hold, so the check cannot quietly test the release already out. A red check stops the release.
  • prove ui prints its address as soon as the viewer is listening. It no longer waits on a reverse lookup of its own host name, which took 35 seconds on some machines, among them GitHub’s hosted macOS runners.

Prove’s Burla backend now runs on Burla 1.8.4, the first Burla client with private mode, in which a cluster in your own cloud account never contacts Burla’s servers.

  • The [burla] extra pins exactly Burla 1.8.4, in place of 1.8.2. The backend is still experimental.
  • The plan’s Traffic line says that code, inputs and results go through Burla’s relay unless the cluster’s head runs in private mode (BURLA_PRIVATE=True), and directly between your machine and the nodes when it does. Burla 1.8.4 no longer has the DISABLE_BURLA_RELAY switch the line used to name.
  • When no node is running, the error also says how to start a cluster in private mode: through the coordinator’s localhost API, POST /v1/settings, then POST /v1/management/cluster/start.
  • Prove neither sets nor checks private mode. Its Burla client is private when the environment Prove runs in sets BURLA_PRIVATE=True.

The first public release. Prove tells you whether a change to an AI agent really changed how often it fails. It replays the same cases before and after the change, on the same seeds, compares the two runs condition by condition, and gives a verdict with stated error bounds and detection limits. Python 3.11 to 3.14, on macOS and Linux.

  • poisson-prove init writes prove.toml, a sweep spec to edit; init --example writes the keyless example; init --agent writes a skill and a prompt for your own coding agent, which sets Prove up in your repository for you to review. Prove itself makes no model call.
  • poisson-prove sweep prints the plan, its cost and the smallest change one condition alone would be flagged for, refuses a design too small for the change you accept and names the replicates that would do, then runs the sweep on this machine, on Modal or on Burla. A stopped sweep resumes where it stopped, and --pair-with gives a sweep an earlier run’s seeds.
  • poisson-prove diff compares two stored runs condition by condition, per outcome, and names the method it used.
  • poisson-prove report writes report.md, heatmap.svg and receipt.html for two runs, or one, and saves the comparison.
  • poisson-prove paired checks that a declaration’s arms replayed the same requests, then writes its files.
  • poisson-prove check gates on a comparison: passed exits 0, failed exits 4.
  • poisson-prove serve serves a read-only page comparing two runs on a loopback port, and saves the comparison.
  • poisson-prove inspect prints the episodes behind an outcome, with a snippet to reproduce one.
  • poisson-prove runs lists the runs in the store, by name and id.
  • poisson-prove ui builds the dashboard: static pages over the store, opened from disk.
  • poisson-prove with no verb, on a terminal, opens the terminal app over the store.
  • The verdict is one word for the whole comparison: safer, worse, trade (some conditions safer and at least one worse), no significant change (no change counted, and every condition could have caught one of the size you accepted) or too small to tell (no change counted, and at least one condition could not have).
  • A condition’s flag is held to a false discovery rate (Benjamini-Hochberg); the verdict counts only the changes that also hold at the family-wise level (Holm).
  • Every condition that did not move says how large a change it would have caught 4 times in 5, computed for the test the comparison used, or that it could not have caught one at all.
  • Runs paired at sweep time share their seeds and are compared with the paired test (McNemar) by default; every output names the method it used.
  • Every episode is stored in Parquet with its seed, outcome, time and trace. Runs go by readable names, and latest and previous stand for the two newest.
  • Runs and saved comparisons are written in a documented artifact format, which the dashboard and the terminal app read.
  • The layered report: one omnibus test over every condition, the fault lines that group them, and the conditions under each.
  • Fault injection through a [chaos] table, and capture of an agent’s trace through OpenTelemetry.
  • A Modal or Burla worker runs the rollout’s BLAS on one thread unless its environment sets a thread count; threadpoolctl is a core requirement for this.
  • The Python API (poisson_prove) gives the same comparisons the command line prints.
  • The packaged example needs no key: a mock agent and a patched version of it, swept on the same seeds, whose comparison reads trade.
  • pip install poisson-prove. The extras are [modal] (Modal 1.0.0 or later), [burla] (exactly Burla 1.8.2; the backend is experimental), [agent] (OpenTelemetry capture and the OpenAI client), and [all].
  • Prove sends nothing anywhere beyond the backend you choose: no telemetry, no analytics, no update check. serve binds to 127.0.0.1 only.
  • This is the first public release. Earlier private builds were called poisson-prove; stores they wrote are read unchanged.