Skip to content

Releases

reasoning-dataset-lab 0.7.0

Choose a tag to compare

@mcp-tool-shop mcp-tool-shop released this 19 Nov 18:48
e0a8623

The D5c judge windows, a kit that keeps its results on every VM failure path, and feature hooks for the shortcut probe. README.md, the seven translations (version and test count only) and the handbook status say 0.7.0.

What changed

  • Three-way --time-one whole-part scoring and item-limit backstop (#122 review B1, C1, C2)
  • Schedules-arm follow-ups and THREE_WAY_PARTIAL_UPLOAD launcher refusal (#120 follow-ups)
  • Golden prompt_sha256 pins and explicit addendum path for three_way_schedules (#119 follow-ups B5, C4)
  • Site npm audit: a reviewed, dated exception for GHSA-fc5q-39xc-vjpf (picomatch)
  • D5c schedules-wording arm (three_way_schedules)
  • Speed up shortcut-probe OOF classifiers and Gate-1 null-permutation CI scheduling (Refs #114)
  • Shortcut-probe feature-hook empty-token refusal and #111 follow-ups (Refs #112)
  • Harden shortcut-probe feature hooks (Refs #109, Refs #110)
  • Caller-supplied feature hooks for the shortcut probe (#109)
  • Kit Part C: an atomic result tar, the kit's identity in every run record (Refs #94, Refs #106, Refs #107)
  • A halted window's tar carries its final progress.jsonl (Refs #94)
  • Follow-ups from the #102 merge-gate review (Refs #94, Refs #98)
  • Unverified timed-out passes blocked from merge and scoring (Refs #94)
  • Follow-ups from the #100 merge-gate review
  • The fitted two-question and 27B d3 kit (card 2026-11-15 v2)
  • Opt-in CPU stub elephant-1 install hook & #96 / #98 follow-ups
  • The D5c judge window, arm 4: elephant-1 through qev
  • The D5c judge window: arms 2, 3, 5 and 6, per-judge windows, and a verified partial fetch
  • Three-way wording arm three_way_contradicted (D5c)
  • Goldens promotion, low-margin anchor fields, goldens self-hash, and required --card / --shape

Full detail for every item is in CHANGELOG.md.

v0.6.0

Choose a tag to compare

@mcp-tool-shop mcp-tool-shop released this 07 Nov 18:52
d9926c0

The bake-off launcher is ready for its paid windows: it binds each window to its part, checks every boot input before it spends, records the boot gatekeeper, reads the window's own rate and keeps re-reading it, and books nothing when no machine was assigned.

Mid-run rate re-reads

  • The launcher keeps reading the rate while the run cell runs. The cost-cap monitor in scripts/colab/launch_judges.sh re-reads colab usage every RDLAB_RATE_REREAD_SECONDS (1 to 60, default 30; anything else refuses BAD_RATE_REREAD_INTERVAL before any colab call). Each read runs under timeout -k and is parsed for the account rate and the "Active assignments" count. The rules live in scripts/colab/rate_rereads.py.
  • Our rate is the account rate minus a neighbour baseline. The baseline starts as the pre-open account rate.
  • A change in the assignment count is never judged. When the count changes, the launcher waits for two consecutive reads at the new count that agree within 0.01. It then sets the baseline to the account rate minus the highest stable rate of ours seen. That is the safe direction: our apparent rate can only come out higher. A neighbour that opens or closes mid-run therefore neither trips the window nor lowers our rate.
  • Only a stable read at the settled count can raise our rate. A rise reprices the remaining runtime at max(--max-rate, the highest stable rate seen). The runtime can shorten, never lengthen. A stable rate above --max-rate ends the window RATE_ABOVE_MAX mid-run: the monitor fetches the results and stops the run as it does on a cost-cap stop, and status.json and the outcome say stopped_rate_reread.
  • An in-flight read never outlives the window. Each re-read runs as a tracked background PID. If the run ends while a read is in flight, the monitor's trap and the launcher's teardown kill that PID and its children by PID, never by name.
  • It fails closed. Once the window is open, a read with no count, a count of 0 or no rate is recorded as a bad read. So is a read whose own rate, at the settled count, is below the card's floor (GPU_RATE_FLOOR on a GPU card); such a rate is never accepted. Three bad reads in a row end the window ASSIGNMENTS_UNREADABLE. This closes the case where a neighbour closes and the rate drops two reads before the count: our stable 0.00 used to be accepted, the next re-baseline then hid our later rise. It is not a known limit.
  • Before the first stable read, a count of 0 means "not yet". The real service reports Usage rate: 0.00/hr with Active assignments: 0 until a new session registers (windowC2-12-t4-s1a-20261027). At open, such a read only uses up the open-poll budget, and the window rate must come from two agreeing reads at the same count of at least 1. A window that never gets there refuses LIVE_USAGE_RATE_UNAVAILABLE.
  • Every read is recorded. Each re-read's account rate, count, our rate, baseline, decision and remaining runtime go to rate_rereads.jsonl and to rate_rereads in outcome.draft.json. The usage text itself is not stored there, so no token can be. A stable rise books the cost at the highest stable rate seen, and pricing_rate_per_hour reports the final pricing rate.
  • Known limits, documented in docs/colab-cli-contract.md and scripts/colab/REAL_SERVICE_ASSUMPTIONS.md: a neighbour that opens in the same read as our own rate rises folds that rise into the baseline; a CLI outage of three or more reads ends the window early; a count that leads the neighbour's rate by two or more reads can trip falsely.
  • The fake CLI prints colab usage in the real line format. FAKE_COLAB_USAGE_SEQUENCE models the rate and count of each call during the whole window, the recorded T4 open is the fixture t4_open_0001 (FAKE_COLAB_USAGE_FIXTURE), and FAKE_COLAB_EXEC_RUN_DELAY keeps a run cell alive for a while before it finishes normally. FAKE_COLAB_USAGE_SLOW_FROM_CALL and FAKE_COLAB_USAGE_SLOW_SECONDS make a usage call hang.

Lock-check in two windows, P0a per judge in child venvs, LC-1 anchors

  • Lock-check in two windows: --lock-check-phase anchors|p0a|all (launcher and VM, no default; LOCK_CHECK_PHASE_REQUIRED / LOCK_CHECK_PHASE_INVALID before any colab call or paid step). anchors records the boot gatekeeper goldens and runs the five judges over the 50 anchors (no P0a); p0a runs P0a only; all runs both as before. Default wall per phase 3600 / 5400 / 7200 s, so --dry prices the phase; --dry prints a [lock-check] phase=... line. The receipts, the summary, the filled goldens' provenance and the outcome draft record the phase. promote_goldens.py takes the anchors (or all, or pre-split) window's goldens and refuses a p0a window's (PROMOTE_GOLDENS_PHASE_REFUSED).
  • rdlab bakeoff-lockcheck-anchors --part-dir <counted part> --out <file>: the 50 label-blind LC-1 anchors (rule rdlab-lc1-anchors-v1: the counted part minus the 30 determinism canaries; key sha256(seed|id); five per domain on distinct triads, ten domains; sorted by key) as the upload projection, with <file>.sha256 and a manifest (rule, seed, pool size, sorted-id SHA-256, per-domain and per-triad counts). It reads only id, domain and the SHA-256 of material (the triad grouping) and refuses LC1_ANCHORS_SPLIT_IMPOSSIBLE when 10 x 5 on distinct triads cannot be met. The anchor half once called "canaries" is now named the low-margin anchors in docs and help (select_lock_check_low_margin_anchors); JSON field names are unchanged.
  • Lock-check P0a runs one judge at a time, each in its own venv child process (vm_judges.run_lock_check_p0a_in_children; bakeoff_judge --p0a-stage passes|rerun). Before, VM main built a real transport for all five judges in its own process and kept them (about 51 GB of peaks on a 40 GB A100), and d3-mini's transformers 5.17.0 and the others' 5.19.0 cannot share one process. The parent now only checks, schedules and collects; p0a_report.json keeps its format, and p0a_children.json records each child.
  • A failed P0a child no longer loses the finished children's work. Each child's output is written to p0a_children/<judge>.<stage>.json under the run dir (on the result tar's allow-list), so it is fetched with the run. When a child fails, the refusal class is unchanged, the refusal's completed_judges lists the finished children, and a partial p0a_children.json (status: failed) names the failed judge, its stage and its class and lists each finished child with its output SHA-256.

The rate contract

  • The window's rate, not the account's. colab usage reports the rate of every open session on the account. The launcher reads it before colab new and after, and takes the window's rate as post minus pre. A rate is accepted only when two reads 5 s apart agree within 0.01 and clear the floor: GPU_RATE_FLOOR is 1.00/h on a GPU card (the T4 measured 1.07/h; CPU sessions are at most 0.26/h). Otherwise the window refuses LIVE_USAGE_RATE_UNAVAILABLE, and an unreadable pre-open rate refuses before any spend.
  • --max-rate <units/h> (RDLAB_MAX_RATE) is required for --time-one, --lock-check and --counted, with no default (MAX_RATE_REQUIRED before any colab call, BAD_MAX_RATE if it is not positive). A window rate above it refuses RATE_ABOVE_MAX and the session is stopped.
  • The cap runtime is priced on max(--max-rate, the window rate), so an under-read can only shorten a window. The cost clock starts when colab new succeeds, so the polls count against the cap. Every usage read is bounded by timeout -k.
  • No rate constant. The launcher used to assume 5.30/h for an A100 and 0.08/h for CPU; the A100 is 6.73/h, and 8.88/h with High-RAM. The only rate recorded now is the live one. Before the read, --dry prints a [rate] projection from --max-rate, labelled an estimate. A cost booked before the read is max_rate_x_runtime_estimate, or null (rate_not_read) without --max-rate.
  • The outcome draft records rate_scope: window, pre_account_rate_per_hour, post_account_rate_per_hour, pricing_rate_per_hour and max_rate, and max_rate is forwarded to the VM for time_one_summary.json.
  • Every timeout-wrapped colab call now kills a client that ignores SIGTERM after one grace, COLAB_KILL_GRACE_SECONDS (RDLAB_COLAB_KILL_GRACE_SECONDS, default 15; BAD_KILL_GRACE if it is not a positive integer).

No capacity

  • No session assigned costs nothing. When colab new fails because the service refused the machine at assign (POST .../tun/m/assign...: Service Unavailable) and the session is listed neither before nor after, outcome.draft.json books cost: 0 with cost_basis: no_session_assigned, session_assigned: false and failure_class: no_capacity. colab-cli.log gets a NO_CAPACITY line and the launcher prints an [outcome] summary line on stderr. timeone-mu2 (2026-11-06) had booked 0.0927 for a window that never got a machine.
  • A session that is listed after a failed colab new was assigned. The launcher adopts and stops it, and books rate x runtime (cost_basis: rate_x_runtime, SESSION_OPEN_FAILED_AFTER_ASSIGN).

Part binding

  • Real windows read the part's own files. A part built by this repo holds checksums.txt, items.jsonl, part.json and provenance.jsonl, and no builder writes a part manifest.json. The launcher and VM used to look only for one, so every real window on a real part refused PART_MANIFEST_MISSING, and a hand-written manifest of another part was accepted with nothing tying it to the items.
  • launch_judges.sh --part-dir DIR (RDLAB_PART_DIR) names the part, and is required for a real --time-one or --counted (PART_MANIFEST_MISSING before any colab call). Before any colab call, part.json must match the part schema and its checksums.txt line, the part's items.jsonl must match its line and hold items_count rows, and every...
Read more

reasoning-dataset-lab 0.5.0

Choose a tag to compare

@mcp-tool-shop mcp-tool-shop released this 05 Nov 22:24
ea8bc24

The judge bake-off: build a sealed test part, run five local judges on it, score them without anyone seeing the keys first, and run the judges on Colab. Tests: 1,162 passing, 2 skipped.

Added

  • rdlab bakeoff-part builds the writer-only Kind-D (T10) judge bake-off part from certified value sets, into an output directory outside the repo, with a sealed key store. --resume continues from a per-triad sealed checkpoint. --construction anchored-two-hop builds the anchored two-hop variant (domains, closures, entities and anchors rotate).
  • rdlab bakeoff-probe runs the out-of-fold shortcut probe and the role and closure class-share gates on a part, so a part whose answers can be guessed from surface features fails before any judge sees it.
  • rdlab bakeoff-judge runs one judge over the part's items without opening the sealed store, then closes its outputs into outputs-closed.json.
  • rdlab bakeoff-judge-score verifies the closed outputs, joins them with the sealed keys, and writes sealed per-row records plus public aggregates. It refuses rows without timings (BAKEOFF_SCORE_MISSING_ROW_SECONDS) and parts that mix sources (BAKEOFF_SCORE_MIXED_PART).
  • rdlab bakeoff-canary-tolerance measures the empirical log-prob drift of a 10-item canary set over repeated runs, and rdlab bakeoff-logprob-mass checks that yes/no probability mass covers at least 0.99 for binary calls.
  • Winner selection follows the pre-registration exactly. No lenient fallbacks: explicit lower confidence bounds, per-class precision, pairwise rows, eligibility floors decided before the Holm candidate set, and registered domains only.
  • Colab launcher for the five-judge bake-off (scripts/colab/launch_judges.sh). Each judge runs as its own subprocess in a hash-locked venv on CPython 3.15.1 with a pinned uv. The launcher checks the GPU, the disk and the device before any download, records step and per-judge timings with memory telemetry, caps spend from the live Colab rate, and stops its own session. Modes: --session-smoke, --probe, --stub, --time-one, --counted and --dry, plus --resume and --until STEP for stubs. Timing windows on A100s have run with it; see REAL_SERVICE_ASSUMPTIONS.md for what each real-service step relies on.
  • New environment variables: RDLAB_JUDGE_ORDER, RDLAB_FIRST_LOAD_JUDGE_ID, RDLAB_ONLY_JUDGES and RDLAB_FORCE_PINNED_UV. REQUEST_TIMEOUT now defaults to 60 s.

Experimental

  • Sharded counted windows (--shard k/n, --shard-manifest, --loop subblock|judge_outer, --subblock-items, and scripts/colab/merge_shards.py). The merge refuses on any real-mode guard failure (including test hooks or overrides set in the environment), a determinism mismatch, a missing or changed golden anchor, missing ECC fields or any uncorrected ECC error, or verdict flips above the anchor budget, and it reports output-token drift as a warning. No counted sharded run has completed yet. The lock-check window that records the golden anchors is still in review and not in this release, so a counted run refuses at boot until it lands.

Changed

  • CI test legs time out at 25 minutes and run under pytest-xdist. Tests use committed fixtures instead of git history or the network.

reasoning-dataset-lab 0.4.0

Choose a tag to compare

@mcp-tool-shop mcp-tool-shop released this 29 Oct 22:28
e0e3c04

First PyPI release of reasoning-dataset-lab (alpha): pip install reasoning-dataset-lab.

The two git-URL dependencies are now PyPI packages, aspire-si-gates==1.7.6 and role-set==0.3.0 (PyPI does not accept git URLs). role-set 0.3.0's source is identical to the commit the receipts name (d29499f) apart from its version string, so receipts are unchanged. Added: a rewritten README with 7 translations, a landing page and handbook, a release workflow with trusted publishing that runs only on a published release, a wheel data-file test, and a security policy.

See the CHANGELOG.