Plan: start the projections from Microcosm's US population (docs; draft #42 registration, not posted) - #517
Conversation
Adds a design for starting Microcosm Dynamics' Social Security projections from Microcosm's US cross-section instead of the PSID, and a draft issue #42 registration for the tests that would score it. The registration is not posted; posting waits for Max's go. The plan covers how each frame person gets an earnings history (rank-kNN donors, the gate-1 method, against a QRF with every observed predictor), which Microcosm variables replace the PSID's non-wage income and wealth and how they age, which gates cover each part and the four new tests (H1, W2, gate 3's cells, A1), dependencies and tasks, and risks. Docs only; nothing runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The script reads column lists, source years, support channels, age codes and household-weight effective sample sizes from three cached Microcosm releases; it summarizes no outcome variable. Its output reproduces gate w1's recorded effective size (14,327.8) exactly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each becomes a property-based test on invented data: history bounds and determinism, rank round trips within the clamps, the PIA inference round trip, weight conservation without entrants, the aging rule's rank preservation, and the oracle-vs-PolicyEngine-US AIME differential. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lint job failed on the script's formatting. The rewrite passes black -l 79 and ruff, and no longer lists the table's index as a person column; every other line of its output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The independent review (Opus 5.5 on Subfleet) returned CHANGES REQUIRED with 3 blocking, 16 major and 19 minor findings. Each was checked against the code and fixed: - H1's three candidates are frozen in the registration, run once together, and adopted by a registered rule (H-A, else H-B, else H-C). - H1's SSA arm gets its own salted EPUF split instead of reusing gate_epuf_fill's TEST, and may learn only from H1-TRAIN. - Gate 3 scores the signed growth gap against SSA, with its partition and constants fixed from the start-year frame before any run, and a bite check. - The opening-stock statement is corrected: the PSID projection already carries recorded amounts forward (cola_track_a/benefits.py:747-790). - The frame's source_year is the income year (2022-2024). - The dense build lacks the columns the plan needs; decision 2 is reworked and the evidence script now lists household columns. - Properties, forward-law hand-off, PIA-inference limits, disclosures, platform and guards are restated or added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review round 1: CHANGES REQUIRED, answered. The independent review is an Opus 5.5 Subfleet lane, at head The main fixes, at head
The point-by-point response is in the review record ( |
Round 2 (Opus 5.5 on Subfleet) confirmed most round-1 fixes and found six major items, each checked against the code and fixed: - H1's SSA arm now gates the deployed procedure (PSID donors, certified fills refit on H1-TRAIN, conversion to capped wage-base shares); EPUF donors become a report-only configuration. - Gate 3's bite runs on an invented frame (wrong engine against faithful engine), and gate 3 locks separately after the engine exists. - The forward law reads start-year earnings and u_w, not the two-year lag (engine/forward_earnings.py:1444-1453, 697-739); a report-only u_w agreement block replaces the false claim. - P1 is defined on the frame's concept; the PSID-arm bite uses a reserved bite part; arm E's partition has a 5 percent false-fail budget. Minor items (seeds, splits, definitions, disclosure, conventions, wording, dates) are fixed as listed in the response. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review round 2: CHANGES REQUIRED, answered at |
Round 3 (Opus 5.5 on Subfleet) approved after listed fixes: - H1's registered run waits for gate_epuf_fill's verdict, which picks the fill procedure the deployed configuration refits; the overlap of that procedure's selection with H1-TEST is disclosed. - The anchor ranks within source year and channel. - The 2012-lag wording matches the code, and the u_w block fixes its estimator. - Arm P's bite margin is priced at the bite sample's size. - The dense build's missing derived variables are worded precisely. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mention the wait for gate_epuf_fill's verdict where the H1 run is summarized, list forecasts among the second comment's items, disclose the EPUF overlap in the plan's H1 summary, and record that PR #512 (selectable baselines) merged on 2026-10-04 as ff3fe30. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merge record. Merged at head |
What this adds
Docs only. Nothing here runs.
docs/plans/microcosm-start.mdis a plan for starting the Social Security projections from Microcosm's US cross-section, the population PolicyEngine-US runs on, instead of the 2011 PSID cohort.docs/plans/microcosm-start-registration-draft.mdis a draft issue Candidate 2 design: latent-permanent conditioned chained QRF (research memo) #42 registration of the tests that would score that start: two gates and two report-only checks. It is not posted. Posting waits for Max's go (d947).docs/plans/microcosm-start-evidence/holds a structure-only script, and its output, for three cached Microcosm releases. It records column lists, source years, support channels and effective sample sizes from household weights. No outcome variable was summarized. The output reproduces gate w1's recorded effective size of 14,327.8 exactly.The plan in brief
Independent review (Opus 5.5 lanes on Subfleet)
24427335review-r1.mdresponse-r1.md26d42793review-r2.mdresponse-r2.mdb81ff1cdreview-r3.mdresponse-r3.mdfd4a8ec4review-r3-delta.mdbb8bacf1review-r4-delta.mdAll reports are in
~/reviews/microcosm-start-plan-20261004/review/. Main changes the reviews forced:source_yearread as the income year;u_w, not the two-year lag.Decisions
The go to post the registration is queued as d947. The plan's "Decisions needed" also lists:
🤖 Generated with Claude Code