Skip to main content

omni-bench-core

The shared core of the omni benchmarks. Measuring a system on documents is always one loop: send each row of a dataset to the system, save its answer, and grade the answers against the gold. A task package (omni-parse-bench, omni-extract-bench, or your own) writes the parts that differ, and this package runs the loop.

from omni_bench_core import benchmark

b = benchmark.Benchmark(SomeTask(), "hf://datasets/<org>/<name>", [SomeScorer()])
b.run(SomeAdapter(mode="accurate"), out="runs", sample=20)     # plan, predict, grade
b.grade("mine/")                                                # a folder of your own predictions

What you write, from least to most:

to write
run a benchmark Benchmark(task, dataset, scorers).run(SomeAdapter(...), out), once per system
add a system an Adapter: a frozen dataclass of its options, and call(input) -> Call (or raise SystemFailed)
add a way of grading a Scorer: a frozen dataclass with headline, the key of its summary runs are compared by; gold(row), score(pred, gold) -> Score (or raise Unscored), score_failure(gold) -> Score and summarize(lines)
add a task a Task: rows(dataset) and input(row), a row type, and its adapters and scorers

Where to read next:

  • OVERVIEW.md: the pieces one at a time, with diagrams. Start here if you are new;
  • tests/test_core.py: a whole toy task, with a test of every rule (from a clone: PYTHONPATH=. python tests/test_core.py); and
  • the class docstrings in omni_bench_core/: what each method is for, and when you would write it.

Two limits are deliberate:

  • a dataset is a folder or an hf:// address, never rows made in code, because a run folder records which dataset its answers are for; and
  • an adapter calls one row at a time; a model that batches is served, and its adapter calls the server.

Metadata

Release files for omni-bench-core 0.12.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 omni-bench-core 0.12.0
File Size Uploaded Provenance Actions
omni_bench_core-0.12.0.tar.gz 69.7 kB With provenance Details for omni_bench_core-0.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omni-bench-core 0.12.0
File Interpreter ABI Platform Actions
omni_bench_core-0.12.0-py3-none-any.whl Python 3 none any Details for omni_bench_core-0.12.0-py3-none-any.whl

Total release size: 121.4 kB

Release files / omni_bench_core-0.12.0.tar.gz

Download URL omni_bench_core-0.12.0.tar.gz
Size 69.7 kB
Tags Source
SHA-256 checksum
How to use checksums
014aa93560c3a0ae6f3fa7b301257df884e8655a156e4cc2f893c56aece06162
BLAKE2b-256 checksum
How to use checksums
f45bffab3c1d3a7845d3d51fa1c6610981f1eca31d5a0e1dda033d0dc0cb0ad6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 29, 2026.

Transparency log

Release files / omni_bench_core-0.12.0-py3-none-any.whl

Download URL omni_bench_core-0.12.0-py3-none-any.whl
Size 51.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56a6e737658bc97eb4075c6e4f66cfc36d04d5d71453369f4669e6075e9aa190
BLAKE2b-256 checksum
How to use checksums
3f487d6bba6da15000c5ac485749def245c17f0e84a3eb801496597fabff7427
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 29, 2026.

Transparency log

Security for omni-bench-core 0.12.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for omni_bench_core-0.12.0.tar.gz

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 29, 2026.

Transparency log

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.

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