Pergamon Bench — eval
The code behind Pergamon Bench, a benchmark of legal reasoning and research tasks on continental-European law, run with Harbor.
To run the benchmark, start with the
Pergamon Bench README. It covers
installing, running, fitting the run to your machine, results and pergamon-bench validate.
This repository holds:
pergamon-bench(src/pergamon_bench/): the agent wrapper Harbor loads (OpenCode with the official settings), the job filepergamon-bench initwrites, and thepergamon-benchcommand;pbench-grader(packages/pbench-grader/): the grading;pbench-search(packages/pbench-search/): the agent's web search tool.
Documentation for contributors and the curious, in docs/:
- architecture.md: how the pieces fit together, and what "official" means in code;
- grading.md: how answers are graded, and every grading setting;
- grading-versions.md: what each grading version pins, and why it changed;
- methodology.md: the grader card;
- failures-and-retries.md: which failures are retried instead of graded;
- web-search.md: the web tools and search providers;
- images.md: the sandbox and grading images;
- private-set-process.md: evaluating on the private set;
- development.md: tests, lint and releases.
CHANGELOG.md lists every release; changes that can move scores are marked [score-impact].
Releasing to PyPI
The pergamon-bench package (one wheel: pergamon_bench and pbench_grader) is published by
the release workflow on every v* tag, through PyPI trusted publishing (no token). Bump
version in pyproject.toml and packages/pbench-grader/pyproject.toml to the same value,
update CHANGELOG.md, push, then:
gh release create v0.8.0 --title "v0.8.0" --notes "See CHANGELOG.md"
gh run watch
The workflow refuses a tag that does not match pyproject.toml's version. The images
(workspace-v*, verifier-v* tags) are released separately: see images.md.
Metadata
Release files for pergamon-bench 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pergamon_bench-0.8.0.tar.gz | 63.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pergamon_bench-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 141.1 kB
Release files / pergamon_bench-0.8.0.tar.gz
| Download URL | pergamon_bench-0.8.0.tar.gz |
|---|---|
| Size | 63.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efb6d0eb07b65ca4f5602dc126407a7cc994550705e24312ec58e64ef66f92aa
|
|
BLAKE2b-256 checksum How to use checksums |
bb7b80a2288168c21b7e333c3c5968738023a6262a9cd059ee647351c81d70c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 7, 2026.
Transparency logRelease files / pergamon_bench-0.8.0-py3-none-any.whl
| Download URL | pergamon_bench-0.8.0-py3-none-any.whl |
|---|---|
| Size | 77.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27714d3322dcf3f7e0d97e17ac33c7c6020bb16b69ee27c09083660e56280067
|
|
BLAKE2b-256 checksum How to use checksums |
0cf2212806ec34300e96ecf05bb075f334846955a6cf9cb4c4e0acd2df154215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 7, 2026.
Transparency log