Skip to content

Remove the WIP PDF and the unused config template; bring README, RUNBOOK and SETUP in line with the tree - #125

Merged
SamMausberg merged 7 commits into
mainfrom
organize/repo
Oct 1, 2026
Merged

SamMausberg merged 7 commits into
mainfrom
organize/repo

Conversation

@SamMausberg

@SamMausberg SamMausberg commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Part of the repository organization pass. This PR covers the top level: two removals and the four top-level documents. TASKS.md and the test renames (#122) are separate PRs; evidence/ and experiments/ are covered by #124.

Removals

  • The_Work_a_Verifier_Needs_WIP.pdf: an earlier build of the paper, kept beside paper/. Sam decided paper/ is the only paper. Nothing in the tree, the paper or any unmerged branch refers to it.
  • configs/experiment_contract.example.json, and with it configs/: the imported bundle's experiment-contract template, never filled in ("status": "TEMPLATE_NOT_EXECUTED"). No script, test, document or unmerged branch reads it; bench/ records the same facts for every run.
  • The .gitignore line for Inco_Verifier_Research_v3.zip, which has moved out of the checkout. The take-home PDF and writing.md stay ignored.

sources/bundle-v3.sha256 still lists both removed files. It records the bundle as imported, not the current tree (several listed files, such as README.md and paper/paper.tex, have changed since), so it is left unchanged.

Documents

The three documents overlapped, and parts had gone stale against the tree:

  • README.md listed results only up to head geometry. It now gives what the project is, the main results with the evidence directory behind each (profile, transport, self-evidence, state safety, serving baselines, drafter, repair including P9, P4, backbone, witnesses), one reproduction block, and a layout table that covers every top-level directory and file (the old map left out bench/, engine/ and the top-level documents). It also corrects "Sections 4.5 and 6" to Section 6, where the paper narrows its novelty claim. The attribution and citation sections are unchanged.
  • RUNBOOK.md section 5 named evidence/state/ (the directory is evidence/state_safety/), listed repair as "to be assigned" and showed merged work as in progress. It now points at the indexes from Index evidence/ and experiments/: topics, generators, paper claims and the bundle files #124 and leaves status to TASKS.md. Section 2 adds scripts/check_paper_references.py and says exactly which files scripts/verify_artifact.py rewrites (the logs and JSON at the top of evidence/, validation_run.json and data/synthetic_drift.csv) and which four bundle records are static. Section 3 describes job containment and the start-up lock. Section 4 points at bench/arms.toml instead of repeating flags. Section 6 adds the pinned-pool and radix-cache rules that equality runs follow. Since Index evidence/ and experiments/: topics, generators, paper claims and the bundle files #124 merged, section 5 is a pointer to experiments/README.md and evidence/README.md instead of a second table, and the README's layout rows name both indexes.
  • SETUP.md: adds the DFlash-4B drafter (z-lab/Qwen3.5-4B-DFlash@9a1996cc) to the model table, replaces "MTP and DFlash2 launches have not been tested" with what has been served and where it is recorded, names both Lean files, and cites the derivation of the 133-request cap.
  • AGENTS.md: a short "Where files go" section that points at the README's layout.

Audited and left alone

Checks

  • Every number in the README was checked against the committed evidence file it cites.
  • python scripts/verify_artifact.py, run on a scratch copy of main, passes all six CPU jobs and the Lean check. It changed 11 of the files it writes (run times and the Python version), which is what RUNBOOK section 2 now says.
  • python scripts/check_paper_references.py: all checks pass.
  • pytest -q on CPU at 7aab8fc: 249 passed, 15 skipped. Later commits (the merge of main with Name the three moonshot P4 tests after their workstream #122 and Index evidence/ and experiments/: topics, generators, paper claims and the bundle files #124, the RUNBOOK pointer and the Codex fix) change only Markdown, so the suite was not rerun while bench's timed hold needed a quiet CPU.
  • pre-commit run --files on the changed files passes, including the host-identity guard.

Codex

  • README transport sample sizes (P1, on 7aab8fc): fixed in e6f47c4. The drift medians keep 40,000 pairs per drafter (rho_*.json); the skip rates now name 4,020 DFlash-4B and 16,016 MTP-4B pairs (transport_*.json).

Review (on e6f47c4), fixed in bb2ad64

  1. Transport against the static screen: "no more than" became "no better than", the evidence README's wording (DFlash-4B k-means 64 skips 0.59% against the screen's 0.58%).
  2. The opening no longer says every GPU number was served: some come from the running server, others from its kernels in isolation (P4, backbone) or offline on captured states (P3, P6, P9), and each evidence README says which.
  3. The 0.85% threshold is described as a per-row threshold whose median over rows is 0.85%, each row's radius taken about its 64-row tile.
  4. @codex review requested on bb2ad64.

Suggestions taken: P3's 33-44% is labelled as the first replay; "near ties" is defined (both runs' top-two logprob gaps at most two BF16 steps, 0.25 nats); RUNBOOK section 3 mentions the priority lane. The panel-v1 wording in evidence/drafter/README.md is outside this PR.

