Skip to content

Appendix F: integrate repair Stage B (#58), P3 refuted at the operator level - #67

Merged
SamMausberg merged 3 commits into
mainfrom
paper/appendix-stageb
Oct 1, 2026
Merged

SamMausberg merged 3 commits into
mainfrom
paper/appendix-stageb

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

Integrates repair Stage B (merged in #58) into Appendix F, the status table and the evidence register. The main text is unchanged.

What the appendix now says

  • Test 3, anchored residual evaluation (residual_eval_b16.json, residual_eval_b16.agree_by_distance.csv, p3_gate_b16.json; new register entry repair-b). Setup: the HF target block by block (99.1% argmax agreement with the engine), 120 development and 80 held-out real block-16 DFlash blocks, split by request, ranks 0-512. Results:

    • Operator relative error is 0.76-0.90 at rank 16, 0.64-0.81 at 128 and 0.51-0.73 at 512, and rank 128 captures only 51-64% of development change energy.
    • Decisions agree at 35%, 37% and 44% of changed positions on the first replay (11-14% at the corrected position) and 24-35% on the second.
    • R_i < 1 holds at 4.7% of positions at every rank, rank 0 included (large-margin positions), and the median R_i is 13-16.
    • Free-running repair gains at most 0.11 accepted drafts in four sweeps. Exact Jacobi gains about one token per sweep.
    • In the economic gate the anchored evaluator stays at or below 0.28 of DFlash's rate. The faithful-evaluator reference reaches 0.27-1.03 after zero to four sweeps.

    Condition (1) fails first, so P3 is refuted whatever the verifier.

  • Test 1. Adds the README's point that a no-state verifier would also cheapen the DFlash baseline, so a fair rerun gives both the same verifier. The no-state verify now decides only the two-pass ceiling, not P3.

  • Test 2. Cites the exact Jacobi curve from the Stage B blocks (2.98, then 4.33-8.30 after one to five full passes). Engine sweeps and P2's verdict stay pending (repair-jacobi).

  • Status table. P3 is now "Refuted", with the operator-level numbers. P2 adds the one-token-per-sweep result.

  • Pending list. repair-residual and repair-verdict are removed, repair-jacobi carries P2's verdict, and repair-verifier decides only the ceiling.

Every number was checked against residual_eval_b16.json and p3_gate_b16.json. The README's large-margin explanation (median margin 12 against 1.3) comes from the README itself. One inconsistency is flagged to the repair workstream: the README gives "4.7% of positions (43 of 962)", but 43/962 = 4.5%. The JSON's rate 0.04669 equals 43/921, so the paper gives the rate only.

Validation

  • latexmk -pdf builds 67 pages with no LaTeX or BibTeX warnings. The main text ends on page 10. The rebuilt paper.pdf is committed, and I looked at the changed pages.
  • python scripts/check_paper_references.py passes: no uncited or missing keys, and every register path exists on origin/main.
  • The repo's hooks exclude paper/; there are no other changed files.

Appendix F's Test 3 now reports the anchored residual evaluator on 80
held-out block-16 DFlash blocks. Fixed bases leave a median relative
error of 0.64-0.81 at rank 128. Repaired decisions agree at 35-44% of
changed positions on the first replay, and R_i < 1 holds only where
even the anchor's logits suffice. Four sweeps add at most 0.11 accepted
drafts, and the economic gate stays at or below 0.28 of DFlash's rate.
Condition (1) fails first, so P3 is refuted whatever the verifier.

Test 1 notes that a no-state verifier would also cheapen the DFlash
baseline. Test 2 cites the exact Jacobi curve, about one token per full
pass. A new register entry, repair-b, covers Stage B; the P2 and P3
status rows are updated; repair-residual and repair-verdict leave the
pending list; and repair-jacobi now carries P2's verdict.
@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-01T03:44:53.649410Z e22ff00 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

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE

Reviewed head e22ff00: one commit that integrates the merged repair Stage B (#58) into Appendix F and the register. The main text is unchanged.

Numbers. Every number matches evidence/repair/residual_eval_b16.json and p3_gate_b16.json on main:

  • 99.1% engine/HF agreement;
  • 120 development and 80 held-out blocks, split by request parity;
  • operator error 0.76-0.90, 0.64-0.81 and 0.51-0.73, scoped to the first projection that reads each input;
  • 51-64% of the change energy at rank 128 on the development blocks;
  • decision agreement 35, 37 and 44% on replay 1, 11-14% at the corrected position, and 24-35% on replay 2;
  • R_i < 1 at 4.7%, the same at every rank, with margins of median 12 logits against 1.3;
  • median R_i 13-16;
  • free-running 4.33 and 4.33-4.44, at most 0.11 more than no repair;
  • exact Jacobi 2.98, 4.33, 5.35, 6.38, 7.34 and 8.30;
  • gate at most 0.28, and the faithful reference 0.27, 0.47, 0.66, 0.85 and 1.03.

Wording.

  • "Faithful" is used throughout, matching Repair Stage B: the anchored residual evaluator fails at the operator level #58's final README. "P3 is refuted at the operator level, whatever the verifier" follows from the progress result: four sweeps add at most 0.11 drafts, independent of the audit's cost.
  • The Test 1 paragraph keeps "refuted for this verifier" and adds the fair-baseline note.
  • The register's P3 row now reads "Refuted", citing repair-b and repair-a. The P2 row adds the exact-sweep result while the in-engine sweeps stay pending.
  • repair-residual and repair-verdict leave the pending list, repair-jacobi now carries P2's verdict, and repair-b's files and scripts exist on main.

R_i rate. Giving the rate alone is the right choice. The JSON's 0.04669 is 43/921: the R_i denominator excludes some of the 962 changed positions. So the evidence README's "43 of 962" is the inconsistency, and the repair workstream should fix it in a small follow-up.

Build. I rebuilt from source: 67 pages, no warnings, and the text matches the committed PDF. The main text ends on page 10, check_paper_references.py passes, and Codex finished with no comments.

Merge note. The branch is behind main, which now has #65's Figure 3. Merge main and rebuild the PDF; I'll confirm the merge commit contains only the merge and the rebuild.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE

Approving head 03704a9. It merges main (9ad5344) into the approved e22ff00.

  • Pure merge. I re-did the merge locally. The only conflict is paper/paper.pdf, and every other path is identical to 03704a9.
  • PDF rebuild. I rebuilt the PDF from 03704a9: 67 pages, no warnings, and the text matches the committed PDF. The main text ends on page 10.

My review of e22ff00 applies unchanged.

Merge order. #64 and #67 both edit app_register.tex, so whichever merges second needs main merged in again. I'll confirm that merge the same way.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE

Approving head eaa78ec. It merges main at 544e1aa, which includes #64, into the approved 03704a9.

  • Pure merge. I re-did the merge locally. The only conflict is paper/paper.pdf, and every other path is identical to eaa78ec.
  • The register. app_register.tex auto-merged with both PRs' entries kept: tuning, bench-equality and repair-b are present, and bench-tuning, repair-residual and repair-verdict are gone.
  • PDF rebuild. I rebuilt the PDF from eaa78ec: 69 pages, no warnings, and the text matches the committed PDF. The main text ends on page 10, and check_paper_references.py passes.

My review of e22ff00 applies unchanged.

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