Repository navigation
Releases
reasoning-dataset-lab 0.7.0
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-onewhole-part scoring and item-limit backstop (#122reviewB1,C1,C2) - Schedules-arm follow-ups and
THREE_WAY_PARTIAL_UPLOADlauncher refusal (#120follow-ups) - Golden
prompt_sha256pins and explicit addendum path forthree_way_schedules(#119follow-upsB5,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
#111follow-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-1install hook `/#98follow-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
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.shre-readscolab usageeveryRDLAB_RATE_REREAD_SECONDS(1 to 60, default 30; anything else refusesBAD_RATE_REREAD_INTERVALbefore anycolabcall). Each read runs undertimeout -kand is parsed for the account rate and the "Active assignments" count. The rules live inscripts/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-rateends the windowRATE_ABOVE_MAXmid-run: the monitor fetches the results and stops the run as it does on a cost-cap stop, andstatus.jsonand the outcome saystopped_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_FLOORon a GPU card); such a rate is never accepted. Three bad reads in a row end the windowASSIGNMENTS_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/hrwithActive assignments: 0until 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 refusesLIVE_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.jsonland torate_rereadsinoutcome.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, andpricing_rate_per_hourreports the final pricing rate. - Known limits, documented in
docs/colab-cli-contract.mdandscripts/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 usagein the real line format.FAKE_COLAB_USAGE_SEQUENCEmodels the rate and count of each call during the whole window, the recorded T4 open is the fixturet4_open_0001(FAKE_COLAB_USAGE_FIXTURE), andFAKE_COLAB_EXEC_RUN_DELAYkeeps a run cell alive for a while before it finishes normally.FAKE_COLAB_USAGE_SLOW_FROM_CALLandFAKE_COLAB_USAGE_SLOW_SECONDSmake 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_INVALIDbefore any colab call or paid step).anchorsrecords the boot gatekeeper goldens and runs the five judges over the 50 anchors (no P0a);p0aruns P0a only;allruns both as before. Default wall per phase 3600 / 5400 / 7200 s, so--dryprices the phase;--dryprints a[lock-check] phase=...line. The receipts, the summary, the filled goldens' provenance and the outcome draft record the phase.promote_goldens.pytakes theanchors(orall, or pre-split) window's goldens and refuses ap0awindow's (PROMOTE_GOLDENS_PHASE_REFUSED). rdlab bakeoff-lockcheck-anchors --part-dir <counted part> --out <file>: the 50 label-blind LC-1 anchors (rulerdlab-lc1-anchors-v1: the counted part minus the 30 determinism canaries; keysha256(seed|id); five per domain on distinct triads, ten domains; sorted by key) as the upload projection, with<file>.sha256and a manifest (rule, seed, pool size, sorted-id SHA-256, per-domain and per-triad counts). It reads onlyid,domainand the SHA-256 ofmaterial(the triad grouping) and refusesLC1_ANCHORS_SPLIT_IMPOSSIBLEwhen 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, VMmainbuilt 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.jsonkeeps its format, andp0a_children.jsonrecords 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>.jsonunder 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'scompleted_judgeslists the finished children, and a partialp0a_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 usagereports the rate of every open session on the account. The launcher reads it beforecolab newand 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_FLOORis 1.00/h on a GPU card (the T4 measured 1.07/h; CPU sessions are at most 0.26/h). Otherwise the window refusesLIVE_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-checkand--counted, with no default (MAX_RATE_REQUIREDbefore anycolabcall,BAD_MAX_RATEif it is not positive). A window rate above it refusesRATE_ABOVE_MAXand 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 whencolab newsucceeds, so the polls count against the cap. Every usage read is bounded bytimeout -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,
--dryprints a[rate]projection from--max-rate, labelled an estimate. A cost booked before the read ismax_rate_x_runtime_estimate, ornull(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_hourandmax_rate, andmax_rateis forwarded to the VM fortime_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_GRACEif it is not a positive integer).
No capacity
- No session assigned costs nothing. When
colab newfails 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.jsonbookscost: 0withcost_basis: no_session_assigned,session_assigned: falseandfailure_class: no_capacity.colab-cli.loggets aNO_CAPACITYline 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 newwas 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.jsonandprovenance.jsonl, and no builder writes a partmanifest.json. The launcher and VM used to look only for one, so every real window on a real part refusedPART_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-oneor--counted(PART_MANIFEST_MISSINGbefore anycolabcall). Before anycolabcall,part.jsonmust match the part schema and itschecksums.txtline, the part'sitems.jsonlmust match its line and holditems_countrows, and every...
reasoning-dataset-lab 0.5.0
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-partbuilds 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.--resumecontinues from a per-triad sealed checkpoint.--construction anchored-two-hopbuilds the anchored two-hop variant (domains, closures, entities and anchors rotate).rdlab bakeoff-proberuns 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-judgeruns one judge over the part's items without opening the sealed store, then closes its outputs intooutputs-closed.json.rdlab bakeoff-judge-scoreverifies 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-tolerancemeasures the empirical log-prob drift of a 10-item canary set over repeated runs, andrdlab bakeoff-logprob-masschecks 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,--countedand--dry, plus--resumeand--until STEPfor stubs. Timing windows on A100s have run with it; seeREAL_SERVICE_ASSUMPTIONS.mdfor what each real-service step relies on. - New environment variables:
RDLAB_JUDGE_ORDER,RDLAB_FIRST_LOAD_JUDGE_ID,RDLAB_ONLY_JUDGESandRDLAB_FORCE_PINNED_UV.REQUEST_TIMEOUTnow defaults to 60 s.
Experimental
- Sharded counted windows (
--shard k/n,--shard-manifest,--loop subblock|judge_outer,--subblock-items, andscripts/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
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.