Skip to content

Add an administrative-donor candidate (H-D) to the draft H1 registration - #607

Draft
MaxGhenis wants to merge 2 commits into
masterfrom
microcosm-start-h-d
Draft

MaxGhenis wants to merge 2 commits into
masterfrom
microcosm-start-h-d

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Draft. Docs only: nothing here is registered or posted.

Max ruled on 10 November 2026 that the Microcosm start's draft registration gain a candidate with donors from SSA's earnings file, and pass review, before it returns to him for posting. This PR adds that candidate, H-D, to docs/plans/microcosm-start-registration-draft.md, and its second commit revises H-D after the first review. Its plan edits name H-D wherever the plan counts H1's candidates, and limit general lines about the history procedure to the candidates they cover. The plan's section 5 doesn't change.

What H-D does

  • It matches each person to donors in SSA's 2006 Earnings Public-Use File (EPUF) by sex, age and earnings rank in the last donor year.
  • It carries the donor's rank in each year forward to the anchor year, 18 years for a 2024 frame, and reads earnings levels from the person's own cohort.
  • It takes earnings levels after the donor file ends from the PSID. It also estimates from the PSID, by marital status and disability, which kind of recent career a person draws.
  • Its donor pool leaves out both sealed test partitions, H1's own and gate_epuf_fill's, and its reader drops sealed persons' rows inside each chunk it decodes, before any other step reads them.
  • It adds rules for the random draws, empty cells, ties and missing years that the first review found open.

How H1 scores it

  • Arm E cuts H-D's donor file at 1988 and rebuilds careers observed in 2006, so the gate tests the 18-year shift the frame needs. Where a donor year falls before 1951, H-D reads the donor's 1951 position.
  • Arm P scores H-D on every cell, from donors observed in 2006 to PSID people observed in 2022.
  • Gating cells: the same for all four candidates, ages 22 to 69.
  • Adoption order: H-A, H-B, H-D, H-C.

Other changes to the draft

  • It states arm E's pass rule: every gating cell within tolerance.
  • It records the frame Max chose, populace-us-2024-spm-20260915, which holds the bytes of the release the plan read.
  • Its disclosure section lists what the session that added H-D read.

Review

  • Round 1 (GPT-6.1 Sol): changes required, with 17 findings. A comment on this PR maps each to the line that answers it.
  • Round 2 (GPT-6.2 Sol): changes required, with 15 findings, 7 of them blocking. The first asks that H-D's reader never decode a sealed person's earnings, or pool earnings after arm E's 1988 cutoff.
  • Round 3.
  • The plan's estimate for task T5 still prices three candidates.

🤖 Generated with Claude Code

Max ruled on 10 November 2026 (d2712) that the Microcosm start's draft
registration gain an administrative-donor candidate before it returns
to him for posting. This commit adds that candidate as H-D.

H-D draws each career from a person in SSA's 2006 Earnings Public-Use
File, matched on sex, age and rank in the file's last year. It carries
the donor's rank in each year forward to the anchor year and reads
earnings levels from the target's own cohort. The PSID supplies levels
for the years after the file ends, and a tilt by marital status and
disability. H-D's donor pool leaves out both sealed test partitions:
H1's own and gate_epuf_fill's.

The draft now also:

- scores H-D in arm E with its donor file cut at 1988, so the gate
  tests the 18-year bridge a 2024 frame needs;
- states arm E's pass rule: every gating cell within tolerance;
- orders adoption H-A, H-B, H-D, H-C;
- records the frame Max chose, populace-us-2024-spm-20260915.

The plan changes only where it counts or names H1's candidates.

Nothing here is registered or posted. An independent review of H-D
comes next.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
social-security-model Ready Ready Preview Nov 25, 2026 4:46pm UTC

Request Review

The first review of H-D (GPT-6.1 Sol) asked for changes: seven blocking
findings, five major and five minor. This commit answers each.

- H-D's rules now settle mid-ranks, the quantile convention, empty
  donor sets and cells, ties and every random draw, so two builders get
  the same careers from the same inputs and seeds.
- One rule builds each odd year the PSID didn't record, from the wave
  before, scaled by the wage index.
- H-D faces the same gating cells as the other three candidates, ages
  22 to 69. Where a donor year falls before 1951, it reads the donor's
  1951 position. That replaces the exemption for ages 60 to 69.
- The pool accessor parses three columns of each EPUF file in chunks
  and drops sealed persons' rows inside each chunk.
- The plan's general lines about the history procedure name the
  candidates they cover, and its branch lines say the work sits on
  master. Its section 5 doesn't change.
- The disclosure lists every read the departures record holds.

