Skip to main content

English | 日本語 | 中文 | Español | Français | हिन्दी | Italiano | Português (BR)

reasoning-dataset-lab

CI PyPI MIT License Landing page

A map-first lab for datasets of puzzles, quizzes and verification items, where code proves the answer key before any model words the item. rdlab is the command line. It plans a dataset as a pre-registered map, builds items whose keys are constructed and proven, asks a local model only to put them into words, and records the provenance of every item.

A key that a model chose is an opinion. A key that code built from a hidden state, and proved by a solver, is a fact about the item. rdlab is built so the key never depends on a judge.

Install

pip install reasoning-dataset-lab

Python 3.13 or newer (3.15 is the main target; CI tests 3.13, 3.14 and 3.15). It depends on aspire-si-gates and role-set.

What you can do without any model

rdlab map check examples/t10-pilot-a.map.yaml
rdlab project fingerprint . --map examples/t10-pilot-a.map.yaml
rdlab --help
  • rdlab map check validates a dataset map (its axes, every cell's target against the generator's capacity, share floors and ceilings, variety bounds, acceptance criteria) and prints the map's canonical SHA-256. Exit 0 is a valid map. Exit 1 is a refusal, as a {code, message, hint} JSON object on stderr. Exit 2 is a usage or file error.
  • rdlab project fingerprint hashes the five project files, the map and canon/ in a fixed order, so a build can say exactly what it was built from.
  • rdlab models lists the models a Pilot B build pins, and rdlab variety computes the deterministic variety report for a build.

What needs a GPU and local models

rdlab pilot-b builds the Pilot B critic test set: triads of supported, unsupported and cannot-tell claims made from typed fact tables. It runs real local models through Ollama on loopback (a writer and two blind readers from different families), needs a GPU, and needs a licence registry file that says each model may be used for evaluation. It never pulls a model for you and never calls a cloud endpoint. The full flags, the memory plan and the num_predict settings are in the handbook.

The judge bake-off

Which local model should judge a claim? rdlab answers it the same way it builds keys: by construction, with the answers sealed until the judging is over.

rdlab bakeoff-part --output-dir <dir> ...      # build a sealed test part from certified value sets
rdlab bakeoff-probe --part-dir <dir> ...       # fail the part if its answers can be guessed from surface features
rdlab bakeoff-judge --part-dir <dir> ...       # run one judge without opening the sealed keys
rdlab bakeoff-judge-score --judge-dir <dir>    # only now join the judge's rows with the keys

Winner selection follows the pre-registration exactly, with no lenient fallbacks. scripts/colab/launch_judges.sh runs the five bake-off judges (and optional three_way_contradicted / D5c judges including qwen3.6-35b-a3b on its own vllm.lock.txt environment when selected) on your own Google Colab account, each in its own hash-locked environment, under a spending cap read from the window's own live Colab rate. Each paid window is bound to its part's own files and checks every boot input before it spends, and the lock-check runs as two windows, each judge in its own environment. Splitting a counted run across several cards is built but has not completed a real run yet.

No shell trap can catch SIGKILL (kill -9): if the launcher itself receives SIGKILL after colab new assigns a VM and before colab stop completes, its EXIT trap never runs and it leaves an open Colab session that only the background session watcher (when it survives) or a manual colab sessions check (colab stop -s <session>) stops.

The map-first principle

  1. Prove first, word second. Code constructs a formal state and proves the key before a model writes any prose. A kind of item that cannot be proved by construction is marked judged and enters only through a multi-family unanimity gate.
  2. Pre-registered cells and capacity. map.yaml declares every intended cell, its target, the generator's capacity for it, share floors and ceilings, and the variety bounds, before any item exists. A cell the generator cannot yet build stays in the map with capacity: 0 and a stated reason, so a coverage gap is visible and the map is never shrunk to hide it.
  3. One fingerprint. A project binds five files, the map and its canon, and a deterministic hash says which.

What has been measured

The generator's value sets (the lists a claim's values are swapped within) are certified before use. In the v3 run, 44 of 50 sets certified, against 26 before the sets were repaired. Here "certified" means two blind readers from different families called every ordered pair a contradiction, and an independent blind key had already agreed. It is evidence, not proof: model readers were part of it. The wording of a rendered item can still differ from its key, and a person's hand-read is the check for that. Nothing rdlab writes is training data until a person has checked it. The run and its files are in certification/v3.

Security and data

  • Reads: the map, project files and canon you point it at.
  • Writes: the output directory you give it.
  • Network: the rdlab command reaches only Ollama on loopback (127.0.0.1), and only for pilot-b and models --verify-live. Anything else is refused. No telemetry.
  • Opt-in Colab: scripts/colab/ uploads the items and judges you point it at to your own Colab account and downloads the results. The answer keys never leave your machine; scoring runs locally.
  • Permissions: none beyond those files and that local port.

Report a vulnerability privately; see SECURITY.md.

Status

It is alpha: interfaces and data shapes can change without notice. CI holds coverage at 90% or more.

License

MIT, © mcp-tool-shop. See LICENSE.


Built by MCP Tool Shop

Metadata

Release files for reasoning-dataset-lab 0.8.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 reasoning-dataset-lab 0.8.0
File Size Uploaded Provenance Actions
reasoning_dataset_lab-0.8.0.tar.gz 2.3 MB With provenance Details for reasoning_dataset_lab-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reasoning-dataset-lab 0.8.0
File Interpreter ABI Platform Actions
reasoning_dataset_lab-0.8.0-py3-none-any.whl Python 3 none any Details for reasoning_dataset_lab-0.8.0-py3-none-any.whl

Total release size: 2.7 MB

Release files / reasoning_dataset_lab-0.8.0.tar.gz

Download URL reasoning_dataset_lab-0.8.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
b954baf646cde35f633708e49dd3102e96e4ae33bea7ae66f79ea9e8c6075bcd
BLAKE2b-256 checksum
How to use checksums
a3dc0cccd5b9bc461ec953a3d2361df9f680af06be30c01081cdd697e8242109
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 Nov 26, 2026.

Transparency log

Release files / reasoning_dataset_lab-0.8.0-py3-none-any.whl

Download URL reasoning_dataset_lab-0.8.0-py3-none-any.whl
Size 434.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eec5ae5dc2b54470f6dd66e617484147b6a72e64981dfadfdd1545c03c71a6f8
BLAKE2b-256 checksum
How to use checksums
06b7ca31cd8450e01daa565c8424d5c3c194c6a16e6b88fd62703ea768c973fd
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 Nov 26, 2026.

Transparency log

Security for reasoning-dataset-lab 0.8.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 reasoning_dataset_lab-0.8.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.

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