Skip to content

Changelog

This page lists what each release of pairbench added and changed, newest first.

A lenient mode of the text reader, the pool checks on their own, and text codes that stay stable.

  • Lenient text reader: pairbench compare --lenient, and pairbench.load_capture(path, reader="text", strict=False) and load_captures from Python, read a value that is not a finite number as a missing cell instead of a malformed row. The new note value_not_finite, one per missing cell, names the side, the round and the case; the capture’s records and the results carry it, the analysis goes on and the round counts in n_unpaired. A round that gives a side two positions is read with its order not recorded, with the new note order_contradicted, so the cases that use it get NO VERDICT (order_not_recorded). The strict mode stays the default and reads as in 0.1.1. See lenient reading.
  • Pool checks on their own: pairbench.check_pool(captures) runs the checks that pooling captures in one analysis makes, with the same code as analyse, and returns every refusal they find instead of raising the first. See checking a pool.
  • Stable text codes: the exit-codes page gives the scope of every text code and says when a code may be added, renamed or removed. The set of text codes is that of 0.1.1.

A fix to what a results file shows of a command.

  • Shown command: a local address (file: and scheme:/// forms) and a climbing relative path (../, ./../, data/../../) in the query or the fragment of an address are cut as they are after a host, whatever stands before them, so their folders and the hosts and credentials around them are hidden in the shown command, in sh -c texts and in --opt= values. A path that ends at a home folder after a = shows <hidden>. The security policy lists what still shows.
  • Case ids are read as in 0.1.0. The names of hyperfine cases come from their commands, so a command with such a path can name its case differently in 0.1.1: pooling a capture of 0.1.0 with one of 0.1.1 is then refused with E_POOL_CASES, and a cases.groups pattern written for the 0.1.0 name may miss the 0.1.1 name.
  • Publishing: the release is built again from its tag before the upload, which goes ahead only when the attached files are the files that build makes.

The first release.

  • Comparing sides: container images, commands, Python interpreters, virtual environments, conda environments, inference servers and result files of other tools, each identified before and after the run.
  • Method: paired rounds in a rotating and reversing order with checked balance; twins that measure the noise floor of each side in the same run; the exact sign test; Holm’s correction over the primary cases; the strict rule; a positive control in every round; the measured cost of a launch.
  • Machine checks: a quiet check that can wait, CPU pinning with one type of core, a census of other containers, advisory locks, witnesses during every launch, and disturbed rounds that can only downgrade a verdict.
  • Drivers: wall, lines, gbench, nvbench, pytest-benchmark, hyperfine, perf, llama-bench, guidellm, aiperf and vllm-bench (experimental).
  • Energy: GPU power sampling and energy per token, labelled as GPU-only.
  • Diagnostics: resource figures for every launch, an explain step with counters and sampled stacks, and interactive flame graphs written by the package itself.
  • Outputs: results.json, meant to be shared, with the known limits the security policy lists; terminal, Markdown and HTML reports, charts with the plot extra, and pairbench fill for figures in documents.
  • For AI agents: llms.txt, an agent skill, and a tool server with the mcp extra.
  • Python API and a plug-in API with seven groups.

pairbench is made by Eugo