Skip to main content

roadbed

The engine and command line tool of Roadbed. When a new open-weight base model ships, Roadbed retrains a fine-tuned model on the verdicts of your reviewers. This package scores the new model per slice, runs a paired bootstrap and applies the gate. It checks that the holdout is clean of training data. It verifies an asset offline.

This is version 0.1 of the format roadbed/v0.1. The format can change before 1.0.

Install

You need Python 3.12 or newer.

pip install roadbed
roadbed --version

To capture verdicts, install the SDK: pip install roadbed-sdk.

Free path on a laptop

These commands need no account and no network.

roadbed sample acme-2k events
roadbed new acme --model claims-triage --synthetic --slices events/slices.yaml --output-schema events/output.schema.json
cd acme && git init -q && git add -A && git commit -qm "asset"
roadbed evals build --events ../events --as-of 2026-11-02T09:00:00Z --seed 7 --holdout-out ../vault --objects ../objects
roadbed evals seal --candidate ../vault --sealed-by vik --objects ../objects
git add -A && git commit -qm "seal"
roadbed verify data/holdout/H-2026-11-02 --objects ../objects --strict

vik is the name of the sealer. Use your own name, in lowercase.

The root README of the repository has the full quickstart.

Commands

Command Where it runs What it does
roadbed new DIR --model NAME --slices F --output-schema F local Writes a new asset. It has no holdout until you seal one.
roadbed sample acme-2k DIR local Copies the synthetic sample events to DIR.
roadbed evals build --events DIR --holdout-out DIR --objects DIR local Builds the snapshot, the golden set, the correction tests and a holdout candidate.
roadbed evals seal --candidate DIR --sealed-by ID --objects DIR local Seals a holdout candidate. The seal has provenance: local.
roadbed verify data/holdout/H-... offline Seal mode. Checks the seal, the holdout hashes, email addresses, synthetic flags, the eval sets and the overlap with the training data. It refuses a symlink in the path.
roadbed verify rebases/N offline Full mode, engine-scored mode or local mode. Local mode applies to a local seal and has no receipts. It scores the predictions again and names each skipped check.
roadbed eval reproduce rebases/N offline Computes scores.json again from the two prediction files.
roadbed audit verify --export F offline Checks the audit chain of an export.
roadbed evidence verify rebases/N/evidence offline Checks the signature and hashes of an evidence pack.
roadbed rebase MODEL --from-predictions rebases/N local Scores supplied predictions and writes the rebase files.
roadbed watch --base GLOB Hub Lists new bases and the license decision.
roadbed status local Shows the model, alias, base and recent rebases.
roadbed init --url URL local Writes the config file for a control plane.
roadbed seal --snapshot S --rows N --seed K --by KEY control plane Seals a holdout on the control plane.
roadbed rebase MODEL --on REPO control plane Starts a rebase and shows its timeline.
roadbed status --remote control plane Asks the control plane for the status.
roadbed promote N, roadbed rollback --reason CODE control plane Changes the alias.

The control plane is the paid platform. It is not in this repository. Every command accepts --json.

A local verify cannot prove when the predictions were made. It reads the order of commits only. A local seal has no audit chain and no role enforcement.

A local seal can pass --strict. A local rebase never passes --strict. A script must read the LOCAL line of the text output, or local: true in the JSON output. The exit code alone does not tell a local seal from a control-plane seal.

Exit code Meaning
0 OK.
2 Usage error: bad arguments, a missing file or a file that is not valid.
3 Remote error: the control plane or the Hub did not answer or returned an error.
4 A check failed and has a V- code, or the gate blocked the rebase.

Library modules

  • roadbed.contracts: the Pydantic models of the format.
  • roadbed.scoring, roadbed.stats: row scores and the paired bootstrap.
  • roadbed.gate: the release gate per slice.
  • roadbed.contamination: exact and near-duplicate checks.
  • roadbed.asset: seal, hash and verify an asset tree.
  • roadbed.evals: the eval builder.
  • roadbed.labels: the resolver that turns verdicts into labels.
  • roadbed.watch, roadbed.license_policy: base model watch and license decision.

More

Metadata

Release files for roadbed 0.1.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 roadbed 0.1.0
File Size Uploaded Provenance Actions
roadbed-0.1.0.tar.gz 443.9 kB With provenance Details for roadbed-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 906.2 kB

Release files / roadbed-0.1.0.tar.gz

Download URL roadbed-0.1.0.tar.gz
Size 443.9 kB
Tags Source
SHA-256 checksum
How to use checksums
724ed26db386f0a8a844f344c0c100321fc7b5d0ad9a0e5d7bce6c603ce2aa49
BLAKE2b-256 checksum
How to use checksums
fae96d4bc60fe389b7f541aa2dbafab138f5d6efb12412a21629c8b4ad306a01
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 Nov 26, 2026.

Transparency log

Release files / roadbed-0.1.0-py3-none-any.whl

Download URL roadbed-0.1.0-py3-none-any.whl
Size 462.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffb42b380bac2507719a86d94aee5f493bc165df847ea427b1d7aea297c8b0d7
BLAKE2b-256 checksum
How to use checksums
882c04db96817efb736f8643057e89489e899ebbe07450a0214631c9ad79ad48
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 Nov 26, 2026.

Transparency log

Security for roadbed 0.1.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 roadbed-0.1.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 Nov 26, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full 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