Skip to content

Head geometry README: MTP transport pairs are a random sample - #201

Merged
SamMausberg merged 1 commit into
mainfrom
evidence/geometry-transport-sample
Oct 2, 2026
Merged

SamMausberg merged 1 commit into
mainfrom
evidence/geometry-transport-sample

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

One-line evidence README fix. transport_mtp4b's 16,016 pairs were described as "all held-out pairs of 160 prompts". analyze_transport.py (lines 101-113) shuffles the held-out capture steps and takes whole steps until --max-rows 16000 rows, so they are a random sample of whole steps. The MTP held-out set is larger: the drift analysis samples 40,000 pairs from it. No data changes. The paper's wording already matches (#196, #200).

…e steps, not all held-out pairs

analyze_transport.py shuffles the held-out capture steps and takes whole
steps until --max-rows (16,000) rows, so the 16,016 pairs are a sample;
the MTP held-out set has more than 40,000 pairs. Found by reviewer 2 on #196.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 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-02T10:04:01.375366Z 9d24eec 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

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 9d24eec9d7

ℹ️ 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 at 9d24eec

The change is one line, at evidence/head_geometry/README.md:64.

  1. The new wording matches the code that produced the file. analyze_transport.py at 99b2d3f (lines 101-113) takes the held-out rows, shuffles their distinct capture steps with seed 20260930, and adds whole steps until the total reaches --max-rows (16,000). Only held-out rows of each step are kept. So "whole capture steps drawn at random from the 160 held-out prompts until 16,000 rows" is right. The old "all held-out pairs" was wrong. The file's "prompts": 160 is the number of distinct prompts among the rows evaluated (len(set(ps.rid[sel]))).
  2. I reran that selection on CPU from ~/vp-data/geometry and it reproduces the file:
    • The held-out split has 160 prompts (the same as the analysis split) and 61,764 MTP pairs over 3,851 capture steps.
    • The seeded draw takes 989 of those steps, gives exactly 16,016 rows, and touches all 160 held-out prompts.
  3. The held-out set is larger than 16,016. Its 61,764 pairs also cover rho_mtp4b's 40,000, which analyze_rho.py draws without replacement (rng.choice(keep, 40000, replace=False), split heldout; the JSON records pairs 40,000 and prompts 160).

Optional: "(989 of 3,851 held-out steps)" would tell a reader how large the sample is relative to the split. That count is not in a committed file, so it would need its source command if added.

Codex found no major issues at 9d24eec. The diff contains no host identity, and the commit has no attribution lines.

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