Skip to main content

judge-bench

Probe an LLM judge for position, verbosity, self-preference, paraphrase, anchoring, and calibration sensitivity.

judge-bench is for evaluation engineers choosing or monitoring an LLM-as-judge configuration. Unlike a model leaderboard, it runs controlled synthetic response pairs through a selected backend, records probe-level evidence, caches repeated calls, and produces reviewable report and plot artifacts.

Inspectable Output

A run writes:

  • <name>.json: backend, model, synthetic disclosure, cache hits/misses, and probe results.
  • <name>.md: a concise diagnostic report.
  • <name>.plots.json: plot-ready reliability and bias points.
  • <name>.svg: deterministic plots.
  • <name>.png: only when matplotlib is installed.

The built-in dry-run cost estimate uses static per-call constants for planning. It does not query provider pricing and should not be treated as a quote.

Runtime Boundary

The default local-judge model is a deterministic lexical heuristic and makes no network request. ollama:, vllm:, and hosted Hugging Face modes call the configured local HTTP endpoint; transformers: loads a local Python model pipeline. The openai, anthropic, and google backends send the synthetic prompt/response pairs to those providers and require their standard API-key environment variables. Paid-backend runs require --confirm-cost.

Cache entries contain model inputs and outputs as local JSON files. Choose --cache-dir accordingly when prompts or rationales are sensitive.

Install

python -m pip install judge-bench==0.1.2

For development from a clone:

python -m pip install -e .

Quickstart

Run a fully offline diagnostic:

judge-bench run \
  --backend local \
  --model local-judge \
  --probes position_bias,calibration \
  --pairs 3 \
  --cache-dir .judge-bench-cache \
  --output judge-report.json

Backends

  • Hosted: openai, anthropic, google.
  • Local HTTP: ollama:<model>, vllm:<model>, hf:<model>.
  • Local Python: transformers:<model> with transformers installed.
  • Offline smoke test: local-judge.

See docs/what-each-probe-measures.md, docs/interpreting-position-bias.md, and docs/methodology.md.

Release Status

Registry status verified July 13, 2026: version 0.1.2 is published on PyPI and tagged v0.1.2 in the public repository. The project is alpha software. No model-quality, superiority, or adoption claim is made.

Limits

All bundled response pairs are synthetic. Results characterize the selected prompts, backend, model, and probe set; they do not establish general model quality or production safety.

Next Action

Run the offline local-judge quickstart, inspect the probe-level Markdown and SVG evidence, then repeat with the intended production judge only after confirming the cache, data-sharing, network, and cost boundary.

Metadata

Release files for judge-bench 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for judge-bench 0.1.2
File Size Uploaded
judge_bench-0.1.2.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for judge-bench 0.1.2
File Interpreter ABI Platform
judge_bench-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.7 kB

Release files / judge_bench-0.1.2.tar.gz

Download URL judge_bench-0.1.2.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
03aefeb0561d69121ea1537691cf498bc1f9148a043b56f7445c23b10f3a5b00
BLAKE2b-256 checksum
How to use checksums
69242e1137078a9c729a59fdbb2cae4e6ae35734739c1874d59d2b6d076a537c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / judge_bench-0.1.2-py3-none-any.whl

Download URL judge_bench-0.1.2-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebdc0620894518e2f52c90bab112fd1790cf64e3d4906cde04914a3b6b4e1fe0
BLAKE2b-256 checksum
How to use checksums
06f973546c5b5537c0998566665685360b93b76cc36da419f384b0e495b8980b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page