Skip to content

Support screen: save the per-cycle table for P9 (cycles.pt provenance) - #104

Merged
SamMausberg merged 2 commits into
mainfrom
drafter/support-cycles
Oct 1, 2026
Merged

SamMausberg merged 2 commits into
mainfrom
drafter/support-cycles

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

This PR records the code and command that wrote ~/vp-data/drafter/support/zlab_b16_cycles/cycles.pt, the per-cycle table behind the repair workstream's P9 support oracle (#97, review item B3).

  • experiments/drafter/support_screen.py --save-cycles writes cycles.pt. It is cherry-picked from b631dc4 on drafter/buffered-verify and lands here as 1e66b99, with the same diff. That is the version that ran: support_screen.py did not change on that branch between b631dc4 and the 08:27 run, and the selector mode came later, in 70adfe7.
  • experiments/drafter/run_support_screen.sh is the job script that ran it.
  • evidence/drafter/README.md, P6 support screen section, records the file's provenance. It is 57 MB and not committed. SHA-256: a587d952074d93f5d135c75760a32587f3e7a631360c4f20884be1c7bdddc36b. It has 21,067 rows, the same kept cycles as the committed screen, and its summary.json equals support/zlab_b16_panel_v1_summary.json in every number. The README also lists the fields, the exact command and the environment: stock engine ~/sglang at bd66ce343e, Python 3.12.14, torch 2.13.0+cu130, transformers 5.12.1, SpecForge 3cb0510f0bd0e8c195ac6e9c5c62f6b50580ff83, and flash-linear-attention 0.5.2.

Command (shared slot, GPU lock ticket 1790824862701528348, run 2026-10-01 08:27 UTC):

scripts/gpu_lock.sh -s experiments/drafter/run_support_screen.sh

This expands to:

source scripts/sglang_env.sh
PYTHONPATH=~/vp-data/drafter/pylib:~/vp-data/drafter/src/SpecForge \
python experiments/drafter/support_screen.py --trace ~/vp-data/drafter/trace/b16 \
  --panel experiments/drafter/panel-v1.jsonl \
  --draft z-lab/Qwen3.5-4B-DFlash@9a1996ccf887b79ab3af4fcbf8c1d1f4b5658bcf \
  --out ~/vp-data/drafter/support/zlab_b16_cycles --save-cycles

Checks: pre-commit passes on the changed files. The screen's numbers reproduce the committed summary exactly.

@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-01T10:25:28.558665Z 33e1a0c PR opened
ℹ️ 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.

SamMausberg added a commit that referenced this pull request Oct 1, 2026
@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE

Reviewed head 33e1a0c, two commits on main 0b8ca46. This unblocks #97's B3.

  • The cherry-pick is exact. 1e66b99's diff (support_screen.py --save-cycles, run_support_screen.sh) is identical line for line to b631dc4.
  • The README fields match the file. I loaded cycles.pt. Its keys are rid and domain (21,067 each), prefix_len (the anchor position), candidates and candidate_logits [21,067 × 15 × 16] with the logits in BF16, truth (the realized continuation), engine_draft, L_engine, L_hf, U_1…U_16, and meta. Those are the fields the README lists, and the SHA-256 matches.
  • The command matches run_support_screen.sh: trace, panel, draft revision, out dir, --save-cycles, and PYTHONPATH from the drafter's pylib and SpecForge.
  • The summary matches. The run's summary.json equals the committed support/zlab_b16_panel_v1_summary.json in every number. The only difference is the trace field's text (absolute path against ~/… with a description).
  • The 57 MB file is not committed.
  • Checks. pre-commit passes, Codex finished on 33e1a0c with no comments, and the commits are Sam's with no AI attribution.

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