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 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: only Ollama on loopback (127.0.0.1), and only for pilot-b and models --verify-live. Anything else is refused. No telemetry.
  • Permissions: none beyond those files and that local port.

Report a vulnerability privately; see SECURITY.md.

Status

Version 0.4.0, the first PyPI release. It is alpha: interfaces and data shapes can change without notice. Coverage of this repository's own tests is 95%, with the floor at 90.

License

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


Built by MCP Tool Shop

Metadata

Release files for reasoning-dataset-lab 0.4.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.4.0
File Size Uploaded Provenance Actions
reasoning_dataset_lab-0.4.0.tar.gz 558.5 kB With provenance Details for reasoning_dataset_lab-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 718.8 kB

Release files / reasoning_dataset_lab-0.4.0.tar.gz

Download URL reasoning_dataset_lab-0.4.0.tar.gz
Size 558.5 kB
Tags Source
SHA-256 checksum
How to use checksums
40b9bce94a627e2e82d4de99ed8323b6058c7215d48a2d07cb8782f25528670e
BLAKE2b-256 checksum
How to use checksums
5d80ce33d7a9c63fe7a8295b5e3ba5063781f52bdb551b0e80e888677dd68ff4
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 29, 2026.

Transparency log

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

Download URL reasoning_dataset_lab-0.4.0-py3-none-any.whl
Size 160.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1a5e95a5faecb25418c25d93fb8276560ca84ee9db67cd1dae99e418670e8bd
BLAKE2b-256 checksum
How to use checksums
2d1238ca1114f35afd5eadc6eb5704acf8a8cf2b5c7b56b2ed5da754bdf88dde
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 29, 2026.

Transparency log

Security for reasoning-dataset-lab 0.4.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.4.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.

Release history Release notifications | RSS feed

This release

0.4.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