Repository navigation
Record: 100-record exact-k versus PolicyBench's sampled 100 - #989
Merged
Merged
Conversation
Evidence record for Max's 2026-09-22 ask ("compare the 100-rec L0 with the
sampled"; "dont actually run pb but i want to see how the households differ").
Both designs on PolicyBench's pinned release populace-us-2024-5da5a95-20260611
(f32c2e5e…) and the same national targets from the labelled feed: the frozen
PPS sample self-weighted and post-stratified, the maintained L0/exact-k
calibrator's 100-record support, and a 200-seed sampling distribution. The
household-level side-by-side is households.csv / household_ids.json (public
release rows only); everything else is aggregates rendered from the bundled
JSONs by compare_designs.py. Nothing evaluates a model or changes PolicyBench.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…00-vs-sampled-20260922
16 tasks
….5 zero Review r1 found that one zero-valued Table 2.5 cell (three or more children, $30,000 to $35,000 of AGI) drives the national uncapped figure and 4.0 of the 6.3-point capped gap between post-stratification and exact-k, and that most of each exact-k support comes from one Sampford boundary draw. IRS's TY2023 workbook prints 0 in that cell, but its child columns over $20,000 to $35,000 reconcile with the all-returns rows only in sum, so IRS appears to have placed the cell's ~311,000 returns in the rows below. - The reading block leads the national set with capped MAPE, reports it without the two cells, and places exact-k among the 200 post-stratified draws: a lower capped MAPE than 87% of them, a lower within-10% share than every one, and on headline targets every draw beats it. - The household section says 90 of the 100 national exact-k households came from the boundary draw, from one draw seed. - README prose covers the zero-cell finding, the three weight columns, the commit behind the packages/ line citations and the input flags. verification.json drops its stale 2026-09-23 delivery fields. - source_revision.json carries the new reporting edits. validate passes 181/181 and rebuilds the producer to 12ee1e6f; no numerical output changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l (review r2) - zero_target_audit.json gains a workbook_check block: the TY2021-2023 workbooks' Chronicle paths, commit and sha256, the per-row child-minus-all-returns residuals, and the three-or-more column. Its workbook and source-cell flags now read true; IRS confirmation stays false. - The README names the $25,000-$30,000 and $20,000-$25,000 rows as holding the excess (r2-2), hedges the misplacement, calls uncapped MAPE the run's primary measure, and corrects the calibrated_weight definition. - The reading sets the cell's 4.0 points against each sampled design's gap (6.3 and 23.5 points) and reports exact-k's ex-cell capped MAPE as 59.0%: its smallest weight, 333.5, exceeds every error outside its five largest, so it holds no household in the cell. - source_revision.json records the new edits; validate passes 181/181 and rebuilds the producer to its recorded hash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… nits) - zero_target_audit.json labels the run's original interpretation as written before the 2026-11-11 workbook check, and the new reading says the all-returns rows suggest, rather than imply, the cell's true count. - source_revision.json's changes list names the two reading edits from review r2; its edits array already reproduced them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Evidence record, not a code change. Max asked on 2026-09-22 to compare the 100-record L0/exact-k support with PolicyBench's sampled 100 households, without running PolicyBench, and to see how the households differ.
Both designs use PolicyBench's pinned release
populace-us-2024-5da5a95-20260611and the same national targets from the labelled feed. The run covers 200 seeds with no reduction: 72.2 minutes, 16.3 GB peak RSS.The run fitted each target set separately. Two of the 26 feed-declared zero targets dominate the national uncapped errors: Table 2.5's EITC returns and amount for three or more children at $30,000 to $35,000 of AGI. IRS's TY2023 workbook prints 0 there, but its child columns over $20,000 to $35,000 reconcile with the all-returns rows only in sum: the $25,000 to $30,000 row holds 310,212 returns too many and the $20,000 to $25,000 row 1,187, so IRS appears to have placed that cell's ~311,000 returns in those two rows. Both sampled designs hold a household in the cell and take the capped maximum on both targets, which adds 4.0 points to their capped MAPE. Exact-k holds none: its smallest weight, 333.5, exceeds every error outside its five largest. The README reports this, and the national reading now leads with capped MAPE.
Findings
Contents
experiments/policybench-exact-k-100-vs-sampled-20260922/:README.md,compare_designs.py, which renders every aggregate from the bundled JSONs, andhouseholds.csv/household_ids.json, the 200 household rows side by side (public release rows only). The record includes no poverty or SPM targets. It evaluates no model and changes nothing in PolicyBench.Verification
181/181 validation checks passed, plus Ruff, Python compilation and CI inventory verification. A Subfleet lane (Astra) produced the record. Its sandbox could not commit, so the main session committed it and merged
origin/main.Commit ad1d711 changes reporting only, after review r1 (an independent Opus 5.5 agent). Review r1 reproduced every number from the bundled JSONs, confirmed that the release is public, and found two should-fix items and seven nits:
packages/line citations and the input flags (N6), and says what the AGI-band count counts (N3).verification.jsondrops its stale delivery fields (N2).source_revision.jsonrecords the new edits.validateagain passes 181/181 and rebuilds the producer script to its recorded hash, so no numerical output changes.Commit f080fc4 answers review r2 (the same agent), which reproduced every new number and found two should-fix items:
zero_target_audit.jsonnow carries aworkbook_checkblock with the TY2021–2023 workbooks' Chronicle paths, commit and sha256, the per-row residuals and the three-or-more column; its workbook and source-cell flags now read true, and IRS confirmation stays false (R2-1).Review r3 (same agent, head f080fc4) approved with nits: every
workbook_checkfield recomputes from the three workbooks, and the record still validates 181/181 and renders byte-identically. Commit 790e211 takes two of its nits: the audit marks the run's original interpretation as written before the workbook check, andsource_revision.jsonlists the r2 reading edits. It leaves the hash-tracked script comment as it is.The absolute local paths (N1) stay: the run recorded them in its inputs and audits, and the script's defaults name the original machine's inputs, which the README now says to override.
Not verified: why the earlier lost run failed, and how any model or reform performs on either set. The Table 2.5 cell's misplacement is a reading of IRS's published rows. Microcosm's calibration targets the same two cells; #1577 (draft) binds them as one $25,000 to $35,000 row, and Chronicle's feed carries the cell as IRS printed it.
🤖 Generated with Claude Code