Nothing here is registered or posted. A second review round comes next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Round 1 of the independent review of H-D (GPT-6.1 Sol) asked for changes: 7 blocking findings, 5 major and 5 minor. The second commit answers each. Below, R is docs/plans/microcosm-start-registration-draft.md and P is docs/plans/microcosm-start.md, both at that commit.

Specification (F01–F06, blocking). The review found gaps that would let two builders produce different careers from the same inputs and seeds. The draft now fixes each:

Finding The gap The rule now Where
F01 quantile convention mid-ranks (W_ahead + w/2)/W; earnings at a position Q(p) = min{x : F(x) >= p}, zeros included, with no interpolation R:227, R:248
F02 empty donor sets and cells drop the class, then step the donor birth year, later first; an empty share cell draws no class; an empty earnings cell takes the nearest band; each case counted R:237, R:242, R:254
F03 the frame's 2023 needs PSID income for 2024 one odd-year rule from 1997: the wave reporting y - 1, scaled by the wage index; arm E scores it for 1997–2005, and the frame uses it for 2007–2023 R:253
F04 the frame's birth years, top codes, ranking population and beneficiaries birth years from the plan's single-year allocation; ranks within source year, channel, sex and band; beneficiaries matched on inferred-PIA rank against donors' PIAx ranks R:219, R:232, R:233
F05 the PSID records and weights behind each distribution heads and spouses of the reporting wave, with data/family.py labor income, demographic_panel weights, and a birth year from the same panel R:219, R:252
F06 random streams one SHA-256 recipe with seven key forms, fixed list orders, and fixed maps from a uniform to a choice R:220–226, R:235–236, R:243

Gating (F07, blocking). The review rejected H-D's exemption from arm E's cells for ages 60 to 69. H-D now faces the same gating cells as the other three candidates, ages 22 to 69. Where a donor year falls before 1951, H-D reads the donor's 1951 position (R:255–258), so arm E's cells for ages 60 to 69 score that rule over more of each career than the frame needs it for. The review's other route, a common core of 22 to 59 for all four, would shrink what H1 tests for H-A, H-B and H-C, so we didn't take it.

The rest.

  • F08: R:53–65 now say what each arm scores for H-D, and name the parts no arm scores.
  • F09: the pool accessor parses only the columns H-D needs, in chunks, and drops sealed persons' rows inside each chunk before any other step reads them. No function returns, stores, logs or caches a dropped row, and the accessor never calls epuf_fill_gate's matrix reader (R:213). Pool and sealed rows lie mixed through both files, so each chunk holds sealed rows once decoded. That narrows the finding without meeting its letter; the draft says so (R:411, R:482), and round 2 judges it.
  • F10: arm P "tests some consequences" of drawing careers from SSA's records, and class matching leaves survival and residence differences unresolved (R:259).
  • F11: R:221 states the zero and cap uniforms as a fixed ordering priority.
  • F12: R:265 says each added candidate raises the chance that an inadequate one passes, and that we have no estimate of that chance.
  • F13: P:199 gives the reason for H-D before H-C. H-D takes each career's whole path of ranks from SSA's records, while H-C rebuilds careers backward one year at a time.
  • F14: the plan's general lines about the history procedure now name the candidates they cover (P:5, P:19–20, P:170, P:183–187, P:209, P:228, P:348, P:356 and P:401). The branch lines at R:140 and P:188 now say the work sits on master, where pull request 515 merged it.
  • F15: the disclosure (R:468–482) now lists every read in the departures record, with its status, and says what H-D's run will decode.
  • F16: R:211 names the three EPUF fields H-D reads and the four it doesn't, and P:196 states EPUF's sample in people.
  • F17: the added sentences take the review's rewrites wherever the fixes kept them.

Round 2 comes next. The draft goes back to Max only after a review approves it.

@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Round 2 of the independent review (GPT-6.2 Sol) asked for changes: 7 blocking findings, 4 major and 4 minor. It found that the second commit resolves five of round 1's findings (F01, F03, F07, F11 and F13) and resolves the other twelve in part.

Its blocking findings ask for:

  • a reader that never decodes a sealed person's earnings, or pool earnings after arm E's 1988 cutoff;
  • an arm P that holds out every member of a held-out unit, from before any join;
  • complete rules for moving a donor birth year, for frame years before 1951 and for sex-years with no donors;
  • a separate, fully specified match for frame beneficiaries, or that match left out of the adoption claim;
  • the frame's age allocation, the anchor inputs, the PSID joins and the class rules, stated in the draft;
  • a summary of what a pass certifies that matches what each arm scores.

It agreed with one gating set of ages 22 to 69 for all four candidates, with the odd-year rule, and with placing H-D before H-C, and asked for a narrower claim for each. Round 3 reviews the commit that answers these findings.

This branch was successfully deployed

1 active deployment
Preview — 694a710f Deployed Nov 25, 2026 by vercel[bot]
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