Skip to content

IJM checklist fixes: text against the tables, Table 1, metrics, pins, references - #9

Merged
juaristi22 merged 27 commits into
PolicyEngine:mainfrom
juaristi22:ijm-submission-checklist-8
Nov 24, 2026
Merged

juaristi22 merged 27 commits into
PolicyEngine:mainfrom
juaristi22:ijm-submission-checklist-8

Conversation

@juaristi22

@juaristi22 juaristi22 commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #8. This is the first batch of the fixes that issue lists as required before the paper goes to IJM.

Merge order

#2, then #6, then this. This branch contains both, so until they merge the diff shows their commits too. Draft until they are in.

Merge #2 and #6 with a merge commit, not a squash. Squashing #2 alone would leave this branch with conflicts in 15 files (simulated locally; with a merge commit there are none), and #6's first commit (f1e4827) is the record that the 2025 criteria were fixed before any 2025 run.

This PR's own commits:

What the fixes change

Every edit brings the manuscript into line with its committed runs, its code, or the pinned source of a method it compares against. The only numbers that change are the OpenML mean ranks. No run artifact and no registry key changes.

  • Mean ranks (f9bf58d, IJM submission checklist: fixes required before submitting #8 section 1). imp tables ranked nine methods and printed eight: the forest row hidden as a duplicate still took a rank, so the printed ranks ran up to 8.83. Ranks now cover the printed rows, with a test that fails on the old code. The unconditional marginal draw moves from tied best (3.33) to second (3.17), behind the unweighted ablation (3.00), and the text follows.
  • Sentences the tables contradict (27f660a, 5e3b3fb, section 1).
    • "+534 dividend W1" is 308.65 in the ablations table.
    • "Donation-based draws sit near 1" described the marginal draw. Hot deck's net-worth q99 ratio is 0.76 and 0.75, and the text now reports all three and says the cause is not isolated.
    • The unweighted ablation, not the full estimator, is closest to the AUC floor.
    • The text and captions state the 20,000-row caps the runs used.
    • The CPS zero shares are the weighted ones (41.7 and 84.7 percent).
    • Four more of the same kind that IJM submission checklist: fixes required before submitting #8 does not list: the marginal draw "ties or beats every method on marginal metrics"; the weighting effect "larger than the gap to any competing method" (OLS's gap is larger); weighting "approximately free" on the CPS task (removing it raises dividend W1 by 36, from 102); and "donation preserves marginals and tails by construction".
  • Table 1 (82954f5, section 2). The "ungated/unchained forest" row is microimpute 1.15.1's QRF, which chains its targets, draws from a ten-level quantile grid and runs on a fixed seed. It is now labelled "QRF (microimpute)" and described as a baseline as shipped. The gating claims in the abstract, results, discussion and conclusion become comparisons with that baseline and say that no gates-off arm is run. Hot deck's row says its donor weights standardize the matching variables and do not enter the choice of donor. The registry, its test and PLAN.md follow.
  • Metrics (8879296, section 3). Pinball loss is described as coded: a marginal score whose predicted quantiles are read without receiver weights. The paragraph that called the marginal draw's pinball lead "not an artifact" is rewritten. Coverage's invariance to reweighting is claimed for the definition, and the 2,048-point resample is stated. No code changes.
  • Pins and availability (e78354a, section 5). The estimator pin moves from 71b5a83, the head of the squash-merged Add a DataFrame front door to populace-fit with explicit-weights contract microcosm#290, to the squash commit b538d8a4 on main. The two package trees are byte-identical. microimpute is 1.15.1, not 1.1.2. The availability statement lists every input and says the Federal Reserve replaced the 2022 SCF extract on 9 October 2026. The README gains the one-line install commands.
  • Which gate ran (c03b122, section 2). Section 3.1 says the experiments use the gate as fitted on the training rows, and that its behavior on rare sign classes is not evaluated here (Test the regime gate on rare sign classes (wider CPS task, in-sample vs cross-fitted gate) #7 would evaluate it).
  • References (d215764, section 7). The chained-imputation citation pointed at a paper on disclosure limitation; dorazio2021statistical does not exist (that journal issue is another article); meinfelder2011simulation has no match in Crossref. Two working-paper and website entries become the published articles, two uncited claims are cut, and the eleven uncited entries are removed. A test checks that every citation key the registry uses is defined.

What merging #6 adds here

  • The merge (60db809). One conflict, in references.bib: Replicate the paper's SCF experiments on the 2025 wave #6 adds its two Federal Reserve entries beside an entry the fixes removed as uncited. Both additions are kept. All 40 entries are cited and every citation is defined.
  • The 2025 tables (106561d). imp tables rewrites Replicate the paper's SCF experiments on the 2025 wave #6's three 2025 tables with the "QRF (microimpute)" row label. No number moves, and nothing under docs/scf-2025-replication/ changes: the report keeps the wording of the frozen criteria file. The appendix's two mentions of the profile say "production scale", as the body does.
  • PDF (096a006). Rebuilt with quarto render paper/index.qmd --to pdf; with the 2025 appendix it is 36 pages.

The appendix text is #6's draft, otherwise untouched. It still calls the microimpute row "the ungated forest", and the body sentences it says hold for 2022 only are not yet reworded: that is #8 section 4.

Checks

  • CI on 096a006: 86 passed, 2 skipped (the network data tests), Ruff clean. The same locally.
  • uv run imp tables and uv run imp replication reproduce every committed table and report file.
  • The pin: an environment built from the repointed lockfile draws the same values as the old pin in 24 of 24 cells (the full estimator and both ablations; SCF wealth, CPS components, abalone and the minimal population view; seeds 0 and 1), and every metric equals the committed one.
  • The PDF builds with no undefined reference or citation.

Still open in #8

For the authors to read first

  • The reworded gating claims sit in the abstract and the conclusion. If a gates-off arm is added later, they change again.
  • Two passages are flagged and left as they were: the results list "extreme zero inflation" as an advantage over matching, while the CPS table shows hot deck holding the zero mass within noise; and the OpenML rank table counts the unchained row, which equals the full estimator on single-target datasets.

🤖 Generated with Claude Code

juaristi22 and others added 27 commits August 14, 2026 14:18
Per the 2026-08-08 stack rename (microcosm repo PR #638): \populace now
renders Microcosm, \populacefit -> microcosm-fit, the populace-scale
profile becomes production-scale, repo URLs move to
PolicyEngine/microcosm, and populace2026 -> microcosm2026 (retitled
"formerly Populace"). A footnote at the first product mention explains
the legacy prefixes. Registry keys, run artifacts, and the pinned
pre-rename git deps are deliberately untouched; tables regenerate from
committed artifacts with label-only changes, plus paired-delta sd cells
in the ablations table (means unchanged).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…gure

Addresses the read-through notes: abstract cut to ~230 words with the
three headline results; regime gates rewritten as a four-step flow with
concrete examples; the population-view harness gets a TikZ schematic and
per-block definitions (energy distance, coverage, C2ST with the
Lopez-Paz & Oquab citation, tail block) each ending in a how-to-read
sentence; pinball loss named as quantile loss and defined; Wasserstein-1
defined with the order explained; a hand-authored method-surface table
makes explicit that the ungated/unchained row is the microimpute QRF
baseline, stays weighted, and confounds gating with chaining; results
open by defining "the full estimator" and the mean (sd) and bolding
conventions; the ablations table gains a worked reading and its sd
column exposes the chaining delta's dispersion; "binds"/"omnibus"
jargon spelled out; SIPP/PSID future work moved to the discussion; the
intro states the SSI caseload itself is not simulated here.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Applied the humanizer style pass after the content edits, per the
revision plan's required gate: split the longest multi-clause sentences
in the introduction, background, data, results, discussion, and
conclusion; un-stacked paired em-dash asides (parentheses or separate
sentences where they read better); and verified zero hits for the AI
vocabulary and inflated-significance pattern lists across all sections.
Numbers, citation keys, macros, and generated tables untouched.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Fed released the 2025 SCF on 2026-10-09. This fixes, before any method
is fit on it, which of the paper's SCF findings count as replicated and by
what rule: paired-seed sign rules for the within-SCF task, the sampling
floor's seed sd as the noise unit for the population view, a factor-of-two
band on stated effect sizes, and a Spearman rule for method rankings.

Also records what a schema-only look at the new files found: all 17 used
columns survive; race folds the Middle Eastern code into class 1; and the
Fed re-issued the 2022 extract in 2025 dollars at the same URL, so a
cold-cache load no longer reproduces the paper's inputs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ep and harness

The Fed replaced scfp2022s.zip on 2026-10-09 with a copy re-based to 2025
dollars, so a cold-cache load_scf(2022) no longer returned the paper's
inputs. The loader now accepts only registered files (SHA-256 -> wave and
dollar basis) and returns a stated basis, re-basing with the Fed's CPI-U-RS
factors when the cached file is on another one. On the file the paper used
the returned frames are bit-identical to before.

imp sweep and imp harness take --scf-year and --scf-dollar-year, record the
input file's hash and basis in manifest.json, and default non-2022 harness
runs to their own run directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
experiments/replication.py encodes the rules of
docs/scf-2025-replication-criteria.md: paired-seed difference and tie rules,
the sampling floor's seed sd as the population-view noise unit, the
factor-of-two magnitude band, and the Spearman ranking rule. imp replication
applies them to the committed runs and writes the comparison document, its
CSVs, the appendix's verdict table, and a macro file for every number the
appendix cites. imp scf-checks checks weights, the balance-sheet identity,
and the Fed's Table 2 on both waves.

Tests pin the criteria file's hash, its findings and 2022 statuses, and the
rules' invariants (sign antisymmetry, tie symmetry, unit and seed-label
invariance, self-comparison) with Hypothesis; the loader tests run offline on
a synthetic registered extract; test_data.py adds the 2025 weight-total,
identity, and Table 2 checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Arm B (runs/*-2025): the three SCF experiments with the SCF 2025 donor, same
code, lockfile, seeds, and receiver files as the paper's 2022 runs.
Arm D (runs/*-2022-rerun): the 2022 experiments rerun in the same
environment; all 3,900 metric rows are identical to the committed runs.
Arm C (runs/*-2022-in-2025-dollars): the 2022 wave on the Fed's 2025-dollar
basis.
runs/scf-population-checks: weight totals, the balance-sheet identity, and
all-family net worth against the Fed's Table 2, both waves.
runs/scf-hotdeck-reuse: aggregate donor-reuse statistics for the hot-deck
matches of both profiles and waves; recomputed q99 ratios match the harness
runs to 1e-16.

All new runs used OMP_NUM_THREADS=1. No run was skipped or capped
differently from the paper's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Verdicts under the pre-registered rules (docs/scf-2025-replication-criteria.md):
of 8 primary findings, 6 replicated and 2 were inconclusive; of 19 secondary,
10 replicated, 2 replicated in direction with a smaller effect, 2 were
inconclusive, and 5 did not replicate.

Replicated: the weighting result (unweighted is 4.3 times worse on net-worth
W1 within the SCF, 6.1 in 2022; its imputed net-worth q99 is 1.8 times the
holdout's in both profiles), chaining binding only at scale (4.9 AUC points),
and the classifier's separation of the unconditional marginal draw.

Not replicated: hot deck's tail at scale (q99 ratio 2.85 against 0.75 in
2022; one reused donor above the holdout's q99 carries 1.4 to 2.7 percent of
receiver weight on 8 of 10 seeds), the candidate as lowest-AUC method at
scale, unchaining leaving the tail unchanged, and the 2022 tie between gated
and ungated forests on SCF debt zero share.

Also in this commit:
- judge() applies the criteria file's cap: a claim the 2022 runs do not
  themselves meet is at best inconclusive (W3c met its rule in 2025 only).
- imp hotdeck-reuse and experiments/donor_reuse.py: the aggregate
  donor-reuse diagnostic, with property tests.
- A units diagnostic: within the SCF, re-basing dollars leaves OLS and the
  marginal draw unchanged and moves forest-based W1 means by up to 7.3%.
- paper/sections/appendix_scf2025.tex: draft appendix; every number is a
  generated macro and a test rejects hand-typed ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n W7

Review (GPT-6.1 Sol, ~/reviews/imputation-paper-scf2025/review-1.md):
- Donor reuse: the sufficient condition needs a one-receiver margin under
  the harness's interpolating quantile. Stated correctly in the appendix,
  the report, and the docstring; the margin is recorded per run and the test
  uses it. All nine inflated seeds still satisfy it.
- Loader round-trip property: exclude subnormal floats.
- Level rules (W3a, W5, W7, F3c) compare values, not names, so a tie at the
  extremum counts for the claimed method. No committed verdict changes.
- Appendix: dollar levels in the verdict tables are in each wave's own
  dollars; the sentence that said otherwise is corrected.
- New differential test: the Fed's re-issued 2022 file against our
  re-basing of the original (agree to 1e-9; a cold cache reproduces the
  paper's inputs).

Pinball weighting (imp pinball-weighting, runs/scf-pinball-weighting):
weighted_pinball_loss reads the imputed quantiles unweighted and scores them
against weighted truth. With the quantiles read under receiver weights the
marginal draw's net-worth loss is below the candidate's on 4 of 10 seeds in
both waves, not 10, so W7 (the marginal draw has the best pinball loss) is a
property of the metric. The appendix and the report say so; the paper's
metric and tables are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The mean-rank column ranked nine methods, including the microimpute_qrf
row that the tables hide as a duplicate of plain_qrf, so eight printed
rows carried ranks up to 8.83. Rank after dropping the hidden row and
regenerate openml.tex. No other table changes.

New mean ranks: unweighted 3.00, marginal draw 3.17, full estimator,
unchained and hot deck 3.50, forest baseline 4.50, quantile regression
7.00, OLS 7.83. The unconditional marginal draw is now second, not
best, so the results paragraph and the discussion say so. The caption
states that ranks are among the eight methods shown.

Adds tests/test_tables.py, which fails on the old ranking.

Part of PolicyEngine#8.

Co-Authored-By: Claude <noreply@anthropic.com>
Each change brings a sentence into line with a committed run or table.
No number in any table changes.

- "+534 dividend W1" is 308.65 in the ablations table.
- The q99 passages said donation-based draws sit near 1 and called it
  an advantage of hot deck. Hot deck's net-worth q99 ratio is 0.76 and
  0.75; the draw near 1 is the unconditional marginal draw. The text
  now reports the three and says the cause is not isolated. "Donation
  preserves marginals and tails by construction" is dropped.
- "Closest to the floor": the unweighted ablation is closer in both
  profiles (0.731 and 0.754).
- "None of them hurts where it does not help": the unweighted ablation
  is ahead on SCF debt zero share (0.012 against 0.020) and on the
  OpenML mean rank.
- The marginal draw "ties or beats every method on marginal metrics":
  on SCF net-worth W1 the full estimator's mean is lower (135,871
  against 215,398). Now "at or near the top".
- The weighting effect is "larger than the gap to any competing
  method": OLS's gap is larger. Now "every competing method except
  OLS".
- The text and captions say what the runs used: 20,000 receiver
  households of 55,762 and 168,852, 20,000 of 108,044 CPS adults, and
  two OpenML datasets capped at 20,000 rows.
- The CPS zero shares were unweighted (41.7 and 85.2 percent) and
  "most adults" did not fit 41.7. Now the weighted shares, 41.7 and
  84.7.

Part of PolicyEngine#8.

Co-Authored-By: Claude <noreply@anthropic.com>
Table 1 called the microimpute QRF row an "ungated/unchained forest"
that "differs from the full estimator only in gating and chaining".
At microimpute 1.15.1 the row is chained (each target conditions on the
targets already imputed), draws each value from a ten-level conditional
quantile grid at a randomly chosen index (the lowest and highest levels
25 and 21 percent of the time under the paper's level sampling), and
runs on a fixed internal seed. It is a baseline as shipped, not a
knockout.

- Table 1, its caption and the knockout paragraph say so. The row is
  labelled "QRF (microimpute)" in every generated table and is no
  longer indented as an ablation; the ablations table's third column is
  captioned as a comparison.
- The gating claims are reworded as comparisons with that baseline:
  the abstract's "0.6 against 4.4 for the same forest ungated", the 5.6
  AUC points credited to gating at scale, "gating carries the load" and
  the conclusion's sentence. The text now says no gates-off arm is run.
- Limitations: the forest baseline's seed is fixed (the text said its
  randomness was not seedable and added forest noise), and the 99-level
  grid applies to OLS and quantile regression only.
- Hot deck: Table 1 said its weights "inform matching". In py-statmatch
  unconstrained nnd_hotdeck picks the nearest donor; donor weights only
  standardize the matching variables. The SCF comparison is qualified.
- "Weighting is approximately free" on the CPS task now quotes its
  largest delta (+36 dividend W1, inside its seed spread).
- Registry, its test and PLAN.md: plain_qrf is a baseline, with the
  reason. Keys and run artifacts are unchanged; only labels move in the
  tables.

Part of PolicyEngine#8.

Co-Authored-By: Claude <noreply@anthropic.com>
Pinball loss. The text said it scores "conditional distributional
calibration" and is minimized when each predicted quantile is the true
conditional quantile. The code reads the quantiles of each method's
pooled draw with np.quantile, every receiver row counted once, and
scores them against the weighted held-out values. The metric section
now says that: a marginal score, read without receiver weights. The
results paragraph no longer calls the marginal draw's pinball lead "not
an artifact" or the motivating observation for the harness; it explains
why that column favours a draw centred on the weighted population.

Coverage. Invariance to reweighting holds for the definition. The code
first reduces any sample over 2,048 points by a weight-proportional
resample, and the candidate always is, so the text adds that caveat and
the introduction and conclusion claim the property by definition only.

No code and no number changes. The weighted-read figures from
PolicyEngine#6 can be cited once that PR is in.

Part of PolicyEngine#8.

Co-Authored-By: Claude <noreply@anthropic.com>
Pin. The methods extra pinned 71b5a83, the head commit of
PolicyEngine/microcosm#290. That PR was squash-merged, so the commit is
not in main's history. Repoint to the squash, b538d8a4, whose
populace-fit and populace-frame trees are byte-identical. `uv lock`
changed the four lines that carry the commit and the lockfile revision
(3 to 5, written by uv 0.13). Checked in a scratch environment built
from the new lockfile: the full estimator and both ablations draw
identical values to the old pin in 24 of 24 cells (SCF wealth, CPS
components, abalone, minimal population view; seeds 0 and 1), and every
metric equals the committed one.

Availability statement.
- microimpute "1.1.2" is 1.15.1 (the lockfile's version; 1.1.2 is that
  release's stale __version__ string). PLAN.md says the same.
- States that the estimator installs on its own as a Git dependency and
  is not on PyPI; the README gains the one-line uv command for the
  pinned commit and for the current package, both tested.
- Lists every input with its access status: SCF 2022, the ASEC bundles
  for 2023, 2024 and 2025 (the text named 2025 only) and the OpenML
  datasets.
- Says the Federal Reserve replaced the 2022 SCF extract at its address
  on 9 October 2026 (re-based to 2025 dollars, per
  PolicyEngine#6), so "read directly from their
  agencies of origin" no longer holds for it.

Left as a source comment: where the original SCF file is deposited, and
the ASEC 2023 and 2024 hashes. The hash-registered loader is in
PolicyEngine#6.

Part of PolicyEngine#8.

Co-Authored-By: Claude <noreply@anthropic.com>
Every experiment uses the gate's probabilities as fitted on the
training rows: the only behaviour at the evaluated version and still
the default. Later versions of the package add an opt-in out-of-fold
calibration because such a gate can be overconfident on a rare sign
class (PolicyEngine/microcosm#1391). Section 3.1 now says so, and says
the tasks here contain no rare sign class on which the methods differ,
so that behaviour is not evaluated. PolicyEngine#7
would evaluate it.

Part of PolicyEngine#8.

Co-Authored-By: Claude <noreply@anthropic.com>
- Chained imputation cited Raghunathan, Reiter and Rubin (2003), which
  is on disclosure limitation. Now Raghunathan, Lepkowski, Van Hoewyk
  and Solenberger (2001), Survey Methodology 27(1).
- dorazio2021statistical (Journal of Statistical Software 98(1)) does
  not exist: that issue is another article. py-statmatch now cites the
  R package it ports (D'Orazio, StatMatch 1.4.3, CRAN, with DOI), and
  the introduction cites D'Orazio, Di Zio and Scanu (2006) for the
  method.
- meinfelder2011simulation (CSDA 55(12)) has no match in Crossref.
  Removed; its sentence keeps D'Orazio, Di Zio and Scanu (2006).
- von Hippel: the 2007 working paper becomes the article, Sociological
  Methods & Research 42(1), 2013.
- quantile-forest: the documentation site becomes Johnson (2024),
  Journal of Open Source Software 9(93), 5976.
- Two uncited claims are cut: "reviews of the field note the absence of
  a standard benchmark", and "common practice" in the abstract.
- The eleven entries nothing cites are removed, and a techreport's
  publisher field becomes institution (BibTeX warned about it).

The registry's citation keys follow, and a test now checks that every
key the registry cites is defined in the .bib.

Part of PolicyEngine#8.

Co-Authored-By: Claude <noreply@anthropic.com>
Built with `quarto render paper/index.qmd --to pdf` from the seven
commits before this one. 27 pages; no undefined references or
citations.

Part of PolicyEngine#8.

Co-Authored-By: Claude <noreply@anthropic.com>
The results said weighting "matters little" on the CPS components task
because its largest delta is smaller than its spread across seeds, and
the discussion still called it "approximately free". The paired delta
is 36 on dividend W1, against 102 for the full estimator, and the
unweighted fit is worse on eight of the ten seeds; the other CPS
metrics are within seed noise. Both passages now say that.

The manuscript spells behavior, centered and favors the American way;
four words added in earlier commits did not.

Part of PolicyEngine#8.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CI has failed on this branch since 46b5210.
test_committed_report_and_tables_are_current regenerates
docs/scf-2025-replication/ on CI's Linux runner and compares it byte
for byte with the copy written on macOS. The CSVs there carry
full-precision floats, and a mean over seeds in headline_numbers.csv
comes out one digit apart in its last place (176625.49660906277 against
...06274). The suite passes on macOS.

The test now compares the five CSVs as tables: same columns and rows,
text, integer and boolean cells identical, floats equal to 1e-9.
comparison.md, the tables and the appendix inputs print rounded numbers
and are still compared byte for byte. The test also checks that the
regenerated and committed file sets are the same. A second test checks
the comparison itself: it passes last-place noise and fails a changed
number, a changed word and a dropped row.

No committed output and no generating code changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The merge of PolicyEngine#2 brings its `imp tables`
labels, so the full estimator's row reads "microcosm-fit". The three
2025 tables were written before that and still read "populace-fit",
which fails test_committed_report_and_tables_are_current.

`imp replication` and `imp tables` rewrite one row label in each of the
three tables. No number moves, and nothing under
docs/scf-2025-replication/ changes: the report keeps the names the
frozen criteria file uses.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Brings in PolicyEngine#6 as updated to sit on PolicyEngine#2 (its regeneration test compares
the full-precision CSVs as tables, and its 2025 tables carry PolicyEngine#2's
labels), so this branch is the stack PolicyEngine#2, PolicyEngine#6, fixes.

One conflict, in references.bib: PolicyEngine#6 adds the two Federal Reserve 2025
entries next to barcelo2006imputation, which the fixes removed as
uncited. Resolved by keeping the removal and both additions. All 40
entries are cited and every citation is defined.

README.md, data.tex, pyproject.toml, uv.lock and cli/tables.py merged
without conflict. The lockfile keeps the repointed estimator pin and
gains PolicyEngine#6's hypothesis.

The 2025 tables are regenerated in the next commit.

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

With PolicyEngine#6 merged in, `imp tables` writes its three 2025 tables with this
branch's row label for microimpute's forest, "QRF (microimpute)"
instead of "ungated/unchained forest". One row label changes in each
table and no number moves. Nothing under docs/scf-2025-replication/
changes: the report keeps the wording of the frozen criteria file.

Two places the rename in PolicyEngine#2 could not reach because they did not exist
yet: the 2025 scale table's generated-by note and the appendix's two
mentions of the profile now say "production scale", as the body does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Built with `quarto render paper/index.qmd --to pdf`. With the SCF 2025
appendix from PolicyEngine#6 it is 36 pages; no
undefined reference or citation.

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

@vahid-ahmadi vahid-ahmadi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The numbers this PR puts in the text match the tables, and imp tables regenerates every committed table byte-identical from runs/. The following also check out:

  • the CPS weighting delta (+36 from 102, 8 of 10 seeds);
  • the row caps and receiver counts, against each manifest.json;
  • the 41.7 and 84.7 percent weighted zero shares, recomputed from the hashed ASEC 2025 bundle;
  • the microimpute and hot-deck rows of Table 1, against microimpute 1.15.1 and py-statmatch 094a242;
  • pinball loss and coverage, as coded;
  • the b538d8a pin, which is on main with populace-fit/populace-frame trees identical to 71b5a83;
  • the new reference entries; every citation key is defined.

Two points remain:

  1. OpenML ranks still count a duplicate (paper/sections/results.tex:183,194-198, paper/sections/discussion.tex:31). The PR description flags this passage; here is what it changes.
    • The unchained row equals the full estimator on all six single-target datasets: the maximum difference in mean W1 is 0 in runs/openml-*/metrics_long.csv. The tied pair pushes every row below it down by half a place, the same defect fixed here for microimpute_qrf.
    • Ranked over the seven distinct methods: unweighted ablation and marginal draw tie at 2.67; full estimator and hot deck tie at 3.00; QRF 3.83; quantile regression 6.00; OLS 6.83.
    • "Ranks second of the eight … ahead of the full estimator" therefore rests on the duplicate. With the row excluded from the ranking, as _openml_table now does for the other duplicate, the marginal draw is tied first.
  2. The baseline sampler needs defining (paper/sections/methodology.tex:112-118).
    • The new sentence relies on "the level sampling used for all baselines here". The paper says only that the OLS and quantile-regression baselines go through "a 99-level grid" (discussion.tex:64-66).
    • In the adapter, one grid level per receiver row is applied to every target of that row (src/imputation_paper/methods.py:283-289).
    • For the microimpute forest, _QRFModel.predict also re-seeds its generator with 42 for each target (microimpute 1.15.1, models/qrf.py:187-190). So all of a row's chained targets are drawn at the same quantile index.
    • This bears on "It chains its targets as the full estimator does" and on the four-target C2ST contrast (0.817). A sentence in Section 3.1 defining the sampler, including that the level is shared across a row's targets, would cover it.

Review drafted with AI assistance and checked against the code at 096a006.

juaristi22 added a commit that referenced this pull request Nov 16, 2026
…eights

Reviews of #9 and #10.

Section 3.2 relied on "the level sampling used for all baselines here"
without defining it. It now says that each microimpute model predicts a
99-level quantile grid and each receiver row takes one uniformly drawn
level, applied to every target of the row, and that the microimpute forest
re-seeds its generator identically for every target, so a row's chained
targets are read at the same quantile index. The limitations note what that
means for its four-target joint score.

The microimpute forest applies the design weights by resampling its
training rows once in proportion to weight. That makes it the closest
precedent for the weighted bootstrap, and Section 2.3 and the note to
Table 1 now say so, and that the contrast between the two forests is not a
weighting contrast.

The other point of the #9 review, the duplicate unchained row in the OpenML
ranks, was closed by the added-arms PR, which drops rows that equal another
on every dataset, and by the wording pass, which corrected the stale
"second of the eight".

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

Copy link
Copy Markdown
Collaborator Author

Thanks for the review.

  1. OpenML duplicate. This is closed above this PR. Add a gates-off control, derived net worth, and a weighted hot deck #11 drops any row that equals another on every dataset (the unchained rows here), so Table 6 ranks ten distinct methods. Reword for neutrality and address the reviews of #6 to #13 #14 corrects the stale "second of the eight" in the discussion. The marginal draw ties for second of ten and the full estimator ranks fourth.

  2. Sampler. Section 3.2 now defines it (91db2b9 in Reword for neutrality and address the reviews of #6 to #13 #14):

    • a 99-level grid, with one uniformly drawn level per receiver row applied to every target;
    • for the microimpute forest, a generator re-seeded identically for each target, so a row's chained targets are read at the same index.

    The limitations note what that means for its four-target AUC.

Reply drafted with AI assistance. The fixes are at c251659, the head of #14.

@juaristi22
juaristi22 marked this pull request as ready for review November 24, 2026 22:56
@juaristi22
juaristi22 merged commit c89a472 into PolicyEngine:main Nov 24, 2026
1 check passed
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.

3 participants