Skip to content

Evidence README: state the column fallback's 64-candidate cap - #168

Merged
SamMausberg merged 1 commit into
mainfrom
kernel/readme-column-cap
Oct 1, 2026
Merged

SamMausberg merged 1 commit into
mainfrom
kernel/readme-column-cap

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

evidence/certified_head/README.md described the column fallback as completing "a row that is undecided only by a near tie among a complete candidate list", without the cap the code applies. The route kernel (_route_kernel in src/certified_head/kernels.py) sends a row to the column path only if its status is exactly ambiguous and its candidate count is at most COLS_CAP = 64 (head.py). The gathered GEMM uses min(capacity, COLS_CAP) slots per row, and every other undecided row takes the whole-batch fallback. The README now says this.

README only; no code or evidence changes.

The column fallback completes a near-tie row only when its candidate list has at most COLS_CAP = 64 entries (route kernel: status exactly ambiguous and count <= COLS_CAP; the gather uses min(capacity, COLS_CAP)); any other undecided row takes the whole-batch fallback. The README stated the condition without the cap.
@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-01T23:52:17.376428Z 4f2a64e 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 at 4f2a64e

The new README sentence matches the code.

  • _route_kernel (src/certified_head/kernels.py:832-848) sets the column flag only for status exactly STATUS_AMBIGUOUS (2) with cnt <= COLS_CAP. head.py passes COLS_CAP = 64 (head.py:120, launch at head.py:836-844).
  • The merge (head.py:1158-1167) takes the whole-batch reference for every row with nonzero status outside that set. That includes a near tie whose complete list has 65 to 256 entries (the default capacity is 256) and any row with another status bit.
  • The gather uses min(capacity, COLS_CAP) slots per row (head.py:885, 1066, 1077).

Checks:

  • The change is README only: one file, no code or evidence.
  • pre-commit on the file is clean.
  • There is no hostname or IP in the diff or the body.
  • The author is Sam, with no co-author or "Generated with" lines.
  • Codex finished on 4f2a64e with no findings (+1).

The paper's per-position fallback sentence (paper/sections/contract.tex:52 on #161) still needs the same cap; that item is in my #161 verdict.

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