Review (on bb2ad64), fixed in 99496ca

  • The near-tie gloss was false for one event (gsm8k-0012, MTP steps 1 at c1 vs c32: an exact tie in one run, 0.375 nats in the other). It now reads "each divergence is an exact tie in one run or has both runs' top-two gaps within two BF16 steps (0.25 nats)", which holds for all 2,488 events in divergences_pinned.csv (checked with a script). @codex review requested on 99496ca.

The_Work_a_Verifier_Needs_WIP.pdf duplicated an earlier build of the paper;
the only paper is paper/. configs/experiment_contract.example.json was the
imported bundle's unexecuted template ("status": "TEMPLATE_NOT_EXECUTED"),
read by no script, test or document; the serving harness records the same
facts per run. The bundle archive has moved out of the checkout, so its
.gitignore line goes too. sources/bundle-v3.sha256 keeps its entries for
both files because it records the bundle as imported, not the current tree.
README: main results updated to everything merged (profile, geometry, state
safety, bench, drafter, repair, P4, backbone), each with its evidence path;
one reproduction block; a layout table covering every top-level directory and
file; "Sections 4.5 and 6" corrected to Section 6. Attribution and citation
sections unchanged.

RUNBOOK: section 5 maps every experiment to its code and evidence directory
(it named evidence/state/ for evidence/state_safety/ and listed repair as
unassigned) and leaves status to TASKS.md; section 2 adds
check_paper_references.py and says which evidence files verify_artifact.py
rewrites and which are static; section 3 describes the job containment and
start-up lock; section 4 points at bench/arms.toml instead of repeating
flags; section 6 adds the pinned-pool and radix-cache rules for equality runs.

SETUP: adds the DFlash-4B drafter to the model table, replaces "MTP and
DFlash2 launches not tested" with what has been served, and names both Lean
files. AGENTS.md points at the layout.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T14:45:00.548531Z 99496ca Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7aab8fca78

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md Outdated
Comment on lines +63 to +66
(`evidence/precision/head_constants.json`). On 40,000 held-out pairs each from
the public DFlash-4B drafter and the native MTP layer, that drift has a median
of 0.92 and 0.95, and for every bound family and tiling tested certified
transport skips at most 0.65% of the vocabulary on average, no more than a

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Report the transport certification sample sizes separately

This wording attributes both the drift medians and the 0.65% certification result to 40,000 pairs per drafter, but the transport experiments behind the skip-rate claim used only 4,020 DFlash pairs and 16,016 MTP pairs (evidence/head_geometry/README.md, sections “Transport certification rates”). Only the separate rho_* analyses used 40,000 pairs each. Since this substantially overstates the evaluated sample size for a central negative result, split the drift and certification claims and state their respective sample counts.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in e6f47c4. The drift medians keep their 40,000 pairs per drafter (rho_dflash4b.json, rho_mtp4b.json); the skip-rate sentence now names its own samples, 4,020 DFlash-4B and 16,016 MTP-4B held-out pairs (transport_dflash4b.json, transport_mtp4b.json).

