Skip to main content

🏛️ JudgeArena: LLM Evaluation with Swappable Judges

JudgeArena lets you compare language models and study the judges that evaluate them. Choose a benchmark, a model and a judge, then inspect the answers, judgments and scores from the run.

You can run a packaged benchmark or bring your own dataset, prompt, parser and metrics. Models and judges can run locally or through an API. Multilingual tasks let you evaluate across languages using the same setup.

Benchmarks · Configuration · Models · Cache and results · Custom tasks

✨ Key Features

  • 🎯 Run established benchmarks including AlpacaEval, Arena-Hard, MT-Bench and WildBench.
  • 🔄 Choose your judge from local models or hosted APIs, independently of the model you evaluate.
  • 🌍 Evaluate across languages with m-ArenaHard, multilingual fluency and arena datasets.
  • 🛠️ Bring your own components: datasets, prompt bundles, parsers and metrics.
  • 📁 Inspect and reuse results with saved annotations, resolved configs and inference caching.

🚀 Quick start

Install from source with Python 3.12 or later and uv:

git clone https://github.com/OpenEuroLLM/JudgeArena
cd JudgeArena
uv sync

For an API run, set your provider's credentials. This example uses OpenRouter:

export OPENROUTER_API_KEY="your-api-key"

uv run judgearena \
  --task arena-hard-v0.1 \
  --model.name OpenRouter/google/gemma-4-31b-it \
  --judge.model OpenRouter/google/gemma-4-31b-it \
  --generation.n_instructions 10

This generates ten candidate answers and compares them with the task's saved GPT-4 baseline answers. The judge evaluates both answer orders. The run saves its annotations, scores and resolved configuration under results/.

The example uses the same model for generation and judging; choose a different --judge.model to evaluate with another judge. Ten questions are useful for checking your setup. Omit the limit to evaluate the full task.

For local inference, install uv sync --extra vllm or uv sync --extra llamacpp. See model setup for backend options and chat templates.

⚙️ Configure an experiment

Save your settings in run.yaml:

task: arena-hard-v0.1
model:
  name: OpenRouter/google/gemma-4-31b-it
judge:
  model: OpenRouter/google/gemma-4-31b-it
generation:
  n_instructions: 10

Run the file, or override individual fields:

uv run judgearena --config_path run.yaml
uv run judgearena --config_path run.yaml --generation.n_instructions 100

Tasks define benchmark defaults. Experiment configs override selected settings, and CLI flags override the config. Omitted fields inherit task settings when the implementation stays the same; switching the runner or adapter replaces that section. See configuration for prompt, metric and dataset overrides.

📊 Supported benchmarks

Benchmark What it evaluates Evaluation mode
AlpacaEval Instruction-following answers, with length-controlled scoring Pairwise
Arena-Hard v0.1 and v2.0 Challenging questions, including category-specific judging in v2.0 Pairwise
m-ArenaHard v0.1 and v2.0 Translated Arena-Hard questions across 23 languages Pairwise
MT-Bench Multi-turn conversations Pairwise
MT-Bench-101 Answers with supplied conversation histories Independent scoring, then score comparison
WildBench Conversations with question-specific checklists Pairwise reward or independent score
Multilingual fluency Sentence continuations across 43 languages Pairwise
LMArena and ComparIA Arena battles with human preference labels Model Elo estimation or judge meta-evaluation

List the installed tasks and inspect their defaults:

uv run judgearena tasks list
uv run judgearena tasks show arena-hard-v0.1 --resolved

The benchmark guide lists task names, language selection, baselines and examples. Changing a benchmark's judge or rubric changes the evaluation protocol; record those choices when comparing results.

🛠️ Use your own data and judgments

A task can keep its dataset adapter, prompt bundles, parsers and metrics in one folder. Reference a Python component directly from YAML, or register a name in the task family's register.py and use it from other configs.

Prompt bundles keep the template, parser selection and judging mode together. Parsing logic stays in Python. You can also pass data directly through the Python API without creating a task file.

🤝 Contributing

Bug reports, new benchmarks and documentation fixes are welcome. Open an issue to discuss a change, or send a pull request.

Install the checks before making code changes:

uv run pre-commit install

📚 Citation

If you use JudgeArena in your research, please cite:

@article{lushtaku2026judgearena,
  title = {JudgeArena: A Unified Framework for Reproducible LLM-Judge Evaluation},
  author = {Lushtaku, Erlis and Kargi, Bora and Elganzory, Ali and Ferreira, Fabio and Salamanca, Alejandro R. and Kreutzer, Julia and Salinas, David},
  journal = {arXiv preprint arXiv:2608.02620},
  year = {2026},
}

See additional citations for Soft-Elo and the tuned judge configurations.

Metadata

Release files for judgearena 0.2.0

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

Source distribution (sdist)

Source distribution for judgearena 0.2.0
File Size Uploaded Provenance Actions
judgearena-0.2.0.tar.gz 1.0 MB Without provenance Details for judgearena-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for judgearena 0.2.0
File Interpreter ABI Platform Actions
judgearena-0.2.0-py3-none-any.whl Python 3 none any Details for judgearena-0.2.0-py3-none-any.whl

Total release size: 2.0 MB

Release files / judgearena-0.2.0.tar.gz

Download URL judgearena-0.2.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
b9eddad8d04e8dc775d05686c82395fd8889dd06267dd25c9804874d5cd0ec30
BLAKE2b-256 checksum
How to use checksums
39493ca2f08a83de3ef0b5b474addd576a3f6588783cc749bb94c37b5500b3ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / judgearena-0.2.0-py3-none-any.whl

Download URL judgearena-0.2.0-py3-none-any.whl
Size 996.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23c4e8f81e4ecf683976f623cb72ef0c92166c6f031c0c6667810e283885e511
BLAKE2b-256 checksum
How to use checksums
074618b9b5b3bdd42f7ebba9013c980b0c37432956035403a22f76b5b5973dbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for judgearena 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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