evidence/README.md and experiments/README.md (#124) now map every experiment
to its evidence and the paper claims it supports, so RUNBOOK keeps a pointer
instead of a second table, and the README's layout rows name both indexes.
The drift medians come from 40,000 held-out pairs per drafter (rho_*.json), but
the skip rates come from 4,020 DFlash-4B and 16,016 MTP-4B pairs
(transport_*.json). The sentence attributed 40,000 pairs to both (Codex).
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES

Review of the exact head e6f47c4 ("README: give the transport certification sample sizes separately"). Every number in the new README matches the committed evidence. Three sentences misstate what that evidence covers, and Codex has not yet reviewed e6f47c4.

What I verified

  • Removals. Nothing on main, in paper/, or in any unmerged remote or local branch refers to The_Work_a_Verifier_Needs_WIP.pdf or configs/experiment_contract.example.json. The only mention is the template's line in sources/bundle-v3.sha256, which records the import (stated). No branch changes README.md, RUNBOOK.md, SETUP.md, AGENTS.md or .gitignore.

  • README numbers. Each matches the committed evidence:

    • the profile shares (10.3%, 6.1%, 17.2%, 41.6%);
    • the drift medians (0.92, 0.95 on 40,000 pairs each), and the new transport samples (4,020 and 16,016 pairs) with at most 0.65%;
    • 6,005 positions with 1.26-1.55 candidates;
    • the 1.40% / 0.35% fallback;
    • the pinned-pool rates (3.5-4.0 and 3.1-3.5);
    • 6.18 tokens per cycle on 80 requests;
    • 4.78 / 44.82 ms;
    • at most 0.11 drafts;
    • P9's +0.99 (0.89-1.07);
    • P4's 1.22x, about 1.08x against the 1.10x gate, and two void attempts;
    • the backbone's 0.77 for out_proj and o_proj, which share the 2560 x 4096 shape;
    • 21 test_ methods, and Lean 4.19.0.

    "Section 6" matches the paper's own "our claim is narrower (Section 6)". The Attribution and Citing sections are byte-identical to main. No number comes from an open PR.

  • RUNBOOK.

    • requirements-cpu.txt and requirements-dev.txt exist, latexmkrc runs fetch_mlsys_kit.sh, and bench.sweep/bench.pareto take the options shown.
    • The three test scripts have __main__ blocks that write the named evidence directories.
    • The verify_artifact.py paragraph agrees with evidence/README.md.
  • SETUP.

    • The DFlash-4B revision is in the HF cache at 1.2 GB.
    • formal/ has two .lean files, both checked by check_lean.sh.
    • Section 1.3 of evidence/moonshot/README.md derives the 133.
    • bench/arms.toml has the capacity flags.
    • No evidence README records a 27B DFlash2 serve.
  • Checks. All commits are by Samuel Mausberg, with no AI lines. The hostname check is clean over git log -p origin/main..HEAD and the PR text. No file cites ~/vp-coord or notes.

Blocking

  1. Transport is not below the static screen everywhere. "No more than a static screen" is wrong for DFlash-4B on k-means 64 tiles: transport skips 0.59% against the static screen's 0.58% (evidence/head_geometry/README.md, DFlash table). "No better than a static screen", the evidence README's own wording, is accurate.

  2. Not every GPU number was served by SGLang. "Every GPU number below was measured on Qwen3.5-4B ... served by SGLang at the pinned commit" is not true of all of them:

    • P4 and the backbone numbers are kernel microbenchmarks.
    • P3, P6 and P9 are offline replays.
    • P1's kill test is a CPU forward.

    Something like "measured on Qwen3.5-4B at the pinned SGLang commit, in the server or with its kernels; each evidence README says which" would be accurate.

  3. The 0.85% threshold is a median over rows. "A threshold whose median over 64-row tiles is 0.85%" describes it wrongly. It is the median over rows, each row using the radius of its 64-row tile (evidence/precision/README.md; tiles/contiguous/euclid_int8_row_threshold.p50 = 0.00854, tile_rows 64).

  4. Codex on e6f47c4. Its last review is of 7aab8fc. That P1 (sample sizes) is answered and fixed, but e6f47c4 itself has not been reviewed. Please request @codex review on the final head.

Suggestions (non-blocking)

  • P3's 33-44% range is replay 1 only (residual_eval_b16.json: 0.327 at rank 16 to 0.436 at rank 512). Replay 2 is 24-35%. Naming the replay would avoid confusion.
  • "Only at near ties" could carry the evidence README's definition: an exact tie, or margins within one BF16 spacing or 0.25 nats.
  • RUNBOOK section 3's "Jobs run in arrival order" omits the priority lane that gpu_lock.sh still implements.
  • Outside this PR: evidence/drafter/README.md describes panel-v1 inconsistently ("32 MATH-500 problems" against 16+16+16 prompts). The README's "80-request pilot panel" agrees with acceptance_summary.csv, so this is for the drafter workstream.

… phrases

Review of e6f47c4: not every GPU number comes from the running server (P4 and
the backbone are kernel microbenchmarks, P3, P6 and P9 replay captured states),
so the opening says so; the 0.85% threshold is a median over rows, each with
its 64-row tile's radius, not over tiles; transport is no better than a static
screen, not below it everywhere (DFlash-4B k-means 64: 0.59% against 0.58%).
Also name P3's first replay, define near ties by their logprob gap, and say
that the GPU queue's arrival order has a priority lane.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES (one sentence)

Re-review on bb2ad64. My items 1-3 are fixed:

  • "no better than a static screen";
  • the measurement sentence now says server, kernels in isolation, or offline on captured states, and each README says which;
  • 0.85% is a per-row threshold, its median taken over rows, each row with its 64-row tile's radius.

The RUNBOOK priority-lane sentence and the P3 replay naming are also right. Codex is running on bb2ad64 (item 4).

Blocking: the new "near ties" gloss overstates the evidence. My suggestion led to it, so here is the evidence and exact wording. README line 85 now says "at every divergence both runs' top-two logprob gaps are at most two BF16 steps (0.25 nats)". evidence/state_safety/divergences_pinned.csv contradicts that:

  • gsm8k-0012 (pair "concurrency 1 vs 32 (cap 8), mtp_s1", position 32) has margin_a 0.0 and margin_b 0.375, class tie. One run is at an exact tie and the other's gap is 0.375 nats.
  • The sentence's scope ("as often as from itself at another concurrency ... and only at near ties") covers that pair.

The evidence README's classes are: an exact tie in one run (tie, 2,364 events), both margins within one BF16 step (one_ulp, 109), or both within two steps, 0.25 nats (near, 11). Suggested wording:

only at near ties: each divergence is an exact tie in one run or has both runs' top-two gaps within two BF16 steps (0.25 nats), and no run commits a token that is not its own top-1.

One event (gsm8k-0012, MTP steps 1 at c1 vs c32) is an exact tie in one run
with a 0.375-nat gap in the other, so "both runs' gaps at most 0.25 nats" was
false. Every one of the 2,488 events in divergences_pinned.csv is an exact tie
in one run or within two BF16 steps (0.25 nats) in both (review).
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional, on 99496ca: Codex is still running on this head. I will confirm or withdraw once it finishes.)

Re-review on 99496ca. The only change since bb2ad64 is the near-ties sentence, which now reads "each divergence is an exact tie in one run or has both runs' top-two gaps within two BF16 steps (0.25 nats)". That matches the classes in divergences_pinned.csv: tie covers gsm8k-0012, and the other events are one_ulp or near.

All four of my blocking items are resolved, including the three fixed in bb2ad64. The rest of my review of e6f47c4 stands: every README number is verified, the removals are unused, and no branch overlaps.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 99496ca40a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (confirmed on 99496ca)

Codex finished its review of 99496ca with no findings: the summary reads "Completed" and it left no inline comments on this head. The head is unchanged, so my approval stands.

@SamMausberg
SamMausberg merged commit 44309d8 into main Oct 1, 2026
@SamMausberg
SamMausberg deleted the organize/repo branch October 1, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant