From dbf87d9fdba0081e60c28734ee609f3c1de8d6dd Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 23 Sep 2026 04:30:36 -0400 Subject: [PATCH 1/4] Record: 100-record exact-k versus PolicyBench's sampled 100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../.gitignore | 5 + .../README.md | 426 + .../agi_scope_audit.json | 111 + .../batch_invariance.json | 7 + .../compare_designs.py | 2919 ++++++ .../composition.json | 234 + .../exact_k.json | 261 + .../fit.json | 750 ++ .../frozen_draw.json | 91 + .../headline_design1.json | 130 + .../headline_design2.json | 83 + .../headline_design3.json | 322 + .../household_contrast.json | 157 + .../household_ids.json | 4009 ++++++++ .../households.csv | 201 + .../inputs.json | 1163 +++ .../leverage.json | 153 + .../national_all_design1.json | 130 + .../national_all_design2.json | 83 + .../national_all_design3.json | 322 + .../overlap.json | 12 + .../run_fingerprint.json | 23 + .../run_status.json | 6 + .../run_validation.json | 189 + .../runtime.json | 107 + .../sampling_distribution.json | 8480 +++++++++++++++++ .../source_revision.json | 154 + .../target_registry.json | 47 + .../validation.json | 193 + .../verification.json | 270 + .../weight_concentration.json | 130 + .../zero_target_audit.json | 151 + 32 files changed, 21319 insertions(+) create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/.gitignore create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/README.md create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/agi_scope_audit.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/batch_invariance.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/composition.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/exact_k.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/fit.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/frozen_draw.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design1.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design2.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design3.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/household_contrast.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/household_ids.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/households.csv create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/inputs.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/leverage.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design1.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design2.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design3.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/overlap.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/run_fingerprint.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/run_status.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/run_validation.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/runtime.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/sampling_distribution.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/target_registry.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/validation.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/verification.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/weight_concentration.json create mode 100644 experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/.gitignore b/experiments/policybench-exact-k-100-vs-sampled-20260922/.gitignore new file mode 100644 index 0000000000..ec8d9a15be --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/.gitignore @@ -0,0 +1,5 @@ +*.log +.*.tmp +.smoke/ +.full/ +__pycache__/ diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md b/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md new file mode 100644 index 0000000000..6382978dcd --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md @@ -0,0 +1,426 @@ +# 100-record exact-k versus PolicyBench's sampled 100 + +This is a local evidence record comparing the frozen PolicyBench sample with a +support chosen by Microcosm's maintained L0/exact-k calibration path. It does +not evaluate models or certify either design for a benchmark or release. +Every reported result is rendered from the bundled JSONs by +`compare_designs.py render-readme`. + +The household comparison is the centerpiece. Household rows are confined to +[households.csv](households.csv) and [household_ids.json](household_ids.json), +following the task's latest rule; this README reports their aggregate contrast. +The CSV groups the sampled and national-target exact-k sets and sorts each by +employment income. Both exports include only public-dataset household rows. + +## Household comparison + + +| unweighted household count / weight diagnostic | sampled | exact_k_national_all | exact_k_headline | +|---|---|---|---| +| households | 100 | 100 | 100 | +| one-person households | 58 | 26 | 33 | +| households of 6+ | 1 | 2 | 1 | +| head 65+ | 33 | 23 | 19 | +| head under 30 | 14 | 8 | 9 | +| with children | 18 | 38 | 25 | +| zero employment income | 36 | 24 | 29 | +| employment income above population p90 | 6 | 16 | 22 | +| employment income above population p99 | 0 | 5 | 9 | +| SNAP | 16 | 29 | 23 | +| Medicaid | 17 | 36 | 25 | +| SSI | 5 | 1 | 2 | +| EITC | 11 | 35 | 16 | +| Social Security | 43 | 26 | 28 | +| any of SNAP / Medicaid / SSI | 21 | 44 | 29 | +| two or more of SNAP / Medicaid / SSI / EITC | 16 | 34 | 24 | +| distinct states | 34 | 40 | 39 | +| in the top 1% of design weight | 58 | 6 | 11 | +| PolicyBench-eligible | 100 | 76 | 83 | +| median design-weight percentile | 99% | 73% | 67% | +| max/mean weight | 1.0 | 21.0 | 8.4 | +| top-10 share of weight | 10.0% | 73.1% | 55.4% | +| Kish ESS | 100.0 | 12.4 | 24.5 | +| weight / design weight, median | 15 | 3,829 | 4,954 | +| weight / design weight, max | 34,033 | 8,038 | 11,465 | + +Sampled versus national-target exact-k: 58 versus 26 one-person households; 33 versus 23 retirement-age heads; 6 versus 16 households above the population's upper-decile employment-income threshold; 21 versus 44 receiving SNAP, Medicaid or SSI; 34 versus 40 states. The top-weight households carry 10.0% versus 73.1% of their sets' total weight. + + + +Sampled household rows are in [households.csv](households.csv), under `design=sampled`, sorted by employment income. + + + +National-target exact-k household rows are in [households.csv](households.csv), under `design=exact_k`, sorted by employment income. Identifiers and mirrored rows for the sampled and national-target exact-k sets are in [household_ids.json](household_ids.json); the headline-target sensitivity is reported only in aggregates. + + + +Population design-weight threshold for the top percentile: 68,014.53; population median design weight: 36.22. Weighted employment-income upper-decile threshold: $188,210; upper-percentile threshold: $500,000. + +exact_k_national_all: 6 selected households are in the top design-weight percentile, 26 are one-person households, 5 exceed the upper-percentile employment-income threshold, and 76 satisfy PolicyBench eligibility. The largest weights carry 73.1% of mass with Kish ESS 12.4. + +exact_k_headline: 11 selected households are in the top design-weight percentile, 33 are one-person households, 9 exceed the upper-percentile employment-income threshold, and 83 satisfy PolicyBench eligibility. The largest weights carry 55.4% of mass with Kish ESS 24.5. + +Deduction: these diagnostics indicate how far a selected support behaves as integration points for the fitted aggregates (quadrature nodes). Concentration or unusual income support alone does not establish why any individual household was selected, and does not measure model-evaluation coverage. + + +## What the designs measure + +- **PPS sample, self-weighted:** the frozen public sample, with each household + assigned eligible population weight divided by sample size. This is an + approximation to an inclusion-corrected estimator. +- **PPS sample, post-stratified:** the same households, refitted to each target + set with ordinary calibration and no L0 selection. +- **Exact-k:** L0 selection from the full source population, the maintained + exact-cardinality draw, and an ordinary refit on the selected support. + `select_exact_k` returns support-aligned inclusion probabilities + (`packages/microcosm-calibrate/src/microcosm/calibrate/exact_k.py:527`). + `refit_l0_selection` starts from the selected original weights divided by + those probabilities and normalized to full-file mass + (`packages/microcosm-calibrate/src/microcosm/calibrate/solve.py:2382`). +- **Sampling distribution:** repeated PPS draws with self-weighting and + post-stratification, using the frozen draw's eligibility and public split. + +The primary fit measure is uncapped MAPE with equal weight per target. +The denominator is the target's absolute value with a unit floor, matching +`default_target_loss_scales` +(`packages/microcosm-calibrate/src/microcosm/calibrate/solve.py:594`). +Capped MAPE is secondary. The fit tables evaluate each design against the same +compiled targets, including targets unsupported by a particular sampled set. +Kish effective sample size measures weight concentration, not model accuracy. + +The national set contains **26 feed-declared zero-valued targets**. For these +rows the denominator is one unit, so the uncapped fixed-scale “MAPE” includes +absolute dollar or count misses; it is not a conventional percentage error +relative to a nonzero target. A zero EITC-dollar target dominates that mean. +The feed metadata does not establish whether this zero is substantive or +reflects an extraction/source-data issue, and the underlying workbook cells +were not verified. The [zero-target audit](zero_target_audit.json) records the +observations and provenance. All targets were held fixed across designs. +Capped error and within-tolerance shares provide additional context; improving +the capped objective can coexist with increasing an error already above its +cap (a deduction from the capped loss, documented in the audit). + +## Reading the results + + +On national_all, uncapped MAPE is 1863675480.0% for the frozen self-weighted sample and 2116681946.4% after post-stratification, versus 58.7% for exact-k. + +On headline, uncapped MAPE is 38.6% for the frozen self-weighted sample and 4.1% after post-stratification, versus 17.9% for exact-k. + +Deduction: self-weighting preserves an interpretable approximately equal-weight draw from PolicyBench's eligible population. Post-stratification can improve aggregate fit on those same households, but changes their influence. Exact-k spends the household budget on fitting the chosen aggregates across the full source population; its weight concentration, eligibility and receipt coverage determine the cost of that fit. The national and headline runs answer different target-set questions and should be compared separately. + + +## Source and reproduction + + +Source release: `populace-us-2024-5da5a95-20260611`; artifact SHA-256 `f32c2e5e9098bc6540724fdd5debf963af495da4c29b3a7a63fb53c2a4bb5a34`; maintained loader: `microcosm.build.us_runtime.h5_io.load_legacy_calibrated_us_h5`. Engine versions: `{"numpy": "2.4.6", "policyengine_core": "3.32.5", "policyengine_us": "2.2.1", "torch": "2.12.0"}`. + +The full file has 75,112 households with total design weight 160,159,870.9. PolicyBench's eligible pool has 63,128 households and 76.9% of that weight. This scope difference matters: the primary self-weighted sample expands to the eligible pool, while exact-k starts from the full file. The fit tables include the sample rescaled to full-file mass as a sensitivity check. + +Frozen snapshot: `paper/snapshot/20260501/runs/us_full_run_20260612_policyengine_4_16_1_populace`; scenarios CSV SHA-256 `71b16212f0c0b3e5d13d8694ce57e362c23248665806c4d6dea7b23ef472858a`; metadata SHA-256 `03a66e90b86e9bd0cc77f27520784bd581777762f749675dc716e24c1b8eaebb`. + +Producer source receipt: `{"git_head": "2b85b7b220c33811336913ab29d97acbf1274455", "modules_sha256": {"microcosm.calibrate.exact_k": "8a400c46e4c94773dc0d83122f173c8c3bd405694d411989b10f792597b94196", "microcosm.calibrate.gates": "14608a5ee02132f06eaad4a59de3b051c8b8e1d07bd1768f4eb57f237173cef7", "microcosm.calibrate.matrix": "ca609f47ba7f5bf55ab8a0c85c07d2dac9b7a52fffcf0816f8289f143764c55a", "microcosm.calibrate.solve": "de380f489c84d6773e8c63fc41333ce038bc6f81447fb9388b939620b4c5b4c4"}, "script_sha256": "12ee1e6fca64eee09ad2521851be5015cf54826471c8a210db55a1011a9fe0ad"}`. + +Smoke/pipeline-only output: False. + + +From the repository root, use the existing environment: + +```bash +OMP_NUM_THREADS=4 .venv/bin/python experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py run +``` + +Run output belongs in a local ignored log. Each completed design is also +written to its own JSON before subsequent designs run. Re-render with the same +command using `render-readme` in place of `run`. The recorded settings and seed +count below are authoritative for this run. Use `validate` in place of `run` +to check the bundled exports, summaries and generated README blocks. +Aggregate receipts survive interruption; household arrays stay in memory and +must be recomputed after a restart. + +## Settings + + +- Design 2 and the exact-k refit: `{"method": "adam", "mass": "free", "max_weight_ratio": 10.0, "epochs": 1024, "learning_rate": 0.02, "seed": 0}`. +- Exact-k L0 selection: `{"method": "adam", "mass": "conserve", "max_weight_ratio": null, "target_records": 100, "budget_basis": "nonzero_count", "epochs": 1024, "learning_rate": 0.02, "init_mean": 0.5, "temperature": 0.25, "budget_iters": 10, "seed": 0}`; Sampford boundary draw seed 0. +- Design 4: `{"n_seeds": 200, "seed_generator_seed": 20260922}`. +- The primary MAPE is uncapped and uses equal (calibrate default) target weights and scale `s = max(|target|, 1) (microcosm.calibrate.default_target_loss_scales)`. The secondary capped MAPE caps each target's absolute relative error at 10. The unit floor also defines the error for zero-valued targets; this is a scaled relative error, not an undefined division by zero. +- Certainty threshold for the exact-k draw: 0.95. L0 selection's weight-ratio bound is disabled when its setting is null. The post-stratification bound is relative to the sample's starting equal weights; the exact-k refit bound is relative to its normalized inclusion-corrected starting weights. + + +## Targets and the no-poverty/SPM check + + +- Registry compiled from the labelled feed: 32,867 specs at all geographies; 505 national (metadata.ledger_geography_level == 'country' or metadata.geography_scope == 'national'). +- Labelled filter keys that the recorded checkout's guard refuses: 302 specs; 302 accepted as verified restatements, 0 excluded. +- Materialized on the file: 505 national targets (0 not materialized); used after the poverty/SPM exclusion: 504. Families used: bea 2, cbo 5, census_population 18, cms_medicaid 3, cms_medicare 1, federal_reserve 1, hhs_acf_tanf 1, irs_soi 451, jct 11, ssa 9, usda_snap 2. +- Headline subset: 32 targets (population by age band (Census PEP): 18; wages and salaries (BEA NIPA): 1; wages and salaries (CBO): 1; SNAP benefits (USDA): 1; SNAP average monthly households (USDA): 1; Medicaid enrollment (CMS, Dec 2024): 1; SSI payments (SSA): 1; SSI recipients by age (SSA): 3; EITC amount and returns (IRS SOI TY2024 filing season): 2; AGI and return count (IRS SOI Table 1.1): 2; AGI (CBO): 1). National AGI-by-band rows in the compiled set: 0. +- Excluded under the no-poverty/SPM rule: 1 (`hhs_acf_liheap.fy2024.national_profile.state_programs.households_served` (base_variable=spm_unit_energy_subsidy)). After exclusion, targets naming poverty or SPM: 0; measuring a poverty or SPM variable: 0. +- Batch invariance: 400 households re-materialized across a batch boundary; 0 of their values differ (max absolute difference 0). + + +Poverty and SPM measures are excluded from fitting and selection; the audit +above covers names and source/filter variables. Structural SPM-unit counts +appear only in PolicyBench's pre-existing eligibility rule. They are not a +poverty measure. The household descriptors are post-selection diagnostics. + +## Frozen sample verification + +The reference sampling and split implementations were read at +`policybench/scenarios.py:1020` (eligibility), +`policybench/scenarios.py:1044` (PPS draw), and +`policybench/scenarios.py:1498` (public/private split) in the read-only +PolicyBench checkout. + + +IDs recovered through `scenarios.csv scenario_json.metadata.household_id (PolicyBench writes the source household id there)`. The frozen public set came from 125 requested draws with seed 42, private fraction 0.2, split seed 1042, leaving 100 public scenarios. Reproduction: policybench/scenarios.py draw re-run here: eligibility filter, numpy.random.default_rng(seed).choice(ids, requested, replace=False, p=w/sum(w)), then split_scenarios' sha256 id-hash public split. + +| filing-status basis for eligibility | eligible households | draw reproduced exactly (ids, order) | overlap with frozen 100 | +|---|---|---|---| +| filing_status_as_shipped | 63,128 | True | 100 | +| filing_status_measured | 63,128 | True | 100 | + +Row checks of the file against `scenarios.csv` for the 100 frozen households: state 100, filing status 100, adults 100, children 100, employment income within $1 100, total income within $1 100. Exact equality counts: employment income 81, total income 55. Largest requested-draw-count × p over eligible households: 0.3851. + +Weight correction: sum of eligible design weights / 100 (self-weighting approximation). microcosm.calibrate.exact_k supplies inclusion probabilities only for its own Sampford draw (select_exact_k); it has no function for numpy Generator.choice(replace=False, p=...), so the self-weighting approximation is used and checked empirically against the seed draws (sampling_distribution.json self_weighting_check) + + +## Exact-k selection + + +| target set | budget measure | settled l0_lambda | measure at settle | open-probability mass | gates open at eval (pi > threshold) | gates with pi >= 0.95 | certainties drawn | boundary draws | boundary draws with pi <= threshold | probes (search stopped on) | draw failed | +|---|---|---|---|---|---|---|---|---|---|---|---| +| national_all | nonzero_count | 0.000487 | 99 | 529.7 | 99 | 6 | 6 | 94 | 90 | 7 (acceptable_within_tolerance) | no | +| headline | nonzero_count | 0.0003652 | 102 | 524.4 | 102 | 0 | 0 | 100 | 97 | 7 (acceptable_within_tolerance) | no | + +Budget-search probes (penalty, budget measure): + +| target set | l0_lambda | measure | +|---|---|---| +| national_all | 0.001 | 34 | +| national_all | 1e-05 | 1722 | +| national_all | 0.0001 | 409 | +| national_all | 0.0003162 | 155 | +| national_all | 0.0005623 | 89 | +| national_all | 0.0004217 | 121 | +| national_all | 0.000487 | 99 | +| headline | 0.001 | 23 | +| headline | 1e-05 | 2578 | +| headline | 0.0001 | 566 | +| headline | 0.0003162 | 134 | +| headline | 0.0005623 | 60 | +| headline | 0.0004217 | 86 | +| headline | 0.0003652 | 102 | + +national_all: final draw count 100; positive refit weights 100; boundary draw needed: True. The boundary draw selected 90 households whose L0 gates were closed at deterministic evaluation. The final support is therefore a maintained probability-based boundary draw, rather than simply the households with open L0 gates. + +headline: final draw count 100; positive refit weights 100; boundary draw needed: True. The boundary draw selected 97 households whose L0 gates were closed at deterministic evaluation. The final support is therefore a maintained probability-based boundary draw, rather than simply the households with open L0 gates. + + +Deterministically open L0 gates and the final exact-k support are distinct: +the maintained boundary draw can select positive-probability records whose +L0 gates are closed at evaluation. No households are hand-selected to force +the requested count. A failed maintained selection or draw remains a failed +result, with its available search receipts retained. + +## Fit against shared targets + + +national_all (504 targets): + +| design | MAPE (uncapped) | capped MAPE (secondary) | within 10% | within 25% | Kish ESS | max/mean weight | top-10 mass | +|---|---|---|---|---|---|---|---| +| Full file (75,112 design weights) | 397010718.4% | 55.0% | 32.9% | 53.8% | 1,760.2 | 178.0 | 1.9% | +| 1. PPS sample, self-weighted | 1863675480.0% | 82.2% | 8.9% | 18.7% | 100.0 | 1.0 | 10.0% | +| 1b. Same sample, full-file mass sensitivity | 2422100169.0% | 84.3% | 12.9% | 22.6% | 100.0 | 1.0 | 10.0% | +| 2. PPS sample, post-stratified | 2116681946.4% | 65.0% | 28.8% | 35.5% | 32.0 | 6.5 | 47.2% | +| 3. Exact-k 100, refit | 58.7% | 58.7% | 23.4% | 33.1% | 12.4 | 21.0 | 73.1% | +| 3a. Exact-k 100, HT weights before refit | 105.0% | 101.0% | 10.5% | 17.1% | 11.9 | 16.5 | 78.5% | + +headline (32 targets): + +| design | MAPE (uncapped) | capped MAPE (secondary) | within 10% | within 25% | Kish ESS | max/mean weight | top-10 mass | +|---|---|---|---|---|---|---|---| +| Full file (75,112 design weights) | 6.7% | 6.7% | 84.4% | 93.8% | 1,760.2 | 178.0 | 1.9% | +| 1. PPS sample, self-weighted | 38.6% | 38.6% | 6.2% | 28.1% | 100.0 | 1.0 | 10.0% | +| 1b. Same sample, full-file mass sensitivity | 30.9% | 30.9% | 18.8% | 43.8% | 100.0 | 1.0 | 10.0% | +| 2. PPS sample, post-stratified | 4.1% | 4.1% | 90.6% | 96.9% | 49.3 | 4.8 | 35.6% | +| 3. Exact-k 100, refit | 17.9% | 17.9% | 71.9% | 78.1% | 24.5 | 8.4 | 55.4% | +| 3a. Exact-k 100, HT weights before refit | 47.3% | 47.3% | 9.4% | 28.1% | 16.5 | 11.8 | 68.6% | + + + +| target set | design | worst five targets (signed scaled relative error) | +|---|---|---| +| national_all | 1. sampled, self-weighted | `irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total` 939169118978%; `irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns` 123234384%; `irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total` 40882%; `irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns` 10246%; `irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total` 935% | +| national_all | 2. sampled, post-stratified | `irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total` 1066667698354%; `irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns` 139964288%; `irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total` 7721%; `irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns` 1874%; `irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.50k_plus.eitc_returns` 130% | +| national_all | 3. exact-k, refit | `irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns` 200%; `irs_soi.ty2022.historic_table_2.us.500k_to_1m.taxable_interest_returns` 165%; `jct.tax_expenditures.cy2024.health_savings_account_deduction.revenue_loss` 155%; `irs_soi.ty2023.table_1_4.all.net_capital_gains_returns` 115%; `irs_soi.ty2023.congressional_district_2022.all_returns.us.tax_exempt_interest_returns` 102% | +| headline | 1. sampled, self-weighted | `ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count` -100%; `census_pep.cy2024.national_resident_population_age.30_to_34.population` -69%; `census_pep.cy2024.national_resident_population_age.0_to_4.population` -60%; `ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count` 58%; `census_pep.cy2024.national_resident_population_age.15_to_19.population` -56% | +| headline | 2. sampled, post-stratified | `ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count` -100%; `cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount` 14%; `irs_soi.ty2023.table_1_1.all.return_count` 12%; `cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment` -0%; `census_pep.cy2024.national_resident_population_age.50_to_54.population` 0% | +| headline | 3. exact-k, refit | `ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count` -100%; `ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count` -86%; `ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount` -81%; `census_pep.cy2024.national_resident_population_age.75_to_79.population` -80%; `census_pep.cy2024.national_resident_population_age.25_to_29.population` -71% | + + +## Sampling distribution + + +200 of 200 requested fresh seeds completed (time budget 60 minutes; stopped on budget: False); seeds from numpy.random.default_rng(20260922).integers(0, 2**31 - 1), skipping duplicates and PolicyBench's seed 42; eligible pool 63,128 households. + +Seed-count / stopping explanation: all requested seeds completed. Eligibility: policybench/scenarios.py::_eligible_households: one tax unit, one SPM unit, one family, >=1 adult (age >= 18), first-person filing status SINGLE/JOINT/HEAD_OF_HOUSEHOLD. Procedure: PolicyBench's own procedure per seed: PPS without replacement of 125 eligible households, then the id-hash public split (split_seed 1042), keeping the public 100; design 1 = self-weighted; design 2 = post-stratified with the sample-refit settings + +| target set | design | uncapped MAPE p5 / p50 / p95 | capped MAPE p5 / p50 / p95 | within 10% p5 / p50 / p95 | +|---|---|---|---|---| +| national_all | 1. self-weighted | 77.0% / 100.2% / 1893769072.5% | 74.4% / 83.8% / 94.7% | 8.3% / 10.9% / 13.9% | +| national_all | 2. post-stratified | 57.0% / 78.3% / 2288701470.3% | 57.0% / 62.7% / 69.2% | 25.8% / 28.6% / 31.9% | +| headline | 1. self-weighted | 31.3% / 37.9% / 45.7% | 31.3% / 37.9% / 45.7% | 3.1% / 12.5% / 21.9% | +| headline | 2. post-stratified | 1.1% / 4.9% / 10.8% | 1.1% / 4.9% / 10.8% | 81.2% / 90.6% / 96.9% | + +| target set | set | uncapped MAPE | MAPE: share of seeds at or below | within 10% | within-10%: share of seeds at or below | +|---|---|---|---|---|---| +| national_all | frozen draw, design 1 | 1863675480.0% | 94% | 8.9% | 12% | +| national_all | frozen draw, design 2 | 2116681946.4% | 94% | 28.8% | 58% | +| national_all | exact-k refit vs design 2 seeds | 58.7% | 10% | 23.4% | 0% | +| headline | frozen draw, design 1 | 38.6% | 57% | 6.2% | 26% | +| headline | frozen draw, design 2 | 4.1% | 30% | 90.6% | 70% | +| headline | exact-k refit vs design 2 seeds | 17.9% | 100% | 71.9% | 0% | + +Self-weighting check over the 200 seed draws (public inclusions by design-weight decile of the eligible pool): + +| decile | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | +|---|---|---|---|---|---|---|---|---|---|---| +| observed | 0 | 1 | 6 | 18 | 28 | 40 | 68 | 94 | 214 | 19531 | +| expected (100 w / sum w per draw) | 0.0 | 1.6 | 9.9 | 17.7 | 27.4 | 40.8 | 61.3 | 100.3 | 198.3 | 19,542.7 | + + +Lower MAPE is better; a lower MAPE percentile means fewer random samples +achieved equally low error. Higher within-tolerance share is better, so its +percentile has the opposite interpretation. This distribution varies the PPS +sample seed; it is not an uncertainty interval for exact-k optimization. + +## Weight concentration + + +| target set | design | max/mean | top-10 share | Kish ESS | >5x own median | >10x own median | >5x equal share | >10x equal share | +|---|---|---|---|---|---|---|---|---| +| national_all | full file | 178.0 | 1.9% | 1,760.2 | 12263 | 7410 | n/a | n/a | +| national_all | 1. sampled, self-weighted | 1.0 | 10.0% | 100.0 | 0 | 0 | 0 | 0 | +| national_all | 2. sampled, post-stratified | 6.5 | 47.2% | 32.0 | 15 | 5 | 8 | 0 | +| national_all | 3a. exact-k HT before refit | 16.5 | 78.5% | 11.9 | 27 | 23 | 7 | 3 | +| national_all | 3. exact-k, refit | 21.0 | 73.1% | 12.4 | 16 | 12 | 4 | 1 | +| headline | 2. sampled, post-stratified | 4.8 | 35.6% | 49.3 | 9 | 0 | 6 | 0 | +| headline | 3a. exact-k HT before refit | 11.8 | 68.6% | 16.5 | 29 | 23 | 7 | 2 | +| headline | 3. exact-k, refit | 8.4 | 55.4% | 24.5 | 24 | 14 | 5 | 0 | + + +Own-median thresholds use each design's positive output weights. Equal-share +thresholds use eligible-pool mass for sampled designs and full-file mass for +exact-k, divided by support size. + +## Weighted composition + + +| weighted share | population | sampled (1) | sampled (2, national) | sampled (2, headline) | exact-k (national) | exact-k (headline) | +|---|---|---|---|---|---|---| +| household_size 1 | 39.2% | 58.0% | 49.1% | 49.5% | 36.4% | 37.7% | +| household_size 2 | 35.2% | 24.0% | 35.3% | 31.6% | 32.4% | 31.2% | +| household_size 3 | 12.7% | 9.0% | 8.8% | 9.5% | 9.1% | 17.2% | +| household_size 4+ | 13.0% | 9.0% | 6.8% | 9.4% | 22.0% | 13.9% | +| children 0 | 74.6% | 82.0% | 85.0% | 79.6% | 75.5% | 71.7% | +| children 1 | 13.0% | 6.0% | 4.8% | 10.6% | 2.5% | 14.9% | +| children 2+ | 12.4% | 12.0% | 10.2% | 9.8% | 22.0% | 13.4% | +| head_age <30 | 16.6% | 14.0% | 18.0% | 18.5% | 16.8% | 6.7% | +| head_age 30-49 | 33.9% | 31.0% | 37.0% | 29.0% | 39.0% | 48.8% | +| head_age 50-64 | 23.3% | 22.0% | 22.1% | 24.7% | 8.9% | 20.9% | +| head_age 65+ | 26.1% | 33.0% | 22.9% | 27.8% | 35.3% | 23.6% | +| employment_income_quintile Q1 | 27.7% | 36.0% | 27.3% | 31.2% | 20.9% | 30.6% | +| employment_income_quintile Q2 | 12.3% | 15.0% | 11.2% | 15.3% | 2.3% | 14.9% | +| employment_income_quintile Q3 | 20.0% | 18.0% | 14.1% | 16.5% | 26.0% | 13.4% | +| employment_income_quintile Q4 | 20.0% | 19.0% | 28.2% | 20.7% | 24.9% | 21.3% | +| employment_income_quintile Q5 | 20.0% | 12.0% | 19.1% | 16.3% | 25.9% | 19.8% | +| receipt receives_snap | 14.4% | 16.0% | 11.7% | 12.4% | 13.7% | 15.5% | +| receipt receives_medicaid | 23.3% | 17.0% | 12.1% | 21.4% | 22.4% | 25.7% | +| receipt receives_ssi | 3.5% | 5.0% | 3.0% | 3.5% | 0.3% | 0.9% | +| receipt eitc_positive | 14.6% | 11.0% | 4.1% | 13.3% | 3.7% | 16.9% | +| receipt social_security_positive | 33.9% | 43.0% | 29.2% | 41.2% | 15.5% | 44.1% | +| distinct states | 51 | 34 | 34 | 34 | 40 | 39 | + +Employment-income quintile cut points (population, weighted): 0, 19,993, 53,000, 103,219. + +Ties stay in the same income band, so the full population's quintile shares need not be equal. + + +## Household column definitions + + +| output column | base variable | materialized target column | household value | +|---|---|---|---| +| employment_income | employment_income | cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount | household value of the target's measure | +| agi_or_total_income | adjusted_gross_income | cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income.projected_amount | household value of the target's measure | +| receives_snap | snap | usda_snap.fy2024.national_benefits.national_total.total_benefits | measure > 0 | +| receives_medicaid | medicaid_enrolled | cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment | measure > 0 | +| receives_ssi | ssi | ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount | measure > 0 | +| eitc_positive | eitc | irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_amount | measure > 0 | +| social_security_positive | social_security | ssa_supplement.cy2024.oasdi_ssi_payments.social_security_benefits.payment_amount | measure > 0 | + +Structural descriptors: household_size: count of person rows in the household; children: members under 18 (household_size - adults); head_age: age of the is_household_head member (oldest member if none flagged); employment_income: cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount; weights: shares are weighted by each design's own weights. The `agi_or_total_income` column uses adjusted gross income, aggregated to the household. It is distinct from the frozen scenario's sum of monetary income fields used in the reproduction check. + +Receipt flags describe positive modeled amounts or enrollment in this measurement frame. The head-age retirement proxy does not establish employment or retirement status. + + +## Overlap + + +| overlap | households | +|---|---| +| distinct households across seed draws | 3326 | +| seed draws | 200 | +| frozen 100 in any seed draw | 93 | +| exact k national all in frozen 100 | 0 | +| exact k national all in any seed draw | 18 | +| exact k national all policybench eligible | 76 | +| exact k headline in frozen 100 | 0 | +| exact k headline in any seed draw | 19 | +| exact k headline policybench eligible | 83 | +| exact k national all vs headline shared | 0 | + + +## Runtime and memory + + +| step | seconds | peak RSS GB | +|---|---|---| +| engine facts child | 40.9 | 9.5 | +| target compile | 12.5 | 4.0 | +| materialize all batches | 2,114.1 | 16.3 | +| batch invariance child | 178.9 | 6.1 | +| national all design2 post stratified | 2.0 | 3.5 | +| national all design3 l0 selection | 1,657.2 | 3.9 | +| national all design3 refit | 0.1 | 3.9 | +| headline design2 post stratified | 0.1 | 3.9 | +| headline design3 l0 selection | 229.6 | 4.5 | +| headline design3 refit | 0.2 | 4.5 | +| sampling distribution (400 calibrations) | 63 | 4.5 | +| whole run | 4,332 | 4.5 (parent high-water) | + +Measurement definitions: peak_rss_gb: sampled every 0.25 s: this process plus any live child (psutil RSS sum); child_peak_rss_gb: the child's own getrusage high-water mark. + +Main calibration timings are retained in [runtime.json](runtime.json); each sampling-refit timing and memory reading is in [sampling_distribution.json](sampling_distribution.json). Parent high-water RSS is distinct from simultaneous parent-plus-child RSS. + + +Final reporting corrections are documented in [source_revision.json](source_revision.json) +and [agi_scope_audit.json](agi_scope_audit.json). They correct the export description +and distinguish unbounded AGI totals from actual AGI bands. The original producer +hash and successful run validation are retained; no target membership, household +selection, calibration weight, or fit result changed. Completed checks are recorded +in [verification.json](verification.json) and [validation.json](validation.json). + +## What was not measured + +No PolicyBench harness or language model was run. Aggregate target fit and +household coverage do not establish model-ranking stability, policy-reform +accuracy, out-of-sample performance, or release readiness. The self-weighting +approximation does not recover exact first-order inclusion probabilities for +the PPS-without-replacement draw followed by its fixed public split. Current +engine-materialized descriptors are not a claim to reproduce every frozen +engine output. Earlier unlogged failed attempts are not evidence for this +record's calibration outcomes. diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/agi_scope_audit.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/agi_scope_audit.json new file mode 100644 index 0000000000..47cd77d847 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/agi_scope_audit.json @@ -0,0 +1,111 @@ +{ + "purpose": "Post-run aggregate correction of the national AGI-band diagnostic; no calibration changes.", + "feed": { + "path": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl", + "sha256": "4d1dba8c1b6274877bf184fa6de5d99b13fc61f34709ccab1487db2b5c64a79f", + "sha256_verified": true + }, + "original_reported_agi_band_names": [ + "irs_soi.ty2022.historic_table_2.us.all.adjusted_gross_income", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.adjusted_gross_income", + "irs_soi.ty2023.table_1_1.all.adjusted_gross_income", + "irs_soi.ty2023.table_1_2.all_returns.all.adjusted_gross_income", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.adjusted_gross_income", + "irs_soi.ty2023.table_2_5.eitc_all_returns.total.adjusted_gross_income", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.adjusted_gross_income" + ], + "original_reported_count": 7, + "observations": [ + { + "source_record_id": "irs_soi.ty2022.historic_table_2.us.all.adjusted_gross_income", + "feed_line": 37752, + "feed_citation": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl:37752", + "adjusted_gross_income_constraints": [], + "maintained_agi_lower_bound": "-inf", + "maintained_agi_upper_bound": "inf", + "is_nontrivial_agi_band": false, + "in_headline_subset": false + }, + { + "source_record_id": "irs_soi.ty2023.congressional_district_2022.all_returns.us.adjusted_gross_income", + "feed_line": 9898, + "feed_citation": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl:9898", + "adjusted_gross_income_constraints": [], + "maintained_agi_lower_bound": "-inf", + "maintained_agi_upper_bound": "inf", + "is_nontrivial_agi_band": false, + "in_headline_subset": false + }, + { + "source_record_id": "irs_soi.ty2023.table_1_1.all.adjusted_gross_income", + "feed_line": 8430, + "feed_citation": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl:8430", + "adjusted_gross_income_constraints": [], + "maintained_agi_lower_bound": "-inf", + "maintained_agi_upper_bound": "inf", + "is_nontrivial_agi_band": false, + "in_headline_subset": true + }, + { + "source_record_id": "irs_soi.ty2023.table_1_2.all_returns.all.adjusted_gross_income", + "feed_line": 26936, + "feed_citation": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl:26936", + "adjusted_gross_income_constraints": [], + "maintained_agi_lower_bound": "-inf", + "maintained_agi_upper_bound": "inf", + "is_nontrivial_agi_band": false, + "in_headline_subset": false + }, + { + "source_record_id": "irs_soi.ty2023.table_2_1.itemized_all_returns.all.adjusted_gross_income", + "feed_line": 25091, + "feed_citation": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl:25091", + "adjusted_gross_income_constraints": [], + "maintained_agi_lower_bound": "-inf", + "maintained_agi_upper_bound": "inf", + "is_nontrivial_agi_band": false, + "in_headline_subset": false + }, + { + "source_record_id": "irs_soi.ty2023.table_2_5.eitc_all_returns.total.adjusted_gross_income", + "feed_line": 3127, + "feed_citation": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl:3127", + "adjusted_gross_income_constraints": [], + "maintained_agi_lower_bound": "-inf", + "maintained_agi_upper_bound": "inf", + "is_nontrivial_agi_band": false, + "in_headline_subset": false + }, + { + "source_record_id": "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.adjusted_gross_income", + "feed_line": 33525, + "feed_citation": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl:33525", + "adjusted_gross_income_constraints": [], + "maintained_agi_lower_bound": "-inf", + "maintained_agi_upper_bound": "inf", + "is_nontrivial_agi_band": false, + "in_headline_subset": false + } + ], + "corrected_national_agi_band_names": [], + "corrected_national_agi_band_count": 0, + "headline_target_count": 32, + "headline_specification_changed": false, + "calibration_targets_changed": false, + "source_code_evidence": [ + { + "citation": "experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py:724", + "finding": "The run-time diagnostic counted any AGI bound metadata, including unbounded defaults; its seven named rows were not actual AGI bands." + }, + { + "citation": "packages/microcosm-build/src/microcosm/build/us_runtime/fiscal_targets.py:3179", + "finding": "The maintained AGI-bound helper initializes negative and positive infinity and changes them only for explicit AGI constraints." + }, + { + "citation": "packages/microcosm-build/src/microcosm/build/us_runtime/fiscal_targets.py:3308", + "finding": "The maintained constraint helper reads top-level constraints when present, otherwise universe constraints." + } + ], + "verification_method": "Executed the unmodified _at, _constraint_rows, and _agi_bounds function definitions extracted by AST from the maintained source on the seven exact feed observations. No registry compilation, materialization, or calibration was run.", + "explanation": "Each of the seven reported candidates has no AGI-range constraints and the maintained helper returns (-inf, inf). The correct count of nontrivial AGI bands among these exhaustive reported candidates is zero. The diagnostic is corrected to an empty list; the existing headline subset remains unchanged because no available AGI-band control was omitted on this evidence." +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/batch_invariance.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/batch_invariance.json new file mode 100644 index 0000000000..fc9063e2ca --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/batch_invariance.json @@ -0,0 +1,7 @@ +{ + "window_households": 400, + "window": "last 200 households of batch 1 and first 200 of batch 2, re-materialized together in one child", + "measure_columns_compared": 505, + "cells_differing": 0, + "max_abs_difference": 0.0 +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py b/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py new file mode 100644 index 0000000000..1b1c6e5d67 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py @@ -0,0 +1,2919 @@ +"""Compare a 100-household exact-k set with PolicyBench's sampled 100. + +Evidence record only: nothing here runs PolicyBench, evaluates a model, +publishes, uploads or notifies. Every number in this directory's README is +produced by this script and bundled in one of its JSON outputs. + +Run from the repository root using the existing environment:: + + OMP_NUM_THREADS=4 .venv/bin/python experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py run + +Atomic aggregate JSON receipts are written after each design and sampling +seed; progress.log records progress alongside the redirected nohup run.log. +Household arrays remain in memory. Only households.csv and household_ids.json +contain household rows, for the frozen sample and national exact-k support. +An interrupted run preserves completed aggregate results, but must recompute +upstream household arrays. No external cache or population-row pickle is made. + +Use --smoke-households N --n-seeds 2 --out-dir PATH for a reduced pipeline +check. PATH must be inside this worktree, distinct from the record directory, +and contain a .gitignore with '*'. Smoke results are not evidence. + +Inputs (all hash-verified before use): + +* the public release ``populace-us-2024-5da5a95-20260611`` artifact + ``populace_us_2024.h5`` (the file PolicyBench's frozen US run drew from); +* the labelled Chronicle consumer-facts feed (b571381); +* PolicyBench's frozen run directory (read-only: ``scenarios.csv`` and its + ``.meta.json``). +""" + +from __future__ import annotations + +import os + +for _var in ("OMP_NUM_THREADS", "MKL_NUM_THREADS", "OPENBLAS_NUM_THREADS", "VECLIB_MAXIMUM_THREADS"): + os.environ.setdefault(_var, "4") + +import argparse # noqa: E402 +import hashlib # noqa: E402 +import json # noqa: E402 +import math # noqa: E402 +import pickle # noqa: E402 +import re # noqa: E402 +import resource # noqa: E402 +import shutil # noqa: E402 +import subprocess # noqa: E402 +import sys # noqa: E402 +import threading # noqa: E402 +import time # noqa: E402 +from collections import Counter # noqa: E402 +from pathlib import Path # noqa: E402 + +import numpy as np # noqa: E402 +import pandas as pd # noqa: E402 + +REPO_ROOT = Path(__file__).resolve().parents[2] +RECORD_DIR = Path(__file__).resolve().parent +SCRIPT_SHA256_AT_IMPORT = hashlib.sha256(Path(__file__).read_bytes()).hexdigest() + +RELEASE_ID = "populace-us-2024-5da5a95-20260611" +H5_SHA256 = "f32c2e5e9098bc6540724fdd5debf963af495da4c29b3a7a63fb53c2a4bb5a34" +DEFAULT_H5 = ( + Path.home() + / ".cache/huggingface/hub/datasets--policyengine--populace-us/blobs" + / H5_SHA256 +) +FEED_SHA256 = "4d1dba8c1b6274877bf184fa6de5d99b13fc61f34709ccab1487db2b5c64a79f" +FEED_ROW_COUNT = 39_158 +DEFAULT_FEED = Path( + "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact" +) +DEFAULT_POLICYBENCH_RUN = Path( + "/Users/maxghenis/PolicyEngine/policybench/paper/snapshot/20260501/runs/" + "us_full_run_20260612_policyengine_4_16_1_populace" +) +PERIOD = 2024 +K = 100 + +# Settings recorded in every output (see README "Settings"). +SAMPLE_REFIT = { + # Applied identically to both 100-household sets once their members are + # fixed: the post-stratified PPS sample (design 2) and the exact-k refit + # (design 3). max_weight_ratio is relative to each set's starting weights + # (sum of eligible design weights / n for the sample; the normalized + # Horvitz-Thompson w/q baseline for exact-k). + "method": "adam", + "mass": "free", + "max_weight_ratio": 10.0, + "epochs": 1024, + "learning_rate": 0.02, + "seed": 0, +} +EXACT_K_SELECTION = { + # L0 selection over the full household file. The survivors must carry + # roughly 750x their design weights, so the hard per-record bound is off. + # The budget measure is the maintained default, the count of records whose + # returned weight survives pruning. The draw's certainty threshold is + # passed to select_exact_k directly + # (calibrate accepts feasible_draw_pi_hi only with the mass basis). + "method": "adam", + "mass": "conserve", + "max_weight_ratio": None, + "target_records": K, + "budget_basis": "nonzero_count", + "epochs": 1024, + "learning_rate": 0.02, + "init_mean": 0.5, + "temperature": 0.25, + "budget_iters": 10, + "seed": 0, +} +EXACT_K_DRAW_PI_HI = 0.95 +EXACT_K_DRAW_SEED = 0 +SAMPLING_DISTRIBUTION = {"n_seeds": 200, "seed_generator_seed": 20260922} +HEADLINE_MAX = 40 +DEFAULT_N_BATCHES = 6 +INVARIANCE_WINDOW = 200 # households each side of the batch-0/1 boundary +TARGET_LOSS_CAP = 10.0 # microcosm.calibrate's default cap (solve.py _DEFAULT_TARGET_LOSS_CAP) + +#: PolicyBench's ``MONETARY_INCOME_FIELDS`` (policybench/scenarios.py:187-221 +#: at c7aaffe), the person fields ``Scenario.total_income`` sums. +POLICYBENCH_MONETARY_INCOME_FIELDS = ( + "alimony_income", "child_support_received", "disability_benefits", + "employment_income", "estate_income", "farm_income", "farm_operations_income", + "farm_rent_income", "miscellaneous_income", "non_qualified_dividend_income", + "partnership_s_corp_income", "partnership_se_income", "qualified_dividend_income", + "rental_income", "salt_refund_income", "self_employment_income", + "short_term_capital_gains", "social_security_dependents", "social_security_disability", + "social_security_retirement", "social_security_survivors", "ssi_reported", + "tax_exempt_interest_income", "taxable_401k_distributions", "taxable_403b_distributions", + "taxable_interest_income", "taxable_ira_distributions", "taxable_private_pension_income", + "taxable_sep_distributions", "unemployment_compensation", "veterans_benefits", + "workers_compensation", "long_term_capital_gains", +) +POLICYBENCH_FILING_STATUSES = {"SINGLE": "single", "JOINT": "joint", "HEAD_OF_HOUSEHOLD": "head_of_household"} + + +PROGRESS_LOG: Path | None = None +ACTIVE_CHILD: subprocess.Popen | None = None +MAX_RSS_BYTES = 31_000_000_000 # stop with headroom below the authorized 32 GB + + +def _log(message: str) -> None: + line = f"[{time.strftime('%Y-%m-%dT%H:%M:%S%z')}] {message}" + print(line, flush=True) + if PROGRESS_LOG is not None: + with PROGRESS_LOG.open("a") as handle: + handle.write(line + "\n") + handle.flush() + + +def _check_disk() -> None: + disk = Path("/System/Volumes/Data") + if not disk.exists(): + disk = REPO_ROOT + if shutil.disk_usage(disk).free < 10 * 1024**3: + raise RuntimeError("Stopping writes: less than 10 GiB free") + + +def _peak_rss_gb_self() -> float: + # macOS reports ru_maxrss in bytes; Linux in kilobytes. + raw = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss + return raw / 1e9 if sys.platform == "darwin" else raw * 1024 / 1e9 + + +class ResourceMeter: + """Wall time and sampled peak RSS (this process plus live children).""" + + def __init__(self, interval: float = 0.25, label: str | None = None) -> None: + self.interval = interval + self.label = label + self.peak = 0 + self._stop = threading.Event() + + def _sample(self) -> int: + import psutil + + proc = psutil.Process() + total = proc.memory_info().rss + if ACTIVE_CHILD is not None: + try: + total += psutil.Process(ACTIVE_CHILD.pid).memory_info().rss + except psutil.Error: + pass + return total + + def _run(self) -> None: + next_heartbeat = time.time() + 45 + while not self._stop.is_set(): + try: + self.peak = max(self.peak, self._sample()) + if self.peak >= MAX_RSS_BYTES: + _log("Stopping: sampled process-tree RSS reached 31 GB") + if ACTIVE_CHILD is not None: + ACTIVE_CHILD.kill() + os._exit(137) + if self.label and time.time() >= next_heartbeat: + _log(f"{self.label} alive: elapsed {time.time() - self.t0:.0f}s; sampled peak RSS {self.peak / 1e9:.2f} GB") + next_heartbeat = time.time() + 45 + except Exception: # pragma: no cover - diagnostic only + pass + self._stop.wait(self.interval) + + def __enter__(self) -> ResourceMeter: + self.t0 = time.time() + self.peak = self._sample() + self._thread = threading.Thread(target=self._run, daemon=True) + self._thread.start() + return self + + def __exit__(self, *exc) -> None: + self._stop.set() + self._thread.join() + self.peak = max(self.peak, self._sample()) + self.seconds = time.time() - self.t0 + + def record(self) -> dict: + return {"seconds": round(self.seconds, 2), "peak_rss_gb": round(self.peak / 1e9, 3)} + + +def _sha256(path: Path) -> str: + digest = hashlib.sha256() + with Path(path).open("rb") as handle: + for chunk in iter(lambda: handle.read(1 << 20), b""): + digest.update(chunk) + return digest.hexdigest() + + +def _clean(value): + """JSON-safe copy: numpy scalars to Python, NaN/inf to None.""" + if isinstance(value, dict): + return {str(k): _clean(v) for k, v in value.items()} + if isinstance(value, (list, tuple)): + return [_clean(v) for v in value] + if isinstance(value, np.ndarray): + return [_clean(v) for v in value.tolist()] + if isinstance(value, (np.bool_,)): + return bool(value) + if isinstance(value, (np.integer,)): + return int(value) + if isinstance(value, (float, np.floating)): + value = float(value) + return value if math.isfinite(value) else None + return value + + +def _write_json(path: Path, payload: object) -> None: + _check_disk() + tmp = path.with_name(f".{path.name}.tmp") + with tmp.open("w") as handle: + handle.write(json.dumps(_clean(payload), indent=2, allow_nan=False) + "\n") + handle.flush() + os.fsync(handle.fileno()) + os.replace(tmp, path) + + +def _module_sha256(module: str) -> str: + import importlib # noqa: PLC0415 + + return _sha256(Path(importlib.import_module(module).__file__)) + + +def _digest_of(payload: object) -> str: + return hashlib.sha256(json.dumps(_clean(payload), sort_keys=True).encode()).hexdigest()[:16] + + +def source_provenance() -> dict: + return { + "git_head": subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=REPO_ROOT, text=True).strip(), + "script_sha256": SCRIPT_SHA256_AT_IMPORT, + "modules_sha256": {name: _module_sha256(name) for name in ( + "microcosm.calibrate.solve", "microcosm.calibrate.gates", + "microcosm.calibrate.exact_k", "microcosm.calibrate.matrix", + )}, + } + + +class Checkpoint: + """Durable aggregate receipts only; household arrays are never cached. + + Completed design summaries survive interruption. Recomputing upstream + materialization is necessary after a crash because row caches are forbidden. + """ + + def __init__(self, root: Path, fingerprint: dict) -> None: + self.dir = root + _write_json(self.dir / "run_fingerprint.json", fingerprint) + + def load(self, name: str): + return None + + def save(self, name: str, payload: object) -> None: + # Some stage payloads contain full-population rows. Keep them in memory. + pass + + def save_summary(self, name: str, payload: object) -> None: + """Aggregate-only JSON, readable while the run goes on.""" + _write_json(self.dir / f"{name}.json", payload) + + +def _tool_module(): + """Import the maintained US release builder (tools/ is not a package).""" + tools_dir = str(REPO_ROOT / "tools") + if tools_dir not in sys.path: + sys.path.insert(0, tools_dir) + import build_us_fiscal_refresh_release as tool # noqa: PLC0415 + + return tool + + +def _version(package: str) -> str: + from importlib.metadata import version + + try: + return version(package) + except Exception: # pragma: no cover - diagnostic only + return "unavailable" + + +# --------------------------------------------------------------------------- +# Frame loading (maintained loader) and the formula-owned-column adaptation +# --------------------------------------------------------------------------- + + +def load_measurement_frame(h5: Path, household_ids=None): + """Load the release with the maintained legacy loader, minus engine outputs. + + ``load_legacy_calibrated_us_h5`` loads the file as-is. The maintained + target materializer then refuses it (``_assert_no_formula_owned_columns``), + because the June 11 file carries columns that the installed PolicyEngine-US + computes by formula. Those columns are dropped here so the engine computes + them from the file's leaf inputs; their stored-versus-engine aggregate + deltas are recorded in ``inputs.json``. ``household_ids`` optionally + restricts both frames to those households (smoke runs and batches). + """ + from microcosm.build.us_runtime.h5_io import load_legacy_calibrated_us_h5 + from microcosm.frame import Frame + from microcosm.frame.units import US_SCHEMA + + tool = _tool_module() + frame = load_legacy_calibrated_us_h5(h5) + if household_ids is not None: + person = frame.table("person") + frame = frame.select(np.isin(person["person_household_id"].to_numpy(), household_ids)) + tables = {entity: frame.table(entity) for entity in frame.entities} + adapter = tool._formula_owned_gate_adapter() + formula_owned = sorted(adapter._engine_computed_columns(tables, period=tool.PERIOD)) + dropped: dict[str, list[str]] = {} + new_tables = {} + for entity, table in tables.items(): + cols = [c for c in formula_owned if c in table.columns] + if cols: + dropped[entity] = cols + new_tables[entity] = table.drop(columns=cols).copy() + measured = Frame(new_tables, US_SCHEMA, {"household": frame.weights_for("household")}) + return frame, measured, dropped + + +def _entity_weights(frame, entity: str) -> np.ndarray: + """Household weight carried to each row of ``entity`` (via persons).""" + household = frame.table("household") + hh_weight = pd.Series(frame.weights_for("household").values, index=household["household_id"].to_numpy()) + person = frame.table("person") + person_w = hh_weight.loc[person["person_household_id"].to_numpy()].to_numpy() + if entity == "person": + return person_w + if entity == "household": + return frame.weights_for("household").values + membership = person[f"person_{entity}_id"].to_numpy() + first = pd.Series(person_w).groupby(membership).first() + ids = frame.table(entity)[f"{entity}_id"].to_numpy() + return first.loc[ids].to_numpy() + + +# --------------------------------------------------------------------------- +# Child processes (spawned one at a time; results return through a pipe) +# --------------------------------------------------------------------------- + + +#: Pipeline-test switch (``--pipeline-test-synthetic-measures``, smoke only): +#: replaces the engine materializer with deterministic synthetic household +#: values so the calibration and report code can be exercised quickly. Its +#: output is a code check, never evidence, and is refused inside the repo. +SYNTHETIC_MEASURES_FOR_PIPELINE_TEST = False + + +def _synthetic_materialize(household_ids, specs) -> dict: + columns = sorted({s.measure for s in specs if s.measure} | {s.filter for s in specs if getattr(s, "filter", None)}) + values = np.zeros((len(household_ids), len(columns))) + for i, hid in enumerate(household_ids): + rng = np.random.default_rng(int(hid)) + values[i] = rng.lognormal(8.0, 1.5, len(columns)) * (rng.random(len(columns)) < 0.3) + return { + "household_id": np.asarray(household_ids), + "columns": {c: values[:, j] for j, c in enumerate(columns)}, + "compiled_names": sorted(s.name for s in specs), + "dropped_target_names": [], + "households": len(household_ids), + "persons": 0, + "seconds": 0.0, + "child_peak_rss_gb": 0.0, + } + + +def _run_child(target, *args): + global ACTIVE_CHILD + if SYNTHETIC_MEASURES_FOR_PIPELINE_TEST and target is _child_materialize: + return _synthetic_materialize(args[1], args[2]) + from multiprocessing.connection import Connection + + # subprocess avoids multiprocessing.spawn's extra resource-tracker process. + read_fd, write_fd = os.pipe() + receiver = Connection(read_fd, readable=True, writable=False) + proc = subprocess.Popen( + [sys.executable, str(Path(__file__).resolve()), "_engine_child", target.__name__, str(write_fd)], + stdin=subprocess.PIPE, + pass_fds=(write_fd,), + ) + ACTIVE_CHILD = proc + os.close(write_fd) + pickle.dump(args, proc.stdin, protocol=pickle.HIGHEST_PROTOCOL) + proc.stdin.close() + try: + payload = receiver.recv() + except EOFError: + payload = None + finally: + receiver.close() + proc.wait() + ACTIVE_CHILD = None + if proc.returncode != 0 or payload is None: + raise RuntimeError(f"child {target.__name__} failed with exit code {proc.returncode}") + if isinstance(payload, dict) and payload.get("error"): + raise RuntimeError(f"child {target.__name__} raised:\n{payload['error']}") + return payload + + +def _child_engine_facts(conn, h5: str, household_ids) -> None: + """Formula-owned column deltas and filing status, both frames.""" + import traceback + + try: + from policyengine_us import Microsimulation + + from microcosm.build.us_runtime.engine_lifecycle import ( + release_engine_simulation, + ) + + tool = _tool_module() + t0 = time.time() + original, measured, dropped = load_measurement_frame(Path(h5), household_ids) + sim = Microsimulation(dataset=tool._dataset_from_frame(measured)) + deltas = [] + for entity, columns in sorted(dropped.items()): + weights = _entity_weights(original, entity) + stored_table = original.table(entity) + for column in columns: + stored = stored_table[column].to_numpy() + try: + engine = np.asarray(sim.calculate(column, PERIOD)) + except Exception as exc: # noqa: BLE001 - recorded, not hidden + deltas.append({"entity": entity, "column": column, "error": repr(exc)[:300]}) + continue + if engine.shape != stored.shape: + deltas.append({"entity": entity, "column": column, "note": "shape mismatch"}) + continue + try: + stored_f = stored.astype(np.float64) + engine_f = engine.astype(np.float64) + except (TypeError, ValueError): + deltas.append( + { + "entity": entity, + "column": column, + "kind": "categorical", + "share_rows_equal": float(np.mean(stored.astype(str) == engine.astype(str))), + } + ) + continue + s_total = float(np.dot(stored_f, weights)) + e_total = float(np.dot(engine_f, weights)) + deltas.append( + { + "entity": entity, + "column": column, + "stored_weighted_total": s_total, + "engine_weighted_total": e_total, + "relative_delta": None if s_total == 0 else (e_total - s_total) / abs(s_total), + "share_rows_equal": float(np.mean(np.isclose(stored_f, engine_f))), + } + ) + fs_measured = tool._filing_status_names(np.asarray(sim.calculate("filing_status", PERIOD))) + release_engine_simulation(sim) + del sim + # The file as shipped (stored columns kept), as PolicyBench's runtime saw it. + sim = Microsimulation( + dataset=tool._dataset_from_frame(original, assert_no_formula_owned_columns=False) + ) + fs_original = tool._filing_status_names(np.asarray(sim.calculate("filing_status", PERIOD))) + release_engine_simulation(sim) + del sim + conn.send( + { + "dropped": dropped, + "deltas": deltas, + "tax_unit_ids": original.table("tax_unit")["tax_unit_id"].to_numpy(), + "filing_status_measured": np.asarray(fs_measured, dtype=str), + "filing_status_as_shipped": np.asarray(fs_original, dtype=str), + "seconds": time.time() - t0, + "child_peak_rss_gb": _peak_rss_gb_self(), + } + ) + except Exception: # noqa: BLE001 + conn.send({"error": traceback.format_exc()}) + finally: + conn.close() + + +def _child_materialize(conn, h5: str, household_ids, specs) -> None: + """Run the maintained materializer on one household batch.""" + import traceback + + try: + tool = _tool_module() + t0 = time.time() + _original, frame, _dropped = load_measurement_frame(Path(h5), household_ids) + del _original + target_frame, compiled, compilation = tool._materialize_target_frame( + frame, specs, gate_congressional_district_targets=False + ) + columns = sorted( + {spec.measure for spec in compiled.specs if spec.measure} + | {spec.filter for spec in compiled.specs if getattr(spec, "filter", None)} + ) + hh = target_frame.table("household") + conn.send( + { + "household_id": hh["household_id"].to_numpy(), + "columns": {c: hh[c].to_numpy(dtype=np.float64) for c in columns}, + "compiled_names": sorted(spec.name for spec in compiled.specs), + "dropped_target_names": list(compilation.get("dropped_target_names", [])), + "households": int(frame.n("household")), + "persons": int(frame.n("person")), + "seconds": time.time() - t0, + "child_peak_rss_gb": _peak_rss_gb_self(), + } + ) + except Exception: # noqa: BLE001 + conn.send({"error": traceback.format_exc()}) + finally: + conn.close() + + +# --------------------------------------------------------------------------- +# Targets +# --------------------------------------------------------------------------- + + +def compile_national_specs(feed_dir: Path): + """Maintained registry compile, then keep national-scope targets only.""" + from microcosm.build.ledger_artifact import load_ledger_consumer_artifact + from microcosm.build.us_runtime.congressional_district_vintage import ( + default_congressional_district_vintage_crosswalk_path, + load_congressional_district_vintage_crosswalk, + ) + from microcosm.build.us_runtime.fiscal_targets import ( + compile_us_fiscal_target_registry, + ) + from microcosm.build.us_runtime.medicaid_take_up import ( + apply_us_medicaid_enrollment_substitutions, + ) + + artifact = load_ledger_consumer_artifact(feed_dir, expected_facts_sha256=FEED_SHA256) + if len(artifact.facts) != FEED_ROW_COUNT: + raise RuntimeError(f"feed has {len(artifact.facts)} rows, expected {FEED_ROW_COUNT}") + crosswalk_path = default_congressional_district_vintage_crosswalk_path() + # The same call and substitution tools/build_us_fiscal_refresh_release.py + # main() makes (age_targets defaults True; unaged dollar targets refused). + registry = compile_us_fiscal_target_registry( + artifact.facts, + target_period=PERIOD, + congressional_district_vintage_crosswalk=load_congressional_district_vintage_crosswalk(crosswalk_path), + age_targets=True, + allow_unaged_dollar_targets=False, + ) + registry, substitutions = apply_us_medicaid_enrollment_substitutions(registry) + levels = Counter( + (str(spec.metadata.get("ledger_geography_level")), str(spec.metadata.get("geography_scope"))) + for spec in registry.specs + ) + national = tuple( + spec + for spec in registry.specs + if spec.metadata.get("ledger_geography_level") == "country" + or spec.metadata.get("geography_scope") == "national" + ) + receipt = { + "feed_dir": str(feed_dir), + "feed_facts_sha256": artifact.facts_sha256, + "feed_manifest_sha256": artifact.manifest_sha256, + "feed_rows": len(artifact.facts), + "crosswalk": str(crosswalk_path.name), + "crosswalk_sha256": _sha256(crosswalk_path), + "age_targets": True, + "allow_unaged_dollar_targets": False, + "medicaid_enrollment_substitutions": len(substitutions), + "compiled_specs_all_geographies": len(registry.specs), + "specs_by_geography_level_and_scope": { + f"{level}|{scope}": count for (level, scope), count in sorted(levels.items()) + }, + "national_rule": ( + "metadata.ledger_geography_level == 'country' or metadata.geography_scope == 'national'" + ), + "national_specs_declared": len(national), + "national_families_declared": dict(sorted(Counter(spec.family for spec in national).items())), + } + return national, receipt + + +#: Labelled-feed filter keys that restate a compiled constraint the maintained +#: materializer already applies, with that compiled counterpart. The recorded +#: checkout's ``_unsupported_ledger_filter_metadata`` refuses these keys. +#: The age restatement is the same rule applied +#: to ``age_lower_bound`` / ``age_upper_bound``, which the ``population_age`` +#: materializer and the age-banded ``policyengine_variable`` path both read. +RESTATED_BOUND_KEYS = { + "ledger_filter_us:statutes/26/62#adjusted_gross_income_lower_bound": "agi_lower_bound", + "ledger_filter_us:statutes/26/62#adjusted_gross_income_upper_bound": "agi_upper_bound", + "ledger_filter_age_lower_bound": "age_lower_bound", + "ledger_filter_age_upper_bound": "age_upper_bound", +} +RESTATED_EITC_CHILD_LOWER = "ledger_filter_us.tax.earned_income_credit_qualifying_children_lower_bound" + + +def strip_verified_restatements(specs): + """Drop labelled filter keys only where they restate an applied constraint. + + For every key the maintained guard refuses, accept it (remove it from the + spec's metadata) only if it equals its compiled counterpart: numerically + equal bounds for AGI and age, and the same qualifying-child population over + counts 0..16 for the EITC lower bound. Any + other refused key leaves the spec refused; such specs are excluded and + named in the receipt. + """ + import dataclasses + + tool = _tool_module() + refused = tool._unsupported_ledger_filter_metadata(specs) + kept, excluded = [], {} + accepted_keys: Counter = Counter() + for spec in specs: + keys = refused.get(spec.name) + if not keys: + kept.append(spec) + continue + metadata = dict(spec.metadata) + problems = [] + for key in keys: + value = metadata[key] + if key in RESTATED_BOUND_KEYS: + compiled_key = RESTATED_BOUND_KEYS[key] + compiled = metadata.get(compiled_key) + if compiled is None or tool._as_bound(str(value).strip()) != tool._as_bound(str(compiled).strip()): + problems.append(f"{key}={value} vs {compiled_key}={compiled}") + elif key == RESTATED_EITC_CHILD_LOWER: + compiled = tool._soi_eitc_child_count_filter(metadata) + counts = np.arange(17, dtype=np.float64) + try: + same = compiled is not None and np.array_equal( + counts >= float(value), tool._eitc_child_count_mask(counts, compiled) + ) + except ValueError: + same = False + if not same: + problems.append(f"{key}={value} vs child-count filter {compiled}") + else: + problems.append(f"{key}={value} has no compiled counterpart") + if problems: + excluded[spec.name] = problems + continue + for key in keys: + metadata.pop(key) + accepted_keys[key] += 1 + kept.append(dataclasses.replace(spec, metadata=metadata)) + if tool._unsupported_ledger_filter_metadata(kept): + raise RuntimeError("restatement stripping left refused keys") + receipt = { + "refused_by_origin_main_guard": len(refused), + "accepted_as_verified_restatements": len(refused) - len(excluded), + "accepted_keys": dict(sorted(accepted_keys.items())), + "excluded_specs": excluded, + } + return tuple(kept), receipt + + +HEADLINE_RULES = [ + ("population by age band (Census PEP)", "census_pep.cy2024.national_resident_population_age."), + ("wages and salaries (BEA NIPA)", "bea_nipa.cy2024.total_wages_salaries."), + ("wages and salaries (CBO)", "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries."), + ("SNAP benefits (USDA)", "usda_snap.fy2024.national_benefits.national_total.total_benefits"), + ("SNAP average monthly households (USDA)", "usda_snap.fy2024.national_average_monthly_households."), + ("Medicaid enrollment (CMS, Dec 2024)", "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment"), + ("SSI payments (SSA)", "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments."), + ("SSI recipients by age (SSA)", "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients."), + ("EITC amount and returns (IRS SOI TY2024 filing season)", "irs_soi.ty2024.filing_season_week47.eitc_all_returns."), + ("AGI and return count (IRS SOI Table 1.1)", "irs_soi.ty2023.table_1_1.all."), + ("AGI (CBO)", "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income."), +] + + +def headline_names(names: list[str]) -> tuple[list[str], dict[str, int]]: + """The <=40-target headline subset, chosen by name prefix (HEADLINE_RULES).""" + chosen: list[str] = [] + per_rule: dict[str, int] = {} + for label, prefix in HEADLINE_RULES: + hits = sorted(n for n in names if n.startswith(prefix)) + per_rule[label] = len(hits) + chosen.extend(hits) + if len(chosen) > HEADLINE_MAX: + raise RuntimeError(f"headline subset has {len(chosen)} > {HEADLINE_MAX}") + return chosen, per_rule + + +def _national_agi_band_rows(specs) -> list[str]: + """Report AGI measures with a finite bound; unbounded totals are not bands.""" + return sorted( + s.name for s in specs + if any("adjusted_gross_income" in str(s.metadata.get(key, "")) for key in ("base_variable", "source_variable", "variable")) + and any( + math.isfinite(float(s.metadata[key])) + for key in ("agi_lower_bound", "agi_upper_bound") + if s.metadata.get(key) is not None + ) + ) + + +# --------------------------------------------------------------------------- +# PolicyBench draw (reimplemented read-only from policybench/scenarios.py) +# --------------------------------------------------------------------------- + + +def policybench_eligible(desc: pd.DataFrame, filing_status_column: str) -> pd.DataFrame: + """``policybench/scenarios.py::_eligible_households`` on this file. + + One tax unit, one SPM unit, one family, at least one adult (age >= 18), + and a first-person filing status in SINGLE / JOINT / HEAD_OF_HOUSEHOLD. + Households sort by id (pandas groupby order), as in PolicyBench. + """ + keep = ( + (desc["tax_units"] == 1) + & (desc["spm_units"] == 1) + & (desc["families"] == 1) + & (desc["adults"] >= 1) + & desc[filing_status_column].isin(list(POLICYBENCH_FILING_STATUSES)) + ) + return desc.loc[keep].sort_values("household_id").reset_index(drop=True) + + +def policybench_draw(eligible: pd.DataFrame, *, seed: int, requested: int, private_fraction: float, split_seed: int) -> list[int]: + """PPS-without-replacement draw plus the id-hash public split. + + ``_sample_household_ids``: ``numpy.random.default_rng(seed).choice(ids, + size=requested, replace=False, p=w / w.sum())``; scenarios are numbered + ``scenario_000`` ... in draw order; ``split_scenarios`` ranks ids by + ``sha256(f"{split_seed}:{scenario_id}")`` and holds the first + ``round(requested * private_fraction)`` private. Returns the public + household ids in draw order. + """ + rng = np.random.default_rng(seed) + ids = eligible["household_id"].to_numpy() + weights = eligible["design_weight"].to_numpy(dtype=float) + weights = np.where(weights > 0, weights, 0.0) + drawn = rng.choice(ids, size=requested, replace=False, p=weights / weights.sum()) + scenario_ids = [f"scenario_{i:03d}" for i in range(requested)] + private_count = round(requested * private_fraction) + ranked = sorted(scenario_ids, key=lambda sid: hashlib.sha256(f"{split_seed}:{sid}".encode()).hexdigest()) + private = set(ranked[:private_count]) + return [int(h) for sid, h in zip(scenario_ids, drawn, strict=True) if sid not in private] + + +def load_frozen_policybench(run_dir: Path): + meta = json.loads((run_dir / "scenarios.csv.meta.json").read_text()) + scenarios = pd.read_csv(run_dir / "scenarios.csv") + rows = [] + for _, row in scenarios.iterrows(): + payload = json.loads(row["scenario_json"]) + people = payload.get("adults", []) + payload.get("children", []) + rows.append( + { + "scenario_id": row["scenario_id"], + "household_id": int(payload["metadata"]["household_id"]), + "state": row["state"], + "filing_status": row["filing_status"], + "num_adults": int(row["num_adults"]), + "num_children": int(row["num_children"]), + "total_income": float(row["total_income"]), + "employment_income_sum": float(sum(float(p.get("employment_income", 0.0)) for p in people)), + } + ) + return pd.DataFrame(rows), meta + + +# --------------------------------------------------------------------------- +# Calibration helpers +# --------------------------------------------------------------------------- + + +def subset_frame(frame, household_ids, weights: np.ndarray): + """Select households by id and set their starting weights (id order).""" + from microcosm.frame import MassChange, WeightKind + + person = frame.table("person") + mask = np.isin(person["person_household_id"].to_numpy(), household_ids) + sub = frame.select(mask) + sub_ids = sub.table("household")["household_id"].to_numpy() + order = {int(h): i for i, h in enumerate(household_ids)} + values = np.asarray([weights[order[int(h)]] for h in sub_ids], dtype=np.float64) + current = sub.resolve_weights("household") + return sub.with_weights( + "household", + current.with_values(values, kind=WeightKind.CALIBRATED), + mass=MassChange( + factor=float(values.sum() / current.total), + reason="design weights of a 100-household sample (sum of eligible design weights / n)", + ), + ) + + +def fit_summary(names, estimates, targets) -> dict: + """Relative-error fit on the calibrator's own scale, s = max(|b|, 1).""" + from microcosm.calibrate import default_target_loss_scales + + estimates = np.asarray(estimates, dtype=np.float64) + targets = np.asarray(targets, dtype=np.float64) + rel = (estimates - targets) / default_target_loss_scales(targets) + abs_rel = np.abs(rel) + nonzero = np.abs(targets) > 0 + order = np.argsort(-abs_rel, kind="stable") + worst = order[:5] + worst_nonzero = [i for i in order if nonzero[i]][:5] + return { + "n_targets": int(len(targets)), + "n_zero_valued_targets": int((~nonzero).sum()), + "capped_mape": float(np.minimum(abs_rel, TARGET_LOSS_CAP).mean()), + "uncapped_mape": float(abs_rel.mean()), + "median_abs_rel_error": float(np.median(abs_rel)), + "share_within_10pct": float(np.mean(abs_rel <= 0.10)), + "share_within_25pct": float(np.mean(abs_rel <= 0.25)), + "worst_five": [{"target": str(names[i]), "relative_error": float(rel[i])} for i in worst], + "worst_five_nonzero_targets": [ + {"target": str(names[i]), "relative_error": float(rel[i])} for i in worst_nonzero + ], + } + + +def evaluate_weights(problem, weights) -> dict: + names = [t.name for t in problem.targets] + return fit_summary(names, problem.estimates(np.asarray(weights)), problem.target_vector) + + +def weight_concentration(weights, equal_share: float | None = None) -> dict: + from microcosm.calibrate import effective_sample_size + + w = np.asarray(weights, dtype=np.float64) + w = w[w > 0] + median = float(np.median(w)) + out = { + "n": int(len(w)), + "total": float(w.sum()), + "max_over_mean": float(w.max() / w.mean()), + "min_over_mean": float(w.min() / w.mean()), + "top10_share": float(np.sort(w)[::-1][:10].sum() / w.sum()), + "kish_ess": float(effective_sample_size(w)), + "n_above_5x_own_median": int(np.sum(w > 5 * median)), + "n_above_10x_own_median": int(np.sum(w > 10 * median)), + } + if equal_share is not None: + out["equal_share"] = float(equal_share) + out["n_above_5x_equal_share"] = int(np.sum(w > 5 * equal_share)) + out["n_above_10x_equal_share"] = int(np.sum(w > 10 * equal_share)) + return out + + +def _scatter(n: int, positions, values) -> np.ndarray: + out = np.zeros(n) + out[positions] = values + return out + + +def _quantiles(values) -> dict: + arr = np.asarray(values, dtype=np.float64) + return { + "p05": float(np.quantile(arr, 0.05)), + "p50": float(np.quantile(arr, 0.50)), + "p95": float(np.quantile(arr, 0.95)), + "min": float(arr.min()), + "max": float(arr.max()), + } + + +def _share_at_or_below(values, x) -> float: + return float(np.mean(np.asarray(values) <= x)) + + +def _weighted_quantiles(values, weights, qs) -> list[float]: + order = np.argsort(values, kind="stable") + v = np.asarray(values)[order] + w = np.asarray(weights)[order] + cum = np.cumsum(w) / w.sum() + return [float(v[min(np.searchsorted(cum, q, side="left"), len(v) - 1)]) for q in qs] + + +# --------------------------------------------------------------------------- +# Household descriptors +# --------------------------------------------------------------------------- + +#: households.csv column -> (target measure, expected base variable(s), test) +DESCRIPTOR_MEASURES = { + "employment_income": ( + "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "value", + ), + "agi_or_total_income": ( + "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income.projected_amount", + "value", + ), + "receives_snap": ("usda_snap.fy2024.national_benefits.national_total.total_benefits", "positive"), + "receives_medicaid": ("cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", "positive"), + "receives_ssi": ("ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", "positive"), + "eitc_positive": ( + "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_amount", + "positive", + ), + "social_security_positive": ( + "ssa_supplement.cy2024.oasdi_ssi_payments.social_security_benefits.payment_amount", + "positive", + ), +} +DESCRIPTOR_METADATA_KEYS = ( + "materializer", "base_variable", "base_variables", "source_variable", "variable", + "measure_mode", "indicator_map_to", "indicator_filter_variable", "filing_status", + "agi_lower_bound", "agi_upper_bound", "ledger_domain", +) + + +def build_descriptors(original, filing_status: dict[str, np.ndarray]) -> pd.DataFrame: + """Household descriptors from the file's own columns.""" + from microcosm.calibrate.geography_constants import US_STATE_NUMERIC_FIPS_TO_POSTAL + + person = original.table("person") + household = original.table("household") + hh_ids = household["household_id"].to_numpy() + age = person["age"].to_numpy(dtype=np.float64) + p_hh = person["person_household_id"].to_numpy() + by = pd.DataFrame( + { + "household_id": p_hh, + "tax_unit_id": person["person_tax_unit_id"].to_numpy(), + "spm_unit_id": person["person_spm_unit_id"].to_numpy(), + "family_id": person["person_family_id"].to_numpy(), + "adult": age >= 18, + "age": age, + "is_household_head": person["is_household_head"].to_numpy(dtype=bool), + "employment_income_stored": person["employment_income"].to_numpy(dtype=np.float64), + } + ) + present_fields = [f for f in POLICYBENCH_MONETARY_INCOME_FIELDS if f in person.columns] + by["policybench_total_income_stored"] = ( + person[present_fields].to_numpy(dtype=np.float64).sum(axis=1) if present_fields else 0.0 + ) + for label, values in filing_status.items(): + by[label] = pd.Series(values["values"], index=values["tax_unit_ids"]).loc[by["tax_unit_id"].to_numpy()].to_numpy() + grouped = by.groupby("household_id", sort=True) + head_age = by[by["is_household_head"]].groupby("household_id")["age"].max() + oldest = grouped["age"].max() + desc = pd.DataFrame( + { + "household_size": grouped.size(), + "adults": grouped["adult"].sum().astype(int), + "tax_units": grouped["tax_unit_id"].nunique(), + "spm_units": grouped["spm_unit_id"].nunique(), + "families": grouped["family_id"].nunique(), + "employment_income_stored": grouped["employment_income_stored"].sum(), + "policybench_total_income_stored": grouped["policybench_total_income_stored"].sum(), + **{f"{label}_first": grouped[label].first() for label in filing_status}, + } + ) + desc["children"] = desc["household_size"] - desc["adults"] + desc["head_age"] = head_age.reindex(desc.index).fillna(oldest) + desc["head_age_from_head_flag"] = head_age.reindex(desc.index).notna() + desc = desc.reindex(hh_ids) + desc["state_fips"] = household["state_fips"].to_numpy() + desc["state"] = [US_STATE_NUMERIC_FIPS_TO_POSTAL[int(s)] for s in desc["state_fips"]] + desc["design_weight"] = original.weights_for("household").values + desc.index.name = "household_id" + return desc.reset_index(), present_fields + + +def _composition(table: pd.DataFrame, weights: np.ndarray, cuts: list[float]) -> dict: + keep = np.asarray(weights) > 0 + t = table.loc[keep] + w = np.asarray(weights, dtype=np.float64)[keep] + total = w.sum() + + def share(mask) -> float: + return float(w[np.asarray(mask)].sum() / total) + + size = t["household_size"].to_numpy() + kids = t["children"].to_numpy() + age = t["head_age"].to_numpy() + bins = np.digitize(t["employment_income"].to_numpy(), cuts, right=True) # 0..4 -> Q1..Q5 + return { + "households": int(len(t)), + "household_size": {"1": share(size == 1), "2": share(size == 2), "3": share(size == 3), "4+": share(size >= 4)}, + "children": {"0": share(kids == 0), "1": share(kids == 1), "2+": share(kids >= 2)}, + "head_age": { + "<30": share(age < 30), + "30-49": share((age >= 30) & (age < 50)), + "50-64": share((age >= 50) & (age < 65)), + "65+": share(age >= 65), + }, + "employment_income_quintile": {f"Q{i + 1}": share(bins == i) for i in range(5)}, + "receipt": { + col: share(t[col].to_numpy()) + for col in ("receives_snap", "receives_medicaid", "receives_ssi", "eitc_positive", "social_security_positive") + }, + "distinct_states": int(t["state"].nunique()), + } + + +# --------------------------------------------------------------------------- +# The run +# --------------------------------------------------------------------------- + + +def run(args) -> None: + import torch + + torch.set_num_threads(4) + from microcosm.calibrate import ( + TargetRegistry, + assert_exact_k_support, + build_constraint_matrix, + calibrate, + exact_k_design_feasibility, + refit_l0_selection, + select_exact_k, + ) + from microcosm.frame import Frame + from microcosm.frame.units import US_SCHEMA + + global SYNTHETIC_MEASURES_FOR_PIPELINE_TEST, PROGRESS_LOG + smoke = args.smoke_households is not None + if args.pipeline_test_synthetic_measures: + if not smoke: + raise SystemExit("--pipeline-test-synthetic-measures requires --smoke-households") + SYNTHETIC_MEASURES_FOR_PIPELINE_TEST = True + out_dir = Path(args.out_dir).resolve() if args.out_dir else RECORD_DIR + if REPO_ROOT not in out_dir.parents: + raise SystemExit("Outputs must stay inside the assigned workspace") + if smoke and (out_dir == RECORD_DIR or not (out_dir / ".gitignore").exists()): + raise SystemExit("Smoke output requires a separate directory with a .gitignore containing '*'") + if smoke and "*" not in (out_dir / ".gitignore").read_text().splitlines(): + raise SystemExit("Smoke output .gitignore must contain '*'") + _check_disk() + out_dir.mkdir(parents=True, exist_ok=True) + PROGRESS_LOG = out_dir / "progress.log" + selection_settings = dict(EXACT_K_SELECTION) + refit_settings = dict(SAMPLE_REFIT) + n_seeds = args.n_seeds + if smoke: + selection_settings.update(epochs=64, budget_iters=4) + refit_settings.update(epochs=64) + n_seeds = min(n_seeds, 3) + _write_json(out_dir / "run_status.json", {"status": "running", "smoke": smoke, "pid": os.getpid(), "started_at": time.strftime("%Y-%m-%dT%H:%M:%S%z")}) + runtime: dict[str, object] = {"notes": { + "peak_rss_gb": "sampled every 0.25 s: this process plus any live child (psutil RSS sum)", + "child_peak_rss_gb": "the child's own getrusage high-water mark", + }} + t_run = time.time() + + # -- inputs ------------------------------------------------------------- + h5 = Path(args.h5) + digest = _sha256(h5) + if digest != H5_SHA256: + raise RuntimeError(f"{h5} sha256 {digest} != {H5_SHA256}") + run_dir = Path(args.policybench_run) + frozen, meta = load_frozen_policybench(run_dir) + frozen_ids = frozen["household_id"].tolist() + if meta["policyengine_bundles"]["us"]["certified_data_artifact_sha256"] != H5_SHA256: + raise RuntimeError("PolicyBench's frozen run names a different data artifact") + _log(f"h5 verified; PolicyBench frozen run has {len(frozen_ids)} public scenarios") + n_batches = 2 if smoke else args.n_batches + ckpt = Checkpoint( + out_dir, + { + "h5_sha256": digest, + "feed_facts_sha256": FEED_SHA256, + "smoke_households": args.smoke_households, + "pipeline_test_synthetic_measures": bool(args.pipeline_test_synthetic_measures), + "n_batches": n_batches, + "invariance_window": 25 if smoke else INVARIANCE_WINDOW, + "policyengine_us": _version("policyengine-us"), + "policyengine_core": _version("policyengine-core"), + "release_tool_sha256": _sha256(REPO_ROOT / "tools" / "build_us_fiscal_refresh_release.py"), + "fiscal_targets_module_sha256": _module_sha256("microcosm.build.us_runtime.fiscal_targets"), + "h5_io_module_sha256": _module_sha256("microcosm.build.us_runtime.h5_io"), + "source": source_provenance(), + }, + ) + if ckpt.dir is not None: + _log(f"checkpoint directory {ckpt.dir}") + + subset_ids = None + if smoke: + from microcosm.build.us_runtime.h5_io import load_legacy_calibrated_us_h5 + + all_ids = load_legacy_calibrated_us_h5(h5).table("household")["household_id"].to_numpy() + others = np.setdiff1d(all_ids, frozen_ids) + rng = np.random.default_rng(7) + subset_ids = np.sort(np.concatenate([frozen_ids, rng.choice(others, args.smoke_households, replace=False)])) + original, measured, dropped = load_measurement_frame(h5, subset_ids) + entity_rows = {e: int(original.n(e)) for e in original.entities} + _log(f"frame loaded {entity_rows}; formula-owned columns dropped {dropped}") + + cached = ckpt.load("engine_facts") + if cached is None: + with ResourceMeter() as meter: + facts = _run_child(_child_engine_facts, str(h5), subset_ids) + cached = {"facts": facts, "runtime": {**meter.record(), "child_peak_rss_gb": facts["child_peak_rss_gb"]}} + ckpt.save("engine_facts", cached) + facts = cached["facts"] + runtime["engine_facts_child"] = cached["runtime"] + _log(f"engine facts: {runtime['engine_facts_child']}") + fs = { + "filing_status_as_shipped": {"values": facts["filing_status_as_shipped"], "tax_unit_ids": facts["tax_unit_ids"]}, + "filing_status_measured": {"values": facts["filing_status_measured"], "tax_unit_ids": facts["tax_unit_ids"]}, + } + desc, income_fields_present = build_descriptors(original, fs) + pool_ids = desc["household_id"].to_numpy() + design_w = desc["design_weight"].to_numpy(dtype=np.float64) + w_all = float(design_w.sum()) + + # -- targets ------------------------------------------------------------ + with ResourceMeter() as meter: + national, registry_receipt = compile_national_specs(Path(args.feed_dir)) + national, restatement_receipt = strip_verified_restatements(national) + runtime["target_compile"] = meter.record() + registry_receipt["labelled_filter_restatements"] = restatement_receipt + ckpt.save_summary("target_registry", registry_receipt) + _log(f"national specs: {len(national)}; restatements {restatement_receipt['accepted_as_verified_restatements']}") + flagged = [s.name for s in national if "poverty" in s.name.lower() or "spm" in s.name.lower()] + if flagged: + raise RuntimeError(f"poverty/SPM target names present: {flagged}") + + # -- materialization in child batches ------------------------------------- + batches = np.array_split(pool_ids, n_batches) + payloads = [] + batch_records = [] + with ResourceMeter() as meter: + for b, ids in enumerate(batches): + payload = ckpt.load(f"materialize_batch_{b + 1}_of_{n_batches}") + if payload is None or not np.array_equal(np.sort(payload["household_id"]), np.sort(ids)): + with ResourceMeter() as batch_meter: + payload = _run_child(_child_materialize, str(h5), ids, national) + payload["meter"] = batch_meter.record() + ckpt.save(f"materialize_batch_{b + 1}_of_{n_batches}", payload) + payloads.append(payload) + batch_records.append( + { + "batch": b + 1, + "households": int(payload["households"]), + "persons": int(payload["persons"]), + **payload["meter"], + "child_peak_rss_gb": round(float(payload["child_peak_rss_gb"]), 3), + } + ) + ckpt.save_summary("materialization_progress", {"batches": batch_records}) + _log( + f"batch {b + 1}/{n_batches}: {payload['households']} households, " + f"{payload['meter']}, child peak {payload['child_peak_rss_gb']:.1f} GB" + ) + # Sum of the batch children's wall times and the largest batch peak (a + # batch reloaded from a checkpoint keeps the time it took when computed). + runtime["materialize_all_batches"] = { + "seconds": round(sum(r["seconds"] for r in batch_records), 2), + "peak_rss_gb": max(r["peak_rss_gb"] for r in batch_records), + } + names0 = set(payloads[0]["compiled_names"]) + if any(set(p["compiled_names"]) != names0 for p in payloads): + raise RuntimeError("batches compiled different target sets") + columns = sorted(payloads[0]["columns"]) + measure_ids = np.concatenate([p["household_id"] for p in payloads]) + measure_values = {c: np.concatenate([p["columns"][c] for p in payloads]) for c in columns} + order = pd.Index(measure_ids).get_indexer(pool_ids) + if (order < 0).any() or len(set(measure_ids.tolist())) != len(pool_ids): + raise RuntimeError("materialized households do not match the pool") + measures = pd.DataFrame({c: v[order] for c, v in measure_values.items()}) + + # Batch invariance: re-materialize a window straddling the batch 0/1 + # boundary in one child and compare every household value. + half = 25 if smoke else INVARIANCE_WINDOW + window = np.concatenate([batches[0][-half:], batches[1][:half]]) + cached = ckpt.load("batch_invariance") + if cached is None: + with ResourceMeter() as meter: + check = _run_child(_child_materialize, str(h5), window, national) + cached = {"check": check, "runtime": {**meter.record(), "child_peak_rss_gb": check["child_peak_rss_gb"]}} + ckpt.save("batch_invariance", cached) + check = cached["check"] + runtime["batch_invariance_child"] = cached["runtime"] + del cached + pos = pd.Index(pool_ids).get_indexer(check["household_id"]) + max_abs = 0.0 + n_diff_cells = 0 + for c in columns: + a = measures[c].to_numpy()[pos] + b_ = check["columns"][c] + diff = np.abs(a - b_) + max_abs = max(max_abs, float(diff.max())) + n_diff_cells += int(np.sum(~np.isclose(a, b_, rtol=1e-9, atol=1e-6))) + invariance = { + "window_households": int(len(window)), + "window": f"last {half} households of batch 1 and first {half} of batch 2, re-materialized together in one child", + "measure_columns_compared": len(columns), + "cells_differing": n_diff_cells, + "max_abs_difference": max_abs, + } + _log(f"batch invariance: {invariance}") + ckpt.save_summary("batch_invariance", invariance) + if n_diff_cells: + raise RuntimeError("Target values depend on household batch boundaries") + del check + if args.stop_after == "materialize": + _write_json(out_dir / "run_status.json", {"status": "stopped", "stage": "materialize", "smoke": smoke}) + _log("stopping after materialization (--stop-after materialize); checkpoints kept") + return + + compiled_specs = tuple(s for s in national if s.name in names0) + household = measured.table("household").reset_index(drop=True) + overwritten = sorted(set(household.columns) & set(measures.columns)) + household = household.drop(columns=overwritten) + tables = {entity: measured.table(entity) for entity in measured.entities} + tables["household"] = pd.concat([household, measures], axis=1) + if tables["household"].columns.duplicated().any(): + raise RuntimeError("duplicate household columns after adding target measures") + frame = Frame(tables, US_SCHEMA, {"household": measured.weights_for("household")}) + del measure_values, payloads + + # No poverty or SPM measure may be a target: exclude any compiled spec whose + # name or measured variable mentions either (conservative: an SPM-unit + # benefit field counts), before any target set is built. + base_keys = ("base_variable", "base_variables", "source_variable", "variable", "indicator_filter_variable") + spm_excluded = { + s.name: sorted( + f"{k}={v}" for k, v in s.metadata.items() + if k in base_keys and ("poverty" in str(v).lower() or "spm" in str(v).lower()) + ) + for s in compiled_specs + } + spm_excluded = { + n: v for n, v in spm_excluded.items() if v or "poverty" in n.lower() or "spm" in n.lower() + } + compiled_specs = tuple(s for s in compiled_specs if s.name not in spm_excluded) + _log(f"excluded under the no-poverty/SPM rule: {spm_excluded}") + all_names = [s.name for s in compiled_specs] + headline, headline_per_rule = headline_names(all_names) + head_set = set(headline) + registries = { + "national_all": TargetRegistry(compiled_specs, country="us"), + "headline": TargetRegistry([s for s in compiled_specs if s.name in head_set], country="us"), + } + sets = {key: reg.to_target_set() for key, reg in registries.items()} + problems = {key: build_constraint_matrix(frame, ts, "household") for key, ts in sets.items()} + spec_by_name = {s.name: s for s in compiled_specs} + flagged_base = sorted( + f"{s.name}: {v}" + for s in compiled_specs + for k, v in s.metadata.items() + if k in base_keys and ("poverty" in str(v).lower() or "spm" in str(v).lower()) + ) + if flagged_base or any("poverty" in n.lower() or "spm" in n.lower() for n in all_names): + raise RuntimeError(f"poverty/SPM target survived the exclusion: {flagged_base}") + + # Household descriptor columns from target measures, with the spec metadata + # that defines each measure recorded (not asserted). + descriptor_sources = {} + for col, (name, kind) in DESCRIPTOR_MEASURES.items(): + spec = spec_by_name[name] + values = frame.table("household")[spec.measure].to_numpy(dtype=np.float64) + desc[col] = values if kind == "value" else values > 0 + descriptor_sources[col] = { + "target": name, + "measure_column": spec.measure, + "household_value": "household value of the target's measure" if kind == "value" else "measure > 0", + "spec_metadata": {k: spec.metadata.get(k) for k in DESCRIPTOR_METADATA_KEYS if spec.metadata.get(k) is not None}, + } + + # -- frozen draw -------------------------------------------------------- + eligible = { + basis: policybench_eligible(desc, f"{basis}_first") + for basis in ("filing_status_as_shipped", "filing_status_measured") + } + requested = int(meta["requested_num_scenarios"]) + draw_kwargs = dict( + requested=requested, + private_fraction=float(meta["private_fraction"]), + split_seed=int(meta["split_seed"]), + ) + repro = {basis: policybench_draw(el, seed=int(meta["seed"]), **draw_kwargs) for basis, el in eligible.items()} + basis = "filing_status_as_shipped" + elig = eligible[basis] + w_elig = float(elig["design_weight"].sum()) + fd = desc.set_index("household_id").loc[frozen_ids] + frozen_draw = { + "route_to_ids": "scenarios.csv scenario_json.metadata.household_id (PolicyBench writes the source household id there)", + "reproduction": ( + "policybench/scenarios.py draw re-run here: eligibility filter, " + "numpy.random.default_rng(seed).choice(ids, requested, replace=False, p=w/sum(w)), " + "then split_scenarios' sha256 id-hash public split" + ), + "meta": {k: meta[k] for k in ("seed", "requested_num_scenarios", "num_scenarios", "private_fraction", "split_seed", "split")}, + "certified_data_build_id": meta["policyengine_bundles"]["us"]["certified_data_build_id"], + "certified_data_artifact_sha256": meta["policyengine_bundles"]["us"]["certified_data_artifact_sha256"], + "policybench_engine": { + "policyengine_us": meta["policyengine_bundles"]["us"]["model_version"], + "policyengine": meta["policyengine_bundles"]["us"]["policyengine_version"], + }, + "eligibility_basis_used": basis, + "by_filing_status_basis": { + b: { + "eligible_households": int(len(eligible[b])), + "eligible_weight_total": float(eligible[b]["design_weight"].sum()), + "reproduced_ids_equal_in_order": repro[b] == frozen_ids, + "reproduced_overlap_with_frozen": len(set(repro[b]) & set(frozen_ids)), + } + for b in eligible + }, + "filing_status_bases_agree_share_of_households": float( + np.mean(desc["filing_status_as_shipped_first"] == desc["filing_status_measured_first"]) + ), + "all_frozen_ids_in_file": bool(np.isin(frozen_ids, pool_ids).all()), + "all_frozen_ids_eligible": bool(np.isin(frozen_ids, elig["household_id"]).all()), + "row_checks_file_vs_scenarios_csv": { + "of": len(frozen_ids), + "state_equal": int(np.sum(fd["state"].to_numpy() == frozen["state"].to_numpy())), + "filing_status_equal": int( + np.sum( + np.asarray([POLICYBENCH_FILING_STATUSES.get(v, v) for v in fd[f"{basis}_first"]]) + == frozen["filing_status"].to_numpy() + ) + ), + "adults_equal": int(np.sum(fd["adults"].to_numpy() == frozen["num_adults"].to_numpy())), + "children_equal": int(np.sum(fd["children"].to_numpy() == frozen["num_children"].to_numpy())), + "employment_income_equal_within_1_dollar": int( + np.sum(np.abs(fd["employment_income_stored"].to_numpy() - frozen["employment_income_sum"].to_numpy()) <= 1.0) + ), + "employment_income_equal_exactly": int(np.sum(fd["employment_income_stored"].to_numpy() == frozen["employment_income_sum"].to_numpy())), + "total_income_equal_exactly": int(np.sum(fd["policybench_total_income_stored"].to_numpy() == frozen["total_income"].to_numpy())), + "total_income_equal_within_1_dollar": int( + np.sum(np.abs(fd["policybench_total_income_stored"].to_numpy() - frozen["total_income"].to_numpy()) <= 1.0) + ), + "total_income_fields_present_in_file": income_fields_present, + "total_income_fields_absent_from_file": [ + f for f in POLICYBENCH_MONETARY_INCOME_FIELDS if f not in income_fields_present + ], + }, + "pps_first_order_inclusion": { + "exact_k_module_offers_successive_sampling_probabilities": False, + "weight_used": "sum of eligible design weights / 100 (self-weighting approximation)", + "max_requested_times_p": float(requested * elig["design_weight"].max() / w_elig), + "max_public_n_times_p": float(K * elig["design_weight"].max() / w_elig), + "note": ( + "microcosm.calibrate.exact_k supplies inclusion probabilities only for its own " + "Sampford draw (select_exact_k); it has no function for numpy " + "Generator.choice(replace=False, p=...), so the self-weighting approximation is used " + "and checked empirically against the seed draws (sampling_distribution.json " + "self_weighting_check)" + ), + }, + } + _log(f"frozen draw reproduction: { {b: v['reproduced_ids_equal_in_order'] for b, v in frozen_draw['by_filing_status_basis'].items()} }") + ckpt.save_summary("frozen_draw", frozen_draw) + if not smoke and repro[basis] != frozen_ids: + raise RuntimeError("Frozen PolicyBench draw did not reproduce exactly") + + # -- designs 1-3 -------------------------------------------------------- + idx = pd.Index(pool_ids) + frozen_pos = idx.get_indexer(frozen_ids) + n_pool = len(pool_ids) + results: dict[str, dict] = {} + weights_by: dict[str, np.ndarray] = {} + exact_support_ids: dict[str, np.ndarray] = {} + calib_runtime: dict[str, dict] = {} + from microcosm.calibrate.gates import hard_concrete_open_probability_threshold + + # A record's returned L0 weight is positive exactly when its open + # probability exceeds this cutoff (gates.py hard_concrete_open_probability_threshold). + gate_threshold = hard_concrete_open_probability_threshold(selection_settings["temperature"]) + for key, target_set in sets.items(): + problem = problems[key] + stage = "designs_{}_{}".format( + key, + _digest_of( + { + "selection": selection_settings, + "refit": refit_settings, + "draw_pi_hi": EXACT_K_DRAW_PI_HI, + "draw_seed": EXACT_K_DRAW_SEED, + "targets": [t.name for t in problem.targets], + "frozen_ids": [int(h) for h in frozen_ids], + } + ), + ) + cached = ckpt.load(stage) + if cached is not None: + results[key] = cached["result"] + weights_by.update(cached["weights_by"]) + if cached["exact_support_ids"] is not None: + exact_support_ids[key] = cached["exact_support_ids"] + calib_runtime.update(cached["calib_runtime"]) + continue + key_weights: dict[str, np.ndarray] = {} + key_runtime: dict[str, dict] = {} + r: dict[str, object] = { + "targets_compiled": len(problem.targets), + "targets_skipped": [s.target.name for s in problem.skipped], + "target_names": [t.name for t in problem.targets], + "full_file": {"fit": evaluate_weights(problem, design_w), "weights": weight_concentration(design_w)}, + } + # Design 1: self-weighted frozen sample. + w1 = _scatter(n_pool, frozen_pos, w_elig / K) + r["design1_self_weighted"] = { + "weight_each": w_elig / K, + "fit": evaluate_weights(problem, w1), + "weights": weight_concentration(w1[frozen_pos], w_elig / K), + } + r["design1b_self_weighted_file_total"] = { + "weight_each": w_all / K, + "fit": evaluate_weights(problem, _scatter(n_pool, frozen_pos, w_all / K)), + } + ckpt.save_summary(f"{key}_design1", {"settings": {"target_set": key}, "result": r["design1_self_weighted"], "file_total_sensitivity": r["design1b_self_weighted_file_total"]}) + # Design 2: post-stratified frozen sample. + with ResourceMeter() as meter: + sub = subset_frame(frame, frozen_ids, np.full(K, w_elig / K)) + res2 = calibrate(sub, target_set, **refit_settings) + sub_ids = sub.table("household")["household_id"].to_numpy() + w2 = _scatter(n_pool, idx.get_indexer(sub_ids), res2.weights) + r["design2_post_stratified"] = { + "fit": evaluate_weights(problem, w2), + "weights": weight_concentration(res2.weights, w_elig / K), + "skipped_on_subset": [s.target.name for s in res2.skipped], + } + key_runtime[f"{key}_design2_post_stratified"] = meter.record() + key_weights[f"{key}_design2"] = w2 + ckpt.save_summary(f"{key}_design2", {"settings": refit_settings, "result": r["design2_post_stratified"], "runtime": meter.record()}) + if key == "national_all": + write_households(out_dir, desc, pool_ids, frozen_ids, w_elig, key_weights, {}) + _log(f"[{key}] design 2 {meter.record()}") + + # Design 3: exact-k (L0 selection, Sampford boundary draw, frozen-support refit). + probes: list[dict] = [] + + def _progress(event, _probes=probes, _key=key): + if event.get("kind") in ("budget_probe", "budget_search_done"): + _probes.append(dict(event)) + ckpt.save_summary(f"{_key}_selection_progress", {"settings": selection_settings, "probes": _probes}) + _log(f"[{_key}] {event}") + + d3: dict[str, object] = {} + selection = None + with ResourceMeter() as meter: + try: + selection = calibrate(frame, target_set, progress_callback=_progress, **selection_settings) + except (ValueError, RuntimeError) as exc: + # Recorded, not hidden: the brief asks for the closest counts and + # penalties when the calibrator cannot reach the budget. + d3["selection_failed"] = repr(exc) + key_runtime[f"{key}_design3_l0_selection"] = meter.record() + support_ids = None + if selection is None: + d3["selection"] = { + "probes": [p for p in probes if p.get("kind") == "budget_probe"], + "search_done": next((p for p in probes if p.get("kind") == "budget_search_done"), None), + } + _log(f"[{key}] exact-k L0 selection FAILED: {d3['selection_failed']}") + else: + pi = np.asarray(selection.gate_open_probabilities, dtype=np.float64) + pi_sorted = np.sort(pi)[::-1] + d3["selection"] = { + "settled_l0_lambda": float(selection.l0_lambda), + "budget_basis": selection_settings["budget_basis"], + "budget_measure_at_settle": int(selection.n_nonzero), + "open_probability_mass": float(pi.sum()), + "gated_weights_nonzero_count": int(np.sum(selection.weights > 1e-6 * float(np.mean(design_w)))), + "deterministic_gate_open_threshold": float(gate_threshold), + "gates_above_deterministic_threshold": int(np.sum(pi > gate_threshold)), + "open_probability_mass_at_or_below_deterministic_threshold": float(pi[pi <= gate_threshold].sum()), + "gates_open_prob_ge_0_5": int(np.sum(pi >= 0.5)), + "gates_open_prob_ge_pi_hi": int(np.sum(pi >= EXACT_K_DRAW_PI_HI)), + "open_probability_rank_100": float(pi_sorted[min(K - 1, len(pi) - 1)]), + "open_probability_rank_101": float(pi_sorted[min(K, len(pi) - 1)]), + "budget_search": selection.options.get("budget_search"), + "gated_fit_full_pool": evaluate_weights(problem, selection.weights), + } + d3["feasibility"] = exact_k_design_feasibility(pi, K, EXACT_K_DRAW_PI_HI) + try: + support, receipt, q = select_exact_k(pi, K, EXACT_K_DRAW_PI_HI, EXACT_K_DRAW_SEED) + support = assert_exact_k_support(support, K, pool_size=n_pool) + except (ValueError, RuntimeError) as exc: + d3["draw_failed"] = repr(exc) + _log(f"[{key}] exact-k draw FAILED: {exc!r}") + else: + ckpt.save_summary(f"{key}_design3", {"settings": selection_settings, "result": d3, "draw_receipt": receipt, "status": "refit_pending", "runtime": key_runtime}) + with ResourceMeter() as meter: + refit = refit_l0_selection( + frame, + target_set, + selection, + support=support, + k=K, + support_inclusion_probabilities=q, + epochs=refit_settings["epochs"], + learning_rate=refit_settings["learning_rate"], + mass=refit_settings["mass"], + max_weight_ratio=refit_settings["max_weight_ratio"], + seed=refit_settings["seed"], + ) + key_runtime[f"{key}_design3_refit"] = meter.record() + refit_ids = refit.refit.frame.table("household")["household_id"].to_numpy() + if set(refit_ids.tolist()) != set(pool_ids[support].tolist()) or len(refit_ids) != K: + raise RuntimeError("refit households differ from the exact-k support") + w3 = _scatter(n_pool, idx.get_indexer(refit_ids), refit.refit.weights) + ht = _scatter(n_pool, idx.get_indexer(refit_ids), refit.refit.initial_weights) + pi_support = pi[support] + certain = pi_support >= EXACT_K_DRAW_PI_HI + d3["draw"] = { + "receipt": receipt, + "pi_hi": EXACT_K_DRAW_PI_HI, + "seed": EXACT_K_DRAW_SEED, + "boundary_draw_needed": int(receipt["certainty_count"]) < K, + "certainties": int(receipt["certainty_count"]), + "boundary_draws": int(K - int(receipt["certainty_count"])), + "boundary_draws_at_or_below_deterministic_threshold": int( + np.sum(~certain & (pi_support <= gate_threshold)) + ), + "support_open_probability": _quantiles(pi_support), + "inclusion_probability_min": float(np.min(q)), + "inclusion_probability_max": float(np.max(q)), + "support_in_top_100_open_probability": int( + np.isin(support, np.argsort(-pi, kind="stable")[:K]).sum() + ), + } + d3["refit"] = { + "fit": evaluate_weights(problem, w3), + "ht_baseline_fit": evaluate_weights(problem, ht), + "weights": weight_concentration(refit.refit.weights, w_all / K), + "ht_baseline_weights": weight_concentration(refit.refit.initial_weights, w_all / K), + "skipped_on_subset": [s.target.name for s in refit.refit.skipped], + } + key_weights[f"{key}_design3"] = w3 + support_ids = np.asarray(refit_ids) + _log( + f"[{key}] exact-k: lambda {selection.l0_lambda:.3g}, certainties {receipt['certainty_count']}, " + f"refit capped MAPE {d3['refit']['fit']['capped_mape']:.3f}" + ) + results[key] = {**r, "design3_exact_k": d3} + ckpt.save_summary(f"{key}_design3", {"settings": selection_settings, "result": d3, "runtime": key_runtime}) + if support_ids is None: + ckpt.save_summary("exact_k_failure", {"target_set": key, "result": d3, "reason": "Maintained path failed; no replacement or hand-selected households; stopping before further designs."}) + raise RuntimeError(f"Maintained exact-k path failed for {key}; see exact_k_failure.json") + weights_by.update(key_weights) + calib_runtime.update(key_runtime) + if support_ids is not None: + exact_support_ids[key] = support_ids + if key == "national_all": + write_households(out_dir, desc, pool_ids, frozen_ids, w_elig, weights_by, exact_support_ids) + ckpt.save( + stage, + { + "result": results[key], + "weights_by": key_weights, + "exact_support_ids": support_ids, + "calib_runtime": key_runtime, + }, + ) + ckpt.save_summary( + f"summary_{key}", + { + "stage": stage, + "design1_fit": r["design1_self_weighted"]["fit"], + "design2_fit": r["design2_post_stratified"]["fit"], + "design3": {k: v for k, v in d3.items() if k != "selection"} + | {"selection": {k: v for k, v in d3.get("selection", {}).items() if k != "budget_search"}}, + "runtime": key_runtime, + }, + ) + if args.stop_after == "designs": + _write_json(out_dir / "run_status.json", {"status": "stopped", "stage": "designs", "smoke": smoke}) + _log("stopping after designs 1-3 (--stop-after designs); checkpoints kept") + return + + + # -- design 4: sampling distribution ------------------------------------ + seed_rng = np.random.default_rng(SAMPLING_DISTRIBUTION["seed_generator_seed"]) + seeds: list[int] = [] + while len(seeds) < n_seeds: + s = int(seed_rng.integers(0, 2**31 - 1)) + if s != int(meta["seed"]) and s not in seeds: + seeds.append(s) + sampling_stage = "sampling_{}".format( + _digest_of( + { + "refit": refit_settings, + "seeds": seeds, + "targets": {k: [t.name for t in problems[k].targets] for k in sets}, + "draw": {k: v for k, v in draw_kwargs.items()}, + "eligible": int(len(elig)), + } + ) + ) + state = ckpt.load(sampling_stage) or { + "draws": [], + "dist": {k: {"d1": [], "d2": []} for k in sets}, + "elapsed_seconds": 0.0, + "peak_rss_gb": 0.0, + } + draws = state["draws"] + dist: dict[str, dict[str, list]] = state["dist"] + prior_elapsed = float(state["elapsed_seconds"]) + if draws: + _log(f"sampling distribution: resuming after {len(draws)} checkpointed seeds ({prior_elapsed:.0f}s)") + # Wall-clock budget: seeds run in list order; before each seed, stop if the + # elapsed time plus the mean time per completed seed would exceed the + # budget. The completed count is recorded next to the requested one. + # Elapsed time includes checkpointed seeds from an interrupted run. + budget_seconds = max(0.0, min(float(args.sampling_budget_minutes) * 60.0, args.total_budget_minutes * 60.0 - (time.time() - t_run))) + stopped_on_budget = False + with ResourceMeter() as meter: + for i, s in enumerate(seeds): + if i < len(draws): + continue + elapsed = prior_elapsed + time.time() - meter.t0 + if i > 0 and elapsed + elapsed / i > budget_seconds: + stopped_on_budget = True + _log(f"sampling distribution: time budget reached after {i} seeds ({elapsed:.0f}s)") + break + ids = policybench_draw(elig, seed=s, **draw_kwargs) + draws.append(ids) + pos = idx.get_indexer(ids) + for key, target_set in sets.items(): + problem = problems[key] + f1 = evaluate_weights(problem, _scatter(n_pool, pos, w_elig / K)) + sub = subset_frame(frame, ids, np.full(K, w_elig / K)) + with ResourceMeter() as calibration_meter: + res = calibrate(sub, target_set, **refit_settings) + sub_ids = sub.table("household")["household_id"].to_numpy() + f2 = evaluate_weights(problem, _scatter(n_pool, idx.get_indexer(sub_ids), res.weights)) + conc = weight_concentration(res.weights) + dist[key]["d1"].append({"seed": s, "capped_mape": f1["capped_mape"], "uncapped_mape": f1["uncapped_mape"], "within10": f1["share_within_10pct"], "within25": f1["share_within_25pct"]}) + dist[key]["d2"].append( + { + "seed": s, + "capped_mape": f2["capped_mape"], + "uncapped_mape": f2["uncapped_mape"], + "within10": f2["share_within_10pct"], + "within25": f2["share_within_25pct"], + "kish_ess": conc["kish_ess"], + "max_over_mean": conc["max_over_mean"], + "runtime": calibration_meter.record(), + } + ) + state["elapsed_seconds"] = prior_elapsed + time.time() - meter.t0 + state["peak_rss_gb"] = max(float(state["peak_rss_gb"]), meter.peak / 1e9) + ckpt.save(sampling_stage, state) + ckpt.save_summary("sampling_progress", {"seeds_completed": i + 1, "seeds_requested": n_seeds, "elapsed_seconds": state["elapsed_seconds"], "per_seed": dist}) + if (i + 1) % 20 == 0: + _log(f"sampling distribution {i + 1}/{len(seeds)} ({state['elapsed_seconds']:.0f}s)") + seeds_requested = len(seeds) + seeds = seeds[: len(draws)] + runtime["sampling_distribution"] = { + "seconds": round(prior_elapsed + meter.seconds, 2), + "peak_rss_gb": round(max(float(state["peak_rss_gb"]), meter.peak / 1e9), 3), + "calibrations": len(sets) * len(seeds), + } + sampling_run = { + "seeds_requested": seeds_requested, + "seeds_completed": len(seeds), + "time_budget_minutes": float(args.sampling_budget_minutes), + "stopped_on_time_budget": stopped_on_budget, + "total_run_budget_minutes": args.total_budget_minutes, + "effective_sampling_budget_seconds": budget_seconds, + "reduction_reason": ("Estimated next seed would exceed sampling or whole-run time budget" if stopped_on_budget else "Explicit smoke/CLI seed count" if n_seeds < SAMPLING_DISTRIBUTION["n_seeds"] else None), + } + if args.stop_after == "sampling": + _write_json(out_dir / "run_status.json", {"status": "stopped", "stage": "sampling", "smoke": smoke}) + _log("stopping after the sampling distribution (--stop-after sampling); checkpoints kept") + return + # Empirical check of the self-weighting approximation: across the seed + # draws, public inclusions per design-weight decile of the eligible pool + # versus the count the approximation implies (n * w_i / sum(w) per draw). + elig_w = elig["design_weight"].to_numpy(dtype=np.float64) + decile = np.minimum((pd.Series(elig_w).rank(pct=True, method="first").to_numpy() * 10).astype(int), 9) + counts = pd.Series(np.concatenate(draws)).value_counts() + observed = counts.reindex(elig["household_id"].to_numpy(), fill_value=0).to_numpy() + expected = K * elig_w / elig_w.sum() * len(draws) + self_weighting_check = { + "draws": len(draws), + "by_design_weight_decile": [ + { + "decile": d + 1, + "observed_inclusions": int(observed[decile == d].sum()), + "expected_under_self_weighting": float(expected[decile == d].sum()), + } + for d in range(10) + ], + } + runtime["per_calibration"] = calib_runtime + runtime["whole_run_seconds"] = round(time.time() - t_run, 1) + runtime["parent_getrusage_high_water_gb"] = round(_peak_rss_gb_self(), 3) + runtime["materialization_batches"] = batch_records + + write_outputs( + out_dir=out_dir, + smoke=smoke, + desc=desc, + pool_ids=pool_ids, + design_w=design_w, + w_all=w_all, + w_elig=w_elig, + elig=elig, + frozen_ids=frozen_ids, + results=results, + weights_by=weights_by, + dist=dist, + draws=draws, + seeds=seeds, + sampling_run=sampling_run, + exact_support_ids=exact_support_ids, + self_weighting_check=self_weighting_check, + runtime=runtime, + inputs_extra={ + "release_id": RELEASE_ID, + "source": source_provenance(), + "h5_sha256": digest, + "loader": "microcosm.build.us_runtime.h5_io.load_legacy_calibrated_us_h5", + "entity_rows": entity_rows, + "household_weight_total": w_all, + "engine": { + "policyengine_us": _version("policyengine-us"), + "policyengine_core": _version("policyengine-core"), + "torch": _version("torch"), + "numpy": _version("numpy"), + }, + "formula_owned_columns_dropped": dropped, + "formula_owned_column_deltas": facts["deltas"], + "policybench_run_dir": str(run_dir.relative_to(run_dir.parents[4])) if not smoke else str(run_dir), + "policybench_scenarios_csv_sha256": _sha256(run_dir / "scenarios.csv"), + "policybench_scenarios_meta_sha256": _sha256(run_dir / "scenarios.csv.meta.json"), + "registry": registry_receipt, + "materialization": { + "function": "tools/build_us_fiscal_refresh_release.py::_materialize_target_frame", + "household_batches": n_batches, + "national_specs_after_restatements": len(national), + "national_specs_compiled": len(names0), + "national_specs_used_after_poverty_spm_exclusion": len(compiled_specs), + "dropped_target_names": sorted(set(s.name for s in national) - names0), + "compiled_families": dict(sorted(Counter(s.family for s in compiled_specs).items())), + "batch_invariance_check": invariance, + "household_columns_replaced_by_measures": overwritten, + }, + "national_agi_by_band_rows": _national_agi_band_rows(compiled_specs), + "headline_rules": {label: prefix for label, prefix in HEADLINE_RULES}, + "headline_targets_per_rule": headline_per_rule, + "poverty_spm_check": { + "rule": "exclude any compiled target whose name, or whose base/source/filter variable, contains 'poverty' or 'spm'", + "excluded_targets": spm_excluded, + "target_names_matching_poverty_or_spm_after_exclusion": [n for n in all_names if "poverty" in n.lower() or "spm" in n.lower()], + "base_variables_matching_poverty_or_spm_after_exclusion": flagged_base, + }, + "descriptor_columns_from_target_measures": descriptor_sources, + "frozen_draw": frozen_draw, + "pool": { + "households": int(n_pool), + "household_weight_total": w_all, + "eligible_households": int(len(elig)), + "eligible_weight_total": w_elig, + "eligible_weight_share": w_elig / w_all, + }, + "settings": { + "resource_limits": {"omp_num_threads": int(os.environ["OMP_NUM_THREADS"]), "concurrent_compute_processes": 2, "max_rss_gb": 32, "rss_guard_gb": MAX_RSS_BYTES / 1e9, "minimum_free_disk_gib": 10}, + "sample_refit": refit_settings, + "exact_k_selection": selection_settings, + "exact_k_draw_pi_hi": EXACT_K_DRAW_PI_HI, + "exact_k_draw_seed": EXACT_K_DRAW_SEED, + "sampling_distribution": {**SAMPLING_DISTRIBUTION, "n_seeds": n_seeds}, + "fit_scale": "s = max(|target|, 1) (microcosm.calibrate.default_target_loss_scales)", + "capped_mape_cap": TARGET_LOSS_CAP, + "target_loss_weights": "equal (calibrate default)", + }, + "smoke_households": args.smoke_households, + "pipeline_test_synthetic_measures": bool(args.pipeline_test_synthetic_measures), + }, + ) + _log(f"done in {time.time() - t_run:.0f}s") + _write_json(out_dir / "run_status.json", {"status": "complete", "smoke": smoke, "seconds": round(time.time() - t_run, 2), "seeds_completed": len(seeds)}) + + +# --------------------------------------------------------------------------- +# Outputs +# --------------------------------------------------------------------------- + + +def write_households(out_dir, desc, pool_ids, frozen_ids, w_elig, weights_by, exact_support_ids): + """Persist the two permitted household sets immediately after national refit.""" + idx = pd.Index(pool_ids) + frozen_pos = idx.get_indexer(frozen_ids) + exact = {key: np.sort(idx.get_indexer(ids)) for key, ids in exact_support_ids.items()} + exact_ids = {key: pool_ids[pos].tolist() for key, pos in exact.items()} + # households.csv + household_ids.json (the two 100-household sets) + columns = [ + "design", "household_id", "state", "household_size", "adults", "children", "head_age", + "employment_income", "agi_or_total_income", "receives_snap", "receives_medicaid", "receives_ssi", + "eitc_positive", "social_security_positive", "design_weight", "calibrated_weight", + "post_stratified_weight", + ] + sampled = desc.iloc[frozen_pos].copy() + sampled["design"] = "sampled" + sampled["calibrated_weight"] = w_elig / K + sampled["post_stratified_weight"] = weights_by["national_all_design2"][frozen_pos] + frames = [sampled] + if "national_all" in exact: + ek = desc.iloc[exact["national_all"]].copy() + ek["design"] = "exact_k" + ek["calibrated_weight"] = weights_by["national_all_design3"][exact["national_all"]] + ek["post_stratified_weight"] = np.nan + frames.append(ek) + rows = pd.concat(frames)[columns] + rows = rows.sort_values(["design", "employment_income", "household_id"], ascending=[False, True, True], kind="stable") + for col in ("employment_income", "agi_or_total_income", "head_age"): + rows[col] = rows[col].round(0).astype(np.int64) + rows.to_csv(out_dir / "households.csv", index=False) + _write_json( + out_dir / "household_ids.json", + { + "release_id": RELEASE_ID, + "rows": rows.where(pd.notna(rows), None).to_dict(orient="records"), + "sampled_frozen_policybench_public_100_in_draw_order": [int(h) for h in frozen_ids], + "exact_k_national_all_100": sorted(int(h) for h in exact_ids.get("national_all", [])), + }, + ) + + +def write_outputs(*, out_dir, smoke, desc, pool_ids, design_w, w_all, w_elig, elig, frozen_ids, results, + weights_by, dist, draws, seeds, sampling_run, exact_support_ids, self_weighting_check, runtime, + inputs_extra) -> None: + n_pool = len(pool_ids) + idx = pd.Index(pool_ids) + frozen_pos = idx.get_indexer(frozen_ids) + # The exact-k sets are the refit supports themselves (not weights > 0). + exact = {k: np.sort(idx.get_indexer(ids)) for k, ids in exact_support_ids.items()} + if any((p < 0).any() or len(p) != K for p in exact.values()): + raise RuntimeError("exact-k support ids do not map to 100 pool households") + exact_ids = {k: pool_ids[p].tolist() for k, p in exact.items()} + eligible_ids = elig["household_id"].to_numpy() + + inputs = dict(inputs_extra) + for key, r in results.items(): + inputs.setdefault("target_sets", {})[key] = { + "targets_compiled_on_frame": r["targets_compiled"], + "targets_skipped_on_frame": r["targets_skipped"], + "target_names": r["target_names"], + } + inputs["headline_target_names"] = results["headline"]["target_names"] + _write_json(out_dir / "inputs.json", inputs) + + fit, conc, exact_out = {}, {}, {} + for key, r in results.items(): + d3 = r["design3_exact_k"] + fit[key] = { + "targets": r["targets_compiled"], + "full_file": r["full_file"]["fit"], + "design1_pps_self_weighted": r["design1_self_weighted"]["fit"], + "design1b_pps_self_weighted_scaled_to_file_total": r["design1b_self_weighted_file_total"]["fit"], + "design2_pps_post_stratified": r["design2_post_stratified"]["fit"], + "design3_exact_k_refit": d3.get("refit", {}).get("fit"), + "design3_exact_k_ht_baseline_before_refit": d3.get("refit", {}).get("ht_baseline_fit"), + "design3_l0_gated_weights_full_pool": d3["selection"].get("gated_fit_full_pool"), + } + conc[key] = { + "full_file": r["full_file"]["weights"], + "design1_pps_self_weighted": r["design1_self_weighted"]["weights"], + "design2_pps_post_stratified": r["design2_post_stratified"]["weights"], + "design3_exact_k_ht_baseline_before_refit": d3.get("refit", {}).get("ht_baseline_weights"), + "design3_exact_k_refit": d3.get("refit", {}).get("weights"), + } + exact_out[key] = { + "selection": {k: v for k, v in d3["selection"].items() if k != "gated_fit_full_pool"}, + "selection_failed": d3.get("selection_failed"), + "feasibility": d3.get("feasibility"), + "draw": d3.get("draw"), + "draw_failed": d3.get("draw_failed"), + "refit_skipped_targets": d3.get("refit", {}).get("skipped_on_subset"), + "design2_skipped_targets": r["design2_post_stratified"]["skipped_on_subset"], + } + _write_json(out_dir / "fit.json", fit) + _write_json(out_dir / "weight_concentration.json", conc) + _write_json(out_dir / "exact_k.json", {"settings": inputs["settings"], "runs": exact_out}) + + sd = { + "procedure": ( + "PolicyBench's own procedure per seed: PPS without replacement of " + f"{inputs['frozen_draw']['meta']['requested_num_scenarios']} eligible households, then the " + f"id-hash public split (split_seed {inputs['frozen_draw']['meta']['split_seed']}), keeping the public {K}; " + "design 1 = self-weighted; design 2 = post-stratified with the sample-refit settings" + ), + "seed_generator": ( + f"numpy.random.default_rng({SAMPLING_DISTRIBUTION['seed_generator_seed']}).integers(0, 2**31 - 1), " + "skipping duplicates and PolicyBench's seed 42" + ), + "seeds": seeds, + "run": sampling_run, + "eligibility_filter": ( + "policybench/scenarios.py::_eligible_households: one tax unit, one SPM unit, one family, " + ">=1 adult (age >= 18), first-person filing status SINGLE/JOINT/HEAD_OF_HOUSEHOLD" + ), + "eligible_households": int(len(elig)), + "self_weighting_check": self_weighting_check, + } + for key, r in results.items(): + d1, d2 = dist[key]["d1"], dist[key]["d2"] + f1 = r["design1_self_weighted"]["fit"] + f2 = r["design2_post_stratified"]["fit"] + ek = r["design3_exact_k"].get("refit", {}).get("fit") + entry = { + "design1_self_weighted": {m: _quantiles([x[m] for x in d1]) for m in ("capped_mape", "uncapped_mape", "within10", "within25")}, + "design2_post_stratified": { + m: _quantiles([x[m] for x in d2]) for m in ("capped_mape", "uncapped_mape", "within10", "within25", "kish_ess", "max_over_mean") + }, + "frozen_draw_position": { + "design1_capped_mape": f1["capped_mape"], + "design1_uncapped_mape": f1["uncapped_mape"], + "design1_uncapped_share_of_seeds_at_or_below": _share_at_or_below([x["uncapped_mape"] for x in d1], f1["uncapped_mape"]), + "design1_share_of_seeds_at_or_below": _share_at_or_below([x["capped_mape"] for x in d1], f1["capped_mape"]), + "design1_within10": f1["share_within_10pct"], + "design1_share_of_seeds_within10_at_or_below": _share_at_or_below([x["within10"] for x in d1], f1["share_within_10pct"]), + "design2_capped_mape": f2["capped_mape"], + "design2_uncapped_mape": f2["uncapped_mape"], + "design2_uncapped_share_of_seeds_at_or_below": _share_at_or_below([x["uncapped_mape"] for x in d2], f2["uncapped_mape"]), + "design2_share_of_seeds_at_or_below": _share_at_or_below([x["capped_mape"] for x in d2], f2["capped_mape"]), + "design2_within10": f2["share_within_10pct"], + "design2_share_of_seeds_within10_at_or_below": _share_at_or_below([x["within10"] for x in d2], f2["share_within_10pct"]), + }, + "per_seed": {"design1": d1, "design2": d2}, + } + if ek is not None: + entry["exact_k_position"] = { + "capped_mape": ek["capped_mape"], + "uncapped_mape": ek["uncapped_mape"], + "share_of_design2_seeds_uncapped_at_or_below": _share_at_or_below([x["uncapped_mape"] for x in d2], ek["uncapped_mape"]), + "share_of_design2_seeds_at_or_below": _share_at_or_below([x["capped_mape"] for x in d2], ek["capped_mape"]), + "within10": ek["share_within_10pct"], + "share_of_design2_seeds_within10_at_or_below": _share_at_or_below([x["within10"] for x in d2], ek["share_within_10pct"]), + } + sd[key] = entry + _write_json(out_dir / "sampling_distribution.json", sd) + + # composition.json + cuts = _weighted_quantiles(desc["employment_income"].to_numpy(), design_w, [0.2, 0.4, 0.6, 0.8]) + by_design = { + "full_population": design_w, + "sampled_self_weighted": _scatter(n_pool, frozen_pos, w_elig / K), + "sampled_post_stratified_national_all": weights_by["national_all_design2"], + "sampled_post_stratified_headline": weights_by["headline_design2"], + } + for key in exact: + by_design[f"exact_k_{key}"] = weights_by[f"{key}_design3"] + composition = { + "employment_income_quintile_cut_points_population": cuts, + "columns": { + "household_size": "count of person rows in the household", + "children": "members under 18 (household_size - adults)", + "head_age": "age of the is_household_head member (oldest member if none flagged)", + "employment_income": inputs["descriptor_columns_from_target_measures"]["employment_income"]["target"], + "receipt": { + k: inputs["descriptor_columns_from_target_measures"][k]["target"] + " measure > 0" + for k in ("receives_snap", "receives_medicaid", "receives_ssi", "eitc_positive", "social_security_positive") + }, + "weights": "shares are weighted by each design's own weights", + }, + "designs": {name: _composition(desc, w, cuts) for name, w in by_design.items()}, + } + _write_json(out_dir / "composition.json", composition) + + # overlap.json + union = set(np.unique(np.asarray(draws)).tolist()) + overlap = {"distinct_households_across_seed_draws": len(union), "seed_draws": len(draws), + "frozen_100_in_any_seed_draw": len(set(frozen_ids) & union)} + for key, ids in exact_ids.items(): + overlap[f"exact_k_{key}_in_frozen_100"] = len(set(ids) & set(frozen_ids)) + overlap[f"exact_k_{key}_in_any_seed_draw"] = len(set(ids) & union) + overlap[f"exact_k_{key}_policybench_eligible"] = int(np.isin(ids, eligible_ids).sum()) + if len(exact_ids) == 2: + overlap["exact_k_national_all_vs_headline_shared"] = len(set(exact_ids["national_all"]) & set(exact_ids["headline"])) + _write_json(out_dir / "overlap.json", overlap) + + # leverage.json + household_contrast.json + top1 = float(np.quantile(design_w, 0.99)) + emp = desc["employment_income"].to_numpy() + emp_p90, emp_p99 = _weighted_quantiles(emp, design_w, [0.90, 0.99]) + design_pct = pd.Series(design_w).rank(pct=True).to_numpy() + leverage = { + "design_weight_p99_threshold": top1, + "design_weight_median_population": float(np.median(design_w)), + "employment_income_p90_population_weighted": emp_p90, + "employment_income_p99_population_weighted": emp_p99, + } + contrast = { + "definitions": { + "one_person": "household_size == 1", + "retiree_head": "head_age >= 65", + "high_earner_p90": f"household employment income above the population's weighted 90th percentile ({emp_p90:.0f})", + "high_earner_p99": f"household employment income above the population's weighted 99th percentile ({emp_p99:.0f})", + "benefit_recipient": "receives SNAP, Medicaid or SSI (measure > 0)", + "weights": "sampled: self-weighted sum(eligible w)/100 each; exact_k: refit calibrated weights", + } + } + sets = {"sampled": (frozen_pos, _scatter(n_pool, frozen_pos, w_elig / K))} + for key in exact: + sets[f"exact_k_{key}"] = (exact[key], weights_by[f"{key}_design3"]) + for name, (pos, cal) in sets.items(): + sub = desc.iloc[pos] + cw = cal[pos] + entry = { + "households": int(len(pos)), + "in_top_1pct_design_weight": int((design_w[pos] >= top1).sum()), + "design_weight_percentile_median": float(np.median(design_pct[pos])), + "one_person_households": int((sub["household_size"] == 1).sum()), + "household_size_6_plus": int((sub["household_size"] >= 6).sum()), + "head_65_plus": int((sub["head_age"] >= 65).sum()), + "head_under_30": int((sub["head_age"] < 30).sum()), + "with_children": int((sub["children"] > 0).sum()), + "zero_employment_income": int((sub["employment_income"] <= 0).sum()), + "employment_income_above_population_p90": int((sub["employment_income"] > emp_p90).sum()), + "employment_income_above_population_p99": int((sub["employment_income"] > emp_p99).sum()), + "receives_snap": int(sub["receives_snap"].sum()), + "receives_medicaid": int(sub["receives_medicaid"].sum()), + "receives_ssi": int(sub["receives_ssi"].sum()), + "eitc_positive": int(sub["eitc_positive"].sum()), + "social_security_positive": int(sub["social_security_positive"].sum()), + "receives_any_of_snap_medicaid_ssi": int((sub["receives_snap"] | sub["receives_medicaid"] | sub["receives_ssi"]).sum()), + "receives_two_or_more_of_snap_medicaid_ssi_eitc": int( + (sub[["receives_snap", "receives_medicaid", "receives_ssi", "eitc_positive"]].sum(axis=1).to_numpy() >= 2).sum() + ), + "distinct_states": int(sub["state"].nunique()), + "policybench_eligible": int(np.isin(pool_ids[pos], eligible_ids).sum()), + "weights": weight_concentration(cw, w_all / K), + "calibrated_over_design_weight": _quantiles(cw / design_w[pos]), + } + top10 = np.argsort(-cw, kind="stable")[:10] + t10 = sub.iloc[top10] + entry["top10_weight_households_profile"] = { + "one_person": int((t10["household_size"] == 1).sum()), + "head_65_plus": int((t10["head_age"] >= 65).sum()), + "zero_employment_income": int((t10["employment_income"] <= 0).sum()), + "receives_any_of_snap_medicaid_ssi": int((t10["receives_snap"] | t10["receives_medicaid"] | t10["receives_ssi"]).sum()), + "share_of_mass": float(cw[top10].sum() / cw.sum()), + } + contrast[name] = entry + leverage.update({k: v for k, v in contrast.items() if k != "definitions"}) + _write_json(out_dir / "leverage.json", leverage) + _write_json(out_dir / "household_contrast.json", contrast) + _write_json(out_dir / "runtime.json", runtime) + + write_households(out_dir, desc, pool_ids, frozen_ids, w_elig, weights_by, exact_support_ids) + render_readme(out_dir) + validate_outputs(out_dir) + _log(f"outputs written to {out_dir}") + + +# --------------------------------------------------------------------------- +# README rendering (generated blocks between markers; prose is hand-written) +# --------------------------------------------------------------------------- + + +def _pct(x, digits=1) -> str: + return "n/a" if x is None else f"{100 * x:.{digits}f}%" + + +def _num(x, digits=0) -> str: + return "n/a" if x is None else f"{x:,.{digits}f}" + + +def _table(header: list[str], rows: list[list[str]]) -> str: + lines = ["| " + " | ".join(header) + " |", "|" + "|".join("---" for _ in header) + "|"] + lines += ["| " + " | ".join(str(c) for c in row) + " |" for row in rows] + return "\n".join(lines) + + +def generated_blocks(out_dir: Path) -> dict[str, str]: + load = lambda name: json.loads((out_dir / name).read_text()) # noqa: E731 + inputs, fit, conc = load("inputs.json"), load("fit.json"), load("weight_concentration.json") + ek, sd, comp = load("exact_k.json"), load("sampling_distribution.json"), load("composition.json") + overlap, contrast, runtime = load("overlap.json"), load("household_contrast.json"), load("runtime.json") + leverage = load("leverage.json") + blocks: dict[str, str] = {} + target_keys = [key for key in ("national_all", "headline") if key in fit] + st = inputs["settings"] + fd = inputs["frozen_draw"] + blocks["source"] = "\n".join([ + f"Source release: `{inputs['release_id']}`; artifact SHA-256 `{inputs['h5_sha256']}`; " + f"maintained loader: `{inputs['loader']}`. Engine versions: `{json.dumps(inputs['engine'], sort_keys=True)}`.", + "", + f"The full file has {_num(inputs['pool']['households'])} households with total design weight " + f"{_num(inputs['pool']['household_weight_total'], 1)}. PolicyBench's eligible pool has " + f"{_num(inputs['pool']['eligible_households'])} households and {_pct(inputs['pool']['eligible_weight_share'])} " + "of that weight. This scope difference matters: the primary self-weighted sample expands to the eligible pool, " + "while exact-k starts from the full file. The fit tables include the sample rescaled to full-file mass as a sensitivity check.", + "", + f"Frozen snapshot: `{inputs['policybench_run_dir']}`; scenarios CSV SHA-256 " + f"`{inputs['policybench_scenarios_csv_sha256']}`; metadata SHA-256 `{inputs['policybench_scenarios_meta_sha256']}`.", + "", + f"Producer source receipt: `{json.dumps(inputs.get('source', {}), sort_keys=True)}`.", + "", + "Smoke/pipeline-only output: " + str(inputs.get("smoke_households") is not None or inputs.get("pipeline_test_synthetic_measures", False)) + ".", + ]) + + reg = inputs["registry"] + mat = inputs["materialization"] + fam = ", ".join(f"{k} {v}" for k, v in mat["compiled_families"].items()) + blocks["targets"] = "\n".join( + [ + f"- Registry compiled from the labelled feed: {reg['compiled_specs_all_geographies']:,} specs at all geographies; " + f"{reg['national_specs_declared']} national ({reg['national_rule']}).", + f"- Labelled filter keys that the recorded checkout's guard refuses: {reg['labelled_filter_restatements']['refused_by_origin_main_guard']} specs; " + f"{reg['labelled_filter_restatements']['accepted_as_verified_restatements']} accepted as verified restatements, " + f"{len(reg['labelled_filter_restatements']['excluded_specs'])} excluded.", + f"- Materialized on the file: {mat['national_specs_compiled']} national targets " + f"({len(mat['dropped_target_names'])} not materialized); used after the poverty/SPM exclusion: " + f"{inputs['target_sets']['national_all']['targets_compiled_on_frame']}. Families used: {fam}.", + f"- Headline subset: {len(inputs['headline_target_names'])} targets " + f"({'; '.join(f'{k}: {v}' for k, v in inputs['headline_targets_per_rule'].items())}). " + f"National AGI-by-band rows in the compiled set: {len(inputs['national_agi_by_band_rows'])}.", + f"- Excluded under the no-poverty/SPM rule: {len(inputs['poverty_spm_check']['excluded_targets'])} " + f"({'; '.join(f'`{n}` ({', '.join(v)})' for n, v in inputs['poverty_spm_check']['excluded_targets'].items()) or 'none'}). " + f"After exclusion, targets naming poverty or SPM: {len(inputs['poverty_spm_check']['target_names_matching_poverty_or_spm_after_exclusion'])}; " + f"measuring a poverty or SPM variable: {len(inputs['poverty_spm_check']['base_variables_matching_poverty_or_spm_after_exclusion'])}.", + f"- Batch invariance: {mat['batch_invariance_check']['window_households']} households re-materialized across a batch boundary; " + f"{mat['batch_invariance_check']['cells_differing']} of their values differ " + f"(max absolute difference {mat['batch_invariance_check']['max_abs_difference']:g}).", + ] + ) + + rc = fd["row_checks_file_vs_scenarios_csv"] + rows = [[b, _num(v["eligible_households"]), str(v["reproduced_ids_equal_in_order"]), str(v["reproduced_overlap_with_frozen"])] + for b, v in fd["by_filing_status_basis"].items()] + blocks["frozen_draw"] = "\n".join( + [ + f"IDs recovered through `{fd['route_to_ids']}`. The frozen public set came from " + f"{fd['meta']['requested_num_scenarios']} requested draws with seed {fd['meta']['seed']}, " + f"private fraction {fd['meta']['private_fraction']:g}, split seed {fd['meta']['split_seed']}, " + f"leaving {fd['meta']['num_scenarios']} public scenarios. Reproduction: {fd['reproduction']}.", + "", + _table(["filing-status basis for eligibility", "eligible households", "draw reproduced exactly (ids, order)", "overlap with frozen 100"], rows), + "", + f"Row checks of the file against `scenarios.csv` for the {rc['of']} frozen households: state {rc['state_equal']}, " + f"filing status {rc['filing_status_equal']}, adults {rc['adults_equal']}, children {rc['children_equal']}, " + f"employment income within $1 {rc['employment_income_equal_within_1_dollar']}, " + f"total income within $1 {rc['total_income_equal_within_1_dollar']}. " + f"Exact equality counts: employment income {rc.get('employment_income_equal_exactly', 'unavailable')}, " + f"total income {rc.get('total_income_equal_exactly', 'unavailable')}. " + f"Largest requested-draw-count × p over eligible households: {fd['pps_first_order_inclusion']['max_requested_times_p']:.4f}.", + "", + f"Weight correction: {fd['pps_first_order_inclusion']['weight_used']}. " + f"{fd['pps_first_order_inclusion']['note']}", + ] + ) + + def fit_rows(key): + f, c = fit[key], conc[key] + spec = [ + (f"Full file ({inputs['pool']['households']:,} design weights)", "full_file", "full_file"), + ("1. PPS sample, self-weighted", "design1_pps_self_weighted", "design1_pps_self_weighted"), + ("1b. Same sample, full-file mass sensitivity", "design1b_pps_self_weighted_scaled_to_file_total", "design1_pps_self_weighted"), + ("2. PPS sample, post-stratified", "design2_pps_post_stratified", "design2_pps_post_stratified"), + ("3. Exact-k 100, refit", "design3_exact_k_refit", "design3_exact_k_refit"), + ("3a. Exact-k 100, HT weights before refit", "design3_exact_k_ht_baseline_before_refit", "design3_exact_k_ht_baseline_before_refit"), + ] + out = [] + for label, fk, ck in spec: + ff, cc = f.get(fk), c.get(ck) + if ff is None: + continue + out.append([ + label, _pct(ff["uncapped_mape"]), _pct(ff["capped_mape"]), _pct(ff["share_within_10pct"]), + _pct(ff["share_within_25pct"]), _num(cc["kish_ess"], 1) if cc else "n/a", + _num(cc["max_over_mean"], 1) if cc else "n/a", _pct(cc["top10_share"]) if cc else "n/a", + ]) + return out + + header = ["design", "MAPE (uncapped)", "capped MAPE (secondary)", "within 10%", "within 25%", "Kish ESS", "max/mean weight", "top-10 mass"] + blocks["fit"] = "\n\n".join( + f"{key} ({fit[key]['targets']} targets):\n\n" + _table(header, fit_rows(key)) for key in target_keys + ) + + wrows = [] + for key in target_keys: + for design, label in (("design1_pps_self_weighted", "1. sampled, self-weighted"), ("design2_pps_post_stratified", "2. sampled, post-stratified"), ("design3_exact_k_refit", "3. exact-k, refit")): + fk = {"design1_pps_self_weighted": "design1_pps_self_weighted", "design2_pps_post_stratified": "design2_pps_post_stratified", "design3_exact_k_refit": "design3_exact_k_refit"}[design] + ff = fit[key].get(fk) + if ff is None: + continue + worst = "; ".join(f"`{w['target']}` {_pct(w['relative_error'], 0)}" for w in ff["worst_five"]) + wrows.append([key, label, worst]) + blocks["worst"] = _table(["target set", "design", "worst five targets (signed scaled relative error)"], wrows) + + srows = [] + for key in target_keys: + s = sd[key] + for d, label in (("design1_self_weighted", "1. self-weighted"), ("design2_post_stratified", "2. post-stratified")): + q = s[d] + uq = q.get("uncapped_mape", {}) + srows.append([key, label, f"{_pct(uq.get('p05'))} / {_pct(uq.get('p50'))} / {_pct(uq.get('p95'))}", + f"{_pct(q['capped_mape']['p05'])} / {_pct(q['capped_mape']['p50'])} / {_pct(q['capped_mape']['p95'])}", + f"{_pct(q['within10']['p05'])} / {_pct(q['within10']['p50'])} / {_pct(q['within10']['p95'])}"]) + pos_rows = [] + for key in target_keys: + p = sd[key]["frozen_draw_position"] + pos_rows.append([key, "frozen draw, design 1", _pct(p.get("design1_uncapped_mape")), _pct(p.get("design1_uncapped_share_of_seeds_at_or_below"), 0), _pct(p["design1_within10"]), _pct(p["design1_share_of_seeds_within10_at_or_below"], 0)]) + pos_rows.append([key, "frozen draw, design 2", _pct(p.get("design2_uncapped_mape")), _pct(p.get("design2_uncapped_share_of_seeds_at_or_below"), 0), _pct(p["design2_within10"]), _pct(p["design2_share_of_seeds_within10_at_or_below"], 0)]) + e = sd[key].get("exact_k_position") + if e: + pos_rows.append([key, "exact-k refit vs design 2 seeds", _pct(e.get("uncapped_mape")), _pct(e.get("share_of_design2_seeds_uncapped_at_or_below"), 0), _pct(e["within10"]), _pct(e["share_of_design2_seeds_within10_at_or_below"], 0)]) + blocks["sampling"] = "\n".join( + [f"{sd['run']['seeds_completed']} of {sd['run']['seeds_requested']} requested fresh seeds completed " + f"(time budget {sd['run']['time_budget_minutes']:g} minutes; stopped on budget: {sd['run']['stopped_on_time_budget']}); " + f"seeds from {sd['seed_generator']}; eligible pool {sd['eligible_households']:,} households.", "", + f"Seed-count / stopping explanation: {sd['run'].get('reduction_reason') or sd['run'].get('termination_reason') or ('the recorded time budget was reached' if sd['run']['stopped_on_time_budget'] else 'all requested seeds completed')}. " + f"Eligibility: {sd['eligibility_filter']}. Procedure: {sd['procedure']}", "", + _table(["target set", "design", "uncapped MAPE p5 / p50 / p95", "capped MAPE p5 / p50 / p95", "within 10% p5 / p50 / p95"], srows), "", + _table(["target set", "set", "uncapped MAPE", "MAPE: share of seeds at or below", "within 10%", "within-10%: share of seeds at or below"], pos_rows), + "", + f"Self-weighting check over the {sd['self_weighting_check']['draws']} seed draws (public inclusions by design-weight decile of the eligible pool):", + "", + _table(["decile"] + [str(r["decile"]) for r in sd["self_weighting_check"]["by_design_weight_decile"]], + [["observed"] + [str(r["observed_inclusions"]) for r in sd["self_weighting_check"]["by_design_weight_decile"]], + ["expected (100 w / sum w per draw)"] + [_num(r["expected_under_self_weighting"], 1) for r in sd["self_weighting_check"]["by_design_weight_decile"]]])] + ) + + crow = [] + for key in target_keys: + for design, label in (("full_file", "full file"), ("design1_pps_self_weighted", "1. sampled, self-weighted"), ("design2_pps_post_stratified", "2. sampled, post-stratified"), ("design3_exact_k_ht_baseline_before_refit", "3a. exact-k HT before refit"), ("design3_exact_k_refit", "3. exact-k, refit")): + c = conc[key].get(design) + if c is None or (key == "headline" and design in ("full_file", "design1_pps_self_weighted")): + continue + crow.append([key, label, _num(c["max_over_mean"], 1), _pct(c["top10_share"]), _num(c["kish_ess"], 1), + str(c["n_above_5x_own_median"]), str(c["n_above_10x_own_median"]), + str(c.get("n_above_5x_equal_share", "n/a")), str(c.get("n_above_10x_equal_share", "n/a"))]) + blocks["concentration"] = _table( + ["target set", "design", "max/mean", "top-10 share", "Kish ESS", ">5x own median", ">10x own median", ">5x equal share", ">10x equal share"], crow + ) + + names = list(comp["designs"]) + short = {"full_population": "population", "sampled_self_weighted": "sampled (1)", "sampled_post_stratified_national_all": "sampled (2, national)", + "sampled_post_stratified_headline": "sampled (2, headline)", "exact_k_national_all": "exact-k (national)", "exact_k_headline": "exact-k (headline)"} + rows = [] + for group, cats in (("household_size", ["1", "2", "3", "4+"]), ("children", ["0", "1", "2+"]), ("head_age", ["<30", "30-49", "50-64", "65+"]), + ("employment_income_quintile", ["Q1", "Q2", "Q3", "Q4", "Q5"]), + ("receipt", ["receives_snap", "receives_medicaid", "receives_ssi", "eitc_positive", "social_security_positive"])): + for cat in cats: + rows.append([f"{group} {cat}"] + [_pct(comp["designs"][n][group][cat]) for n in names]) + rows.append(["distinct states"] + [str(comp["designs"][n]["distinct_states"]) for n in names]) + cuts = ", ".join(_num(c) for c in comp["employment_income_quintile_cut_points_population"]) + blocks["composition"] = "\n".join([_table(["weighted share"] + [short.get(n, n) for n in names], rows), "", + f"Employment-income quintile cut points (population, weighted): {cuts}.", "", + "Ties stay in the same income band, so the full population's quintile shares need not be equal."]) + descriptor_rows = [ + [name, spec.get("spec_metadata", {}).get("base_variable", "see target"), spec["target"], spec["household_value"]] + for name, spec in inputs["descriptor_columns_from_target_measures"].items() + ] + blocks["descriptors"] = "\n\n".join([ + _table(["output column", "base variable", "materialized target column", "household value"], descriptor_rows), + "Structural descriptors: " + "; ".join( + f"{name}: {value}" for name, value in comp["columns"].items() if isinstance(value, str) + ) + ". The `agi_or_total_income` column uses adjusted gross income, aggregated to the household. " + "It is distinct from the frozen scenario's sum of monetary income fields used in the reproduction check.", + "Receipt flags describe positive modeled amounts or enrollment in this measurement frame. " + "The head-age retirement proxy does not establish employment or retirement status.", + ]) + + orow = [[k.replace("_", " "), str(v)] for k, v in overlap.items()] + blocks["overlap"] = _table(["overlap", "households"], orow) + + keys = [k for k in contrast if k != "definitions"] + metrics = [ + ("one-person households", "one_person_households"), ("households of 6+", "household_size_6_plus"), + ("head 65+", "head_65_plus"), ("head under 30", "head_under_30"), ("with children", "with_children"), + ("zero employment income", "zero_employment_income"), + ("employment income above population p90", "employment_income_above_population_p90"), + ("employment income above population p99", "employment_income_above_population_p99"), + ("SNAP", "receives_snap"), ("Medicaid", "receives_medicaid"), ("SSI", "receives_ssi"), + ("EITC", "eitc_positive"), ("Social Security", "social_security_positive"), + ("any of SNAP / Medicaid / SSI", "receives_any_of_snap_medicaid_ssi"), + ("two or more of SNAP / Medicaid / SSI / EITC", "receives_two_or_more_of_snap_medicaid_ssi_eitc"), + ("distinct states", "distinct_states"), ("in the top 1% of design weight", "in_top_1pct_design_weight"), + ("PolicyBench-eligible", "policybench_eligible"), + ] + rows = [["households"] + [str(contrast[k]["households"]) for k in keys]] + rows += [[label] + [str(contrast[k][m]) for k in keys] for label, m in metrics] + rows.append(["median design-weight percentile"] + [_pct(contrast[k]["design_weight_percentile_median"], 0) for k in keys]) + rows.append(["max/mean weight"] + [_num(contrast[k]["weights"]["max_over_mean"], 1) for k in keys]) + rows.append(["top-10 share of weight"] + [_pct(contrast[k]["weights"]["top10_share"]) for k in keys]) + rows.append(["Kish ESS"] + [_num(contrast[k]["weights"]["kish_ess"], 1) for k in keys]) + rows.append(["weight / design weight, median"] + [_num(contrast[k]["calibrated_over_design_weight"]["p50"], 0) for k in keys]) + rows.append(["weight / design weight, max"] + [_num(contrast[k]["calibrated_over_design_weight"]["max"], 0) for k in keys]) + blocks["contrast"] = _table(["unweighted household count / weight diagnostic"] + keys, rows) + if "exact_k_national_all" in contrast: + sampled, selected = contrast["sampled"], contrast["exact_k_national_all"] + blocks["contrast"] += ( + "\n\nSampled versus national-target exact-k: " + f"{sampled['one_person_households']} versus {selected['one_person_households']} one-person households; " + f"{sampled['head_65_plus']} versus {selected['head_65_plus']} retirement-age heads; " + f"{sampled['employment_income_above_population_p90']} versus {selected['employment_income_above_population_p90']} " + "households above the population's upper-decile employment-income threshold; " + f"{sampled['receives_any_of_snap_medicaid_ssi']} versus {selected['receives_any_of_snap_medicaid_ssi']} " + "receiving SNAP, Medicaid or SSI; " + f"{sampled['distinct_states']} versus {selected['distinct_states']} states. " + f"The top-weight households carry {_pct(sampled['weights']['top10_share'])} versus " + f"{_pct(selected['weights']['top10_share'])} of their sets' total weight." + ) + + blocks["households_sampled"] = "Sampled household rows are in [households.csv](households.csv), under `design=sampled`, sorted by employment income." + blocks["households_exact_k"] = ( + "National-target exact-k household rows are in [households.csv](households.csv), under `design=exact_k`, " + "sorted by employment income. Identifiers and mirrored rows for the sampled and national-target exact-k sets " + "are in [household_ids.json](household_ids.json); the headline-target sensitivity is reported only in aggregates." + if "exact_k_national_all" in contrast + else "The maintained exact-k path did not produce a national-target set; no replacement households were hand-selected." + ) + blocks["leverage"] = "\n\n".join([ + f"Population design-weight threshold for the top percentile: {_num(leverage['design_weight_p99_threshold'], 2)}; " + f"population median design weight: {_num(leverage['design_weight_median_population'], 2)}. " + f"Weighted employment-income upper-decile threshold: ${_num(leverage['employment_income_p90_population_weighted'])}; " + f"upper-percentile threshold: ${_num(leverage['employment_income_p99_population_weighted'])}.", + *[ + f"{key}: {contrast[key]['in_top_1pct_design_weight']} selected households are in the top design-weight percentile, " + f"{contrast[key]['one_person_households']} are one-person households, " + f"{contrast[key]['employment_income_above_population_p99']} exceed the upper-percentile employment-income threshold, " + f"and {contrast[key]['policybench_eligible']} satisfy PolicyBench eligibility. " + f"The largest weights carry {_pct(contrast[key]['weights']['top10_share'])} of mass with Kish ESS " + f"{_num(contrast[key]['weights']['kish_ess'], 1)}." + for key in keys if key != "sampled" + ], + "Deduction: these diagnostics indicate how far a selected support behaves as integration points for the fitted " + "aggregates (quadrature nodes). Concentration or unusual income support alone does not establish why any individual " + "household was selected, and does not measure model-evaluation coverage.", + ]) + + xrows, prows = [], [] + for key in target_keys: + run = ek["runs"].get(key, {}) + sel, draw = run.get("selection") or {}, run.get("draw") or {} + search = sel.get("budget_search") or {} + for p in search.get("probes") or sel.get("probes") or []: + prows.append([key, f"{p['l0_lambda']:.4g}", str(p.get("measure"))]) + if run.get("selection_failed") or not sel.get("settled_l0_lambda"): + xrows.append([key, "n/a", "n/a", "n/a", "n/a", "n/a", "n/a", "n/a", "n/a", "n/a", "n/a", + f"selection unavailable: {run.get('selection_failed', 'no completed selection receipt')}"]) + continue + xrows.append([key, sel["budget_basis"], f"{sel['settled_l0_lambda']:.4g}", str(sel["budget_measure_at_settle"]), + _num(sel["open_probability_mass"], 1), str(sel["gates_above_deterministic_threshold"]), + str(sel["gates_open_prob_ge_pi_hi"]), str(draw.get("certainties", "n/a")), str(draw.get("boundary_draws", "n/a")), + str(draw.get("boundary_draws_at_or_below_deterministic_threshold", "n/a")), + f"{search.get('evaluations')} ({search.get('stopped_on')})", run.get("draw_failed") or "no"]) + parts = [ + _table( + ["target set", "budget measure", "settled l0_lambda", "measure at settle", "open-probability mass", + "gates open at eval (pi > threshold)", "gates with pi >= 0.95", "certainties drawn", "boundary draws", + "boundary draws with pi <= threshold", "probes (search stopped on)", "draw failed"], + xrows, + ), + "", + "Budget-search probes (penalty, budget measure):", + "", + _table(["target set", "l0_lambda", "measure"], prows), + ] + for key in target_keys: + draw = ek["runs"].get(key, {}).get("draw") or {} + refit_conc = conc[key].get("design3_exact_k_refit") + if draw and refit_conc: + parts += [ + "", + f"{key}: final draw count {draw['receipt']['k']}; positive refit weights {refit_conc['n']}; " + f"boundary draw needed: {draw['boundary_draw_needed']}. " + f"The boundary draw selected {draw['boundary_draws_at_or_below_deterministic_threshold']} households " + "whose L0 gates were closed at deterministic evaluation. The final support is therefore a maintained " + "probability-based boundary draw, rather than simply the households with open L0 gates.", + ] + blocks["exact_k"] = "\n".join(parts) + + rrows = [] + for name in ("engine_facts_child", "target_compile", "materialize_all_batches", "batch_invariance_child"): + rec = runtime.get(name) + if rec: + rrows.append([name.replace("_", " "), _num(rec["seconds"], 1), _num(rec["peak_rss_gb"], 1)]) + for name, rec in runtime.get("per_calibration", {}).items(): + rrows.append([name.replace("_", " "), _num(rec["seconds"], 1), _num(rec["peak_rss_gb"], 1)]) + if runtime.get("sampling_distribution"): + rrows.append([f"sampling distribution ({runtime['sampling_distribution']['calibrations']} calibrations)", _num(runtime["sampling_distribution"]["seconds"], 0), _num(runtime["sampling_distribution"]["peak_rss_gb"], 1)]) + rrows.append(["whole run", _num(runtime.get("whole_run_seconds"), 0), _num(runtime.get("parent_getrusage_high_water_gb"), 1) + " (parent high-water)"]) + blocks["runtime"] = "\n\n".join([ + _table(["step", "seconds", "peak RSS GB"], rrows), + "Measurement definitions: " + "; ".join(f"{k}: {v}" for k, v in runtime.get("notes", {}).items()) + ".", + "Main calibration timings are retained in [runtime.json](runtime.json); each sampling-refit timing and memory reading " + "is in [sampling_distribution.json](sampling_distribution.json). Parent high-water RSS is distinct from simultaneous parent-plus-child RSS.", + ]) + + st = inputs["settings"] + blocks["settings"] = "\n".join( + [ + f"- Design 2 and the exact-k refit: `{json.dumps(st['sample_refit'])}`.", + f"- Exact-k L0 selection: `{json.dumps(st['exact_k_selection'])}`; Sampford boundary draw seed {st['exact_k_draw_seed']}.", + f"- Design 4: `{json.dumps(st['sampling_distribution'])}`.", + f"- The primary MAPE is uncapped and uses {st['target_loss_weights']} target weights and scale `{st['fit_scale']}`. " + f"The secondary capped MAPE caps each target's absolute relative error at {st['capped_mape_cap']:g}. " + "The unit floor also defines the error for zero-valued targets; this is a scaled relative error, not an undefined division by zero.", + f"- Certainty threshold for the exact-k draw: {st['exact_k_draw_pi_hi']:g}. " + "L0 selection's weight-ratio bound is disabled when its setting is null. The post-stratification bound is relative " + "to the sample's starting equal weights; the exact-k refit bound is relative to its normalized inclusion-corrected starting weights.", + ] + ) + summaries = [] + for key in target_keys: + f1 = fit[key]["design1_pps_self_weighted"] + f2 = fit[key]["design2_pps_post_stratified"] + f3 = fit[key].get("design3_exact_k_refit") + sentence = ( + f"On {key}, uncapped MAPE is {_pct(f1['uncapped_mape'])} for the frozen self-weighted sample " + f"and {_pct(f2['uncapped_mape'])} after post-stratification" + ) + sentence += f", versus {_pct(f3['uncapped_mape'])} for exact-k." if f3 else "; exact-k did not complete." + summaries.append(sentence) + blocks["reading"] = "\n\n".join(summaries + [ + "Deduction: self-weighting preserves an interpretable approximately equal-weight draw from PolicyBench's eligible population. " + "Post-stratification can improve aggregate fit on those same households, but changes their influence. Exact-k spends the household " + "budget on fitting the chosen aggregates across the full source population; its weight concentration, eligibility and receipt " + "coverage determine the cost of that fit. The national and headline runs answer different target-set questions and should be compared separately.", + ]) + return blocks + + +README_SKELETON = """# 100-record exact-k versus PolicyBench's sampled 100 + +This is a local evidence record comparing the frozen PolicyBench sample with a +support chosen by Microcosm's maintained L0/exact-k calibration path. It does +not evaluate models or certify either design for a benchmark or release. +Every reported result is rendered from the bundled JSONs by +`compare_designs.py render-readme`. + +The household comparison is the centerpiece. Household rows are confined to +[households.csv](households.csv) and [household_ids.json](household_ids.json), +following the task's latest rule; this README reports their aggregate contrast. +The CSV groups the sampled and national-target exact-k sets and sorts each by +employment income. Both exports include only public-dataset household rows. + +## Household comparison + + + + + + + + + + + + + +## What the designs measure + +- **PPS sample, self-weighted:** the frozen public sample, with each household + assigned eligible population weight divided by sample size. This is an + approximation to an inclusion-corrected estimator. +- **PPS sample, post-stratified:** the same households, refitted to each target + set with ordinary calibration and no L0 selection. +- **Exact-k:** L0 selection from the full source population, the maintained + exact-cardinality draw, and an ordinary refit on the selected support. + `select_exact_k` returns support-aligned inclusion probabilities + (`packages/microcosm-calibrate/src/microcosm/calibrate/exact_k.py:527`). + `refit_l0_selection` starts from the selected original weights divided by + those probabilities and normalized to full-file mass + (`packages/microcosm-calibrate/src/microcosm/calibrate/solve.py:2382`). +- **Sampling distribution:** repeated PPS draws with self-weighting and + post-stratification, using the frozen draw's eligibility and public split. + +The primary fit measure is uncapped MAPE with equal weight per target. +The denominator is the target's absolute value with a unit floor, matching +`default_target_loss_scales` +(`packages/microcosm-calibrate/src/microcosm/calibrate/solve.py:594`). +Capped MAPE is secondary. The fit tables evaluate each design against the same +compiled targets, including targets unsupported by a particular sampled set. +Kish effective sample size measures weight concentration, not model accuracy. + +## Reading the results + + + + +## Source and reproduction + + + + +From the repository root, use the existing environment: + +```bash +OMP_NUM_THREADS=4 .venv/bin/python experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py run +``` + +Run output belongs in a local ignored log. Each completed design is also +written to its own JSON before subsequent designs run. Re-render with the same +command using `render-readme` in place of `run`. The recorded settings and seed +count below are authoritative for this run. + +## Settings + + + + +## Targets and the no-poverty/SPM check + + + + +Poverty and SPM measures are excluded from fitting and selection; the audit +above covers names and source/filter variables. Structural SPM-unit counts +appear only in PolicyBench's pre-existing eligibility rule. They are not a +poverty measure. The household descriptors are post-selection diagnostics. + +## Frozen sample verification + +The reference sampling and split implementations were read at +`policybench/scenarios.py:1020` (eligibility), +`policybench/scenarios.py:1044` (PPS draw), and +`policybench/scenarios.py:1498` (public/private split) in the read-only +PolicyBench checkout. + + + + +## Exact-k selection + + + + +Deterministically open L0 gates and the final exact-k support are distinct: +the maintained boundary draw can select positive-probability records whose +L0 gates are closed at evaluation. No households are hand-selected to force +the requested count. A failed maintained selection or draw remains a failed +result, with its available search receipts retained. + +## Fit against shared targets + + + + + + + +## Sampling distribution + + + + +Lower MAPE is better; a lower MAPE percentile means fewer random samples +achieved equally low error. Higher within-tolerance share is better, so its +percentile has the opposite interpretation. This distribution varies the PPS +sample seed; it is not an uncertainty interval for exact-k optimization. + +## Weight concentration + + + + +Own-median thresholds use each design's positive output weights. Equal-share +thresholds use eligible-pool mass divided by sample size for the sampled designs +and full-file mass divided by support size for exact-k. + +## Weighted composition + + + + +## Household column definitions + + + + +## Overlap + + + + +## Runtime and memory + + + + +## What was not measured + +No PolicyBench harness or language model was run. Aggregate target fit and +household coverage do not establish model-ranking stability, policy-reform +accuracy, out-of-sample performance, or release readiness. The self-weighting +approximation does not recover exact first-order inclusion probabilities for +the PPS-without-replacement draw followed by its fixed public split. Current +engine-materialized descriptors are not a claim to reproduce every frozen +engine output. Earlier unlogged failed attempts are not evidence for this +record's calibration outcomes. +""" + + +def render_readme(out_dir: Path) -> None: + path = out_dir / "README.md" + text = path.read_text() if path.exists() else README_SKELETON + for name, body in generated_blocks(out_dir).items(): + pattern = re.compile( + rf"(\n).*?()", re.S + ) + if not pattern.search(text): + raise RuntimeError(f"README has no generated block {name!r}") + text = pattern.sub(lambda m, body=body: m.group(1) + body + "\n" + m.group(2), text) + path.write_text(text) + + +def _verify_producer_source(out_dir: Path, expected_sha256: str) -> dict[str, bool]: + """Verify the producer directly or reconstruct it from reporting-only edits. + + Revision offsets are zero-based line indexes and line strings retain their + endings. Both sides of each edit must match; the reconstructed source must + have the original numerical producer's digest recorded in inputs.json. + """ + current_bytes = Path(__file__).read_bytes() + current_sha256 = hashlib.sha256(current_bytes).hexdigest() + if current_sha256 == expected_sha256: + return {"source.script_sha256": True} + revision_path = out_dir / "source_revision.json" + if not revision_path.exists(): + return {"source.script_sha256": False} + revision = json.loads(revision_path.read_text()) + checks = { + "source.revision_current_sha256": revision["current_sha256"] == current_sha256, + "source.revision_producer_sha256": revision["producer_sha256"] == expected_sha256, + } + edits = revision["edits"] + current = current_bytes.decode("utf-8").splitlines(keepends=True) + if not isinstance(edits, list) or not edits: + raise ValueError("Source revision must contain edits") + for edit in edits: + for name in ("old_start", "new_start"): + if type(edit[name]) is not int or edit[name] < 0: + raise ValueError("Source revision offsets must be nonnegative integers") + for name in ("old_lines", "new_lines"): + if not isinstance(edit[name], list) or not all(isinstance(line, str) for line in edit[name]): + raise ValueError("Source revision lines must be string lists") + edits = sorted(edits, key=lambda edit: edit["new_start"]) + end = 0 + patch_matches = True + for edit in edits: + start = edit["new_start"] + stop = start + len(edit["new_lines"]) + patch_matches &= start >= end and stop <= len(current) and current[start:stop] == edit["new_lines"] + end = stop + checks["source.revision_current_hunks_match"] = patch_matches + if not patch_matches: + checks["source.script_sha256"] = False + return checks + reconstructed = current.copy() + for edit in reversed(edits): + start = edit["new_start"] + reconstructed[start:start + len(edit["new_lines"])] = edit["old_lines"] + end = 0 + original_matches = True + for edit in sorted(edits, key=lambda edit: edit["old_start"]): + start = edit["old_start"] + stop = start + len(edit["old_lines"]) + original_matches &= start >= end and stop <= len(reconstructed) and reconstructed[start:stop] == edit["old_lines"] + end = stop + checks["source.revision_producer_hunks_match"] = original_matches + reconstructed_sha256 = hashlib.sha256("".join(reconstructed).encode("utf-8")).hexdigest() + checks["source.script_sha256"] = reconstructed_sha256 == expected_sha256 + return checks + + +def validate_outputs(out_dir: Path, *, verify_source: bool = True) -> dict: + """Check the completed record without emitting household values or IDs. + + Only aggregate verdicts are written to validation.json. Rounded household + exports are compared at a relative tolerance of 1e-4 for concentration; + their JSON mirror is checked at the precision actually exported to CSV. + """ + out_dir = Path(out_dir).resolve() + if REPO_ROOT not in out_dir.parents: + raise ValueError("Validation output must stay inside the assigned workspace") + checks: dict[str, bool] = {} + skipped: list[str] = [] + + def check(label: str, condition) -> None: + checks[label] = bool(condition) + + section = "input_files" + try: + data = { + name: json.loads((out_dir / f"{name}.json").read_text()) + for name in ( + "inputs", "fit", "weight_concentration", "household_ids", + "household_contrast", "sampling_distribution", "exact_k", + ) + } + inputs = data["inputs"] + smoke = inputs.get("smoke_households") is not None + hh = pd.read_csv(out_dir / "households.csv") + ids = data["household_ids"] + section = "household_exports" + check("household_rows_total", len(hh) == 2 * K) + check("household_design_labels", set(hh["design"]) == {"sampled", "exact_k"}) + check("household_sizes", (hh["household_size"] == hh["adults"] + hh["children"]).all()) + mirror = pd.DataFrame(ids["rows"]) + check("household_json_mirror_columns", set(mirror.columns) == set(hh.columns)) + check("household_json_mirror_count", len(mirror) == len(hh)) + if set(mirror.columns) == set(hh.columns) and len(mirror) == len(hh): + for column in hh.columns: + left, right = hh[column], mirror[column] + missing_match = np.array_equal(left.isna(), right.isna()) + present = left.notna() & right.notna() + if pd.api.types.is_numeric_dtype(left.dtype): + values_match = np.allclose( + left[present].to_numpy(dtype=float), right[present].to_numpy(dtype=float), + rtol=0, atol=1e-8, + ) + else: + values_match = np.array_equal(left[present].astype(str), right[present].astype(str)) + check(f"household_json_mirror.{column}", missing_match and values_match) + + receipt_columns = ("receives_snap", "receives_medicaid", "receives_ssi", "eitc_positive", "social_security_positive") + design_keys = ( + ("sampled", "sampled_frozen_policybench_public_100_in_draw_order", "sampled", "design1_pps_self_weighted"), + ("exact_k", "exact_k_national_all_100", "exact_k_national_all", "design3_exact_k_refit"), + ) + for design, id_key, contrast_key, concentration_key in design_keys: + section = f"household_exports.{design}" + sub = hh[hh["design"] == design] + exported_ids = sub["household_id"].tolist() + check(f"{design}.cardinality", len(sub) == K and sub["household_id"].nunique() == K) + check(f"{design}.identifier_list", len(ids[id_key]) == K and len(set(ids[id_key])) == K and set(exported_ids) == set(ids[id_key])) + check(f"{design}.income_order", sub["employment_income"].is_monotonic_increasing) + weights = sub["calibrated_weight"].to_numpy(dtype=float) + valid_weights = np.isfinite(weights).all() and (weights > 0).all() + check(f"{design}.positive_finite_weights", valid_weights) + expected = { + "households": len(sub), + "one_person_households": int((sub["household_size"] == 1).sum()), + "household_size_6_plus": int((sub["household_size"] >= 6).sum()), + "head_65_plus": int((sub["head_age"] >= 65).sum()), + "head_under_30": int((sub["head_age"] < 30).sum()), + "with_children": int((sub["children"] > 0).sum()), + "distinct_states": sub["state"].nunique(), + } + flags = {} + for column in receipt_columns: + flags[column] = sub[column].astype(str).str.lower() + check(f"{design}.boolean.{column}", flags[column].isin(["true", "false"]).all()) + expected[column] = int((flags[column] == "true").sum()) + benefits = np.column_stack([(flags[c] == "true").to_numpy() for c in receipt_columns[:3]]) + expected["receives_any_of_snap_medicaid_ssi"] = int(benefits.any(axis=1).sum()) + expected["receives_two_or_more_of_snap_medicaid_ssi_eitc"] = int( + ((benefits.sum(axis=1) + (flags["eitc_positive"] == "true").to_numpy()) >= 2).sum() + ) + contrast = data["household_contrast"][contrast_key] + for metric, value in expected.items(): + check(f"{design}.contrast.{metric}", value == contrast[metric]) + if valid_weights and len(weights): + total = float(weights.sum()) + concentration = { + "n": len(weights), "total": total, + "max_over_mean": float(weights.max() / weights.mean()), + "min_over_mean": float(weights.min() / weights.mean()), + "top10_share": float(np.sort(weights)[-10:].sum() / total), + "kish_ess": float(total**2 / np.square(weights).sum()), + } + bundled = data["weight_concentration"]["national_all"][concentration_key] + for metric, value in concentration.items(): + check(f"{design}.concentration.{metric}", math.isclose(value, bundled[metric], rel_tol=1e-4, abs_tol=1e-4)) + + section = "targets" + prohibited = inputs["poverty_spm_check"] + for key in ("target_names_matching_poverty_or_spm_after_exclusion", "base_variables_matching_poverty_or_spm_after_exclusion"): + check(f"targets.{key}", prohibited[key] == []) + for target_set in ("national_all", "headline"): + target_receipt = inputs["target_sets"][target_set] + target_count = target_receipt["targets_compiled_on_frame"] + check(f"targets.{target_set}.count", target_count > 0 and target_count == data["fit"][target_set]["targets"]) + names = target_receipt.get("target_names") + if names is None and smoke: + skipped.append(f"targets.{target_set}.all_names_unavailable_in_earlier_smoke") + else: + check(f"targets.{target_set}.all_names", names is not None and len(names) == target_count and len(set(names)) == target_count) + check(f"targets.{target_set}.no_poverty_spm_names", names is not None and all("poverty" not in n.lower() and "spm" not in n.lower() for n in names)) + for design, fit in data["fit"][target_set].items(): + if isinstance(fit, dict): + check(f"fit.{target_set}.{design}.target_count", fit["n_targets"] == target_count) + check(f"fit.{target_set}.{design}.tolerance_shares", 0 <= fit["share_within_10pct"] <= fit["share_within_25pct"] <= 1) + check(f"exact_k.{target_set}.cardinality", data["exact_k"]["runs"][target_set]["draw"]["receipt"]["k"] == K) + + section = "sampling_distribution" + sd = data["sampling_distribution"] + seeds = sd["seeds"] + count = sd["run"]["seeds_completed"] + check("sampling.seed_count", count > 0 and count == len(seeds) == len(set(seeds))) + check("sampling.fresh_seeds", inputs["frozen_draw"]["meta"]["seed"] not in seeds) + for target_set in ("national_all", "headline"): + for short, summary_key in (("design1", "design1_self_weighted"), ("design2", "design2_post_stratified")): + samples = sd[target_set]["per_seed"][short] + label = f"sampling.{target_set}.{short}" + check(f"{label}.seed_alignment", [row["seed"] for row in samples] == seeds) + for metric in ("uncapped_mape", "capped_mape", "within10", "within25"): + values = np.asarray([row[metric] for row in samples], dtype=float) + check(f"{label}.{metric}.finite", np.isfinite(values).all()) + expected = _quantiles(values) + actual = sd[target_set][summary_key][metric] + check(f"{label}.{metric}.quantiles", all(math.isclose(value, actual[key], rel_tol=1e-12, abs_tol=1e-12) for key, value in expected.items())) + if short == "design2": + records = [row.get("runtime", {}) for row in samples] + check(f"{label}.individual_runtime", all( + isinstance(rec.get("seconds"), (int, float)) and math.isfinite(rec["seconds"]) and rec["seconds"] >= 0 + and isinstance(rec.get("peak_rss_gb"), (int, float)) and math.isfinite(rec["peak_rss_gb"]) and 0 < rec["peak_rss_gb"] < 32 + for rec in records + )) + + section = "readme" + readme = (out_dir / "README.md").read_text() + for name, body in generated_blocks(out_dir).items(): + matches = re.findall( + rf"\n(.*?)", + readme, re.S, + ) + check(f"readme.generated.{name}", matches == [body + "\n"]) + section = "source_provenance" + if verify_source: + for label, passed in _verify_producer_source(out_dir, inputs["source"]["script_sha256"]).items(): + check(label, passed) + else: + skipped.append("source.script_sha256_explicitly_not_checked") + except Exception as exc: # Never include an exception's potentially row-valued message. + check(f"schema.{section}.{type(exc).__name__}", False) + + failures = [label for label, passed in checks.items() if not passed] + result = { + "status": "passed" if not failures else "failed", + "checks_count": len(checks), "passed_count": len(checks) - len(failures), + "failed_checks": failures, "skipped_checks": skipped, "checks": checks, + "concentration_relative_tolerance": 1e-4, + "concentration_absolute_tolerance": 1e-4, + "source_verification_requested": verify_source, + } + _write_json(out_dir / "validation.json", result) + if failures: + raise RuntimeError("Output validation failed: " + ", ".join(failures)) from None + return result + + +def main(argv=None) -> None: + if len(sys.argv) > 1 and sys.argv[1] == "_engine_child": + from multiprocessing.connection import Connection + + targets = {f.__name__: f for f in (_child_engine_facts, _child_materialize)} + target = targets[sys.argv[2]] + conn = Connection(int(sys.argv[3]), readable=False, writable=True) + args = pickle.load(sys.stdin.buffer) + with ResourceMeter(): + target(conn, *args) + return + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + parser.add_argument("stage", choices=["run", "render-readme", "validate"]) + parser.add_argument("--n-batches", type=int, default=DEFAULT_N_BATCHES) + parser.add_argument("--h5", default=str(DEFAULT_H5)) + parser.add_argument("--feed-dir", default=str(DEFAULT_FEED)) + parser.add_argument("--policybench-run", default=str(DEFAULT_POLICYBENCH_RUN)) + parser.add_argument("--out-dir", default=None) + parser.add_argument("--stop-after", choices=["materialize", "designs", "sampling"], default=None) + parser.add_argument("--smoke-households", type=int, default=None) + parser.add_argument("--pipeline-test-synthetic-measures", action="store_true") + parser.add_argument("--sampling-budget-minutes", type=float, default=60.0) + parser.add_argument("--total-budget-minutes", type=float, default=150.0) + parser.add_argument("--n-seeds", type=int, default=SAMPLING_DISTRIBUTION["n_seeds"]) + args = parser.parse_args(argv) + out_dir = Path(args.out_dir).resolve() if args.out_dir else RECORD_DIR + if REPO_ROOT not in out_dir.parents: + raise SystemExit("Outputs must stay inside the assigned workspace") + if args.stage == "render-readme": + render_readme(out_dir) + elif args.stage == "validate": + result = validate_outputs(out_dir) + _log(f"validation: {result['passed_count']}/{result['checks_count']} checks passed") + else: + if args.n_seeds < 1 or args.n_batches < 2: + raise SystemExit("Require at least one seed and two materialization batches") + _log(f"starting run pid={os.getpid()} out_dir={out_dir}") + try: + with ResourceMeter(label="run"): + run(args) + except BaseException as exc: + if out_dir.exists(): + _write_json(out_dir / "run_status.json", {"status": "failed", "error_type": type(exc).__name__, "error": str(exc), "smoke": args.smoke_households is not None}) + raise + + +if __name__ == "__main__": + main() diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/composition.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/composition.json new file mode 100644 index 0000000000..569face91d --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/composition.json @@ -0,0 +1,234 @@ +{ + "employment_income_quintile_cut_points_population": [ + 0.0, + 19992.94140625, + 53000.0, + 103218.6796875 + ], + "columns": { + "household_size": "count of person rows in the household", + "children": "members under 18 (household_size - adults)", + "head_age": "age of the is_household_head member (oldest member if none flagged)", + "employment_income": "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "receipt": { + "receives_snap": "usda_snap.fy2024.national_benefits.national_total.total_benefits measure > 0", + "receives_medicaid": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment measure > 0", + "receives_ssi": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount measure > 0", + "eitc_positive": "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_amount measure > 0", + "social_security_positive": "ssa_supplement.cy2024.oasdi_ssi_payments.social_security_benefits.payment_amount measure > 0" + }, + "weights": "shares are weighted by each design's own weights" + }, + "designs": { + "full_population": { + "households": 75112, + "household_size": { + "1": 0.3917471469522638, + "2": 0.35164932107883945, + "3": 0.12669489540304912, + "4+": 0.12990863656584764 + }, + "children": { + "0": 0.7461312971640706, + "1": 0.1302862217042003, + "2+": 0.1235824811317291 + }, + "head_age": { + "<30": 0.16648209815544665, + "30-49": 0.3394662768831109, + "50-64": 0.23296343149820858, + "65+": 0.2610881934632339 + }, + "employment_income_quintile": { + "Q1": 0.27687861711567036, + "Q2": 0.12330258662988099, + "Q3": 0.20014146806172417, + "Q4": 0.19970526881291406, + "Q5": 0.19997205937981044 + }, + "receipt": { + "receives_snap": 0.14379154663918342, + "receives_medicaid": 0.2327035296112847, + "receives_ssi": 0.035441124051889684, + "eitc_positive": 0.1460409311319805, + "social_security_positive": 0.3394787866291643 + }, + "distinct_states": 51 + }, + "sampled_self_weighted": { + "households": 100, + "household_size": { + "1": 0.58, + "2": 0.23999999999999996, + "3": 0.09, + "4+": 0.09 + }, + "children": { + "0": 0.82, + "1": 0.06, + "2+": 0.12 + }, + "head_age": { + "<30": 0.13999999999999999, + "30-49": 0.30999999999999994, + "50-64": 0.2199999999999999, + "65+": 0.32999999999999996 + }, + "employment_income_quintile": { + "Q1": 0.36000000000000004, + "Q2": 0.14999999999999997, + "Q3": 0.17999999999999994, + "Q4": 0.18999999999999995, + "Q5": 0.12 + }, + "receipt": { + "receives_snap": 0.15999999999999998, + "receives_medicaid": 0.16999999999999996, + "receives_ssi": 0.049999999999999996, + "eitc_positive": 0.10999999999999999, + "social_security_positive": 0.43 + }, + "distinct_states": 34 + }, + "sampled_post_stratified_national_all": { + "households": 100, + "household_size": { + "1": 0.49097276128127154, + "2": 0.35304890233121455, + "3": 0.08765549386528622, + "4+": 0.06832284252222771 + }, + "children": { + "0": 0.850349173429885, + "1": 0.04797318255545964, + "2+": 0.10167764401465537 + }, + "head_age": { + "<30": 0.1803966358519085, + "30-49": 0.36963978062782965, + "50-64": 0.22119739843689945, + "65+": 0.2287661850833624 + }, + "employment_income_quintile": { + "Q1": 0.27321416273112853, + "Q2": 0.11227703298841685, + "Q3": 0.14091988725977084, + "Q4": 0.28241608377173166, + "Q5": 0.19117283324895212 + }, + "receipt": { + "receives_snap": 0.11724088024609737, + "receives_medicaid": 0.12142791961525295, + "receives_ssi": 0.030486495692463884, + "eitc_positive": 0.04143941356259336, + "social_security_positive": 0.29246743114785095 + }, + "distinct_states": 34 + }, + "sampled_post_stratified_headline": { + "households": 100, + "household_size": { + "1": 0.4954034843963222, + "2": 0.31567274254249295, + "3": 0.0945908092354436, + "4+": 0.09433296382574125 + }, + "children": { + "0": 0.7964926384295538, + "1": 0.10551433996730389, + "2+": 0.0979930216031424 + }, + "head_age": { + "<30": 0.18500745778186709, + "30-49": 0.28964155160564503, + "50-64": 0.24726667399379457, + "65+": 0.2780843166186933 + }, + "employment_income_quintile": { + "Q1": 0.31234138076119805, + "Q2": 0.15312213760487767, + "Q3": 0.16494631727729567, + "Q4": 0.20660140717179198, + "Q5": 0.16298875718483663 + }, + "receipt": { + "receives_snap": 0.12399608099789455, + "receives_medicaid": 0.21354734064067593, + "receives_ssi": 0.03460086313754669, + "eitc_positive": 0.13312531037385658, + "social_security_positive": 0.41225902337586884 + }, + "distinct_states": 34 + }, + "exact_k_national_all": { + "households": 100, + "household_size": { + "1": 0.3643550342077261, + "2": 0.3240910982415172, + "3": 0.09130051323749773, + "4+": 0.22025335431325888 + }, + "children": { + "0": 0.7549527774849594, + "1": 0.02540000896609266, + "2+": 0.2196472135489479 + }, + "head_age": { + "<30": 0.16835810229656512, + "30-49": 0.3897324953753229, + "50-64": 0.08940316406058127, + "65+": 0.35250623826753064 + }, + "employment_income_quintile": { + "Q1": 0.20917622559538157, + "Q2": 0.022685991796655463, + "Q3": 0.2603767641363221, + "Q4": 0.2485381341832552, + "Q5": 0.25922288428838575 + }, + "receipt": { + "receives_snap": 0.13654719582226124, + "receives_medicaid": 0.22378829703358832, + "receives_ssi": 0.003096769477485424, + "eitc_positive": 0.036886400724130256, + "social_security_positive": 0.15497145936126538 + }, + "distinct_states": 40 + }, + "exact_k_headline": { + "households": 100, + "household_size": { + "1": 0.37676362089710524, + "2": 0.3119597711854343, + "3": 0.1721394898727122, + "4+": 0.1391371180447483 + }, + "children": { + "0": 0.7170000954824156, + "1": 0.14857589953962377, + "2+": 0.13442400497796075 + }, + "head_age": { + "<30": 0.066610852855203, + "30-49": 0.48826231428603906, + "50-64": 0.2093545359546329, + "65+": 0.235772296904125 + }, + "employment_income_quintile": { + "Q1": 0.30561199858096183, + "Q2": 0.1494503281649938, + "Q3": 0.13381486531136805, + "Q4": 0.2127047315654238, + "Q5": 0.1984180763772525 + }, + "receipt": { + "receives_snap": 0.15530779604004546, + "receives_medicaid": 0.2568286928013084, + "receives_ssi": 0.009467968990365207, + "eitc_positive": 0.16907782350505224, + "social_security_positive": 0.44135715421529387 + }, + "distinct_states": 39 + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/exact_k.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/exact_k.json new file mode 100644 index 0000000000..0110bdb3a1 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/exact_k.json @@ -0,0 +1,261 @@ +{ + "settings": { + "resource_limits": { + "omp_num_threads": 4, + "concurrent_compute_processes": 2, + "max_rss_gb": 32, + "rss_guard_gb": 31.0, + "minimum_free_disk_gib": 10 + }, + "sample_refit": { + "method": "adam", + "mass": "free", + "max_weight_ratio": 10.0, + "epochs": 1024, + "learning_rate": 0.02, + "seed": 0 + }, + "exact_k_selection": { + "method": "adam", + "mass": "conserve", + "max_weight_ratio": null, + "target_records": 100, + "budget_basis": "nonzero_count", + "epochs": 1024, + "learning_rate": 0.02, + "init_mean": 0.5, + "temperature": 0.25, + "budget_iters": 10, + "seed": 0 + }, + "exact_k_draw_pi_hi": 0.95, + "exact_k_draw_seed": 0, + "sampling_distribution": { + "n_seeds": 200, + "seed_generator_seed": 20260922 + }, + "fit_scale": "s = max(|target|, 1) (microcosm.calibrate.default_target_loss_scales)", + "capped_mape_cap": 10.0, + "target_loss_weights": "equal (calibrate default)" + }, + "runs": { + "national_all": { + "selection": { + "settled_l0_lambda": 0.0004869675251658631, + "budget_basis": "nonzero_count", + "budget_measure_at_settle": 99, + "open_probability_mass": 529.7431049218867, + "gated_weights_nonzero_count": 99, + "deterministic_gate_open_threshold": 0.14204332884812804, + "gates_above_deterministic_threshold": 99, + "open_probability_mass_at_or_below_deterministic_threshold": 488.5042218884919, + "gates_open_prob_ge_0_5": 31, + "gates_open_prob_ge_pi_hi": 6, + "open_probability_rank_100": 0.14193828403949738, + "open_probability_rank_101": 0.1413019746541977, + "budget_search": { + "budget_basis": "nonzero_count", + "target_records": 100, + "tolerance": 5, + "budget_iters": 10, + "feasible_draw_pi_hi": null, + "evaluations": 7, + "probes": [ + { + "l0_lambda": 0.001, + "measure": 34, + "verdict": "not_required" + }, + { + "l0_lambda": 1e-05, + "measure": 1722, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0001, + "measure": 409, + "verdict": "not_required" + }, + { + "l0_lambda": 0.00031622776601683794, + "measure": 155, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0005623413251903491, + "measure": 89, + "verdict": "not_required" + }, + { + "l0_lambda": 0.00042169650342858224, + "measure": 121, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0004869675251658631, + "measure": 99, + "verdict": "not_required" + } + ], + "selected_l0_lambda": 0.0004869675251658631, + "selected_measure": 99, + "selected_feasible": null, + "stopped_on": "acceptable_within_tolerance" + } + }, + "selection_failed": null, + "feasibility": { + "k": 100, + "pi_hi": 0.95, + "pool_size": 75112, + "certainty_count": 6, + "boundary_draw": 94, + "boundary_pool_size": 75106, + "boundary_positive": 75106, + "boundary_mass": 523.9627351632807, + "boundary_max": 0.9479897618293762, + "max_normalized_probability": 0.17007132689348983, + "feasible": true, + "reason": "feasible" + }, + "draw": { + "receipt": { + "k": 100, + "pi_hi": 0.95, + "seed": 0, + "certainty_count": 6, + "boundary_pool_size": 75106, + "design": "sampford" + }, + "pi_hi": 0.95, + "seed": 0, + "boundary_draw_needed": true, + "certainties": 6, + "boundary_draws": 94, + "boundary_draws_at_or_below_deterministic_threshold": 90, + "support_open_probability": { + "p05": 0.0052080283174291255, + "p50": 0.005533061921596527, + "p95": 0.9509554475545883, + "min": 0.00479876808822155, + "max": 0.9798791408538818 + }, + "inclusion_probability_min": 0.0008609089349689265, + "inclusion_probability_max": 1.0, + "support_in_top_100_open_probability": 10 + }, + "draw_failed": null, + "refit_skipped_targets": [], + "design2_skipped_targets": [] + }, + "headline": { + "selection": { + "settled_l0_lambda": 0.0003651741272548377, + "budget_basis": "nonzero_count", + "budget_measure_at_settle": 102, + "open_probability_mass": 524.403479434317, + "gated_weights_nonzero_count": 102, + "deterministic_gate_open_threshold": 0.14204332884812804, + "gates_above_deterministic_threshold": 102, + "open_probability_mass_at_or_below_deterministic_threshold": 501.44682899839245, + "gates_open_prob_ge_0_5": 3, + "gates_open_prob_ge_pi_hi": 0, + "open_probability_rank_100": 0.14376036822795868, + "open_probability_rank_101": 0.14337414503097534, + "budget_search": { + "budget_basis": "nonzero_count", + "target_records": 100, + "tolerance": 5, + "budget_iters": 10, + "feasible_draw_pi_hi": null, + "evaluations": 7, + "probes": [ + { + "l0_lambda": 0.001, + "measure": 23, + "verdict": "not_required" + }, + { + "l0_lambda": 1e-05, + "measure": 2578, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0001, + "measure": 566, + "verdict": "not_required" + }, + { + "l0_lambda": 0.00031622776601683794, + "measure": 134, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0005623413251903491, + "measure": 60, + "verdict": "not_required" + }, + { + "l0_lambda": 0.00042169650342858224, + "measure": 86, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0003651741272548377, + "measure": 102, + "verdict": "not_required" + } + ], + "selected_l0_lambda": 0.0003651741272548377, + "selected_measure": 102, + "selected_feasible": null, + "stopped_on": "acceptable_within_tolerance" + } + }, + "selection_failed": null, + "feasibility": { + "k": 100, + "pi_hi": 0.95, + "pool_size": 75112, + "certainty_count": 0, + "boundary_draw": 100, + "boundary_pool_size": 75112, + "boundary_positive": 75112, + "boundary_mass": 524.403479434317, + "boundary_max": 0.8719617128372192, + "max_normalized_probability": 0.16627687401651478, + "feasible": true, + "reason": "feasible" + }, + "draw": { + "receipt": { + "k": 100, + "pi_hi": 0.95, + "seed": 0, + "certainty_count": 0, + "boundary_pool_size": 75112, + "design": "sampford" + }, + "pi_hi": 0.95, + "seed": 0, + "boundary_draw_needed": true, + "certainties": 0, + "boundary_draws": 100, + "boundary_draws_at_or_below_deterministic_threshold": 97, + "support_open_probability": { + "p05": 0.005075549613684416, + "p50": 0.00531667354516685, + "p95": 0.08943429738283155, + "min": 0.004324688110500574, + "max": 0.4651945233345032 + }, + "inclusion_probability_min": 0.0008246871502770518, + "inclusion_probability_max": 0.08870927474324093, + "support_in_top_100_open_probability": 3 + }, + "draw_failed": null, + "refit_skipped_targets": [], + "design2_skipped_targets": [] + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/fit.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/fit.json new file mode 100644 index 0000000000..fdc426037f --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/fit.json @@ -0,0 +1,750 @@ +{ + "national_all": { + "targets": 504, + "full_file": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 0.5495913427725235, + "uncapped_mape": 3970107.1838869806, + "median_abs_rel_error": 0.21828722148747054, + "share_within_10pct": 0.32936507936507936, + "share_within_25pct": 0.5376984126984127, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total", + "relative_error": 2000256101.8587108 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.25k_to_30k.eitc_total", + "relative_error": 390328.0351079955 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns", + "relative_error": 276756.0756521225 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.25k_to_30k.eitc_returns", + "relative_error": 10594.082384228706 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.4k_to_5k.eitc_total", + "relative_error": 13.63314607263033 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.4k_to_5k.eitc_total", + "relative_error": 13.63314607263033 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.50k_plus.eitc_returns", + "relative_error": 7.165926105074979 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.50k_plus.eitc_total", + "relative_error": 5.837730665813172 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 5.817892232765747 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.under_1.eitc_total", + "relative_error": 5.765965119745525 + } + ] + }, + "design1_pps_self_weighted": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 0.8217276699394914, + "uncapped_mape": 18636754.799681842, + "median_abs_rel_error": 0.880974003179214, + "share_within_10pct": 0.08928571428571429, + "share_within_25pct": 0.1865079365079365, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total", + "relative_error": 9391691189.77729 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns", + "relative_error": 1232343.8385038802 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 408.81753222946315 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 102.45557354484914 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total", + "relative_error": 9.349402039121749 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 408.81753222946315 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 102.45557354484914 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total", + "relative_error": 9.349402039121749 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_returns", + "relative_error": 8.535450950593736 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.4k_to_5k.eitc_total", + "relative_error": 4.830017834206068 + } + ] + }, + "design1b_pps_self_weighted_scaled_to_file_total": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 0.8434230791697641, + "uncapped_mape": 24221001.69026917, + "median_abs_rel_error": 0.9348712890910045, + "share_within_10pct": 0.12896825396825398, + "share_within_25pct": 0.2261904761904762, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total", + "relative_error": 12205782199.189768 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns", + "relative_error": 1601598.7092574474 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 531.6137155411386 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 133.45461232319667 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total", + "relative_error": 12.45045792379445 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 531.6137155411386 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 133.45461232319667 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total", + "relative_error": 12.45045792379445 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_returns", + "relative_error": 11.392617593803584 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.4k_to_5k.eitc_total", + "relative_error": 6.576902441081939 + } + ] + }, + "design2_pps_post_stratified": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 0.6501257251453464, + "uncapped_mape": 21166819.46435176, + "median_abs_rel_error": 0.7036655674902923, + "share_within_10pct": 0.2876984126984127, + "share_within_25pct": 0.3551587301587302, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total", + "relative_error": 10666676983.536255 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns", + "relative_error": 1399642.875 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 77.21406791159356 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 18.74459513981709 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.50k_plus.eitc_returns", + "relative_error": 1.3045940275834988 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 77.21406791159356 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 18.74459513981709 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.50k_plus.eitc_returns", + "relative_error": 1.3045940275834988 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.45_to_49.population", + "relative_error": 1.2257703981811368 + }, + { + "target": "cbo.revenue_projection.ty2024.income_by_source.net_capital_gain.projected_amount", + "relative_error": -1.1533668682625544 + } + ] + }, + "design3_exact_k_refit": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 0.5872030003777146, + "uncapped_mape": 0.5872030003777146, + "median_abs_rel_error": 0.7246694051729226, + "share_within_10pct": 0.23412698412698413, + "share_within_25pct": 0.33134920634920634, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns", + "relative_error": 2.0049738540236715 + }, + { + "target": "irs_soi.ty2022.historic_table_2.us.500k_to_1m.taxable_interest_returns", + "relative_error": 1.6511049293192464 + }, + { + "target": "jct.tax_expenditures.cy2024.health_savings_account_deduction.revenue_loss", + "relative_error": 1.55089637479148 + }, + { + "target": "irs_soi.ty2023.table_1_4.all.net_capital_gains_returns", + "relative_error": 1.146397331370595 + }, + { + "target": "irs_soi.ty2023.congressional_district_2022.all_returns.us.tax_exempt_interest_returns", + "relative_error": 1.0210124404478036 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns", + "relative_error": 2.0049738540236715 + }, + { + "target": "irs_soi.ty2022.historic_table_2.us.500k_to_1m.taxable_interest_returns", + "relative_error": 1.6511049293192464 + }, + { + "target": "jct.tax_expenditures.cy2024.health_savings_account_deduction.revenue_loss", + "relative_error": 1.55089637479148 + }, + { + "target": "irs_soi.ty2023.table_1_4.all.net_capital_gains_returns", + "relative_error": 1.146397331370595 + }, + { + "target": "irs_soi.ty2023.congressional_district_2022.all_returns.us.tax_exempt_interest_returns", + "relative_error": 1.0210124404478036 + } + ] + }, + "design3_exact_k_ht_baseline_before_refit": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 1.0098341154705983, + "uncapped_mape": 1.049736394845854, + "median_abs_rel_error": 0.9439357051831001, + "share_within_10pct": 0.10515873015873016, + "share_within_25pct": 0.17063492063492064, + "worst_five": [ + { + "target": "jct.tax_expenditures.cy2024.medical_expense_deduction.revenue_loss", + "relative_error": 16.268896650480645 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.8k_to_9k.eitc_total", + "relative_error": 15.438411690183528 + }, + { + "target": "irs_soi.ty2023.congressional_district_2022.all_returns.us.medical_dental_expense_amount", + "relative_error": 13.401225305734734 + }, + { + "target": "irs_soi.ty2022.historic_table_2.us.all.medical_dental_expense_amount", + "relative_error": 12.610542431291783 + }, + { + "target": "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns", + "relative_error": 12.391672727438168 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "jct.tax_expenditures.cy2024.medical_expense_deduction.revenue_loss", + "relative_error": 16.268896650480645 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.8k_to_9k.eitc_total", + "relative_error": 15.438411690183528 + }, + { + "target": "irs_soi.ty2023.congressional_district_2022.all_returns.us.medical_dental_expense_amount", + "relative_error": 13.401225305734734 + }, + { + "target": "irs_soi.ty2022.historic_table_2.us.all.medical_dental_expense_amount", + "relative_error": 12.610542431291783 + }, + { + "target": "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns", + "relative_error": 12.391672727438168 + } + ] + }, + "design3_l0_gated_weights_full_pool": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 3.092518841053196, + "uncapped_mape": 6.816186226484279, + "median_abs_rel_error": 1.0, + "share_within_10pct": 0.08134920634920635, + "share_within_25pct": 0.1130952380952381, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.12k_to_13k.eitc_total", + "relative_error": 58.571797143283426 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.under_1.eitc_total", + "relative_error": 57.52978176643155 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.19k_to_20k.eitc_total", + "relative_error": 56.227592156174595 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.40k_to_45k.eitc_total", + "relative_error": 55.82221478732036 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.40k_to_45k.eitc_returns", + "relative_error": 54.75970980992123 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.12k_to_13k.eitc_total", + "relative_error": 58.571797143283426 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.under_1.eitc_total", + "relative_error": 57.52978176643155 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.19k_to_20k.eitc_total", + "relative_error": 56.227592156174595 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.40k_to_45k.eitc_total", + "relative_error": 55.82221478732036 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.40k_to_45k.eitc_returns", + "relative_error": 54.75970980992123 + } + ] + } + }, + "headline": { + "targets": 32, + "full_file": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.06693367307347646, + "uncapped_mape": 0.06693367307347646, + "median_abs_rel_error": 0.022646140879592894, + "share_within_10pct": 0.84375, + "share_within_25pct": 0.9375, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -0.5875464825782093 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.80_to_84.population", + "relative_error": -0.32699417335512815 + }, + { + "target": "irs_soi.ty2023.table_1_1.all.return_count", + "relative_error": 0.2161137122636267 + }, + { + "target": "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income.projected_amount", + "relative_error": -0.1521082313828723 + }, + { + "target": "irs_soi.ty2023.table_1_1.all.adjusted_gross_income", + "relative_error": -0.14870343111230092 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -0.5875464825782093 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.80_to_84.population", + "relative_error": -0.32699417335512815 + }, + { + "target": "irs_soi.ty2023.table_1_1.all.return_count", + "relative_error": 0.2161137122636267 + }, + { + "target": "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income.projected_amount", + "relative_error": -0.1521082313828723 + }, + { + "target": "irs_soi.ty2023.table_1_1.all.adjusted_gross_income", + "relative_error": -0.14870343111230092 + } + ] + }, + "design1_pps_self_weighted": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.3864857311652927, + "uncapped_mape": 0.3864857311652927, + "median_abs_rel_error": 0.42520793239287114, + "share_within_10pct": 0.0625, + "share_within_25pct": 0.28125, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "relative_error": -0.6918368455038286 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "relative_error": -0.6024550673738137 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 0.5775903328169364 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.15_to_19.population", + "relative_error": -0.5594016887408155 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "relative_error": -0.6918368455038286 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "relative_error": -0.6024550673738137 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 0.5775903328169364 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.15_to_19.population", + "relative_error": -0.5594016887408155 + } + ] + }, + "design1b_pps_self_weighted_scaled_to_file_total": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.30872494277706264, + "uncapped_mape": 0.30872494277706264, + "median_abs_rel_error": 0.2995264953698369, + "share_within_10pct": 0.1875, + "share_within_25pct": 0.4375, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 1.0502935640463111 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": 0.7360307908203959 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "relative_error": -0.5994999974349956 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "relative_error": -0.4833361996284011 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 1.0502935640463111 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": 0.7360307908203959 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "relative_error": -0.5994999974349956 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "relative_error": -0.4833361996284011 + } + ] + }, + "design2_pps_post_stratified": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.04062102141423633, + "uncapped_mape": 0.04062102141423633, + "median_abs_rel_error": 0.001197238149017645, + "share_within_10pct": 0.90625, + "share_within_25pct": 0.96875, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "relative_error": 0.1407603979043663 + }, + { + "target": "irs_soi.ty2023.table_1_1.all.return_count", + "relative_error": 0.11577673983676316 + }, + { + "target": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "relative_error": -0.004871698382781851 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.50_to_54.population", + "relative_error": 0.0043632253973349125 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "relative_error": 0.1407603979043663 + }, + { + "target": "irs_soi.ty2023.table_1_1.all.return_count", + "relative_error": 0.11577673983676316 + }, + { + "target": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "relative_error": -0.004871698382781851 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.50_to_54.population", + "relative_error": 0.0043632253973349125 + } + ] + }, + "design3_exact_k_refit": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.1794864278528463, + "uncapped_mape": 0.1794864278528463, + "median_abs_rel_error": 0.0017647126561101787, + "share_within_10pct": 0.71875, + "share_within_25pct": 0.78125, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": -1.0 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": -0.8608622512847681 + }, + { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "relative_error": -0.8145875897377616 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": -0.8029546613904058 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "relative_error": -0.706163467801392 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": -1.0 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": -0.8608622512847681 + }, + { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "relative_error": -0.8145875897377616 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": -0.8029546613904058 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "relative_error": -0.706163467801392 + } + ] + }, + "design3_exact_k_ht_baseline_before_refit": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.47343426534424415, + "uncapped_mape": 0.47343426534424415, + "median_abs_rel_error": 0.4324674190806749, + "share_within_10pct": 0.09375, + "share_within_25pct": 0.28125, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": -1.0 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": -0.9860862203738596 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": -0.9802954594816277 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.55_to_59.population", + "relative_error": -0.9339924771908727 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "relative_error": -0.8658279007044329 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": -1.0 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": -0.9860862203738596 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": -0.9802954594816277 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.55_to_59.population", + "relative_error": -0.9339924771908727 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "relative_error": -0.8658279007044329 + } + ] + }, + "design3_l0_gated_weights_full_pool": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 1.6031756584239554, + "uncapped_mape": 2.0423558480295014, + "median_abs_rel_error": 0.5566669845732063, + "share_within_10pct": 0.125, + "share_within_25pct": 0.34375, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": 21.10398323533679 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": 11.757555539457769 + }, + { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "relative_error": 11.192227292582915 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 7.629918934291687 + }, + { + "target": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "relative_error": 1.6449419177594007 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": 21.10398323533679 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": 11.757555539457769 + }, + { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "relative_error": 11.192227292582915 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 7.629918934291687 + }, + { + "target": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "relative_error": 1.6449419177594007 + } + ] + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/frozen_draw.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/frozen_draw.json new file mode 100644 index 0000000000..926eb7a79a --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/frozen_draw.json @@ -0,0 +1,91 @@ +{ + "route_to_ids": "scenarios.csv scenario_json.metadata.household_id (PolicyBench writes the source household id there)", + "reproduction": "policybench/scenarios.py draw re-run here: eligibility filter, numpy.random.default_rng(seed).choice(ids, requested, replace=False, p=w/sum(w)), then split_scenarios' sha256 id-hash public split", + "meta": { + "seed": 42, + "requested_num_scenarios": 125, + "num_scenarios": 100, + "private_fraction": 0.2, + "split_seed": 1042, + "split": "public" + }, + "certified_data_build_id": "populace-us-2024-5da5a95-20260611", + "certified_data_artifact_sha256": "f32c2e5e9098bc6540724fdd5debf963af495da4c29b3a7a63fb53c2a4bb5a34", + "policybench_engine": { + "policyengine_us": "1.723.0", + "policyengine": "4.16.1" + }, + "eligibility_basis_used": "filing_status_as_shipped", + "by_filing_status_basis": { + "filing_status_as_shipped": { + "eligible_households": 63128, + "eligible_weight_total": 123234383.85038802, + "reproduced_ids_equal_in_order": true, + "reproduced_overlap_with_frozen": 100 + }, + "filing_status_measured": { + "eligible_households": 63128, + "eligible_weight_total": 123234383.85038802, + "reproduced_ids_equal_in_order": true, + "reproduced_overlap_with_frozen": 100 + } + }, + "filing_status_bases_agree_share_of_households": 1.0, + "all_frozen_ids_in_file": true, + "all_frozen_ids_eligible": true, + "row_checks_file_vs_scenarios_csv": { + "of": 100, + "state_equal": 100, + "filing_status_equal": 100, + "adults_equal": 100, + "children_equal": 100, + "employment_income_equal_within_1_dollar": 100, + "employment_income_equal_exactly": 81, + "total_income_equal_exactly": 55, + "total_income_equal_within_1_dollar": 100, + "total_income_fields_present_in_file": [ + "alimony_income", + "child_support_received", + "disability_benefits", + "employment_income", + "estate_income", + "farm_income", + "farm_operations_income", + "farm_rent_income", + "miscellaneous_income", + "non_qualified_dividend_income", + "partnership_s_corp_income", + "partnership_se_income", + "qualified_dividend_income", + "rental_income", + "salt_refund_income", + "self_employment_income", + "short_term_capital_gains", + "social_security_dependents", + "social_security_disability", + "social_security_retirement", + "social_security_survivors", + "tax_exempt_interest_income", + "taxable_401k_distributions", + "taxable_403b_distributions", + "taxable_interest_income", + "taxable_ira_distributions", + "taxable_private_pension_income", + "taxable_sep_distributions", + "unemployment_compensation", + "veterans_benefits", + "workers_compensation", + "long_term_capital_gains" + ], + "total_income_fields_absent_from_file": [ + "ssi_reported" + ] + }, + "pps_first_order_inclusion": { + "exact_k_module_offers_successive_sampling_probabilities": false, + "weight_used": "sum of eligible design weights / 100 (self-weighting approximation)", + "max_requested_times_p": 0.38506175122244984, + "max_public_n_times_p": 0.30804940097795985, + "note": "microcosm.calibrate.exact_k supplies inclusion probabilities only for its own Sampford draw (select_exact_k); it has no function for numpy Generator.choice(replace=False, p=...), so the self-weighting approximation is used and checked empirically against the seed draws (sampling_distribution.json self_weighting_check)" + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design1.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design1.json new file mode 100644 index 0000000000..89c5290d32 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design1.json @@ -0,0 +1,130 @@ +{ + "settings": { + "target_set": "headline" + }, + "result": { + "weight_each": 1232343.8385038802, + "fit": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.3864857311652927, + "uncapped_mape": 0.3864857311652927, + "median_abs_rel_error": 0.42520793239287114, + "share_within_10pct": 0.0625, + "share_within_25pct": 0.28125, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "relative_error": -0.6918368455038286 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "relative_error": -0.6024550673738137 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 0.5775903328169364 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.15_to_19.population", + "relative_error": -0.5594016887408155 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "relative_error": -0.6918368455038286 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "relative_error": -0.6024550673738137 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 0.5775903328169364 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.15_to_19.population", + "relative_error": -0.5594016887408155 + } + ] + }, + "weights": { + "n": 100, + "total": 123234383.85038804, + "max_over_mean": 0.9999999999999998, + "min_over_mean": 0.9999999999999998, + "top10_share": 0.09999999999999999, + "kish_ess": 100.00000000000007, + "n_above_5x_own_median": 0, + "n_above_10x_own_median": 0, + "equal_share": 1232343.8385038802, + "n_above_5x_equal_share": 0, + "n_above_10x_equal_share": 0 + } + }, + "file_total_sensitivity": { + "weight_each": 1601598.7092574474, + "fit": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.30872494277706264, + "uncapped_mape": 0.30872494277706264, + "median_abs_rel_error": 0.2995264953698369, + "share_within_10pct": 0.1875, + "share_within_25pct": 0.4375, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 1.0502935640463111 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": 0.7360307908203959 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "relative_error": -0.5994999974349956 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "relative_error": -0.4833361996284011 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 1.0502935640463111 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": 0.7360307908203959 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "relative_error": -0.5994999974349956 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "relative_error": -0.4833361996284011 + } + ] + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design2.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design2.json new file mode 100644 index 0000000000..80d6add829 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design2.json @@ -0,0 +1,83 @@ +{ + "settings": { + "method": "adam", + "mass": "free", + "max_weight_ratio": 10.0, + "epochs": 1024, + "learning_rate": 0.02, + "seed": 0 + }, + "result": { + "fit": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.04062102141423633, + "uncapped_mape": 0.04062102141423633, + "median_abs_rel_error": 0.001197238149017645, + "share_within_10pct": 0.90625, + "share_within_25pct": 0.96875, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "relative_error": 0.1407603979043663 + }, + { + "target": "irs_soi.ty2023.table_1_1.all.return_count", + "relative_error": 0.11577673983676316 + }, + { + "target": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "relative_error": -0.004871698382781851 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.50_to_54.population", + "relative_error": 0.0043632253973349125 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": -1.0 + }, + { + "target": "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "relative_error": 0.1407603979043663 + }, + { + "target": "irs_soi.ty2023.table_1_1.all.return_count", + "relative_error": 0.11577673983676316 + }, + { + "target": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "relative_error": -0.004871698382781851 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.50_to_54.population", + "relative_error": 0.0043632253973349125 + } + ] + }, + "weights": { + "n": 100, + "total": 179196095.359375, + "max_over_mean": 4.760374372495341, + "min_over_mean": 0.0512626918590356, + "top10_share": 0.3564732472093905, + "kish_ess": 49.33504110390702, + "n_above_5x_own_median": 9, + "n_above_10x_own_median": 0, + "equal_share": 1232343.8385038802, + "n_above_5x_equal_share": 6, + "n_above_10x_equal_share": 0 + }, + "skipped_on_subset": [] + }, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.869 + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design3.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design3.json new file mode 100644 index 0000000000..5a09c72671 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/headline_design3.json @@ -0,0 +1,322 @@ +{ + "settings": { + "method": "adam", + "mass": "conserve", + "max_weight_ratio": null, + "target_records": 100, + "budget_basis": "nonzero_count", + "epochs": 1024, + "learning_rate": 0.02, + "init_mean": 0.5, + "temperature": 0.25, + "budget_iters": 10, + "seed": 0 + }, + "result": { + "selection": { + "settled_l0_lambda": 0.0003651741272548377, + "budget_basis": "nonzero_count", + "budget_measure_at_settle": 102, + "open_probability_mass": 524.403479434317, + "gated_weights_nonzero_count": 102, + "deterministic_gate_open_threshold": 0.14204332884812804, + "gates_above_deterministic_threshold": 102, + "open_probability_mass_at_or_below_deterministic_threshold": 501.44682899839245, + "gates_open_prob_ge_0_5": 3, + "gates_open_prob_ge_pi_hi": 0, + "open_probability_rank_100": 0.14376036822795868, + "open_probability_rank_101": 0.14337414503097534, + "budget_search": { + "budget_basis": "nonzero_count", + "target_records": 100, + "tolerance": 5, + "budget_iters": 10, + "feasible_draw_pi_hi": null, + "evaluations": 7, + "probes": [ + { + "l0_lambda": 0.001, + "measure": 23, + "verdict": "not_required" + }, + { + "l0_lambda": 1e-05, + "measure": 2578, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0001, + "measure": 566, + "verdict": "not_required" + }, + { + "l0_lambda": 0.00031622776601683794, + "measure": 134, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0005623413251903491, + "measure": 60, + "verdict": "not_required" + }, + { + "l0_lambda": 0.00042169650342858224, + "measure": 86, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0003651741272548377, + "measure": 102, + "verdict": "not_required" + } + ], + "selected_l0_lambda": 0.0003651741272548377, + "selected_measure": 102, + "selected_feasible": null, + "stopped_on": "acceptable_within_tolerance" + }, + "gated_fit_full_pool": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 1.6031756584239554, + "uncapped_mape": 2.0423558480295014, + "median_abs_rel_error": 0.5566669845732063, + "share_within_10pct": 0.125, + "share_within_25pct": 0.34375, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": 21.10398323533679 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": 11.757555539457769 + }, + { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "relative_error": 11.192227292582915 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 7.629918934291687 + }, + { + "target": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "relative_error": 1.6449419177594007 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "relative_error": 21.10398323533679 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": 11.757555539457769 + }, + { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "relative_error": 11.192227292582915 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": 7.629918934291687 + }, + { + "target": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "relative_error": 1.6449419177594007 + } + ] + } + }, + "feasibility": { + "k": 100, + "pi_hi": 0.95, + "pool_size": 75112, + "certainty_count": 0, + "boundary_draw": 100, + "boundary_pool_size": 75112, + "boundary_positive": 75112, + "boundary_mass": 524.403479434317, + "boundary_max": 0.8719617128372192, + "max_normalized_probability": 0.16627687401651478, + "feasible": true, + "reason": "feasible" + }, + "draw": { + "receipt": { + "k": 100, + "pi_hi": 0.95, + "seed": 0, + "certainty_count": 0, + "boundary_pool_size": 75112, + "design": "sampford" + }, + "pi_hi": 0.95, + "seed": 0, + "boundary_draw_needed": true, + "certainties": 0, + "boundary_draws": 100, + "boundary_draws_at_or_below_deterministic_threshold": 97, + "support_open_probability": { + "p05": 0.005075549613684416, + "p50": 0.00531667354516685, + "p95": 0.08943429738283155, + "min": 0.004324688110500574, + "max": 0.4651945233345032 + }, + "inclusion_probability_min": 0.0008246871502770518, + "inclusion_probability_max": 0.08870927474324093, + "support_in_top_100_open_probability": 3 + }, + "refit": { + "fit": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.1794864278528463, + "uncapped_mape": 0.1794864278528463, + "median_abs_rel_error": 0.0017647126561101787, + "share_within_10pct": 0.71875, + "share_within_25pct": 0.78125, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": -1.0 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": -0.8608622512847681 + }, + { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "relative_error": -0.8145875897377616 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": -0.8029546613904058 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "relative_error": -0.706163467801392 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": -1.0 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": -0.8608622512847681 + }, + { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "relative_error": -0.8145875897377616 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": -0.8029546613904058 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "relative_error": -0.706163467801392 + } + ] + }, + "ht_baseline_fit": { + "n_targets": 32, + "n_zero_valued_targets": 0, + "capped_mape": 0.47343426534424415, + "uncapped_mape": 0.47343426534424415, + "median_abs_rel_error": 0.4324674190806749, + "share_within_10pct": 0.09375, + "share_within_25pct": 0.28125, + "worst_five": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": -1.0 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": -0.9860862203738596 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": -0.9802954594816277 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.55_to_59.population", + "relative_error": -0.9339924771908727 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "relative_error": -0.8658279007044329 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "relative_error": -1.0 + }, + { + "target": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "relative_error": -0.9860862203738596 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "relative_error": -0.9802954594816277 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.55_to_59.population", + "relative_error": -0.9339924771908727 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "relative_error": -0.8658279007044329 + } + ] + }, + "weights": { + "n": 100, + "total": 140718068.8757842, + "max_over_mean": 8.39647039956876, + "min_over_mean": 8.459575953257315e-05, + "top10_share": 0.5544056575198311, + "kish_ess": 24.458449331332954, + "n_above_5x_own_median": 24, + "n_above_10x_own_median": 14, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 5, + "n_above_10x_equal_share": 0 + }, + "ht_baseline_weights": { + "n": 100, + "total": 160159870.92574474, + "max_over_mean": 11.842278872150764, + "min_over_mean": 7.432670330099633e-06, + "top10_share": 0.6855467068443739, + "kish_ess": 16.469146855525334, + "n_above_5x_own_median": 29, + "n_above_10x_own_median": 23, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 7, + "n_above_10x_equal_share": 2 + }, + "skipped_on_subset": [] + } + }, + "runtime": { + "headline_design2_post_stratified": { + "seconds": 0.13, + "peak_rss_gb": 3.869 + }, + "headline_design3_l0_selection": { + "seconds": 229.56, + "peak_rss_gb": 4.499 + }, + "headline_design3_refit": { + "seconds": 0.25, + "peak_rss_gb": 4.5 + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/household_contrast.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/household_contrast.json new file mode 100644 index 0000000000..b87394b714 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/household_contrast.json @@ -0,0 +1,157 @@ +{ + "definitions": { + "one_person": "household_size == 1", + "retiree_head": "head_age >= 65", + "high_earner_p90": "household employment income above the population's weighted 90th percentile (188210)", + "high_earner_p99": "household employment income above the population's weighted 99th percentile (500000)", + "benefit_recipient": "receives SNAP, Medicaid or SSI (measure > 0)", + "weights": "sampled: self-weighted sum(eligible w)/100 each; exact_k: refit calibrated weights" + }, + "sampled": { + "households": 100, + "in_top_1pct_design_weight": 58, + "design_weight_percentile_median": 0.9924446160400469, + "one_person_households": 58, + "household_size_6_plus": 1, + "head_65_plus": 33, + "head_under_30": 14, + "with_children": 18, + "zero_employment_income": 36, + "employment_income_above_population_p90": 6, + "employment_income_above_population_p99": 0, + "receives_snap": 16, + "receives_medicaid": 17, + "receives_ssi": 5, + "eitc_positive": 11, + "social_security_positive": 43, + "receives_any_of_snap_medicaid_ssi": 21, + "receives_two_or_more_of_snap_medicaid_ssi_eitc": 16, + "distinct_states": 34, + "policybench_eligible": 100, + "weights": { + "n": 100, + "total": 123234383.85038804, + "max_over_mean": 0.9999999999999998, + "min_over_mean": 0.9999999999999998, + "top10_share": 0.09999999999999999, + "kish_ess": 100.00000000000007, + "n_above_5x_own_median": 0, + "n_above_10x_own_median": 0, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 0, + "n_above_10x_equal_share": 0 + }, + "calibrated_over_design_weight": { + "p05": 5.119402515843644, + "p50": 14.829749339718411, + "p95": 205.07675483580744, + "min": 4.307426570001348, + "max": 34033.1536642234 + }, + "top10_weight_households_profile": { + "one_person": 2, + "head_65_plus": 3, + "zero_employment_income": 5, + "receives_any_of_snap_medicaid_ssi": 2, + "share_of_mass": 0.09999999999999999 + } + }, + "exact_k_national_all": { + "households": 100, + "in_top_1pct_design_weight": 6, + "design_weight_percentile_median": 0.7285719991479391, + "one_person_households": 26, + "household_size_6_plus": 2, + "head_65_plus": 23, + "head_under_30": 8, + "with_children": 38, + "zero_employment_income": 24, + "employment_income_above_population_p90": 16, + "employment_income_above_population_p99": 5, + "receives_snap": 29, + "receives_medicaid": 36, + "receives_ssi": 1, + "eitc_positive": 35, + "social_security_positive": 26, + "receives_any_of_snap_medicaid_ssi": 44, + "receives_two_or_more_of_snap_medicaid_ssi_eitc": 34, + "distinct_states": 40, + "policybench_eligible": 76, + "weights": { + "n": 100, + "total": 120808697.6508767, + "max_over_mean": 20.966806606259432, + "min_over_mean": 0.00027608892008324453, + "top10_share": 0.7309143130172565, + "kish_ess": 12.372989047632847, + "n_above_5x_own_median": 16, + "n_above_10x_own_median": 12, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 4, + "n_above_10x_equal_share": 1 + }, + "calibrated_over_design_weight": { + "p05": 3.0756260606792987, + "p50": 3828.713933777191, + "p95": 7855.413677659952, + "min": 0.9405147575049518, + "max": 8038.397398199759 + }, + "top10_weight_households_profile": { + "one_person": 2, + "head_65_plus": 3, + "zero_employment_income": 3, + "receives_any_of_snap_medicaid_ssi": 4, + "share_of_mass": 0.7309143130172565 + } + }, + "exact_k_headline": { + "households": 100, + "in_top_1pct_design_weight": 11, + "design_weight_percentile_median": 0.6657191926722761, + "one_person_households": 33, + "household_size_6_plus": 1, + "head_65_plus": 19, + "head_under_30": 9, + "with_children": 25, + "zero_employment_income": 29, + "employment_income_above_population_p90": 22, + "employment_income_above_population_p99": 9, + "receives_snap": 23, + "receives_medicaid": 25, + "receives_ssi": 2, + "eitc_positive": 16, + "social_security_positive": 28, + "receives_any_of_snap_medicaid_ssi": 29, + "receives_two_or_more_of_snap_medicaid_ssi_eitc": 24, + "distinct_states": 39, + "policybench_eligible": 83, + "weights": { + "n": 100, + "total": 140718068.8757842, + "max_over_mean": 8.39647039956876, + "min_over_mean": 8.459575953257315e-05, + "top10_share": 0.5544056575198311, + "kish_ess": 24.458449331332954, + "n_above_5x_own_median": 24, + "n_above_10x_own_median": 14, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 5, + "n_above_10x_equal_share": 0 + }, + "calibrated_over_design_weight": { + "p05": 13.299319331577513, + "p50": 4953.520893406376, + "p95": 10575.62499074036, + "min": 0.949938354110905, + "max": 11464.648825435374 + }, + "top10_weight_households_profile": { + "one_person": 4, + "head_65_plus": 2, + "zero_employment_income": 3, + "receives_any_of_snap_medicaid_ssi": 3, + "share_of_mass": 0.5544056575198311 + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/household_ids.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/household_ids.json new file mode 100644 index 0000000000..0ff3f49699 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/household_ids.json @@ -0,0 +1,4009 @@ +{ + "release_id": "populace-us-2024-5da5a95-20260611", + "rows": [ + { + "design": "sampled", + "household_id": 4629, + "state": "CT", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 68, + "employment_income": 0, + "agi_or_total_income": 275, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": true, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 108735.953125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 861728.5625 + }, + { + "design": "sampled", + "household_id": 5500, + "state": "NY", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 76, + "employment_income": 0, + "agi_or_total_income": 5078, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 35873.21484375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 19119.740234375 + }, + { + "design": "sampled", + "household_id": 6512, + "state": "NY", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 74, + "employment_income": 0, + "agi_or_total_income": 0, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": true, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 109496.53125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 2396027.0 + }, + { + "design": "sampled", + "household_id": 6716, + "state": "NY", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 62, + "employment_income": 0, + "agi_or_total_income": 479, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 222483.40625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 2346118.75 + }, + { + "design": "sampled", + "household_id": 6747, + "state": "NY", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 72, + "employment_income": 0, + "agi_or_total_income": 0, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 238772.484375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 274740.53125 + }, + { + "design": "sampled", + "household_id": 7577, + "state": "NJ", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 20, + "employment_income": 0, + "agi_or_total_income": -4384, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 24975.750732421875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 10492548.0 + }, + { + "design": "sampled", + "household_id": 7689, + "state": "NJ", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 73, + "employment_income": 0, + "agi_or_total_income": 15287, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 176824.49951171875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 10144038.0 + }, + { + "design": "sampled", + "household_id": 8020, + "state": "NJ", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 56, + "employment_income": 0, + "agi_or_total_income": 59220, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 56102.49609375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 2692810.75 + }, + { + "design": "sampled", + "household_id": 9576, + "state": "PA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 67, + "employment_income": 0, + "agi_or_total_income": 45573, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 196990.00244140625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1930317.5 + }, + { + "design": "sampled", + "household_id": 9787, + "state": "PA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 41, + "employment_income": 0, + "agi_or_total_income": 940, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 99008.984375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 760230.625 + }, + { + "design": "sampled", + "household_id": 14009, + "state": "IL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 80, + "employment_income": 0, + "agi_or_total_income": 4440, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 172073.49853515625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 8826.8974609375 + }, + { + "design": "sampled", + "household_id": 15306, + "state": "MI", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 57, + "employment_income": 0, + "agi_or_total_income": 2848, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 150413.21875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 32641.63671875 + }, + { + "design": "sampled", + "household_id": 16082, + "state": "WI", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 79, + "employment_income": 0, + "agi_or_total_income": 50581, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 150808.9375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1244827.75 + }, + { + "design": "sampled", + "household_id": 16882, + "state": "MN", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 73, + "employment_income": 0, + "agi_or_total_income": 70646, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 11530.4755859375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 42122.82421875 + }, + { + "design": "sampled", + "household_id": 18311, + "state": "MO", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 85, + "employment_income": 0, + "agi_or_total_income": 5508, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 16642.501953125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 78173.0859375 + }, + { + "design": "sampled", + "household_id": 21860, + "state": "KS", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 66, + "employment_income": 0, + "agi_or_total_income": 0, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 882.4573974609375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 2666634.0 + }, + { + "design": "sampled", + "household_id": 25636, + "state": "VA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 61, + "employment_income": 0, + "agi_or_total_income": 32699, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 191692.46875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 18295.234375 + }, + { + "design": "sampled", + "household_id": 27735, + "state": "NC", + "household_size": 3, + "adults": 1, + "children": 2, + "head_age": 40, + "employment_income": 0, + "agi_or_total_income": 15892, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 77726.6875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 129086.875 + }, + { + "design": "sampled", + "household_id": 27805, + "state": "NC", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 62, + "employment_income": 0, + "agi_or_total_income": 5, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 122802.1015625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 22127.146484375 + }, + { + "design": "sampled", + "household_id": 32129, + "state": "FL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 85, + "employment_income": 0, + "agi_or_total_income": 17323, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 91934.015625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 478454.1875 + }, + { + "design": "sampled", + "household_id": 32634, + "state": "FL", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 79, + "employment_income": 0, + "agi_or_total_income": 31729, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 82749.328125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 4051507.5 + }, + { + "design": "sampled", + "household_id": 34172, + "state": "FL", + "household_size": 5, + "adults": 2, + "children": 3, + "head_age": 29, + "employment_income": 0, + "agi_or_total_income": 27881, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 68461.0234375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 529283.4375 + }, + { + "design": "sampled", + "household_id": 34410, + "state": "FL", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 42, + "employment_income": 0, + "agi_or_total_income": 0, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 286097.46875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 39539.04296875 + }, + { + "design": "sampled", + "household_id": 36840, + "state": "AL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 77, + "employment_income": 0, + "agi_or_total_income": 0, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 60441.99609375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 39002.296875 + }, + { + "design": "sampled", + "household_id": 37025, + "state": "AL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 77, + "employment_income": 0, + "agi_or_total_income": 14980, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 70014.984375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 24736.978515625 + }, + { + "design": "sampled", + "household_id": 40197, + "state": "LA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 54, + "employment_income": 0, + "agi_or_total_income": 384, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 3806.02978515625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 2519857.0 + }, + { + "design": "sampled", + "household_id": 40919, + "state": "LA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 43, + "employment_income": 0, + "agi_or_total_income": 9665, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": true, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 19470.310546875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 377280.78125 + }, + { + "design": "sampled", + "household_id": 42352, + "state": "OK", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 21, + "employment_income": 0, + "agi_or_total_income": 312, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 82643.6484375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 9873.7373046875 + }, + { + "design": "sampled", + "household_id": 43167, + "state": "TX", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 64, + "employment_income": 0, + "agi_or_total_income": 182172, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 110451.453125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 3019736.25 + }, + { + "design": "sampled", + "household_id": 46488, + "state": "TX", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 77, + "employment_income": 0, + "agi_or_total_income": 50437, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 43172.332763671875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 458289.9375 + }, + { + "design": "sampled", + "household_id": 48744, + "state": "ID", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 56, + "employment_income": 0, + "agi_or_total_income": 49064, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 60432.19921875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1591142.0 + }, + { + "design": "sampled", + "household_id": 51696, + "state": "AZ", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 55, + "employment_income": 0, + "agi_or_total_income": 0, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": true, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 92582.453125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 548379.375 + }, + { + "design": "sampled", + "household_id": 52141, + "state": "AZ", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 80, + "employment_income": 0, + "agi_or_total_income": 6808, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 54909.5, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 79032.1328125 + }, + { + "design": "sampled", + "household_id": 54825, + "state": "WA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 72, + "employment_income": 0, + "agi_or_total_income": 18240, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": true, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 79376.5, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1584446.0 + }, + { + "design": "sampled", + "household_id": 54948, + "state": "WA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 77, + "employment_income": 0, + "agi_or_total_income": 23130, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 16399.9296875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 76598.234375 + }, + { + "design": "sampled", + "household_id": 60752, + "state": "CA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 67, + "employment_income": 0, + "agi_or_total_income": 13243, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 6418.6982421875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 102903.390625 + }, + { + "design": "sampled", + "household_id": 25615, + "state": "VA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 40, + "employment_income": 520, + "agi_or_total_income": 520, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 36632.16552734375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 315653.15625 + }, + { + "design": "sampled", + "household_id": 46334, + "state": "TX", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 70, + "employment_income": 3000, + "agi_or_total_income": 3075, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 226670.99609375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 12473.86328125 + }, + { + "design": "sampled", + "household_id": 50349, + "state": "CO", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 66, + "employment_income": 4088, + "agi_or_total_income": 4625, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 36.21009826660156, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 979451.8125 + }, + { + "design": "sampled", + "household_id": 47462, + "state": "MT", + "household_size": 3, + "adults": 1, + "children": 2, + "head_age": 46, + "employment_income": 5915, + "agi_or_total_income": 1875, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 8660.2734375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 235194.0 + }, + { + "design": "sampled", + "household_id": 46195, + "state": "TX", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 31, + "employment_income": 5923, + "agi_or_total_income": 4843, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 182643.34375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 285099.8125 + }, + { + "design": "sampled", + "household_id": 11359, + "state": "OH", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 75, + "employment_income": 6366, + "agi_or_total_income": 15440, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 247295.5078125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 18940.037109375 + }, + { + "design": "sampled", + "household_id": 21382, + "state": "KS", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 22, + "employment_income": 7000, + "agi_or_total_income": 7020, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 109143.9375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 10574.5029296875 + }, + { + "design": "sampled", + "household_id": 44053, + "state": "TX", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 20, + "employment_income": 7050, + "agi_or_total_income": 11010, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 256573.5107421875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 3849787.25 + }, + { + "design": "sampled", + "household_id": 41260, + "state": "LA", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 25, + "employment_income": 7468, + "agi_or_total_income": 21896, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 67422.7734375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1128466.125 + }, + { + "design": "sampled", + "household_id": 11358, + "state": "OH", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 85, + "employment_income": 7656, + "agi_or_total_income": 7656, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 161128.859375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1566751.5 + }, + { + "design": "sampled", + "household_id": 15853, + "state": "WI", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 85, + "employment_income": 7656, + "agi_or_total_income": 7656, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 96196.359375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 4318474.5 + }, + { + "design": "sampled", + "household_id": 32159, + "state": "FL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 62, + "employment_income": 12656, + "agi_or_total_income": 109286, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 241766.9921875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 3102180.0 + }, + { + "design": "sampled", + "household_id": 45182, + "state": "TX", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 23, + "employment_income": 13000, + "agi_or_total_income": 13000, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 231804.4921875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 96191.140625 + }, + { + "design": "sampled", + "household_id": 56995, + "state": "CA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 28, + "employment_income": 17443, + "agi_or_total_income": 22534, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 144636.09375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1517527.0 + }, + { + "design": "sampled", + "household_id": 43057, + "state": "TX", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 56, + "employment_income": 18577, + "agi_or_total_income": 23360, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 55593.11328125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 3805375.0 + }, + { + "design": "sampled", + "household_id": 14732, + "state": "MI", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 80, + "employment_income": 20000, + "agi_or_total_income": 22901, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 169305.03125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 30993.142578125 + }, + { + "design": "sampled", + "household_id": 38099, + "state": "MS", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 40, + "employment_income": 22000, + "agi_or_total_income": 22000, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 31040.9453125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1054757.25 + }, + { + "design": "sampled", + "household_id": 25425, + "state": "VA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 69, + "employment_income": 22700, + "agi_or_total_income": 82211, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 90778.74755859375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1442197.75 + }, + { + "design": "sampled", + "household_id": 29623, + "state": "SC", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 53, + "employment_income": 25665, + "agi_or_total_income": 25665, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 125871.3046875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1726109.5 + }, + { + "design": "sampled", + "household_id": 40537, + "state": "LA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 37, + "employment_income": 26006, + "agi_or_total_income": 23006, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 65878.99780273438, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 288061.84375 + }, + { + "design": "sampled", + "household_id": 7962, + "state": "NJ", + "household_size": 8, + "adults": 2, + "children": 6, + "head_age": 41, + "employment_income": 26800, + "agi_or_total_income": 30632, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 93369.46875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1399642.875 + }, + { + "design": "sampled", + "household_id": 15534, + "state": "WI", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 22, + "employment_income": 27000, + "agi_or_total_income": 36183, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 83601.3203125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 579828.5625 + }, + { + "design": "sampled", + "household_id": 52765, + "state": "AZ", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 69, + "employment_income": 28000, + "agi_or_total_income": 32300, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 105265.00244140625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 606344.0 + }, + { + "design": "sampled", + "household_id": 16675, + "state": "MN", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 50, + "employment_income": 29000, + "agi_or_total_income": 30916, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": true, + "design_weight": 129649.71875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1054643.5 + }, + { + "design": "sampled", + "household_id": 25697, + "state": "VA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 71, + "employment_income": 29064, + "agi_or_total_income": 31402, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 161383.6875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 847320.0 + }, + { + "design": "sampled", + "household_id": 23265, + "state": "MD", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 31, + "employment_income": 34084, + "agi_or_total_income": 34084, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 100182.3828125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 12323432.0 + }, + { + "design": "sampled", + "household_id": 32158, + "state": "FL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 49, + "employment_income": 34638, + "agi_or_total_income": 32138, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 263802.46875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 636678.0625 + }, + { + "design": "sampled", + "household_id": 15042, + "state": "MI", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 44, + "employment_income": 36276, + "agi_or_total_income": 36276, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 55937.734375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 60553.234375 + }, + { + "design": "sampled", + "household_id": 12674, + "state": "IL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 57, + "employment_income": 38000, + "agi_or_total_income": 36270, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 83452.5234375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 874798.9375 + }, + { + "design": "sampled", + "household_id": 40652, + "state": "LA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 25, + "employment_income": 40000, + "agi_or_total_income": 40180, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 96191.140625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1299958.25 + }, + { + "design": "sampled", + "household_id": 28519, + "state": "NC", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 44, + "employment_income": 41943, + "agi_or_total_income": 41539, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 97451.96875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 66707.03125 + }, + { + "design": "sampled", + "household_id": 12321, + "state": "IN", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 36, + "employment_income": 45000, + "agi_or_total_income": 42909, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 130600.7890625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 2328343.0 + }, + { + "design": "sampled", + "household_id": 60998, + "state": "CA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 77, + "employment_income": 52635, + "agi_or_total_income": 109149, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 191389.00146484375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 40826.60546875 + }, + { + "design": "sampled", + "household_id": 24608, + "state": "VA", + "household_size": 3, + "adults": 1, + "children": 2, + "head_age": 45, + "employment_income": 55000, + "agi_or_total_income": 52569, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 74714.6015625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1330980.125 + }, + { + "design": "sampled", + "household_id": 9350, + "state": "PA", + "household_size": 4, + "adults": 1, + "children": 3, + "head_age": 45, + "employment_income": 60000, + "agi_or_total_income": 60010, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 32372.515625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 3564752.0 + }, + { + "design": "sampled", + "household_id": 27325, + "state": "NC", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 57, + "employment_income": 60000, + "agi_or_total_income": 105900, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 118315.5029296875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1855975.25 + }, + { + "design": "sampled", + "household_id": 29798, + "state": "GA", + "household_size": 2, + "adults": 1, + "children": 1, + "head_age": 44, + "employment_income": 62000, + "agi_or_total_income": 72563, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 134078.0029296875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 22428.4921875 + }, + { + "design": "sampled", + "household_id": 11142, + "state": "OH", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 57, + "employment_income": 62725, + "agi_or_total_income": 94925, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 120073.0, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 4729547.0 + }, + { + "design": "sampled", + "household_id": 27138, + "state": "NC", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 46, + "employment_income": 65881, + "agi_or_total_income": 86550, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 59955.28125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 12323432.0 + }, + { + "design": "sampled", + "household_id": 47819, + "state": "ID", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 25, + "employment_income": 66969, + "agi_or_total_income": 66969, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 15797.4599609375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 385371.5625 + }, + { + "design": "sampled", + "household_id": 52465, + "state": "AZ", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 53, + "employment_income": 68005, + "agi_or_total_income": 61592, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 144236.078125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 544164.8125 + }, + { + "design": "sampled", + "household_id": 20240, + "state": "SD", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 69, + "employment_income": 79000, + "agi_or_total_income": 83208, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 10742.748046875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 4988636.5 + }, + { + "design": "sampled", + "household_id": 11736, + "state": "IN", + "household_size": 3, + "adults": 3, + "children": 0, + "head_age": 60, + "employment_income": 82360, + "agi_or_total_income": 87302, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 27958.71875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 185813.3125 + }, + { + "design": "sampled", + "household_id": 33086, + "state": "FL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 70, + "employment_income": 83635, + "agi_or_total_income": 156276, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 66860.203125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 36973.25390625 + }, + { + "design": "sampled", + "household_id": 27934, + "state": "NC", + "household_size": 5, + "adults": 2, + "children": 3, + "head_age": 45, + "employment_income": 85209, + "agi_or_total_income": 82301, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 14163.0615234375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 247917.59375 + }, + { + "design": "sampled", + "household_id": 27261, + "state": "NC", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 26, + "employment_income": 87200, + "agi_or_total_income": 87201, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 33293.40234375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 4847041.0 + }, + { + "design": "sampled", + "household_id": 26532, + "state": "WV", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 38, + "employment_income": 88928, + "agi_or_total_income": 88928, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 16094.000244140625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 10651990.0 + }, + { + "design": "sampled", + "household_id": 42338, + "state": "OK", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 39, + "employment_income": 92000, + "agi_or_total_income": 92003, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 63118.499755859375, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 119226.1015625 + }, + { + "design": "sampled", + "household_id": 15684, + "state": "WI", + "household_size": 5, + "adults": 4, + "children": 1, + "head_age": 48, + "employment_income": 97295, + "agi_or_total_income": 95053, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 59014.61328125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 30323.06640625 + }, + { + "design": "sampled", + "household_id": 10565, + "state": "OH", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 51, + "employment_income": 100000, + "agi_or_total_income": 163422, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 110.97456359863281, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 631687.25 + }, + { + "design": "sampled", + "household_id": 6659, + "state": "NY", + "household_size": 2, + "adults": 1, + "children": 1, + "head_age": 23, + "employment_income": 100195, + "agi_or_total_income": 117585, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 240665.40625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 6846788.0 + }, + { + "design": "sampled", + "household_id": 43925, + "state": "TX", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 47, + "employment_income": 103000, + "agi_or_total_income": 101130, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 157513.75, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 88378.015625 + }, + { + "design": "sampled", + "household_id": 9018, + "state": "PA", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 39, + "employment_income": 145000, + "agi_or_total_income": 100002, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 21367.54296875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 67297.4453125 + }, + { + "design": "sampled", + "household_id": 48362, + "state": "ID", + "household_size": 3, + "adults": 1, + "children": 2, + "head_age": 45, + "employment_income": 160000, + "agi_or_total_income": 164220, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 2319.1748046875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 4645590.0 + }, + { + "design": "sampled", + "household_id": 18666, + "state": "MO", + "household_size": 3, + "adults": 3, + "children": 0, + "head_age": 51, + "employment_income": 163000, + "agi_or_total_income": 112408, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 151370.890625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 7880530.0 + }, + { + "design": "sampled", + "household_id": 60992, + "state": "CA", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 41, + "employment_income": 165000, + "agi_or_total_income": 159585, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 117095.4765625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 131604.390625 + }, + { + "design": "sampled", + "household_id": 4537, + "state": "CT", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 76, + "employment_income": 165597, + "agi_or_total_income": 232635, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 6198.013671875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1830277.5 + }, + { + "design": "sampled", + "household_id": 2844, + "state": "MA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 30, + "employment_income": 175002, + "agi_or_total_income": 174088, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 76928.0029296875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 2014880.375 + }, + { + "design": "sampled", + "household_id": 23217, + "state": "MD", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 19, + "employment_income": 198505, + "agi_or_total_income": 198505, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 11947.2119140625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 2536720.5 + }, + { + "design": "sampled", + "household_id": 38941, + "state": "AR", + "household_size": 5, + "adults": 2, + "children": 3, + "head_age": 34, + "employment_income": 248675, + "agi_or_total_income": 248145, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 24670.306640625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 5775055.5 + }, + { + "design": "sampled", + "household_id": 812, + "state": "NH", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 52, + "employment_income": 253000, + "agi_or_total_income": 246664, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 21763.705078125, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 1861493.5 + }, + { + "design": "sampled", + "household_id": 46163, + "state": "TX", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 36, + "employment_income": 300000, + "agi_or_total_income": 300150, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 48689.7265625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 7814529.0 + }, + { + "design": "sampled", + "household_id": 61419, + "state": "CA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 35, + "employment_income": 430000, + "agi_or_total_income": 539314, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 93139.046875, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 804980.75 + }, + { + "design": "sampled", + "household_id": 43285, + "state": "TX", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 59, + "employment_income": 500000, + "agi_or_total_income": 504779, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 42286.03515625, + "calibrated_weight": 1232343.8385038802, + "post_stratified_weight": 805791.875 + }, + { + "design": "exact_k", + "household_id": 2319, + "state": "MA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 25, + "employment_income": 0, + "agi_or_total_income": 15960, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 94.23027801513672, + "calibrated_weight": 126935.4921875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 2694, + "state": "MA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 79, + "employment_income": 0, + "agi_or_total_income": 116611, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 9.767691612243652, + "calibrated_weight": 75361.34642687764, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 9423, + "state": "PA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 80, + "employment_income": 0, + "agi_or_total_income": 80465, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 44.728206634521484, + "calibrated_weight": 338593.125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 11450, + "state": "OH", + "household_size": 2, + "adults": 1, + "children": 1, + "head_age": 26, + "employment_income": 0, + "agi_or_total_income": 97525, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 6.275113105773926, + "calibrated_weight": 47851.82748508626, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 14668, + "state": "MI", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 80, + "employment_income": 0, + "agi_or_total_income": 338753, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 21.561098098754883, + "calibrated_weight": 169303.421875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 16482, + "state": "MN", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 47, + "employment_income": 0, + "agi_or_total_income": 0, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 77.87313842773438, + "calibrated_weight": 604035.9348248092, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 20092, + "state": "SD", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 72, + "employment_income": 0, + "agi_or_total_income": 64479, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 35.116912841796875, + "calibrated_weight": 273576.53125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 21191, + "state": "KS", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 80, + "employment_income": 0, + "agi_or_total_income": 106639, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 24.621902465820312, + "calibrated_weight": 190779.3125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 21929, + "state": "DE", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 33, + "employment_income": 0, + "agi_or_total_income": 43227, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 12861.9609375, + "calibrated_weight": 5996758.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 25576, + "state": "VA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 58, + "employment_income": 0, + "agi_or_total_income": -24794, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 5155.361328125, + "calibrated_weight": 707068.3125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 31141, + "state": "GA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 85, + "employment_income": 0, + "agi_or_total_income": 66417, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 56969.02734375, + "calibrated_weight": 53580.2109375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 34949, + "state": "KY", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 35, + "employment_income": 0, + "agi_or_total_income": 10223, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 1.7540559768676758, + "calibrated_weight": 13422.337141805676, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 35708, + "state": "TN", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 31, + "employment_income": 0, + "agi_or_total_income": 0, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 47979.046875, + "calibrated_weight": 5826164.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 40752, + "state": "LA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 85, + "employment_income": 0, + "agi_or_total_income": 6320, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 50181.53515625, + "calibrated_weight": 6057368.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 44983, + "state": "TX", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 42, + "employment_income": 0, + "agi_or_total_income": 17528, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 65.63616943359375, + "calibrated_weight": 213406.24791984473, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 45118, + "state": "TX", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 66, + "employment_income": 0, + "agi_or_total_income": 3006, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 11125.103515625, + "calibrated_weight": 1013578.4375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 47698, + "state": "MT", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 80, + "employment_income": 0, + "agi_or_total_income": 1, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 460.76287841796875, + "calibrated_weight": 2030156.5, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 48232, + "state": "ID", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 68, + "employment_income": 0, + "agi_or_total_income": 0, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 46.874755859375, + "calibrated_weight": 363598.78125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 49844, + "state": "CO", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 42, + "employment_income": 0, + "agi_or_total_income": 12037, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 56.169437408447266, + "calibrated_weight": 3061.98681640625, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 52037, + "state": "AZ", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 85, + "employment_income": 0, + "agi_or_total_income": 3392, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 30.1376953125, + "calibrated_weight": 233986.79150702275, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 53929, + "state": "NV", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 57, + "employment_income": 0, + "agi_or_total_income": 31537, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 54.729312896728516, + "calibrated_weight": 403634.47114271834, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 56830, + "state": "OR", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 71, + "employment_income": 0, + "agi_or_total_income": 335253, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 49.36018753051758, + "calibrated_weight": 386588.125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 61951, + "state": "CA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 31, + "employment_income": 0, + "agi_or_total_income": 5439, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 68138.00048828125, + "calibrated_weight": 139719.5, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 70237, + "state": "CO", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 41, + "employment_income": 0, + "agi_or_total_income": 11918880, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 0.22920823097229004, + "calibrated_weight": 1778.700439453125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 18219, + "state": "MO", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 40, + "employment_income": 1071, + "agi_or_total_income": 15951, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": true, + "design_weight": 307.0973205566406, + "calibrated_weight": 100654.703125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 12542, + "state": "IN", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 32, + "employment_income": 1770, + "agi_or_total_income": 12690, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 734.7489013671875, + "calibrated_weight": 5434.9833984375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 38812, + "state": "MS", + "household_size": 3, + "adults": 1, + "children": 2, + "head_age": 26, + "employment_income": 3000, + "agi_or_total_income": 3000, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 8792.5185546875, + "calibrated_weight": 27331.953125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 19861, + "state": "SD", + "household_size": 4, + "adults": 1, + "children": 3, + "head_age": 33, + "employment_income": 4843, + "agi_or_total_income": 19522, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 518.775634765625, + "calibrated_weight": 84368.296875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 7276, + "state": "NY", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 36, + "employment_income": 5000, + "agi_or_total_income": 5051, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": true, + "design_weight": 24.53219223022461, + "calibrated_weight": 158172.15625, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 21017, + "state": "NE", + "household_size": 2, + "adults": 1, + "children": 1, + "head_age": 39, + "employment_income": 5160, + "agi_or_total_income": 8442, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 6977.1123046875, + "calibrated_weight": 74684.9609375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 33729, + "state": "FL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 28, + "employment_income": 5819, + "agi_or_total_income": -721, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 96.36180877685547, + "calibrated_weight": 68727.859375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 55360, + "state": "WA", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 36, + "employment_income": 9190, + "agi_or_total_income": 19590, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 231.6905517578125, + "calibrated_weight": 212968.78125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 20323, + "state": "NE", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 51, + "employment_income": 11075, + "agi_or_total_income": 11075, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 29.82353973388672, + "calibrated_weight": 232448.8125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 46513, + "state": "TX", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 68, + "employment_income": 11122, + "agi_or_total_income": 41631, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": true, + "design_weight": 14902.587890625, + "calibrated_weight": 79259.4765625, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 55377, + "state": "WA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 52, + "employment_income": 12020, + "agi_or_total_income": 17290, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 58.749168395996094, + "calibrated_weight": 166010.0632966704, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 10363, + "state": "OH", + "household_size": 3, + "adults": 3, + "children": 0, + "head_age": 46, + "employment_income": 12885, + "agi_or_total_income": 12885, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": true, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 24152.220703125, + "calibrated_weight": 374116.6875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 14881, + "state": "MI", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 40, + "employment_income": 13022, + "agi_or_total_income": 834, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 163.42739868164062, + "calibrated_weight": 1208.8829053550448, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 29096, + "state": "SC", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 21, + "employment_income": 14400, + "agi_or_total_income": 17009, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 26.38768768310547, + "calibrated_weight": 203964.5077485183, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 29525, + "state": "SC", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 51, + "employment_income": 14816, + "agi_or_total_income": 14816, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 44.5180778503418, + "calibrated_weight": 335233.90625, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 55467, + "state": "WA", + "household_size": 5, + "adults": 2, + "children": 3, + "head_age": 45, + "employment_income": 15477, + "agi_or_total_income": -1117, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 265.65008544921875, + "calibrated_weight": 1965.0302734375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 30895, + "state": "GA", + "household_size": 3, + "adults": 1, + "children": 2, + "head_age": 31, + "employment_income": 16965, + "agi_or_total_income": 16965, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 6765.56494140625, + "calibrated_weight": 272118.59375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 58707, + "state": "CA", + "household_size": 3, + "adults": 3, + "children": 0, + "head_age": 67, + "employment_income": 19140, + "agi_or_total_income": 40186, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 43.20705795288086, + "calibrated_weight": 341995.46875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 43918, + "state": "TX", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 32, + "employment_income": 22475, + "agi_or_total_income": 22475, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 13.610025405883789, + "calibrated_weight": 105793.18277495126, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 25426, + "state": "VA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 66, + "employment_income": 22940, + "agi_or_total_income": 30326, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 96.7702865600586, + "calibrated_weight": 750674.2510411767, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 30985, + "state": "GA", + "household_size": 6, + "adults": 2, + "children": 4, + "head_age": 31, + "employment_income": 23518, + "agi_or_total_income": 23518, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 14678.947265625, + "calibrated_weight": 26400.646484375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 10971, + "state": "OH", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 69, + "employment_income": 32000, + "agi_or_total_income": 46571, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 64.2723388671875, + "calibrated_weight": 493902.17619792785, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 58497, + "state": "CA", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 32, + "employment_income": 32122, + "agi_or_total_income": 40966, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 10930.263671875, + "calibrated_weight": 21987.5546875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 47315, + "state": "MT", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 32, + "employment_income": 35000, + "agi_or_total_income": 53590, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 4015.121826171875, + "calibrated_weight": 198265.046875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 62269, + "state": "CA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 65, + "employment_income": 38052, + "agi_or_total_income": 60739, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 133996.46875, + "calibrated_weight": 3650391.25, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 27394, + "state": "NC", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 30, + "employment_income": 38975, + "agi_or_total_income": 36731, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 30.581626892089844, + "calibrated_weight": 237389.75, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 58570, + "state": "CA", + "household_size": 3, + "adults": 3, + "children": 0, + "head_age": 42, + "employment_income": 40000, + "agi_or_total_income": 35573, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 0.33684059977531433, + "calibrated_weight": 2615.0263671875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 56665, + "state": "OR", + "household_size": 4, + "adults": 1, + "children": 3, + "head_age": 49, + "employment_income": 44848, + "agi_or_total_income": 44848, + "receives_snap": true, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 22534.44921875, + "calibrated_weight": 166688.76003591754, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 13283, + "state": "IL", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 75, + "employment_income": 45000, + "agi_or_total_income": 104014, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 10.20099925994873, + "calibrated_weight": 79147.0078125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 18019, + "state": "MO", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 48, + "employment_income": 45385, + "agi_or_total_income": 49338, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 336.27996826171875, + "calibrated_weight": 169324.25, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 56195, + "state": "OR", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 67, + "employment_income": 46366, + "agi_or_total_income": 45273, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 30269.009765625, + "calibrated_weight": 25329726.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 28145, + "state": "NC", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 40, + "employment_income": 46809, + "agi_or_total_income": 46809, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 276.321044921875, + "calibrated_weight": 6193.88330078125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 44022, + "state": "TX", + "household_size": 3, + "adults": 3, + "children": 0, + "head_age": 59, + "employment_income": 47360, + "agi_or_total_income": 635695, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 18.659420013427734, + "calibrated_weight": 130668.1875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 56280, + "state": "OR", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 34, + "employment_income": 47671, + "agi_or_total_income": 50882, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 7336.52392578125, + "calibrated_weight": 42112.33984375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 56756, + "state": "OR", + "household_size": 3, + "adults": 2, + "children": 1, + "head_age": 56, + "employment_income": 52200, + "agi_or_total_income": 58430, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 4704.720703125, + "calibrated_weight": 44498.4609375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 270, + "state": "ME", + "household_size": 5, + "adults": 3, + "children": 2, + "head_age": 42, + "employment_income": 54852, + "agi_or_total_income": 70000, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": true, + "design_weight": 90.18890380859375, + "calibrated_weight": 221388.09375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 33762, + "state": "FL", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 55, + "employment_income": 55000, + "agi_or_total_income": 63185, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 13.370569229125977, + "calibrated_weight": 333.5394287109375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 20557, + "state": "NE", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 71, + "employment_income": 63027, + "agi_or_total_income": 50423, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 233.29904174804688, + "calibrated_weight": 65072.15234375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 24717, + "state": "VA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 29, + "employment_income": 72248, + "agi_or_total_income": 72500, + "receives_snap": true, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 42858.40625, + "calibrated_weight": 367486.4375, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 64429, + "state": "HI", + "household_size": 3, + "adults": 3, + "children": 0, + "head_age": 73, + "employment_income": 74820, + "agi_or_total_income": 363822, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 19.65647315979004, + "calibrated_weight": 154037.26326826087, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 34297, + "state": "FL", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 38, + "employment_income": 77000, + "agi_or_total_income": 80537, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 81155.78125, + "calibrated_weight": 5629292.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 59100, + "state": "CA", + "household_size": 3, + "adults": 3, + "children": 0, + "head_age": 26, + "employment_income": 80000, + "agi_or_total_income": 83849, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 103343.1953125, + "calibrated_weight": 8579807.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 52955, + "state": "UT", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 23, + "employment_income": 82400, + "agi_or_total_income": 82400, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 19696.49609375, + "calibrated_weight": 10917018.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 49681, + "state": "CO", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 59, + "employment_income": 86000, + "agi_or_total_income": 71301, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 93606.0, + "calibrated_weight": 2785814.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 3743, + "state": "RI", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 44, + "employment_income": 89000, + "agi_or_total_income": 91135, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 33.851470947265625, + "calibrated_weight": 262506.9264359276, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 64464, + "state": "HI", + "household_size": 5, + "adults": 2, + "children": 3, + "head_age": 45, + "employment_income": 94900, + "agi_or_total_income": 102900, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 8290.6796875, + "calibrated_weight": 20313.30078125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 47135, + "state": "MT", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 53, + "employment_income": 100000, + "agi_or_total_income": 100134, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 62.14695358276367, + "calibrated_weight": 481725.96875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 29221, + "state": "SC", + "household_size": 4, + "adults": 1, + "children": 3, + "head_age": 34, + "employment_income": 101000, + "agi_or_total_income": 99635, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 67.37395477294922, + "calibrated_weight": 540773.625, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 57580, + "state": "CA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 80, + "employment_income": 105705, + "agi_or_total_income": 352708, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": true, + "design_weight": 43.719566345214844, + "calibrated_weight": 330032.8125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 4140, + "state": "CT", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 54, + "employment_income": 106000, + "agi_or_total_income": 108798, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 259.9901428222656, + "calibrated_weight": 2066717.6770075003, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 922, + "state": "NH", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 36, + "employment_income": 106451, + "agi_or_total_income": 102073, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 28.468475341796875, + "calibrated_weight": 218970.79083339532, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 24939, + "state": "VA", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 41, + "employment_income": 118000, + "agi_or_total_income": 118000, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 36521.28515625, + "calibrated_weight": 4935217.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 46555, + "state": "TX", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 57, + "employment_income": 125000, + "agi_or_total_income": 214486, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 95604.7265625, + "calibrated_weight": 546126.875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 16029, + "state": "WI", + "household_size": 5, + "adults": 4, + "children": 1, + "head_age": 67, + "employment_income": 138403, + "agi_or_total_income": 242791, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 149.05230712890625, + "calibrated_weight": 125111.1171875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 6038, + "state": "NY", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 47, + "employment_income": 142000, + "agi_or_total_income": 142000, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 50.98606872558594, + "calibrated_weight": 395447.5625, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 49060, + "state": "WY", + "household_size": 5, + "adults": 2, + "children": 3, + "head_age": 43, + "employment_income": 156007, + "agi_or_total_income": 153170, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 40.85176086425781, + "calibrated_weight": 317216.0625, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 20216, + "state": "SD", + "household_size": 5, + "adults": 2, + "children": 3, + "head_age": 36, + "employment_income": 161645, + "agi_or_total_income": 160248, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 51.039424896240234, + "calibrated_weight": 390160.34110044176, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 12979, + "state": "IL", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 44, + "employment_income": 169616, + "agi_or_total_income": 193083, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 5189.01611328125, + "calibrated_weight": 11379065.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 38166, + "state": "MS", + "household_size": 5, + "adults": 3, + "children": 2, + "head_age": 41, + "employment_income": 183084, + "agi_or_total_income": 182892, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 18.081716537475586, + "calibrated_weight": 140232.62256267248, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 22843, + "state": "MD", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 39, + "employment_income": 185000, + "agi_or_total_income": 326284, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 22.871009826660156, + "calibrated_weight": 175979.890625, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 3698, + "state": "RI", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 52, + "employment_income": 200032, + "agi_or_total_income": 241171, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 120.71095275878906, + "calibrated_weight": 916202.8125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 856, + "state": "NH", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 45, + "employment_income": 202343, + "agi_or_total_income": 203468, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 19.55774688720703, + "calibrated_weight": 152917.01561711536, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 58951, + "state": "CA", + "household_size": 2, + "adults": 1, + "children": 1, + "head_age": 47, + "employment_income": 205913, + "agi_or_total_income": 205963, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 209.43186950683594, + "calibrated_weight": 1683496.5949438615, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 47006, + "state": "MT", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 40, + "employment_income": 210199, + "agi_or_total_income": 210643, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 204.40545654296875, + "calibrated_weight": 1391576.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 30790, + "state": "GA", + "household_size": 7, + "adults": 4, + "children": 3, + "head_age": 54, + "employment_income": 222865, + "agi_or_total_income": 222865, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 24163.740234375, + "calibrated_weight": 97802.5078125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 25559, + "state": "VA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 55, + "employment_income": 234444, + "agi_or_total_income": 556759, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 23893.205078125, + "calibrated_weight": 1041538.75, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 15275, + "state": "MI", + "household_size": 4, + "adults": 3, + "children": 1, + "head_age": 47, + "employment_income": 276000, + "agi_or_total_income": 378654, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 31.881072998046875, + "calibrated_weight": 247566.50601701546, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 13545, + "state": "IL", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 48, + "employment_income": 292781, + "agi_or_total_income": 298948, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 85.24276733398438, + "calibrated_weight": 679024.4230856604, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 13153, + "state": "IL", + "household_size": 3, + "adults": 3, + "children": 0, + "head_age": 51, + "employment_income": 306147, + "agi_or_total_income": 306337, + "receives_snap": false, + "receives_medicaid": true, + "receives_ssi": false, + "eitc_positive": true, + "social_security_positive": false, + "design_weight": 116.95110321044922, + "calibrated_weight": 257374.921875, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 58004, + "state": "CA", + "household_size": 4, + "adults": 2, + "children": 2, + "head_age": 41, + "employment_income": 470000, + "agi_or_total_income": 575849, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 15.007290840148926, + "calibrated_weight": 116078.5703125, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 57698, + "state": "CA", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 53, + "employment_income": 497094, + "agi_or_total_income": 499145, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 75.25212860107422, + "calibrated_weight": 587480.549525889, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 5739, + "state": "NY", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 34, + "employment_income": 630000, + "agi_or_total_income": 635419, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 45283.6015625, + "calibrated_weight": 3122592.0, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 68764, + "state": "MI", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 41, + "employment_income": 1206835, + "agi_or_total_income": 51066004, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 0.058948397636413574, + "calibrated_weight": 457.8871154785156, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 69434, + "state": "CO", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 47, + "employment_income": 2412800, + "agi_or_total_income": 44866136, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 0.07478661835193634, + "calibrated_weight": 580.2024294698126, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 70009, + "state": "GA", + "household_size": 1, + "adults": 1, + "children": 0, + "head_age": 45, + "employment_income": 3536550, + "agi_or_total_income": 39563960, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 0.07111112028360367, + "calibrated_weight": 552.1371459960938, + "post_stratified_weight": null + }, + { + "design": "exact_k", + "household_id": 67905, + "state": "SC", + "household_size": 2, + "adults": 2, + "children": 0, + "head_age": 38, + "employment_income": 44515000, + "agi_or_total_income": 50488812, + "receives_snap": false, + "receives_medicaid": false, + "receives_ssi": false, + "eitc_positive": false, + "social_security_positive": false, + "design_weight": 0.11123019456863403, + "calibrated_weight": 860.4219867873236, + "post_stratified_weight": null + } + ], + "sampled_frozen_policybench_public_100_in_draw_order": [ + 46488, + 25697, + 54948, + 43167, + 6716, + 61419, + 48744, + 7962, + 27325, + 38099, + 52141, + 26532, + 12321, + 32158, + 52465, + 46163, + 18311, + 60998, + 56995, + 11142, + 27934, + 4629, + 9350, + 42352, + 45182, + 60752, + 16675, + 20240, + 8020, + 28519, + 41260, + 25636, + 52765, + 16082, + 50349, + 21860, + 15042, + 42338, + 11358, + 812, + 40652, + 43285, + 47819, + 27735, + 33086, + 7577, + 40919, + 32634, + 46334, + 32129, + 15684, + 25615, + 11736, + 23265, + 12674, + 5500, + 14732, + 15306, + 40197, + 32159, + 48362, + 40537, + 23217, + 51696, + 9787, + 2844, + 6659, + 44053, + 27805, + 9576, + 29798, + 43057, + 27138, + 21382, + 15534, + 37025, + 18666, + 7689, + 14009, + 60992, + 47462, + 43925, + 27261, + 6747, + 11359, + 15853, + 34172, + 10565, + 54825, + 46195, + 25425, + 36840, + 34410, + 38941, + 6512, + 24608, + 4537, + 29623, + 16882, + 9018 + ], + "exact_k_national_all_100": [ + 270, + 856, + 922, + 2319, + 2694, + 3698, + 3743, + 4140, + 5739, + 6038, + 7276, + 9423, + 10363, + 10971, + 11450, + 12542, + 12979, + 13153, + 13283, + 13545, + 14668, + 14881, + 15275, + 16029, + 16482, + 18019, + 18219, + 19861, + 20092, + 20216, + 20323, + 20557, + 21017, + 21191, + 21929, + 22843, + 24717, + 24939, + 25426, + 25559, + 25576, + 27394, + 28145, + 29096, + 29221, + 29525, + 30790, + 30895, + 30985, + 31141, + 33729, + 33762, + 34297, + 34949, + 35708, + 38166, + 38812, + 40752, + 43918, + 44022, + 44983, + 45118, + 46513, + 46555, + 47006, + 47135, + 47315, + 47698, + 48232, + 49060, + 49681, + 49844, + 52037, + 52955, + 53929, + 55360, + 55377, + 55467, + 56195, + 56280, + 56665, + 56756, + 56830, + 57580, + 57698, + 58004, + 58497, + 58570, + 58707, + 58951, + 59100, + 61951, + 62269, + 64429, + 64464, + 67905, + 68764, + 69434, + 70009, + 70237 + ] +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/households.csv b/experiments/policybench-exact-k-100-vs-sampled-20260922/households.csv new file mode 100644 index 0000000000..e0a4961cd5 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/households.csv @@ -0,0 +1,201 @@ +design,household_id,state,household_size,adults,children,head_age,employment_income,agi_or_total_income,receives_snap,receives_medicaid,receives_ssi,eitc_positive,social_security_positive,design_weight,calibrated_weight,post_stratified_weight +sampled,4629,CT,2,2,0,68,0,275,False,True,True,False,True,108735.953125,1232343.8385038802,861728.5625 +sampled,5500,NY,1,1,0,76,0,5078,False,False,False,False,True,35873.21484375,1232343.8385038802,19119.740234375 +sampled,6512,NY,1,1,0,74,0,0,True,True,True,False,True,109496.53125,1232343.8385038802,2396027.0 +sampled,6716,NY,2,2,0,62,0,479,False,False,False,False,True,222483.40625,1232343.8385038802,2346118.75 +sampled,6747,NY,1,1,0,72,0,0,False,False,False,False,True,238772.484375,1232343.8385038802,274740.53125 +sampled,7577,NJ,1,1,0,20,0,-4384,True,True,False,False,False,24975.750732421875,1232343.8385038802,10492548.0 +sampled,7689,NJ,1,1,0,73,0,15287,False,False,False,False,True,176824.49951171875,1232343.8385038802,10144038.0 +sampled,8020,NJ,1,1,0,56,0,59220,False,False,False,False,False,56102.49609375,1232343.8385038802,2692810.75 +sampled,9576,PA,1,1,0,67,0,45573,False,False,False,False,True,196990.00244140625,1232343.8385038802,1930317.5 +sampled,9787,PA,1,1,0,41,0,940,True,True,False,False,False,99008.984375,1232343.8385038802,760230.625 +sampled,14009,IL,1,1,0,80,0,4440,False,False,False,False,True,172073.49853515625,1232343.8385038802,8826.8974609375 +sampled,15306,MI,1,1,0,57,0,2848,True,False,False,False,True,150413.21875,1232343.8385038802,32641.63671875 +sampled,16082,WI,1,1,0,79,0,50581,False,False,False,False,True,150808.9375,1232343.8385038802,1244827.75 +sampled,16882,MN,1,1,0,73,0,70646,False,False,False,False,True,11530.4755859375,1232343.8385038802,42122.82421875 +sampled,18311,MO,1,1,0,85,0,5508,False,False,False,False,True,16642.501953125,1232343.8385038802,78173.0859375 +sampled,21860,KS,2,2,0,66,0,0,False,False,False,False,True,882.4573974609375,1232343.8385038802,2666634.0 +sampled,25636,VA,1,1,0,61,0,32699,False,False,False,False,True,191692.46875,1232343.8385038802,18295.234375 +sampled,27735,NC,3,1,2,40,0,15892,True,True,False,True,False,77726.6875,1232343.8385038802,129086.875 +sampled,27805,NC,1,1,0,62,0,5,False,False,False,False,True,122802.1015625,1232343.8385038802,22127.146484375 +sampled,32129,FL,1,1,0,85,0,17323,False,False,False,False,True,91934.015625,1232343.8385038802,478454.1875 +sampled,32634,FL,2,2,0,79,0,31729,False,False,False,False,True,82749.328125,1232343.8385038802,4051507.5 +sampled,34172,FL,5,2,3,29,0,27881,True,True,False,True,False,68461.0234375,1232343.8385038802,529283.4375 +sampled,34410,FL,2,2,0,42,0,0,False,False,False,False,False,286097.46875,1232343.8385038802,39539.04296875 +sampled,36840,AL,1,1,0,77,0,0,False,False,False,False,True,60441.99609375,1232343.8385038802,39002.296875 +sampled,37025,AL,1,1,0,77,0,14980,False,False,False,False,True,70014.984375,1232343.8385038802,24736.978515625 +sampled,40197,LA,1,1,0,54,0,384,False,False,False,False,True,3806.02978515625,1232343.8385038802,2519857.0 +sampled,40919,LA,2,2,0,43,0,9665,True,True,True,True,False,19470.310546875,1232343.8385038802,377280.78125 +sampled,42352,OK,1,1,0,21,0,312,False,True,False,False,False,82643.6484375,1232343.8385038802,9873.7373046875 +sampled,43167,TX,2,2,0,64,0,182172,False,False,False,False,True,110451.453125,1232343.8385038802,3019736.25 +sampled,46488,TX,1,1,0,77,0,50437,False,False,False,False,True,43172.332763671875,1232343.8385038802,458289.9375 +sampled,48744,ID,1,1,0,56,0,49064,False,False,False,False,True,60432.19921875,1232343.8385038802,1591142.0 +sampled,51696,AZ,2,2,0,55,0,0,True,True,True,False,True,92582.453125,1232343.8385038802,548379.375 +sampled,52141,AZ,1,1,0,80,0,6808,False,False,False,False,True,54909.5,1232343.8385038802,79032.1328125 +sampled,54825,WA,2,2,0,72,0,18240,False,True,True,False,True,79376.5,1232343.8385038802,1584446.0 +sampled,54948,WA,2,2,0,77,0,23130,False,False,False,False,True,16399.9296875,1232343.8385038802,76598.234375 +sampled,60752,CA,1,1,0,67,0,13243,False,False,False,False,True,6418.6982421875,1232343.8385038802,102903.390625 +sampled,25615,VA,1,1,0,40,520,520,True,True,False,True,False,36632.16552734375,1232343.8385038802,315653.15625 +sampled,46334,TX,1,1,0,70,3000,3075,False,False,False,False,True,226670.99609375,1232343.8385038802,12473.86328125 +sampled,50349,CO,1,1,0,66,4088,4625,True,False,False,False,False,36.21009826660156,1232343.8385038802,979451.8125 +sampled,47462,MT,3,1,2,46,5915,1875,True,True,False,True,False,8660.2734375,1232343.8385038802,235194.0 +sampled,46195,TX,1,1,0,31,5923,4843,True,False,False,True,False,182643.34375,1232343.8385038802,285099.8125 +sampled,11359,OH,1,1,0,75,6366,15440,False,False,False,False,True,247295.5078125,1232343.8385038802,18940.037109375 +sampled,21382,KS,1,1,0,22,7000,7020,False,False,False,False,False,109143.9375,1232343.8385038802,10574.5029296875 +sampled,44053,TX,1,1,0,20,7050,11010,False,False,False,False,False,256573.5107421875,1232343.8385038802,3849787.25 +sampled,41260,LA,4,2,2,25,7468,21896,True,True,False,True,False,67422.7734375,1232343.8385038802,1128466.125 +sampled,11358,OH,1,1,0,85,7656,7656,False,False,False,False,True,161128.859375,1232343.8385038802,1566751.5 +sampled,15853,WI,1,1,0,85,7656,7656,False,False,False,False,True,96196.359375,1232343.8385038802,4318474.5 +sampled,32159,FL,1,1,0,62,12656,109286,False,False,False,False,False,241766.9921875,1232343.8385038802,3102180.0 +sampled,45182,TX,1,1,0,23,13000,13000,False,True,False,False,False,231804.4921875,1232343.8385038802,96191.140625 +sampled,56995,CA,1,1,0,28,17443,22534,True,False,False,False,False,144636.09375,1232343.8385038802,1517527.0 +sampled,43057,TX,1,1,0,56,18577,23360,False,False,False,False,False,55593.11328125,1232343.8385038802,3805375.0 +sampled,14732,MI,2,2,0,80,20000,22901,False,False,False,False,True,169305.03125,1232343.8385038802,30993.142578125 +sampled,38099,MS,3,2,1,40,22000,22000,True,True,False,True,False,31040.9453125,1232343.8385038802,1054757.25 +sampled,25425,VA,1,1,0,69,22700,82211,False,False,False,False,True,90778.74755859375,1232343.8385038802,1442197.75 +sampled,29623,SC,1,1,0,53,25665,25665,False,False,False,False,False,125871.3046875,1232343.8385038802,1726109.5 +sampled,40537,LA,1,1,0,37,26006,23006,False,False,False,False,False,65878.99780273438,1232343.8385038802,288061.84375 +sampled,7962,NJ,8,2,6,41,26800,30632,True,True,False,True,False,93369.46875,1232343.8385038802,1399642.875 +sampled,15534,WI,1,1,0,22,27000,36183,False,False,False,False,False,83601.3203125,1232343.8385038802,579828.5625 +sampled,52765,AZ,2,2,0,69,28000,32300,False,False,False,False,True,105265.00244140625,1232343.8385038802,606344.0 +sampled,16675,MN,3,2,1,50,29000,30916,False,True,False,True,True,129649.71875,1232343.8385038802,1054643.5 +sampled,25697,VA,2,2,0,71,29064,31402,False,False,False,False,True,161383.6875,1232343.8385038802,847320.0 +sampled,23265,MD,1,1,0,31,34084,34084,False,False,False,False,False,100182.3828125,1232343.8385038802,12323432.0 +sampled,32158,FL,1,1,0,49,34638,32138,False,False,False,False,False,263802.46875,1232343.8385038802,636678.0625 +sampled,15042,MI,1,1,0,44,36276,36276,False,False,False,False,False,55937.734375,1232343.8385038802,60553.234375 +sampled,12674,IL,1,1,0,57,38000,36270,False,False,False,False,False,83452.5234375,1232343.8385038802,874798.9375 +sampled,40652,LA,1,1,0,25,40000,40180,False,False,False,False,False,96191.140625,1232343.8385038802,1299958.25 +sampled,28519,NC,1,1,0,44,41943,41539,False,False,False,False,False,97451.96875,1232343.8385038802,66707.03125 +sampled,12321,IN,1,1,0,36,45000,42909,False,False,False,False,False,130600.7890625,1232343.8385038802,2328343.0 +sampled,60998,CA,1,1,0,77,52635,109149,False,False,False,False,True,191389.00146484375,1232343.8385038802,40826.60546875 +sampled,24608,VA,3,1,2,45,55000,52569,False,False,False,True,False,74714.6015625,1232343.8385038802,1330980.125 +sampled,9350,PA,4,1,3,45,60000,60010,False,False,False,False,False,32372.515625,1232343.8385038802,3564752.0 +sampled,27325,NC,2,2,0,57,60000,105900,False,False,False,False,True,118315.5029296875,1232343.8385038802,1855975.25 +sampled,29798,GA,2,1,1,44,62000,72563,False,False,False,False,True,134078.0029296875,1232343.8385038802,22428.4921875 +sampled,11142,OH,2,2,0,57,62725,94925,False,False,False,False,False,120073.0,1232343.8385038802,4729547.0 +sampled,27138,NC,2,2,0,46,65881,86550,False,False,False,False,False,59955.28125,1232343.8385038802,12323432.0 +sampled,47819,ID,1,1,0,25,66969,66969,False,False,False,False,False,15797.4599609375,1232343.8385038802,385371.5625 +sampled,52465,AZ,1,1,0,53,68005,61592,False,False,False,False,False,144236.078125,1232343.8385038802,544164.8125 +sampled,20240,SD,2,2,0,69,79000,83208,False,False,False,False,True,10742.748046875,1232343.8385038802,4988636.5 +sampled,11736,IN,3,3,0,60,82360,87302,False,False,False,False,False,27958.71875,1232343.8385038802,185813.3125 +sampled,33086,FL,1,1,0,70,83635,156276,False,False,False,False,True,66860.203125,1232343.8385038802,36973.25390625 +sampled,27934,NC,5,2,3,45,85209,82301,False,False,False,False,False,14163.0615234375,1232343.8385038802,247917.59375 +sampled,27261,NC,2,2,0,26,87200,87201,False,False,False,False,False,33293.40234375,1232343.8385038802,4847041.0 +sampled,26532,WV,2,2,0,38,88928,88928,False,False,False,False,False,16094.000244140625,1232343.8385038802,10651990.0 +sampled,42338,OK,4,2,2,39,92000,92003,False,False,False,False,False,63118.499755859375,1232343.8385038802,119226.1015625 +sampled,15684,WI,5,4,1,48,97295,95053,False,False,False,False,False,59014.61328125,1232343.8385038802,30323.06640625 +sampled,10565,OH,1,1,0,51,100000,163422,False,False,False,False,False,110.97456359863281,1232343.8385038802,631687.25 +sampled,6659,NY,2,1,1,23,100195,117585,False,False,False,False,False,240665.40625,1232343.8385038802,6846788.0 +sampled,43925,TX,1,1,0,47,103000,101130,False,False,False,False,False,157513.75,1232343.8385038802,88378.015625 +sampled,9018,PA,3,2,1,39,145000,100002,False,False,False,False,False,21367.54296875,1232343.8385038802,67297.4453125 +sampled,48362,ID,3,1,2,45,160000,164220,False,False,False,False,False,2319.1748046875,1232343.8385038802,4645590.0 +sampled,18666,MO,3,3,0,51,163000,112408,False,False,False,False,False,151370.890625,1232343.8385038802,7880530.0 +sampled,60992,CA,4,2,2,41,165000,159585,False,False,False,False,False,117095.4765625,1232343.8385038802,131604.390625 +sampled,4537,CT,1,1,0,76,165597,232635,False,False,False,False,True,6198.013671875,1232343.8385038802,1830277.5 +sampled,2844,MA,1,1,0,30,175002,174088,False,False,False,False,False,76928.0029296875,1232343.8385038802,2014880.375 +sampled,23217,MD,1,1,0,19,198505,198505,False,False,False,False,False,11947.2119140625,1232343.8385038802,2536720.5 +sampled,38941,AR,5,2,3,34,248675,248145,False,False,False,False,False,24670.306640625,1232343.8385038802,5775055.5 +sampled,812,NH,2,2,0,52,253000,246664,False,False,False,False,False,21763.705078125,1232343.8385038802,1861493.5 +sampled,46163,TX,1,1,0,36,300000,300150,False,False,False,False,False,48689.7265625,1232343.8385038802,7814529.0 +sampled,61419,CA,2,2,0,35,430000,539314,False,False,False,False,False,93139.046875,1232343.8385038802,804980.75 +sampled,43285,TX,2,2,0,59,500000,504779,False,False,False,False,False,42286.03515625,1232343.8385038802,805791.875 +exact_k,2319,MA,2,2,0,25,0,15960,True,True,False,True,False,94.23027801513672,126935.4921875, +exact_k,2694,MA,2,2,0,79,0,116611,False,False,False,False,True,9.767691612243652,75361.34642687764, +exact_k,9423,PA,1,1,0,80,0,80465,False,False,False,False,True,44.728206634521484,338593.125, +exact_k,11450,OH,2,1,1,26,0,97525,False,False,False,False,False,6.275113105773926,47851.82748508626, +exact_k,14668,MI,2,2,0,80,0,338753,False,False,False,False,True,21.561098098754883,169303.421875, +exact_k,16482,MN,1,1,0,47,0,0,True,True,False,False,False,77.87313842773438,604035.9348248092, +exact_k,20092,SD,1,1,0,72,0,64479,False,False,False,False,True,35.116912841796875,273576.53125, +exact_k,21191,KS,1,1,0,80,0,106639,False,False,False,False,True,24.621902465820312,190779.3125, +exact_k,21929,DE,2,2,0,33,0,43227,True,False,False,False,False,12861.9609375,5996758.0, +exact_k,25576,VA,2,2,0,58,0,-24794,False,True,False,False,True,5155.361328125,707068.3125, +exact_k,31141,GA,2,2,0,85,0,66417,False,False,False,False,True,56969.02734375,53580.2109375, +exact_k,34949,KY,1,1,0,35,0,10223,True,True,False,True,False,1.7540559768676758,13422.337141805676, +exact_k,35708,TN,4,2,2,31,0,0,True,True,False,False,False,47979.046875,5826164.0, +exact_k,40752,LA,1,1,0,85,0,6320,False,False,False,False,True,50181.53515625,6057368.0, +exact_k,44983,TX,3,2,1,42,0,17528,True,True,False,True,False,65.63616943359375,213406.24791984473, +exact_k,45118,TX,2,2,0,66,0,3006,False,False,False,False,True,11125.103515625,1013578.4375, +exact_k,47698,MT,1,1,0,80,0,1,False,False,False,False,True,460.76287841796875,2030156.5, +exact_k,48232,ID,1,1,0,68,0,0,True,False,False,False,True,46.874755859375,363598.78125, +exact_k,49844,CO,3,2,1,42,0,12037,True,True,False,True,False,56.169437408447266,3061.98681640625, +exact_k,52037,AZ,1,1,0,85,0,3392,True,False,False,False,True,30.1376953125,233986.79150702275, +exact_k,53929,NV,2,2,0,57,0,31537,False,False,False,False,True,54.729312896728516,403634.47114271834, +exact_k,56830,OR,2,2,0,71,0,335253,False,False,False,False,True,49.36018753051758,386588.125, +exact_k,61951,CA,1,1,0,31,0,5439,True,True,False,True,False,68138.00048828125,139719.5, +exact_k,70237,CO,2,2,0,41,0,11918880,False,False,False,False,False,0.22920823097229004,1778.700439453125, +exact_k,18219,MO,4,2,2,40,1071,15951,True,True,False,True,True,307.0973205566406,100654.703125, +exact_k,12542,IN,4,2,2,32,1770,12690,False,True,False,True,False,734.7489013671875,5434.9833984375, +exact_k,38812,MS,3,1,2,26,3000,3000,False,True,False,True,False,8792.5185546875,27331.953125, +exact_k,19861,SD,4,1,3,33,4843,19522,True,True,False,True,False,518.775634765625,84368.296875, +exact_k,7276,NY,2,2,0,36,5000,5051,True,True,False,True,True,24.53219223022461,158172.15625, +exact_k,21017,NE,2,1,1,39,5160,8442,True,True,False,True,False,6977.1123046875,74684.9609375, +exact_k,33729,FL,1,1,0,28,5819,-721,True,False,False,True,False,96.36180877685547,68727.859375, +exact_k,55360,WA,3,2,1,36,9190,19590,True,True,False,True,False,231.6905517578125,212968.78125, +exact_k,20323,NE,1,1,0,51,11075,11075,True,True,False,True,False,29.82353973388672,232448.8125, +exact_k,46513,TX,4,2,2,68,11122,41631,False,False,False,True,True,14902.587890625,79259.4765625, +exact_k,55377,WA,1,1,0,52,12020,17290,True,True,False,True,False,58.749168395996094,166010.0632966704, +exact_k,10363,OH,3,3,0,46,12885,12885,True,True,True,True,False,24152.220703125,374116.6875, +exact_k,14881,MI,4,2,2,40,13022,834,True,True,False,True,False,163.42739868164062,1208.8829053550448, +exact_k,29096,SC,1,1,0,21,14400,17009,True,False,False,False,False,26.38768768310547,203964.5077485183, +exact_k,29525,SC,1,1,0,51,14816,14816,True,False,False,True,False,44.5180778503418,335233.90625, +exact_k,55467,WA,5,2,3,45,15477,-1117,True,True,False,True,False,265.65008544921875,1965.0302734375, +exact_k,30895,GA,3,1,2,31,16965,16965,True,True,False,True,False,6765.56494140625,272118.59375, +exact_k,58707,CA,3,3,0,67,19140,40186,False,False,False,False,True,43.20705795288086,341995.46875, +exact_k,43918,TX,1,1,0,32,22475,22475,True,False,False,False,False,13.610025405883789,105793.18277495126, +exact_k,25426,VA,1,1,0,66,22940,30326,False,False,False,False,True,96.7702865600586,750674.2510411767, +exact_k,30985,GA,6,2,4,31,23518,23518,True,True,False,True,False,14678.947265625,26400.646484375, +exact_k,10971,OH,1,1,0,69,32000,46571,False,False,False,False,True,64.2723388671875,493902.17619792785, +exact_k,58497,CA,4,2,2,32,32122,40966,True,True,False,True,False,10930.263671875,21987.5546875, +exact_k,47315,MT,3,2,1,32,35000,53590,False,True,False,True,False,4015.121826171875,198265.046875, +exact_k,62269,CA,2,2,0,65,38052,60739,False,False,False,False,True,133996.46875,3650391.25, +exact_k,27394,NC,1,1,0,30,38975,36731,False,False,False,False,False,30.581626892089844,237389.75, +exact_k,58570,CA,3,3,0,42,40000,35573,False,True,False,False,False,0.33684059977531433,2615.0263671875, +exact_k,56665,OR,4,1,3,49,44848,44848,True,False,False,True,False,22534.44921875,166688.76003591754, +exact_k,13283,IL,2,2,0,75,45000,104014,False,False,False,False,True,10.20099925994873,79147.0078125, +exact_k,18019,MO,3,2,1,48,45385,49338,False,False,False,True,False,336.27996826171875,169324.25, +exact_k,56195,OR,1,1,0,67,46366,45273,False,False,False,False,False,30269.009765625,25329726.0, +exact_k,28145,NC,3,2,1,40,46809,46809,False,True,False,True,False,276.321044921875,6193.88330078125, +exact_k,44022,TX,3,3,0,59,47360,635695,False,False,False,False,False,18.659420013427734,130668.1875, +exact_k,56280,OR,3,2,1,34,47671,50882,False,False,False,True,False,7336.52392578125,42112.33984375, +exact_k,56756,OR,3,2,1,56,52200,58430,False,True,False,True,False,4704.720703125,44498.4609375, +exact_k,270,ME,5,3,2,42,54852,70000,False,True,False,True,True,90.18890380859375,221388.09375, +exact_k,33762,FL,1,1,0,55,55000,63185,False,False,False,False,False,13.370569229125977,333.5394287109375, +exact_k,20557,NE,2,2,0,71,63027,50423,False,False,False,False,True,233.29904174804688,65072.15234375, +exact_k,24717,VA,2,2,0,29,72248,72500,True,True,False,True,False,42858.40625,367486.4375, +exact_k,64429,HI,3,3,0,73,74820,363822,False,False,False,False,True,19.65647315979004,154037.26326826087, +exact_k,34297,FL,2,2,0,38,77000,80537,False,False,False,False,False,81155.78125,5629292.0, +exact_k,59100,CA,3,3,0,26,80000,83849,False,True,False,False,False,103343.1953125,8579807.0, +exact_k,52955,UT,2,2,0,23,82400,82400,False,False,False,False,False,19696.49609375,10917018.0, +exact_k,49681,CO,2,2,0,59,86000,71301,False,True,False,False,False,93606.0,2785814.0, +exact_k,3743,RI,1,1,0,44,89000,91135,False,False,False,False,False,33.851470947265625,262506.9264359276, +exact_k,64464,HI,5,2,3,45,94900,102900,False,True,False,True,False,8290.6796875,20313.30078125, +exact_k,47135,MT,2,2,0,53,100000,100134,False,False,False,False,False,62.14695358276367,481725.96875, +exact_k,29221,SC,4,1,3,34,101000,99635,False,False,False,False,False,67.37395477294922,540773.625, +exact_k,57580,CA,2,2,0,80,105705,352708,False,False,False,False,True,43.719566345214844,330032.8125, +exact_k,4140,CT,1,1,0,54,106000,108798,False,False,False,False,False,259.9901428222656,2066717.6770075003, +exact_k,922,NH,4,2,2,36,106451,102073,False,False,False,False,False,28.468475341796875,218970.79083339532, +exact_k,24939,VA,4,2,2,41,118000,118000,False,True,False,False,False,36521.28515625,4935217.0, +exact_k,46555,TX,2,2,0,57,125000,214486,False,False,False,False,False,95604.7265625,546126.875, +exact_k,16029,WI,5,4,1,67,138403,242791,False,True,False,True,False,149.05230712890625,125111.1171875, +exact_k,6038,NY,1,1,0,47,142000,142000,False,False,False,False,False,50.98606872558594,395447.5625, +exact_k,49060,WY,5,2,3,43,156007,153170,False,False,False,False,False,40.85176086425781,317216.0625, +exact_k,20216,SD,5,2,3,36,161645,160248,False,False,False,False,False,51.039424896240234,390160.34110044176, +exact_k,12979,IL,4,2,2,44,169616,193083,False,False,False,False,False,5189.01611328125,11379065.0, +exact_k,38166,MS,5,3,2,41,183084,182892,False,False,False,False,False,18.081716537475586,140232.62256267248, +exact_k,22843,MD,2,2,0,39,185000,326284,False,False,False,False,False,22.871009826660156,175979.890625, +exact_k,3698,RI,2,2,0,52,200032,241171,False,False,False,False,False,120.71095275878906,916202.8125, +exact_k,856,NH,4,2,2,45,202343,203468,False,False,False,False,False,19.55774688720703,152917.01561711536, +exact_k,58951,CA,2,1,1,47,205913,205963,False,False,False,False,False,209.43186950683594,1683496.5949438615, +exact_k,47006,MT,4,2,2,40,210199,210643,False,False,False,False,False,204.40545654296875,1391576.0, +exact_k,30790,GA,7,4,3,54,222865,222865,False,True,False,True,False,24163.740234375,97802.5078125, +exact_k,25559,VA,2,2,0,55,234444,556759,False,False,False,False,False,23893.205078125,1041538.75, +exact_k,15275,MI,4,3,1,47,276000,378654,False,False,False,False,False,31.881072998046875,247566.50601701546, +exact_k,13545,IL,2,2,0,48,292781,298948,False,False,False,False,False,85.24276733398438,679024.4230856604, +exact_k,13153,IL,3,3,0,51,306147,306337,False,True,False,True,False,116.95110321044922,257374.921875, +exact_k,58004,CA,4,2,2,41,470000,575849,False,False,False,False,False,15.007290840148926,116078.5703125, +exact_k,57698,CA,2,2,0,53,497094,499145,False,False,False,False,False,75.25212860107422,587480.549525889, +exact_k,5739,NY,1,1,0,34,630000,635419,False,False,False,False,False,45283.6015625,3122592.0, +exact_k,68764,MI,2,2,0,41,1206835,51066004,False,False,False,False,False,0.058948397636413574,457.8871154785156, +exact_k,69434,CO,2,2,0,47,2412800,44866136,False,False,False,False,False,0.07478661835193634,580.2024294698126, +exact_k,70009,GA,1,1,0,45,3536550,39563960,False,False,False,False,False,0.07111112028360367,552.1371459960938, +exact_k,67905,SC,2,2,0,38,44515000,50488812,False,False,False,False,False,0.11123019456863403,860.4219867873236, diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/inputs.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/inputs.json new file mode 100644 index 0000000000..4c3f7cce1c --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/inputs.json @@ -0,0 +1,1163 @@ +{ + "release_id": "populace-us-2024-5da5a95-20260611", + "source": { + "git_head": "2b85b7b220c33811336913ab29d97acbf1274455", + "script_sha256": "12ee1e6fca64eee09ad2521851be5015cf54826471c8a210db55a1011a9fe0ad", + "modules_sha256": { + "microcosm.calibrate.solve": "de380f489c84d6773e8c63fc41333ce038bc6f81447fb9388b939620b4c5b4c4", + "microcosm.calibrate.gates": "14608a5ee02132f06eaad4a59de3b051c8b8e1d07bd1768f4eb57f237173cef7", + "microcosm.calibrate.exact_k": "8a400c46e4c94773dc0d83122f173c8c3bd405694d411989b10f792597b94196", + "microcosm.calibrate.matrix": "ca609f47ba7f5bf55ab8a0c85c07d2dac9b7a52fffcf0816f8289f143764c55a" + } + }, + "h5_sha256": "f32c2e5e9098bc6540724fdd5debf963af495da4c29b3a7a63fb53c2a4bb5a34", + "loader": "microcosm.build.us_runtime.h5_io.load_legacy_calibrated_us_h5", + "entity_rows": { + "person": 160858, + "household": 75112, + "tax_unit": 87519, + "spm_unit": 76665, + "family": 79365, + "marital_unit": 124087 + }, + "household_weight_total": 160159870.92574474, + "engine": { + "policyengine_us": "2.2.1", + "policyengine_core": "3.32.5", + "torch": "2.12.0", + "numpy": "2.4.6" + }, + "formula_owned_columns_dropped": { + "person": [ + "dividend_income", + "employment_income", + "employment_income_last_year", + "has_itin", + "has_marketplace_health_coverage", + "has_tin", + "is_adult", + "is_child", + "is_senior", + "long_term_capital_gains", + "partnership_s_corp_income", + "self_employment_income", + "social_security", + "ssi", + "tax_exempt_pension_income", + "taxable_pension_income", + "taxable_unemployment_compensation", + "traditional_ira_contributions" + ], + "household": [ + "household_size", + "in_nyc" + ], + "tax_unit": [ + "self_employed_pension_contribution_ald" + ], + "spm_unit": [ + "spm_unit_capped_work_childcare_expenses" + ] + }, + "formula_owned_column_deltas": [ + { + "entity": "household", + "column": "household_size", + "stored_weighted_total": 383700237.6109103, + "engine_weighted_total": 332820503.1785946, + "relative_delta": -0.13260282232066298, + "share_rows_equal": 0.6690542123761849 + }, + { + "entity": "household", + "column": "in_nyc", + "stored_weighted_total": 5936302.898156692, + "engine_weighted_total": 4433657.462758418, + "relative_delta": -0.2531281609408555, + "share_rows_equal": 0.9794307167962509 + }, + { + "entity": "person", + "column": "dividend_income", + "stored_weighted_total": 118145864860.964, + "engine_weighted_total": 511011038007.09875, + "relative_delta": 3.325255383321837, + "share_rows_equal": 0.7364880826567531 + }, + { + "entity": "person", + "column": "employment_income", + "stored_weighted_total": 11247659076927.707, + "engine_weighted_total": 11247659081483.463, + "relative_delta": 4.0504035801727044e-10, + "share_rows_equal": 1.0 + }, + { + "entity": "person", + "column": "employment_income_last_year", + "stored_weighted_total": 3615566318966.0127, + "engine_weighted_total": 0.0, + "relative_delta": -1.0, + "share_rows_equal": 0.8600566959678723 + }, + { + "entity": "person", + "column": "has_itin", + "stored_weighted_total": 332820503.1785946, + "engine_weighted_total": 332820503.1785946, + "relative_delta": 0.0, + "share_rows_equal": 1.0 + }, + { + "entity": "person", + "column": "has_marketplace_health_coverage", + "stored_weighted_total": 8771759.0553855, + "engine_weighted_total": 8771759.0553855, + "relative_delta": 0.0, + "share_rows_equal": 1.0 + }, + { + "entity": "person", + "column": "has_tin", + "stored_weighted_total": 332820503.1785946, + "engine_weighted_total": 332820503.1785946, + "relative_delta": 0.0, + "share_rows_equal": 1.0 + }, + { + "entity": "person", + "column": "is_adult", + "stored_weighted_total": 260233995.27405953, + "engine_weighted_total": 260268106.07451433, + "relative_delta": 0.0001310774190699887, + "share_rows_equal": 0.883543249325492 + }, + { + "entity": "person", + "column": "is_child", + "stored_weighted_total": 72552397.10408023, + "engine_weighted_total": 72552397.10408023, + "relative_delta": 0.0, + "share_rows_equal": 1.0 + }, + { + "entity": "person", + "column": "is_senior", + "stored_weighted_total": 57577009.01343762, + "engine_weighted_total": 57580461.21247432, + "relative_delta": 5.9957943211141294e-05, + "share_rows_equal": 0.9908117718733293 + }, + { + "entity": "person", + "column": "long_term_capital_gains", + "stored_weighted_total": 1170383819251.4192, + "engine_weighted_total": 1170383824911.0078, + "relative_delta": 4.8356688890886785e-09, + "share_rows_equal": 1.0 + }, + { + "entity": "person", + "column": "partnership_s_corp_income", + "stored_weighted_total": 1017162531455.0698, + "engine_weighted_total": 0.0, + "relative_delta": -1.0, + "share_rows_equal": 0.8972323415683398 + }, + { + "entity": "person", + "column": "self_employment_income", + "stored_weighted_total": 436674336039.95447, + "engine_weighted_total": 436674336120.3378, + "relative_delta": 1.8408080160005418e-10, + "share_rows_equal": 1.0 + }, + { + "entity": "person", + "column": "social_security", + "stored_weighted_total": 1541691232829.4585, + "engine_weighted_total": 1541476996042.9045, + "relative_delta": -0.0001389621877532295, + "share_rows_equal": 0.9874485571124842 + }, + { + "entity": "person", + "column": "ssi", + "stored_weighted_total": 74060609375.13206, + "engine_weighted_total": 57359572890.410675, + "relative_delta": -0.22550498335933533, + "share_rows_equal": 0.9820960101455942 + }, + { + "entity": "person", + "column": "tax_exempt_pension_income", + "stored_weighted_total": 796064119645.3206, + "engine_weighted_total": 796064119022.2234, + "relative_delta": -7.827223367966459e-10, + "share_rows_equal": 1.0 + }, + { + "entity": "person", + "column": "taxable_pension_income", + "stored_weighted_total": 1095181869344.0452, + "engine_weighted_total": 1095181870609.8865, + "relative_delta": 1.1558274876773851e-09, + "share_rows_equal": 1.0 + }, + { + "entity": "person", + "column": "taxable_unemployment_compensation", + "stored_weighted_total": 49339239161.67011, + "engine_weighted_total": 33121456770.59806, + "relative_delta": -0.32869948273687744, + "share_rows_equal": 0.9988374839920924 + }, + { + "entity": "person", + "column": "traditional_ira_contributions", + "stored_weighted_total": 14037942442.630386, + "engine_weighted_total": 15875847981.385954, + "relative_delta": 0.13092413979232603, + "share_rows_equal": 0.835631426475525 + }, + { + "entity": "spm_unit", + "column": "spm_unit_capped_work_childcare_expenses", + "stored_weighted_total": 387534909364.02563, + "engine_weighted_total": 203426679850.69913, + "relative_delta": -0.4750752127478326, + "share_rows_equal": 0.3322507011021979 + }, + { + "entity": "tax_unit", + "column": "self_employed_pension_contribution_ald", + "stored_weighted_total": 36548176399.52983, + "engine_weighted_total": 283488016.28144133, + "relative_delta": -0.9922434429235958, + "share_rows_equal": 0.9710577131822804 + } + ], + "policybench_run_dir": "paper/snapshot/20260501/runs/us_full_run_20260612_policyengine_4_16_1_populace", + "policybench_scenarios_csv_sha256": "71b16212f0c0b3e5d13d8694ce57e362c23248665806c4d6dea7b23ef472858a", + "policybench_scenarios_meta_sha256": "03a66e90b86e9bd0cc77f27520784bd581777762f749675dc716e24c1b8eaebb", + "registry": { + "feed_dir": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact", + "feed_facts_sha256": "4d1dba8c1b6274877bf184fa6de5d99b13fc61f34709ccab1487db2b5c64a79f", + "feed_manifest_sha256": "38ec5bf1efe5a0bd017ec5279065e2ea7645b37da237197f03ae2fbca28cadac", + "feed_rows": 39158, + "crosswalk": "congressional_district_vintage_crosswalk.csv", + "crosswalk_sha256": "c7cb040b1f57ca2ea2adcbfe60cc2b250ca23acbc4b640cd421e766fa54c1aec", + "age_targets": true, + "allow_unaged_dollar_targets": false, + "medicaid_enrollment_substitutions": 1, + "compiled_specs_all_geographies": 32867, + "specs_by_geography_level_and_scope": { + "congressional_district|None": 24340, + "country|None": 487, + "country|national": 18, + "state|None": 7104, + "state|state": 918 + }, + "national_rule": "metadata.ledger_geography_level == 'country' or metadata.geography_scope == 'national'", + "national_specs_declared": 505, + "national_families_declared": { + "bea": 2, + "cbo": 5, + "census_population": 18, + "cms_medicaid": 3, + "cms_medicare": 1, + "federal_reserve": 1, + "hhs_acf_liheap": 1, + "hhs_acf_tanf": 1, + "irs_soi": 451, + "jct": 11, + "ssa": 9, + "usda_snap": 2 + }, + "labelled_filter_restatements": { + "refused_by_origin_main_guard": 302, + "accepted_as_verified_restatements": 302, + "accepted_keys": { + "ledger_filter_age_lower_bound": 21, + "ledger_filter_age_upper_bound": 19, + "ledger_filter_us.tax.earned_income_credit_qualifying_children_lower_bound": 61, + "ledger_filter_us:statutes/26/62#adjusted_gross_income_lower_bound": 264, + "ledger_filter_us:statutes/26/62#adjusted_gross_income_upper_bound": 264 + }, + "excluded_specs": {} + } + }, + "materialization": { + "function": "tools/build_us_fiscal_refresh_release.py::_materialize_target_frame", + "household_batches": 6, + "national_specs_after_restatements": 505, + "national_specs_compiled": 505, + "national_specs_used_after_poverty_spm_exclusion": 504, + "dropped_target_names": [], + "compiled_families": { + "bea": 2, + "cbo": 5, + "census_population": 18, + "cms_medicaid": 3, + "cms_medicare": 1, + "federal_reserve": 1, + "hhs_acf_tanf": 1, + "irs_soi": 451, + "jct": 11, + "ssa": 9, + "usda_snap": 2 + }, + "batch_invariance_check": { + "window_households": 400, + "window": "last 200 households of batch 1 and first 200 of batch 2, re-materialized together in one child", + "measure_columns_compared": 505, + "cells_differing": 0, + "max_abs_difference": 0.0 + }, + "household_columns_replaced_by_measures": [] + }, + "national_agi_by_band_rows": [], + "headline_rules": { + "population by age band (Census PEP)": "census_pep.cy2024.national_resident_population_age.", + "wages and salaries (BEA NIPA)": "bea_nipa.cy2024.total_wages_salaries.", + "wages and salaries (CBO)": "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.", + "SNAP benefits (USDA)": "usda_snap.fy2024.national_benefits.national_total.total_benefits", + "SNAP average monthly households (USDA)": "usda_snap.fy2024.national_average_monthly_households.", + "Medicaid enrollment (CMS, Dec 2024)": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "SSI payments (SSA)": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.", + "SSI recipients by age (SSA)": "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.", + "EITC amount and returns (IRS SOI TY2024 filing season)": "irs_soi.ty2024.filing_season_week47.eitc_all_returns.", + "AGI and return count (IRS SOI Table 1.1)": "irs_soi.ty2023.table_1_1.all.", + "AGI (CBO)": "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income." + }, + "headline_targets_per_rule": { + "population by age band (Census PEP)": 18, + "wages and salaries (BEA NIPA)": 1, + "wages and salaries (CBO)": 1, + "SNAP benefits (USDA)": 1, + "SNAP average monthly households (USDA)": 1, + "Medicaid enrollment (CMS, Dec 2024)": 1, + "SSI payments (SSA)": 1, + "SSI recipients by age (SSA)": 3, + "EITC amount and returns (IRS SOI TY2024 filing season)": 2, + "AGI and return count (IRS SOI Table 1.1)": 2, + "AGI (CBO)": 1 + }, + "poverty_spm_check": { + "rule": "exclude any compiled target whose name, or whose base/source/filter variable, contains 'poverty' or 'spm'", + "excluded_targets": { + "hhs_acf_liheap.fy2024.national_profile.state_programs.households_served": [ + "base_variable=spm_unit_energy_subsidy" + ] + }, + "target_names_matching_poverty_or_spm_after_exclusion": [], + "base_variables_matching_poverty_or_spm_after_exclusion": [] + }, + "descriptor_columns_from_target_measures": { + "employment_income": { + "target": "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "measure_column": "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "household_value": "household value of the target's measure", + "spec_metadata": { + "materializer": "policyengine_variable", + "base_variable": "employment_income", + "measure_mode": "sum", + "ledger_domain": "individual_income_tax_returns" + } + }, + "agi_or_total_income": { + "target": "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income.projected_amount", + "measure_column": "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income.projected_amount", + "household_value": "household value of the target's measure", + "spec_metadata": { + "materializer": "policyengine_variable", + "base_variable": "adjusted_gross_income", + "measure_mode": "sum", + "ledger_domain": "individual_income_tax_returns" + } + }, + "receives_snap": { + "target": "usda_snap.fy2024.national_benefits.national_total.total_benefits", + "measure_column": "usda_snap.fy2024.national_benefits.national_total.total_benefits", + "household_value": "measure > 0", + "spec_metadata": { + "materializer": "policyengine_variable", + "base_variable": "snap", + "measure_mode": "sum", + "ledger_domain": "supplemental_nutrition_assistance_program" + } + }, + "receives_medicaid": { + "target": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "measure_column": "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "household_value": "measure > 0", + "spec_metadata": { + "materializer": "policyengine_variable", + "base_variable": "medicaid_enrolled", + "measure_mode": "indicator_sum", + "ledger_domain": "medicaid_chip_enrollment" + } + }, + "receives_ssi": { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "measure_column": "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "household_value": "measure > 0", + "spec_metadata": { + "materializer": "policyengine_variable", + "base_variable": "ssi", + "measure_mode": "sum", + "ledger_domain": "social_security_and_ssi_payments" + } + }, + "eitc_positive": { + "target": "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_amount", + "measure_column": "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_amount", + "household_value": "measure > 0", + "spec_metadata": { + "materializer": "irs_soi_slice", + "base_variable": "eitc", + "source_variable": "eitc", + "variable": "eitc", + "measure_mode": "sum", + "filing_status": "All", + "agi_lower_bound": "-inf", + "agi_upper_bound": "inf", + "ledger_domain": "all_individual_income_tax_returns" + } + }, + "social_security_positive": { + "target": "ssa_supplement.cy2024.oasdi_ssi_payments.social_security_benefits.payment_amount", + "measure_column": "ssa_supplement.cy2024.oasdi_ssi_payments.social_security_benefits.payment_amount", + "household_value": "measure > 0", + "spec_metadata": { + "materializer": "policyengine_variable", + "base_variable": "social_security", + "measure_mode": "sum", + "ledger_domain": "social_security_and_ssi_payments" + } + } + }, + "frozen_draw": { + "route_to_ids": "scenarios.csv scenario_json.metadata.household_id (PolicyBench writes the source household id there)", + "reproduction": "policybench/scenarios.py draw re-run here: eligibility filter, numpy.random.default_rng(seed).choice(ids, requested, replace=False, p=w/sum(w)), then split_scenarios' sha256 id-hash public split", + "meta": { + "seed": 42, + "requested_num_scenarios": 125, + "num_scenarios": 100, + "private_fraction": 0.2, + "split_seed": 1042, + "split": "public" + }, + "certified_data_build_id": "populace-us-2024-5da5a95-20260611", + "certified_data_artifact_sha256": "f32c2e5e9098bc6540724fdd5debf963af495da4c29b3a7a63fb53c2a4bb5a34", + "policybench_engine": { + "policyengine_us": "1.723.0", + "policyengine": "4.16.1" + }, + "eligibility_basis_used": "filing_status_as_shipped", + "by_filing_status_basis": { + "filing_status_as_shipped": { + "eligible_households": 63128, + "eligible_weight_total": 123234383.85038802, + "reproduced_ids_equal_in_order": true, + "reproduced_overlap_with_frozen": 100 + }, + "filing_status_measured": { + "eligible_households": 63128, + "eligible_weight_total": 123234383.85038802, + "reproduced_ids_equal_in_order": true, + "reproduced_overlap_with_frozen": 100 + } + }, + "filing_status_bases_agree_share_of_households": 1.0, + "all_frozen_ids_in_file": true, + "all_frozen_ids_eligible": true, + "row_checks_file_vs_scenarios_csv": { + "of": 100, + "state_equal": 100, + "filing_status_equal": 100, + "adults_equal": 100, + "children_equal": 100, + "employment_income_equal_within_1_dollar": 100, + "employment_income_equal_exactly": 81, + "total_income_equal_exactly": 55, + "total_income_equal_within_1_dollar": 100, + "total_income_fields_present_in_file": [ + "alimony_income", + "child_support_received", + "disability_benefits", + "employment_income", + "estate_income", + "farm_income", + "farm_operations_income", + "farm_rent_income", + "miscellaneous_income", + "non_qualified_dividend_income", + "partnership_s_corp_income", + "partnership_se_income", + "qualified_dividend_income", + "rental_income", + "salt_refund_income", + "self_employment_income", + "short_term_capital_gains", + "social_security_dependents", + "social_security_disability", + "social_security_retirement", + "social_security_survivors", + "tax_exempt_interest_income", + "taxable_401k_distributions", + "taxable_403b_distributions", + "taxable_interest_income", + "taxable_ira_distributions", + "taxable_private_pension_income", + "taxable_sep_distributions", + "unemployment_compensation", + "veterans_benefits", + "workers_compensation", + "long_term_capital_gains" + ], + "total_income_fields_absent_from_file": [ + "ssi_reported" + ] + }, + "pps_first_order_inclusion": { + "exact_k_module_offers_successive_sampling_probabilities": false, + "weight_used": "sum of eligible design weights / 100 (self-weighting approximation)", + "max_requested_times_p": 0.38506175122244984, + "max_public_n_times_p": 0.30804940097795985, + "note": "microcosm.calibrate.exact_k supplies inclusion probabilities only for its own Sampford draw (select_exact_k); it has no function for numpy Generator.choice(replace=False, p=...), so the self-weighting approximation is used and checked empirically against the seed draws (sampling_distribution.json self_weighting_check)" + } + }, + "pool": { + "households": 75112, + "household_weight_total": 160159870.92574474, + "eligible_households": 63128, + "eligible_weight_total": 123234383.85038802, + "eligible_weight_share": 0.7694460737142043 + }, + "settings": { + "resource_limits": { + "omp_num_threads": 4, + "concurrent_compute_processes": 2, + "max_rss_gb": 32, + "rss_guard_gb": 31.0, + "minimum_free_disk_gib": 10 + }, + "sample_refit": { + "method": "adam", + "mass": "free", + "max_weight_ratio": 10.0, + "epochs": 1024, + "learning_rate": 0.02, + "seed": 0 + }, + "exact_k_selection": { + "method": "adam", + "mass": "conserve", + "max_weight_ratio": null, + "target_records": 100, + "budget_basis": "nonzero_count", + "epochs": 1024, + "learning_rate": 0.02, + "init_mean": 0.5, + "temperature": 0.25, + "budget_iters": 10, + "seed": 0 + }, + "exact_k_draw_pi_hi": 0.95, + "exact_k_draw_seed": 0, + "sampling_distribution": { + "n_seeds": 200, + "seed_generator_seed": 20260922 + }, + "fit_scale": "s = max(|target|, 1) (microcosm.calibrate.default_target_loss_scales)", + "capped_mape_cap": 10.0, + "target_loss_weights": "equal (calibrate default)" + }, + "smoke_households": null, + "pipeline_test_synthetic_measures": false, + "target_sets": { + "national_all": { + "targets_compiled_on_frame": 504, + "targets_skipped_on_frame": [], + "target_names": [ + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.6k_to_7k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.12k_to_13k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.real_estate_taxes_amount", + "census_pep.cy2024.national_resident_population_age.20_to_24.population", + "irs_soi.ty2023.table_1_4.all.taxable_pension_income_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.schedule_c_income_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.3k_to_4k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.40k_to_45k.eitc_total", + "ssa_supplement.cy2024.oasdi_ssi_payments.social_security_benefits.payment_amount", + "irs_soi.ty2022.historic_table_2.us.all.taxable_social_security_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.income_tax_before_credits_amount", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.ordinary_dividends_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.20k_to_25k.total_earned_income_credit_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.8k_to_9k.eitc_total", + "bea_nipa.cy2024.total_wages_salaries.a034rc.wages_salaries_amount", + "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income.projected_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.17k_to_18k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.25k_to_30k.eitc_returns", + "cbo.revenue_projection.ty2024.income_by_source.net_capital_gain.projected_amount", + "irs_soi.ty2022.historic_table_2.us.200k_to_500k.taxable_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.17k_to_18k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.eitc_claims", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.11k_to_12k.eitc_returns", + "irs_soi.ty2023.table_1_4.all.net_capital_gains_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.under_1.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.medical_dental_expense_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.4k_to_5k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.total.eitc_total", + "irs_soi.ty2022.table_1_4.all.other_income_net_loss_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.11k_to_12k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.40k_to_45k.eitc_total", + "federal_reserve_z1.cy2023.households_nonprofits_balance_sheet.net_worth.fl152090005.amount_outstanding", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.18k_to_19k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.1k_to_2k.eitc_returns", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.real_estate_taxes_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.4k_to_5k.eitc_returns", + "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.40k_to_45k.eitc_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.50k_to_75k.total_earned_income_credit_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.actc_amount", + "census_pep.cy2024.national_resident_population_age.70_to_74.population", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.partnership_scorp_income_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.11k_to_12k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.15k_to_16k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.35k_to_40k.eitc_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.taxable_interest_amount", + "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.20k_to_25k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.10k_to_11k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.4k_to_5k.eitc_total", + "irs_soi.ty2023.table_1_1.all.return_count", + "irs_soi.ty2023.table_1_4.all.taxable_pension_income_returns", + "irs_soi.ty2023.table_1_4.all.unemployment_compensation_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.3k_to_4k.eitc_total", + "irs_soi.ty2023.table_1_2.all_returns.all.total_itemized_deductions_amount", + "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "irs_soi.ty2023.table_2_5.eitc_all_returns.total.adjusted_gross_income", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.2k_to_3k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.1k_to_2k.eitc_total", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.limited_state_local_taxes_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.6k_to_7k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.14k_to_15k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.1k_to_2k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.total.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.19k_to_20k.eitc_total", + "irs_soi.ty2023.table_1_4.all.taxable_social_security_amount", + "irs_soi.ty2022.historic_table_2.us.50k_to_75k.taxable_interest_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.13k_to_14k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.25k_to_30k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.5k_to_6k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.45k_to_50k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.taxable_ira_distributions_amount", + "irs_soi.ty2020.form_w2_social_security_tips.box_7_social_security_tips.return_count", + "irs_soi.ty2023.table_1_4.all.taxable_social_security_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.15k_to_16k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.9k_to_10k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.11k_to_12k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1_to_1k.eitc_returns", + "irs_soi.ty2023.table_1_4.all.wages_salaries_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.9k_to_10k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.25k_to_30k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.40k_to_45k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "ssa_supplement.cy2024.oasdi_ssi_payments.social_security_disability_benefits.payment_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.35k_to_40k.eitc_returns", + "irs_soi.ty2022.table_1_4.all.other_income_net_loss_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.45k_to_50k.eitc_total", + "irs_soi.ty2023.table_1_4.all.taxable_ira_distributions_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.40k_to_45k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.7k_to_8k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.500k_to_1m.taxable_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.11k_to_12k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.8k_to_9k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.100k_to_200k.taxable_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.9k_to_10k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.12k_to_13k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.under_1.eitc_total", + "irs_soi.ty2022.historic_table_2.us.25k_to_50k.taxable_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.6k_to_7k.eitc_total", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.200k_to_250k.total_earned_income_credit_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.under_1.eitc_returns", + "irs_soi.ty2023.table_1_4.all.estate_trust_net_loss_amount", + "irs_soi.ty2023.table_2_5.eitc_all_returns.total.total_earned_income_credit_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.25k_to_30k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.10k_to_11k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.13k_to_14k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.7k_to_8k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.3k_to_4k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.20k_to_25k.eitc_total", + "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.18k_to_19k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.15k_to_16k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.10k_to_11k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.11k_to_12k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.13k_to_14k.eitc_total", + "irs_soi.ty2023.table_1_4.all.net_capital_gains_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.40k_to_50k.total_earned_income_credit_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.under_1.eitc_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.500k_to_1m.total_earned_income_credit_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.13k_to_14k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.40k_to_45k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.30k_to_35k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.14k_to_15k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.50k_to_75k.taxable_interest_amount", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.taxable_ira_distributions_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.1_to_1k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.20k_to_25k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.35k_to_40k.eitc_total", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.25k_to_30k.total_earned_income_credit_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1_to_1k.eitc_total", + "irs_soi.ty2023.state_2022.us.return_count.all_returns.return_count", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.9k_to_10k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.16k_to_17k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.1k_to_2k.eitc_returns", + "irs_soi.ty2023.table_1_4.all.taxable_ira_distributions_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.8k_to_9k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.6k_to_7k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.total.eitc_returns", + "ssa_supplement.cy2024.oasdi_ssi_payments.social_security_retirement_benefits.payment_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.16k_to_17k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.itemized_deductions_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.12k_to_13k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.40k_to_45k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.45k_to_50k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.under_1.eitc_total", + "irs_soi.ty2023.table_1_1.all.adjusted_gross_income", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.19k_to_20k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.50k_plus.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.6k_to_7k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.50k_plus.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.4k_to_5k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.18k_to_19k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.11k_to_12k.eitc_total", + "census_pep.cy2024.national_resident_population_age.50_to_54.population", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.35k_to_40k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.19k_to_20k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.50k_plus.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.unemployment_compensation_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.19k_to_20k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.50k_plus.eitc_returns", + "irs_soi.ty2022.table_1_4.all.other_income_net_income_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.50k_plus.eitc_total", + "irs_soi.ty2022.table_1_4.all.other_income_net_income_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.4k_to_5k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.2k_to_3k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.under_1.taxable_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.8k_to_9k.eitc_total", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.taxable_pension_income_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.7k_to_8k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.1k_to_2k.eitc_total", + "ssa_supplement.cy2024.oasdi_ssi_payments.social_security_survivors_benefits.payment_amount", + "irs_soi.ty2022.historic_table_2.us.200k_to_500k.taxable_interest_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.5k_to_10k.total_earned_income_credit_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.adjusted_gross_income", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.taxable_ira_distributions_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.6k_to_7k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.taxable_pension_income_amount", + "irs_soi.ty2023.table_1_4.all.unemployment_compensation_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.qualified_business_income_deduction_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.12k_to_13k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.17k_to_18k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.13k_to_14k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.7k_to_8k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.30k_to_35k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.8k_to_9k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.17k_to_18k.eitc_returns", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.home_mortgage_interest_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.10k_to_11k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.11k_to_12k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.ordinary_dividends_returns", + "irs_soi.ty2022.historic_table_2.us.500k_to_1m.taxable_interest_returns", + "irs_soi.ty2022.historic_table_2.us.all.income_tax_liability_amount", + "irs_soi.ty2023.table_1_4.all.wages_salaries_amount", + "cms_medicaid.month2024_12.state_enrollment.us.total_chip_enrollment", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.medical_dental_expense_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.2k_to_3k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.50k_plus.eitc_returns", + "census_pep.cy2024.national_resident_population_age.60_to_64.population", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.25k_to_30k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.4k_to_5k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.total.eitc_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.taxable_pension_income_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.20k_to_25k.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.qualified_dividends_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.50k_plus.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.real_estate_taxes_claims", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.taxable_interest_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.14k_to_15k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.7k_to_8k.eitc_total", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.75k_to_100k.total_earned_income_credit_returns", + "census_pep.cy2024.national_resident_population_age.35_to_39.population", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_claims", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.schedule_c_income_amount", + "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.5k_to_6k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.12k_to_13k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.wages_salaries_amount", + "irs_soi.ty2022.historic_table_2.us.all.medical_dental_expense_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.total.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.18k_to_19k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.3k_to_4k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.tax_exempt_interest_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.under_1.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.12k_to_13k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.12k_to_13k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.6k_to_7k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.18k_to_19k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.35k_to_40k.eitc_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.net_capital_gains_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.19k_to_20k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.13k_to_14k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.35k_to_40k.eitc_returns", + "usda_snap.fy2024.national_benefits.national_total.total_benefits", + "irs_soi.ty2022.historic_table_2.us.all.qualified_dividends_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.7k_to_8k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.10k_to_11k.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_one_child_claims", + "census_pep.cy2024.national_resident_population_age.40_to_44.population", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.30k_to_35k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.25k_to_30k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.8k_to_9k.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.itemized_deductions_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.30k_to_40k.total_earned_income_credit_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.19k_to_20k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.5k_to_6k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.8k_to_9k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.total.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_no_children_claims", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.4k_to_5k.eitc_total", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.1_to_5k.total_earned_income_credit_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.7k_to_8k.eitc_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.250k_to_500k.total_earned_income_credit_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.return_count", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.8k_to_9k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.3k_to_4k.eitc_returns", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.taxable_ira_distributions_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.35k_to_40k.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.interest_paid_deduction_amount", + "irs_soi.ty2023.table_1_4.all.estate_trust_net_income_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.under_1.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_all_returns.total.total_earned_income_credit_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.taxable_ira_distributions_amount", + "cbo.revenue_projection.ty2024.income_by_source.qualified_dividend_income.projected_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.75k_to_100k.total_earned_income_credit_amount", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.ordinary_dividends_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.25k_to_30k.total_earned_income_credit_amount", + "irs_soi.ty2022.historic_table_2.us.all.taxable_social_security_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.9k_to_10k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.20k_to_25k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.15k_to_16k.eitc_total", + "census_pep.cy2024.national_resident_population_age.85_plus.population", + "cms_medicare.cy2024.part_b_premium_income.premiums_from_enrollees.actual_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.16k_to_17k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.13k_to_14k.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.unemployment_compensation_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.10k_to_15k.total_earned_income_credit_returns", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.taxable_interest_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.18k_to_19k.eitc_total", + "usda_snap.fy2024.national_average_monthly_households.national_total.average_monthly_households", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.30k_to_35k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.schedule_c_income_amount", + "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.interest_paid_deduction_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.16k_to_17k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.limited_state_local_taxes_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.20k_to_25k.eitc_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.ordinary_dividends_amount", + "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_chip_enrollment", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.18k_to_19k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.30k_to_35k.eitc_total", + "irs_soi.ty2023.state_2022.us.eitc_three_or_more_children_returns.three_or_more_qualifying_children.return_count", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.25k_to_30k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.17k_to_18k.eitc_total", + "census_pep.cy2024.national_resident_population_age.15_to_19.population", + "irs_soi.ty2023.table_1_4.all.estate_trust_net_loss_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.3k_to_4k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.actc_amount", + "irs_soi.ty2022.historic_table_2.us.all.taxable_pension_income_returns", + "census_pep.cy2024.national_resident_population_age.55_to_59.population", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.5k_to_6k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.ctc_claims", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.12k_to_13k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.45k_to_50k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.20k_to_25k.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.qualified_dividends_amount", + "irs_soi.ty2023.table_1_4.all.estate_trust_net_income_amount", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.taxable_social_security_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.15k_to_16k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.9k_to_10k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.5k_to_6k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.14k_to_15k.eitc_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.actc_claims", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.17k_to_18k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.14k_to_15k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.2k_to_3k.eitc_total", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.30k_to_40k.total_earned_income_credit_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.charitable_returns", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.charitable_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.45k_to_50k.eitc_total", + "irs_soi.ty2023.form_w2_social_security_tips.box_7_social_security_tips.amount", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.interest_paid_deduction_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.25k_to_30k.eitc_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.15k_to_20k.total_earned_income_credit_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.30k_to_35k.eitc_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.income_tax_liability_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.1_to_5k.total_earned_income_credit_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.taxable_social_security_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.2k_to_3k.eitc_returns", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.home_mortgage_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.1_to_1k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.actc_claims", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.10k_to_11k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.50k_plus.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.rental_royalty_income_returns", + "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.9k_to_10k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.4k_to_5k.eitc_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.40k_to_50k.total_earned_income_credit_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.40k_to_45k.eitc_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.taxable_social_security_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.19k_to_20k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.1m_plus.taxable_interest_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.15k_to_20k.total_earned_income_credit_returns", + "irs_soi.ty2022.historic_table_2.us.1m_plus.taxable_interest_returns", + "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.charitable_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_returns", + "census_pep.cy2024.national_resident_population_age.10_to_14.population", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.ordinary_dividends_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.7k_to_8k.eitc_returns", + "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.5k_to_6k.eitc_returns", + "cbo.revenue_projection.ty2024.income_by_source.net_business_income.projected_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.100k_to_200k.total_earned_income_credit_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.19k_to_20k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.10k_to_11k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.75k_to_100k.taxable_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.1k_to_2k.eitc_total", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.20k_to_25k.total_earned_income_credit_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.5k_to_6k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.taxable_income_returns", + "irs_soi.ty2022.historic_table_2.us.under_1.taxable_interest_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.3k_to_4k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.10k_to_25k.taxable_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.20k_to_25k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.75k_to_100k.taxable_interest_returns", + "irs_soi.ty2022.historic_table_2.us.all.qualified_dividends_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.16k_to_17k.eitc_total", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.1m_plus.total_earned_income_credit_amount", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.taxable_income_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.rental_royalty_income_amount", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.charitable_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_one_child_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.income_tax_liability_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.45k_to_50k.eitc_total", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.adjusted_gross_income", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.qualified_business_income_deduction_amount", + "irs_soi.ty2022.historic_table_2.us.1_to_10k.taxable_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.1_to_1k.eitc_total", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.real_estate_taxes_claims", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.2k_to_3k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.10k_to_11k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.unemployment_compensation_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.250k_to_500k.total_earned_income_credit_amount", + "bea_nipa.cy2023.proprietors_income.a041rc.amount", + "irs_soi.ty2022.historic_table_2.us.all.ordinary_dividends_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.premium_tax_credit_returns", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.interest_paid_deduction_amount", + "irs_soi.ty2022.historic_table_2.us.100k_to_200k.taxable_interest_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.3k_to_4k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.6k_to_7k.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.ordinary_dividends_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.35k_to_40k.eitc_total", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.taxable_income_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.total.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.1_to_1k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.9k_to_10k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.taxable_income_amount", + "irs_soi.ty2023.table_1_2.all_returns.all.adjusted_gross_income", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.45k_to_50k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.14k_to_15k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.1_to_1k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.total.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.premium_tax_credit_returns", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.return_count", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.limited_state_local_taxes_returns", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.taxable_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.1_to_1k.eitc_returns", + "irs_soi.ty2023.table_1_2.all_returns.all.taxable_income_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.17k_to_18k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.taxable_ira_distributions_returns", + "irs_soi.ty2022.historic_table_2.us.all.tax_exempt_interest_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.45k_to_50k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.14k_to_15k.eitc_total", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.total_itemized_deductions_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_two_children_claims", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.under_1.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.taxable_pension_income_returns", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.itemized_deductions_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.18k_to_19k.eitc_total", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.ordinary_dividends_amount", + "irs_soi.ty2022.historic_table_2.us.all.medical_dental_expense_returns", + "census_pep.cy2024.national_resident_population_age.65_to_69.population", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.16k_to_17k.eitc_total", + "census_pep.cy2024.national_resident_population_age.80_to_84.population", + "irs_soi.ty2022.historic_table_2.us.all.ctc_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.1m_plus.total_earned_income_credit_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.net_capital_gains_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.2k_to_3k.eitc_total", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_no_children_amount", + "irs_soi.ty2022.historic_table_2.us.all.rental_royalty_income_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.limited_state_local_taxes_amount", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.16k_to_17k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.premium_tax_credit_amount", + "irs_soi.ty2023.table_1_2.all_returns.all.return_count", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.13k_to_14k.eitc_total", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.100k_to_200k.total_earned_income_credit_returns", + "census_pep.cy2024.national_resident_population_age.45_to_49.population", + "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.50k_to_75k.total_earned_income_credit_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.500k_to_1m.total_earned_income_credit_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_three_or_more_children_claims", + "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "ssa_supplement.cy2024.oasdi_ssi_payments.social_security_dependents_benefits.payment_amount", + "census_pep.cy2024.national_resident_population_age.5_to_9.population", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.200k_to_250k.total_earned_income_credit_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.16k_to_17k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.2k_to_3k.eitc_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total", + "irs_soi.ty2022.historic_table_2.us.all.partnership_scorp_income_amount", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.limited_state_local_taxes_returns", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.under_1.total_earned_income_credit_amount", + "irs_soi.ty2022.historic_table_2.us.1_to_10k.taxable_interest_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.tax_exempt_interest_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.15k_to_16k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.rental_royalty_income_returns", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.adjusted_gross_income", + "irs_soi.ty2022.historic_table_2.us.all.wages_salaries_returns", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.taxable_pension_income_amount", + "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "irs_soi.ty2022.historic_table_2.us.all.eitc_amount", + "hhs_acf_tanf.fy2024.cash_assistance.us.basic_assistance_excluding_relative_foster_care_and_adoption_guardianship.all_funds", + "irs_soi.ty2022.historic_table_2.us.all.income_tax_before_credits_returns", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.one_qualifying_child.14k_to_15k.eitc_total", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.5k_to_6k.eitc_returns", + "irs_soi.ty2022.historic_table_2.us.all.partnership_scorp_income_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.tax_exempt_interest_amount", + "irs_soi.ty2022.historic_table_2.us.all.schedule_c_income_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_two_children_amount", + "irs_soi.ty2022.historic_table_2.us.all.return_count", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.unemployment_compensation_returns", + "irs_soi.ty2022.historic_table_2.us.10k_to_25k.taxable_interest_returns", + "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count", + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.17k_to_18k.eitc_total", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.5k_to_10k.total_earned_income_credit_returns", + "irs_soi.ty2022.historic_table_2.us.25k_to_50k.taxable_interest_returns", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_three_or_more_children_amount", + "irs_soi.ty2023.table_2_1.itemized_all_returns.all.taxable_social_security_amount", + "irs_soi.ty2023.table_4_3.all_returns_excluding_dependents.all.taxable_interest_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.income_tax_before_credits_returns", + "irs_soi.ty2022.historic_table_2.us.all.limited_state_local_taxes_returns", + "irs_soi.ty2022.historic_table_2.us.all.adjusted_gross_income", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.partnership_scorp_income_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.10k_to_15k.total_earned_income_credit_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.eitc_amount", + "irs_soi.ty2024.filing_season_week47.eitc_by_agi.under_1.total_earned_income_credit_returns", + "irs_soi.ty2022.historic_table_2.us.all.income_tax_liability_returns", + "irs_soi.ty2022.historic_table_2.us.all.income_tax_before_credits_amount", + "irs_soi.ty2023.congressional_district_2022.all_returns.us.taxable_interest_returns", + "jct.tax_expenditures.cy2024.salt_deduction.revenue_loss", + "jct.tax_expenditures.cy2024.medical_expense_deduction.revenue_loss", + "jct.tax_expenditures.cy2024.charitable_deduction.revenue_loss", + "jct.tax_expenditures.cy2024.deductible_mortgage_interest.revenue_loss", + "jct.tax_expenditures.cy2024.qualified_business_income_deduction.revenue_loss", + "jct.tax_expenditures.cy2024.self_employed_health_insurance_deduction.revenue_loss", + "jct.tax_expenditures.cy2024.health_savings_account_deduction.revenue_loss", + "jct.tax_expenditures.cy2024.student_loan_interest_deduction.revenue_loss", + "jct.tax_expenditures.cy2024.self_employed_pension_contribution_deduction.revenue_loss", + "jct.tax_expenditures.cy2024.traditional_ira_deduction.revenue_loss", + "jct.tax_expenditures.cy2024.cdcc_and_employer_child_care_exclusion.revenue_loss" + ] + }, + "headline": { + "targets_compiled_on_frame": 32, + "targets_skipped_on_frame": [], + "target_names": [ + "census_pep.cy2024.national_resident_population_age.20_to_24.population", + "bea_nipa.cy2024.total_wages_salaries.a034rc.wages_salaries_amount", + "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income.projected_amount", + "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_amount", + "census_pep.cy2024.national_resident_population_age.70_to_74.population", + "irs_soi.ty2023.table_1_1.all.return_count", + "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "irs_soi.ty2023.table_1_1.all.adjusted_gross_income", + "census_pep.cy2024.national_resident_population_age.50_to_54.population", + "census_pep.cy2024.national_resident_population_age.60_to_64.population", + "census_pep.cy2024.national_resident_population_age.35_to_39.population", + "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "usda_snap.fy2024.national_benefits.national_total.total_benefits", + "census_pep.cy2024.national_resident_population_age.40_to_44.population", + "census_pep.cy2024.national_resident_population_age.85_plus.population", + "usda_snap.fy2024.national_average_monthly_households.national_total.average_monthly_households", + "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_returns", + "census_pep.cy2024.national_resident_population_age.15_to_19.population", + "census_pep.cy2024.national_resident_population_age.55_to_59.population", + "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "census_pep.cy2024.national_resident_population_age.10_to_14.population", + "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "census_pep.cy2024.national_resident_population_age.65_to_69.population", + "census_pep.cy2024.national_resident_population_age.80_to_84.population", + "census_pep.cy2024.national_resident_population_age.45_to_49.population", + "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "census_pep.cy2024.national_resident_population_age.5_to_9.population", + "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count" + ] + } + }, + "headline_target_names": [ + "census_pep.cy2024.national_resident_population_age.20_to_24.population", + "bea_nipa.cy2024.total_wages_salaries.a034rc.wages_salaries_amount", + "cbo.revenue_projection.ty2024.income_by_source.adjusted_gross_income.projected_amount", + "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_amount", + "census_pep.cy2024.national_resident_population_age.70_to_74.population", + "irs_soi.ty2023.table_1_1.all.return_count", + "census_pep.cy2024.national_resident_population_age.30_to_34.population", + "irs_soi.ty2023.table_1_1.all.adjusted_gross_income", + "census_pep.cy2024.national_resident_population_age.50_to_54.population", + "census_pep.cy2024.national_resident_population_age.60_to_64.population", + "census_pep.cy2024.national_resident_population_age.35_to_39.population", + "cbo.revenue_projection.ty2024.income_by_source.wages_and_salaries.projected_amount", + "usda_snap.fy2024.national_benefits.national_total.total_benefits", + "census_pep.cy2024.national_resident_population_age.40_to_44.population", + "census_pep.cy2024.national_resident_population_age.85_plus.population", + "usda_snap.fy2024.national_average_monthly_households.national_total.average_monthly_households", + "irs_soi.ty2024.filing_season_week47.eitc_all_returns.earned_income_credit.total_earned_income_credit_returns", + "census_pep.cy2024.national_resident_population_age.15_to_19.population", + "census_pep.cy2024.national_resident_population_age.55_to_59.population", + "census_pep.cy2024.national_resident_population_age.75_to_79.population", + "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_18_to_64.recipient_count", + "census_pep.cy2024.national_resident_population_age.10_to_14.population", + "cms_medicaid.month2024_12.state_enrollment.us.total_medicaid_enrollment", + "census_pep.cy2024.national_resident_population_age.65_to_69.population", + "census_pep.cy2024.national_resident_population_age.80_to_84.population", + "census_pep.cy2024.national_resident_population_age.45_to_49.population", + "census_pep.cy2024.national_resident_population_age.0_to_4.population", + "census_pep.cy2024.national_resident_population_age.25_to_29.population", + "census_pep.cy2024.national_resident_population_age.5_to_9.population", + "ssa_supplement.cy2024.oasdi_ssi_payments.ssi_payments.payment_amount", + "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.under_18.recipient_count", + "ssa_ssi_monthly.month2024_12.ssi_federal_payment_recipients.by_age.age_65_or_older.recipient_count" + ] +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/leverage.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/leverage.json new file mode 100644 index 0000000000..4a7097d9ff --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/leverage.json @@ -0,0 +1,153 @@ +{ + "design_weight_p99_threshold": 68014.52664062499, + "design_weight_median_population": 36.224700927734375, + "employment_income_p90_population_weighted": 188210.0, + "employment_income_p99_population_weighted": 500000.0, + "sampled": { + "households": 100, + "in_top_1pct_design_weight": 58, + "design_weight_percentile_median": 0.9924446160400469, + "one_person_households": 58, + "household_size_6_plus": 1, + "head_65_plus": 33, + "head_under_30": 14, + "with_children": 18, + "zero_employment_income": 36, + "employment_income_above_population_p90": 6, + "employment_income_above_population_p99": 0, + "receives_snap": 16, + "receives_medicaid": 17, + "receives_ssi": 5, + "eitc_positive": 11, + "social_security_positive": 43, + "receives_any_of_snap_medicaid_ssi": 21, + "receives_two_or_more_of_snap_medicaid_ssi_eitc": 16, + "distinct_states": 34, + "policybench_eligible": 100, + "weights": { + "n": 100, + "total": 123234383.85038804, + "max_over_mean": 0.9999999999999998, + "min_over_mean": 0.9999999999999998, + "top10_share": 0.09999999999999999, + "kish_ess": 100.00000000000007, + "n_above_5x_own_median": 0, + "n_above_10x_own_median": 0, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 0, + "n_above_10x_equal_share": 0 + }, + "calibrated_over_design_weight": { + "p05": 5.119402515843644, + "p50": 14.829749339718411, + "p95": 205.07675483580744, + "min": 4.307426570001348, + "max": 34033.1536642234 + }, + "top10_weight_households_profile": { + "one_person": 2, + "head_65_plus": 3, + "zero_employment_income": 5, + "receives_any_of_snap_medicaid_ssi": 2, + "share_of_mass": 0.09999999999999999 + } + }, + "exact_k_national_all": { + "households": 100, + "in_top_1pct_design_weight": 6, + "design_weight_percentile_median": 0.7285719991479391, + "one_person_households": 26, + "household_size_6_plus": 2, + "head_65_plus": 23, + "head_under_30": 8, + "with_children": 38, + "zero_employment_income": 24, + "employment_income_above_population_p90": 16, + "employment_income_above_population_p99": 5, + "receives_snap": 29, + "receives_medicaid": 36, + "receives_ssi": 1, + "eitc_positive": 35, + "social_security_positive": 26, + "receives_any_of_snap_medicaid_ssi": 44, + "receives_two_or_more_of_snap_medicaid_ssi_eitc": 34, + "distinct_states": 40, + "policybench_eligible": 76, + "weights": { + "n": 100, + "total": 120808697.6508767, + "max_over_mean": 20.966806606259432, + "min_over_mean": 0.00027608892008324453, + "top10_share": 0.7309143130172565, + "kish_ess": 12.372989047632847, + "n_above_5x_own_median": 16, + "n_above_10x_own_median": 12, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 4, + "n_above_10x_equal_share": 1 + }, + "calibrated_over_design_weight": { + "p05": 3.0756260606792987, + "p50": 3828.713933777191, + "p95": 7855.413677659952, + "min": 0.9405147575049518, + "max": 8038.397398199759 + }, + "top10_weight_households_profile": { + "one_person": 2, + "head_65_plus": 3, + "zero_employment_income": 3, + "receives_any_of_snap_medicaid_ssi": 4, + "share_of_mass": 0.7309143130172565 + } + }, + "exact_k_headline": { + "households": 100, + "in_top_1pct_design_weight": 11, + "design_weight_percentile_median": 0.6657191926722761, + "one_person_households": 33, + "household_size_6_plus": 1, + "head_65_plus": 19, + "head_under_30": 9, + "with_children": 25, + "zero_employment_income": 29, + "employment_income_above_population_p90": 22, + "employment_income_above_population_p99": 9, + "receives_snap": 23, + "receives_medicaid": 25, + "receives_ssi": 2, + "eitc_positive": 16, + "social_security_positive": 28, + "receives_any_of_snap_medicaid_ssi": 29, + "receives_two_or_more_of_snap_medicaid_ssi_eitc": 24, + "distinct_states": 39, + "policybench_eligible": 83, + "weights": { + "n": 100, + "total": 140718068.8757842, + "max_over_mean": 8.39647039956876, + "min_over_mean": 8.459575953257315e-05, + "top10_share": 0.5544056575198311, + "kish_ess": 24.458449331332954, + "n_above_5x_own_median": 24, + "n_above_10x_own_median": 14, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 5, + "n_above_10x_equal_share": 0 + }, + "calibrated_over_design_weight": { + "p05": 13.299319331577513, + "p50": 4953.520893406376, + "p95": 10575.62499074036, + "min": 0.949938354110905, + "max": 11464.648825435374 + }, + "top10_weight_households_profile": { + "one_person": 4, + "head_65_plus": 2, + "zero_employment_income": 3, + "receives_any_of_snap_medicaid_ssi": 3, + "share_of_mass": 0.5544056575198311 + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design1.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design1.json new file mode 100644 index 0000000000..a6af57fa9a --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design1.json @@ -0,0 +1,130 @@ +{ + "settings": { + "target_set": "national_all" + }, + "result": { + "weight_each": 1232343.8385038802, + "fit": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 0.8217276699394914, + "uncapped_mape": 18636754.799681842, + "median_abs_rel_error": 0.880974003179214, + "share_within_10pct": 0.08928571428571429, + "share_within_25pct": 0.1865079365079365, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total", + "relative_error": 9391691189.77729 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns", + "relative_error": 1232343.8385038802 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 408.81753222946315 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 102.45557354484914 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total", + "relative_error": 9.349402039121749 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 408.81753222946315 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 102.45557354484914 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total", + "relative_error": 9.349402039121749 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_returns", + "relative_error": 8.535450950593736 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.4k_to_5k.eitc_total", + "relative_error": 4.830017834206068 + } + ] + }, + "weights": { + "n": 100, + "total": 123234383.85038804, + "max_over_mean": 0.9999999999999998, + "min_over_mean": 0.9999999999999998, + "top10_share": 0.09999999999999999, + "kish_ess": 100.00000000000007, + "n_above_5x_own_median": 0, + "n_above_10x_own_median": 0, + "equal_share": 1232343.8385038802, + "n_above_5x_equal_share": 0, + "n_above_10x_equal_share": 0 + } + }, + "file_total_sensitivity": { + "weight_each": 1601598.7092574474, + "fit": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 0.8434230791697641, + "uncapped_mape": 24221001.69026917, + "median_abs_rel_error": 0.9348712890910045, + "share_within_10pct": 0.12896825396825398, + "share_within_25pct": 0.2261904761904762, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total", + "relative_error": 12205782199.189768 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns", + "relative_error": 1601598.7092574474 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 531.6137155411386 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 133.45461232319667 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total", + "relative_error": 12.45045792379445 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 531.6137155411386 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 133.45461232319667 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_total", + "relative_error": 12.45045792379445 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.15k_to_16k.eitc_returns", + "relative_error": 11.392617593803584 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.4k_to_5k.eitc_total", + "relative_error": 6.576902441081939 + } + ] + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design2.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design2.json new file mode 100644 index 0000000000..f1a12ebcf2 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design2.json @@ -0,0 +1,83 @@ +{ + "settings": { + "method": "adam", + "mass": "free", + "max_weight_ratio": 10.0, + "epochs": 1024, + "learning_rate": 0.02, + "seed": 0 + }, + "result": { + "fit": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 0.6501257251453464, + "uncapped_mape": 21166819.46435176, + "median_abs_rel_error": 0.7036655674902923, + "share_within_10pct": 0.2876984126984127, + "share_within_25pct": 0.3551587301587302, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total", + "relative_error": 10666676983.536255 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns", + "relative_error": 1399642.875 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 77.21406791159356 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 18.74459513981709 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.50k_plus.eitc_returns", + "relative_error": 1.3045940275834988 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_total", + "relative_error": 77.21406791159356 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.1k_to_2k.eitc_returns", + "relative_error": 18.74459513981709 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.50k_plus.eitc_returns", + "relative_error": 1.3045940275834988 + }, + { + "target": "census_pep.cy2024.national_resident_population_age.45_to_49.population", + "relative_error": 1.2257703981811368 + }, + { + "target": "cbo.revenue_projection.ty2024.income_by_source.net_capital_gain.projected_amount", + "relative_error": -1.1533668682625544 + } + ] + }, + "weights": { + "n": 100, + "total": 189193988.60839844, + "max_over_mean": 6.5136488165633795, + "min_over_mean": 0.004665527444007631, + "top10_share": 0.4716903515614055, + "kish_ess": 32.0246732862653, + "n_above_5x_own_median": 15, + "n_above_10x_own_median": 5, + "equal_share": 1232343.8385038802, + "n_above_5x_equal_share": 8, + "n_above_10x_equal_share": 0 + }, + "skipped_on_subset": [] + }, + "runtime": { + "seconds": 2.03, + "peak_rss_gb": 3.51 + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design3.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design3.json new file mode 100644 index 0000000000..9206f02f64 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/national_all_design3.json @@ -0,0 +1,322 @@ +{ + "settings": { + "method": "adam", + "mass": "conserve", + "max_weight_ratio": null, + "target_records": 100, + "budget_basis": "nonzero_count", + "epochs": 1024, + "learning_rate": 0.02, + "init_mean": 0.5, + "temperature": 0.25, + "budget_iters": 10, + "seed": 0 + }, + "result": { + "selection": { + "settled_l0_lambda": 0.0004869675251658631, + "budget_basis": "nonzero_count", + "budget_measure_at_settle": 99, + "open_probability_mass": 529.7431049218867, + "gated_weights_nonzero_count": 99, + "deterministic_gate_open_threshold": 0.14204332884812804, + "gates_above_deterministic_threshold": 99, + "open_probability_mass_at_or_below_deterministic_threshold": 488.5042218884919, + "gates_open_prob_ge_0_5": 31, + "gates_open_prob_ge_pi_hi": 6, + "open_probability_rank_100": 0.14193828403949738, + "open_probability_rank_101": 0.1413019746541977, + "budget_search": { + "budget_basis": "nonzero_count", + "target_records": 100, + "tolerance": 5, + "budget_iters": 10, + "feasible_draw_pi_hi": null, + "evaluations": 7, + "probes": [ + { + "l0_lambda": 0.001, + "measure": 34, + "verdict": "not_required" + }, + { + "l0_lambda": 1e-05, + "measure": 1722, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0001, + "measure": 409, + "verdict": "not_required" + }, + { + "l0_lambda": 0.00031622776601683794, + "measure": 155, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0005623413251903491, + "measure": 89, + "verdict": "not_required" + }, + { + "l0_lambda": 0.00042169650342858224, + "measure": 121, + "verdict": "not_required" + }, + { + "l0_lambda": 0.0004869675251658631, + "measure": 99, + "verdict": "not_required" + } + ], + "selected_l0_lambda": 0.0004869675251658631, + "selected_measure": 99, + "selected_feasible": null, + "stopped_on": "acceptable_within_tolerance" + }, + "gated_fit_full_pool": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 3.092518841053196, + "uncapped_mape": 6.816186226484279, + "median_abs_rel_error": 1.0, + "share_within_10pct": 0.08134920634920635, + "share_within_25pct": 0.1130952380952381, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.12k_to_13k.eitc_total", + "relative_error": 58.571797143283426 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.under_1.eitc_total", + "relative_error": 57.52978176643155 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.19k_to_20k.eitc_total", + "relative_error": 56.227592156174595 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.40k_to_45k.eitc_total", + "relative_error": 55.82221478732036 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.40k_to_45k.eitc_returns", + "relative_error": 54.75970980992123 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.12k_to_13k.eitc_total", + "relative_error": 58.571797143283426 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.under_1.eitc_total", + "relative_error": 57.52978176643155 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.no_qualifying_children.19k_to_20k.eitc_total", + "relative_error": 56.227592156174595 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.40k_to_45k.eitc_total", + "relative_error": 55.82221478732036 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.40k_to_45k.eitc_returns", + "relative_error": 54.75970980992123 + } + ] + } + }, + "feasibility": { + "k": 100, + "pi_hi": 0.95, + "pool_size": 75112, + "certainty_count": 6, + "boundary_draw": 94, + "boundary_pool_size": 75106, + "boundary_positive": 75106, + "boundary_mass": 523.9627351632807, + "boundary_max": 0.9479897618293762, + "max_normalized_probability": 0.17007132689348983, + "feasible": true, + "reason": "feasible" + }, + "draw": { + "receipt": { + "k": 100, + "pi_hi": 0.95, + "seed": 0, + "certainty_count": 6, + "boundary_pool_size": 75106, + "design": "sampford" + }, + "pi_hi": 0.95, + "seed": 0, + "boundary_draw_needed": true, + "certainties": 6, + "boundary_draws": 94, + "boundary_draws_at_or_below_deterministic_threshold": 90, + "support_open_probability": { + "p05": 0.0052080283174291255, + "p50": 0.005533061921596527, + "p95": 0.9509554475545883, + "min": 0.00479876808822155, + "max": 0.9798791408538818 + }, + "inclusion_probability_min": 0.0008609089349689265, + "inclusion_probability_max": 1.0, + "support_in_top_100_open_probability": 10 + }, + "refit": { + "fit": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 0.5872030003777146, + "uncapped_mape": 0.5872030003777146, + "median_abs_rel_error": 0.7246694051729226, + "share_within_10pct": 0.23412698412698413, + "share_within_25pct": 0.33134920634920634, + "worst_five": [ + { + "target": "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns", + "relative_error": 2.0049738540236715 + }, + { + "target": "irs_soi.ty2022.historic_table_2.us.500k_to_1m.taxable_interest_returns", + "relative_error": 1.6511049293192464 + }, + { + "target": "jct.tax_expenditures.cy2024.health_savings_account_deduction.revenue_loss", + "relative_error": 1.55089637479148 + }, + { + "target": "irs_soi.ty2023.table_1_4.all.net_capital_gains_returns", + "relative_error": 1.146397331370595 + }, + { + "target": "irs_soi.ty2023.congressional_district_2022.all_returns.us.tax_exempt_interest_returns", + "relative_error": 1.0210124404478036 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns", + "relative_error": 2.0049738540236715 + }, + { + "target": "irs_soi.ty2022.historic_table_2.us.500k_to_1m.taxable_interest_returns", + "relative_error": 1.6511049293192464 + }, + { + "target": "jct.tax_expenditures.cy2024.health_savings_account_deduction.revenue_loss", + "relative_error": 1.55089637479148 + }, + { + "target": "irs_soi.ty2023.table_1_4.all.net_capital_gains_returns", + "relative_error": 1.146397331370595 + }, + { + "target": "irs_soi.ty2023.congressional_district_2022.all_returns.us.tax_exempt_interest_returns", + "relative_error": 1.0210124404478036 + } + ] + }, + "ht_baseline_fit": { + "n_targets": 504, + "n_zero_valued_targets": 26, + "capped_mape": 1.0098341154705983, + "uncapped_mape": 1.049736394845854, + "median_abs_rel_error": 0.9439357051831001, + "share_within_10pct": 0.10515873015873016, + "share_within_25pct": 0.17063492063492064, + "worst_five": [ + { + "target": "jct.tax_expenditures.cy2024.medical_expense_deduction.revenue_loss", + "relative_error": 16.268896650480645 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.8k_to_9k.eitc_total", + "relative_error": 15.438411690183528 + }, + { + "target": "irs_soi.ty2023.congressional_district_2022.all_returns.us.medical_dental_expense_amount", + "relative_error": 13.401225305734734 + }, + { + "target": "irs_soi.ty2022.historic_table_2.us.all.medical_dental_expense_amount", + "relative_error": 12.610542431291783 + }, + { + "target": "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns", + "relative_error": 12.391672727438168 + } + ], + "worst_five_nonzero_targets": [ + { + "target": "jct.tax_expenditures.cy2024.medical_expense_deduction.revenue_loss", + "relative_error": 16.268896650480645 + }, + { + "target": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.two_qualifying_children.8k_to_9k.eitc_total", + "relative_error": 15.438411690183528 + }, + { + "target": "irs_soi.ty2023.congressional_district_2022.all_returns.us.medical_dental_expense_amount", + "relative_error": 13.401225305734734 + }, + { + "target": "irs_soi.ty2022.historic_table_2.us.all.medical_dental_expense_amount", + "relative_error": 12.610542431291783 + }, + { + "target": "irs_soi.ty2023.table_1_4.all.capital_gain_distributions_returns", + "relative_error": 12.391672727438168 + } + ] + }, + "weights": { + "n": 100, + "total": 120808697.6508767, + "max_over_mean": 20.966806606259432, + "min_over_mean": 0.00027608892008324453, + "top10_share": 0.7309143130172565, + "kish_ess": 12.372989047632847, + "n_above_5x_own_median": 16, + "n_above_10x_own_median": 12, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 4, + "n_above_10x_equal_share": 1 + }, + "ht_baseline_weights": { + "n": 100, + "total": 160159870.92574474, + "max_over_mean": 16.46597259585643, + "min_over_mean": 2.858938079198158e-05, + "top10_share": 0.7849415369864743, + "kish_ess": 11.94601480026006, + "n_above_5x_own_median": 27, + "n_above_10x_own_median": 23, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 7, + "n_above_10x_equal_share": 3 + }, + "skipped_on_subset": [] + } + }, + "runtime": { + "national_all_design2_post_stratified": { + "seconds": 2.03, + "peak_rss_gb": 3.51 + }, + "national_all_design3_l0_selection": { + "seconds": 1657.17, + "peak_rss_gb": 3.931 + }, + "national_all_design3_refit": { + "seconds": 0.14, + "peak_rss_gb": 3.869 + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/overlap.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/overlap.json new file mode 100644 index 0000000000..5056f3f402 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/overlap.json @@ -0,0 +1,12 @@ +{ + "distinct_households_across_seed_draws": 3326, + "seed_draws": 200, + "frozen_100_in_any_seed_draw": 93, + "exact_k_national_all_in_frozen_100": 0, + "exact_k_national_all_in_any_seed_draw": 18, + "exact_k_national_all_policybench_eligible": 76, + "exact_k_headline_in_frozen_100": 0, + "exact_k_headline_in_any_seed_draw": 19, + "exact_k_headline_policybench_eligible": 83, + "exact_k_national_all_vs_headline_shared": 0 +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/run_fingerprint.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/run_fingerprint.json new file mode 100644 index 0000000000..d1b3439c81 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/run_fingerprint.json @@ -0,0 +1,23 @@ +{ + "h5_sha256": "f32c2e5e9098bc6540724fdd5debf963af495da4c29b3a7a63fb53c2a4bb5a34", + "feed_facts_sha256": "4d1dba8c1b6274877bf184fa6de5d99b13fc61f34709ccab1487db2b5c64a79f", + "smoke_households": null, + "pipeline_test_synthetic_measures": false, + "n_batches": 6, + "invariance_window": 200, + "policyengine_us": "2.2.1", + "policyengine_core": "3.32.5", + "release_tool_sha256": "9924278ea4c10d1199c5d682e73142f85f1ec128dfdb3d81f72f4c9fa60d277c", + "fiscal_targets_module_sha256": "f03f41fee2ec66bc35fd3e0641b90978631ab4c4e5f1eae1f6ef1db76921ce5b", + "h5_io_module_sha256": "342f76be56d67d2b465f0c5d121caa22ee7d271a165fc36edb6f0947bf108989", + "source": { + "git_head": "2b85b7b220c33811336913ab29d97acbf1274455", + "script_sha256": "12ee1e6fca64eee09ad2521851be5015cf54826471c8a210db55a1011a9fe0ad", + "modules_sha256": { + "microcosm.calibrate.solve": "de380f489c84d6773e8c63fc41333ce038bc6f81447fb9388b939620b4c5b4c4", + "microcosm.calibrate.gates": "14608a5ee02132f06eaad4a59de3b051c8b8e1d07bd1768f4eb57f237173cef7", + "microcosm.calibrate.exact_k": "8a400c46e4c94773dc0d83122f173c8c3bd405694d411989b10f792597b94196", + "microcosm.calibrate.matrix": "ca609f47ba7f5bf55ab8a0c85c07d2dac9b7a52fffcf0816f8289f143764c55a" + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/run_status.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/run_status.json new file mode 100644 index 0000000000..1ae2b2ac0a --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/run_status.json @@ -0,0 +1,6 @@ +{ + "status": "complete", + "smoke": false, + "seconds": 4331.78, + "seeds_completed": 200 +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/run_validation.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/run_validation.json new file mode 100644 index 0000000000..09da73dd39 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/run_validation.json @@ -0,0 +1,189 @@ +{ + "status": "passed", + "checks_count": 177, + "passed_count": 177, + "failed_checks": [], + "skipped_checks": [], + "checks": { + "household_rows_total": true, + "household_design_labels": true, + "household_sizes": true, + "household_json_mirror_columns": true, + "household_json_mirror_count": true, + "household_json_mirror.design": true, + "household_json_mirror.household_id": true, + "household_json_mirror.state": true, + "household_json_mirror.household_size": true, + "household_json_mirror.adults": true, + "household_json_mirror.children": true, + "household_json_mirror.head_age": true, + "household_json_mirror.employment_income": true, + "household_json_mirror.agi_or_total_income": true, + "household_json_mirror.receives_snap": true, + "household_json_mirror.receives_medicaid": true, + "household_json_mirror.receives_ssi": true, + "household_json_mirror.eitc_positive": true, + "household_json_mirror.social_security_positive": true, + "household_json_mirror.design_weight": true, + "household_json_mirror.calibrated_weight": true, + "household_json_mirror.post_stratified_weight": true, + "sampled.cardinality": true, + "sampled.identifier_list": true, + "sampled.income_order": true, + "sampled.positive_finite_weights": true, + "sampled.boolean.receives_snap": true, + "sampled.boolean.receives_medicaid": true, + "sampled.boolean.receives_ssi": true, + "sampled.boolean.eitc_positive": true, + "sampled.boolean.social_security_positive": true, + "sampled.contrast.households": true, + "sampled.contrast.one_person_households": true, + "sampled.contrast.household_size_6_plus": true, + "sampled.contrast.head_65_plus": true, + "sampled.contrast.head_under_30": true, + "sampled.contrast.with_children": true, + "sampled.contrast.distinct_states": true, + "sampled.contrast.receives_snap": true, + "sampled.contrast.receives_medicaid": true, + "sampled.contrast.receives_ssi": true, + "sampled.contrast.eitc_positive": true, + "sampled.contrast.social_security_positive": true, + "sampled.contrast.receives_any_of_snap_medicaid_ssi": true, + "sampled.contrast.receives_two_or_more_of_snap_medicaid_ssi_eitc": true, + "sampled.concentration.n": true, + "sampled.concentration.total": true, + "sampled.concentration.max_over_mean": true, + "sampled.concentration.min_over_mean": true, + "sampled.concentration.top10_share": true, + "sampled.concentration.kish_ess": true, + "exact_k.cardinality": true, + "exact_k.identifier_list": true, + "exact_k.income_order": true, + "exact_k.positive_finite_weights": true, + "exact_k.boolean.receives_snap": true, + "exact_k.boolean.receives_medicaid": true, + "exact_k.boolean.receives_ssi": true, + "exact_k.boolean.eitc_positive": true, + "exact_k.boolean.social_security_positive": true, + "exact_k.contrast.households": true, + "exact_k.contrast.one_person_households": true, + "exact_k.contrast.household_size_6_plus": true, + "exact_k.contrast.head_65_plus": true, + "exact_k.contrast.head_under_30": true, + "exact_k.contrast.with_children": true, + "exact_k.contrast.distinct_states": true, + "exact_k.contrast.receives_snap": true, + "exact_k.contrast.receives_medicaid": true, + "exact_k.contrast.receives_ssi": true, + "exact_k.contrast.eitc_positive": true, + "exact_k.contrast.social_security_positive": true, + "exact_k.contrast.receives_any_of_snap_medicaid_ssi": true, + "exact_k.contrast.receives_two_or_more_of_snap_medicaid_ssi_eitc": true, + "exact_k.concentration.n": true, + "exact_k.concentration.total": true, + "exact_k.concentration.max_over_mean": true, + "exact_k.concentration.min_over_mean": true, + "exact_k.concentration.top10_share": true, + "exact_k.concentration.kish_ess": true, + "targets.target_names_matching_poverty_or_spm_after_exclusion": true, + "targets.base_variables_matching_poverty_or_spm_after_exclusion": true, + "targets.national_all.count": true, + "targets.national_all.all_names": true, + "targets.national_all.no_poverty_spm_names": true, + "fit.national_all.full_file.target_count": true, + "fit.national_all.full_file.tolerance_shares": true, + "fit.national_all.design1_pps_self_weighted.target_count": true, + "fit.national_all.design1_pps_self_weighted.tolerance_shares": true, + "fit.national_all.design1b_pps_self_weighted_scaled_to_file_total.target_count": true, + "fit.national_all.design1b_pps_self_weighted_scaled_to_file_total.tolerance_shares": true, + "fit.national_all.design2_pps_post_stratified.target_count": true, + "fit.national_all.design2_pps_post_stratified.tolerance_shares": true, + "fit.national_all.design3_exact_k_refit.target_count": true, + "fit.national_all.design3_exact_k_refit.tolerance_shares": true, + "fit.national_all.design3_exact_k_ht_baseline_before_refit.target_count": true, + "fit.national_all.design3_exact_k_ht_baseline_before_refit.tolerance_shares": true, + "fit.national_all.design3_l0_gated_weights_full_pool.target_count": true, + "fit.national_all.design3_l0_gated_weights_full_pool.tolerance_shares": true, + "exact_k.national_all.cardinality": true, + "targets.headline.count": true, + "targets.headline.all_names": true, + "targets.headline.no_poverty_spm_names": true, + "fit.headline.full_file.target_count": true, + "fit.headline.full_file.tolerance_shares": true, + "fit.headline.design1_pps_self_weighted.target_count": true, + "fit.headline.design1_pps_self_weighted.tolerance_shares": true, + "fit.headline.design1b_pps_self_weighted_scaled_to_file_total.target_count": true, + "fit.headline.design1b_pps_self_weighted_scaled_to_file_total.tolerance_shares": true, + "fit.headline.design2_pps_post_stratified.target_count": true, + "fit.headline.design2_pps_post_stratified.tolerance_shares": true, + "fit.headline.design3_exact_k_refit.target_count": true, + "fit.headline.design3_exact_k_refit.tolerance_shares": true, + "fit.headline.design3_exact_k_ht_baseline_before_refit.target_count": true, + "fit.headline.design3_exact_k_ht_baseline_before_refit.tolerance_shares": true, + "fit.headline.design3_l0_gated_weights_full_pool.target_count": true, + "fit.headline.design3_l0_gated_weights_full_pool.tolerance_shares": true, + "exact_k.headline.cardinality": true, + "sampling.seed_count": true, + "sampling.fresh_seeds": true, + "sampling.national_all.design1.seed_alignment": true, + "sampling.national_all.design1.uncapped_mape.finite": true, + "sampling.national_all.design1.uncapped_mape.quantiles": true, + "sampling.national_all.design1.capped_mape.finite": true, + "sampling.national_all.design1.capped_mape.quantiles": true, + "sampling.national_all.design1.within10.finite": true, + "sampling.national_all.design1.within10.quantiles": true, + "sampling.national_all.design1.within25.finite": true, + "sampling.national_all.design1.within25.quantiles": true, + "sampling.national_all.design2.seed_alignment": true, + "sampling.national_all.design2.uncapped_mape.finite": true, + "sampling.national_all.design2.uncapped_mape.quantiles": true, + "sampling.national_all.design2.capped_mape.finite": true, + "sampling.national_all.design2.capped_mape.quantiles": true, + "sampling.national_all.design2.within10.finite": true, + "sampling.national_all.design2.within10.quantiles": true, + "sampling.national_all.design2.within25.finite": true, + "sampling.national_all.design2.within25.quantiles": true, + "sampling.national_all.design2.individual_runtime": true, + "sampling.headline.design1.seed_alignment": true, + "sampling.headline.design1.uncapped_mape.finite": true, + "sampling.headline.design1.uncapped_mape.quantiles": true, + "sampling.headline.design1.capped_mape.finite": true, + "sampling.headline.design1.capped_mape.quantiles": true, + "sampling.headline.design1.within10.finite": true, + "sampling.headline.design1.within10.quantiles": true, + "sampling.headline.design1.within25.finite": true, + "sampling.headline.design1.within25.quantiles": true, + "sampling.headline.design2.seed_alignment": true, + "sampling.headline.design2.uncapped_mape.finite": true, + "sampling.headline.design2.uncapped_mape.quantiles": true, + "sampling.headline.design2.capped_mape.finite": true, + "sampling.headline.design2.capped_mape.quantiles": true, + "sampling.headline.design2.within10.finite": true, + "sampling.headline.design2.within10.quantiles": true, + "sampling.headline.design2.within25.finite": true, + "sampling.headline.design2.within25.quantiles": true, + "sampling.headline.design2.individual_runtime": true, + "readme.generated.source": true, + "readme.generated.targets": true, + "readme.generated.frozen_draw": true, + "readme.generated.fit": true, + "readme.generated.worst": true, + "readme.generated.sampling": true, + "readme.generated.concentration": true, + "readme.generated.composition": true, + "readme.generated.descriptors": true, + "readme.generated.overlap": true, + "readme.generated.contrast": true, + "readme.generated.households_sampled": true, + "readme.generated.households_exact_k": true, + "readme.generated.leverage": true, + "readme.generated.exact_k": true, + "readme.generated.runtime": true, + "readme.generated.settings": true, + "readme.generated.reading": true, + "source.script_sha256": true + }, + "concentration_relative_tolerance": 0.0001, + "concentration_absolute_tolerance": 0.0001, + "source_verification_requested": true +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/runtime.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/runtime.json new file mode 100644 index 0000000000..171f880a9e --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/runtime.json @@ -0,0 +1,107 @@ +{ + "notes": { + "peak_rss_gb": "sampled every 0.25 s: this process plus any live child (psutil RSS sum)", + "child_peak_rss_gb": "the child's own getrusage high-water mark" + }, + "engine_facts_child": { + "seconds": 40.88, + "peak_rss_gb": 9.516, + "child_peak_rss_gb": 6.48634368 + }, + "target_compile": { + "seconds": 12.46, + "peak_rss_gb": 4.026 + }, + "materialize_all_batches": { + "seconds": 2114.12, + "peak_rss_gb": 16.263 + }, + "batch_invariance_child": { + "seconds": 178.87, + "peak_rss_gb": 6.123, + "child_peak_rss_gb": 4.650975232 + }, + "sampling_distribution": { + "seconds": 63.02, + "peak_rss_gb": 4.501, + "calibrations": 400 + }, + "per_calibration": { + "national_all_design2_post_stratified": { + "seconds": 2.03, + "peak_rss_gb": 3.51 + }, + "national_all_design3_l0_selection": { + "seconds": 1657.17, + "peak_rss_gb": 3.931 + }, + "national_all_design3_refit": { + "seconds": 0.14, + "peak_rss_gb": 3.869 + }, + "headline_design2_post_stratified": { + "seconds": 0.13, + "peak_rss_gb": 3.869 + }, + "headline_design3_l0_selection": { + "seconds": 229.56, + "peak_rss_gb": 4.499 + }, + "headline_design3_refit": { + "seconds": 0.25, + "peak_rss_gb": 4.5 + } + }, + "whole_run_seconds": 4331.6, + "parent_getrusage_high_water_gb": 4.501, + "materialization_batches": [ + { + "batch": 1, + "households": 12519, + "persons": 27199, + "seconds": 356.75, + "peak_rss_gb": 11.596, + "child_peak_rss_gb": 8.606 + }, + { + "batch": 2, + "households": 12519, + "persons": 27296, + "seconds": 427.13, + "peak_rss_gb": 11.457, + "child_peak_rss_gb": 10.758 + }, + { + "batch": 3, + "households": 12519, + "persons": 26935, + "seconds": 299.65, + "peak_rss_gb": 9.734, + "child_peak_rss_gb": 9.416 + }, + { + "batch": 4, + "households": 12519, + "persons": 27894, + "seconds": 269.92, + "peak_rss_gb": 10.165, + "child_peak_rss_gb": 9.74 + }, + { + "batch": 5, + "households": 12518, + "persons": 27973, + "seconds": 280.25, + "peak_rss_gb": 8.787, + "child_peak_rss_gb": 8.249 + }, + { + "batch": 6, + "households": 12518, + "persons": 23561, + "seconds": 480.42, + "peak_rss_gb": 16.263, + "child_peak_rss_gb": 15.706 + } + ] +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/sampling_distribution.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/sampling_distribution.json new file mode 100644 index 0000000000..4170d4061b --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/sampling_distribution.json @@ -0,0 +1,8480 @@ +{ + "procedure": "PolicyBench's own procedure per seed: PPS without replacement of 125 eligible households, then the id-hash public split (split_seed 1042), keeping the public 100; design 1 = self-weighted; design 2 = post-stratified with the sample-refit settings", + "seed_generator": "numpy.random.default_rng(20260922).integers(0, 2**31 - 1), skipping duplicates and PolicyBench's seed 42", + "seeds": [ + 1532009180, + 2129919777, + 1926506354, + 1866631624, + 1914807902, + 737276679, + 1238078731, + 1407801735, + 1736947865, + 1343677066, + 1500687924, + 1860250772, + 636413936, + 1578173517, + 1555667707, + 1011384468, + 1870858225, + 1246736694, + 434606789, + 595604501, + 1513158413, + 1774881996, + 1119164309, + 390315266, + 1046663207, + 1781691076, + 1409111333, + 726504131, + 100591433, + 827732712, + 478806322, + 930165619, + 1788282626, + 137354418, + 1284017857, + 1730630220, + 88752578, + 2088932291, + 1380922543, + 727733239, + 39520516, + 2134606925, + 1875266754, + 1740433011, + 988437747, + 1611143028, + 1437774242, + 151746818, + 1118411802, + 2016567772, + 2026886712, + 366099807, + 81115437, + 1674428023, + 988733458, + 169715272, + 450070876, + 1253889902, + 127854099, + 1766762779, + 1814963221, + 834687501, + 2130470468, + 1825423326, + 1159988727, + 300528324, + 418625375, + 2066889053, + 1262192692, + 1883057678, + 904811576, + 1825997340, + 1449527016, + 1740133331, + 73721642, + 1124158206, + 536900518, + 566748327, + 513144195, + 1493589832, + 236604464, + 730967731, + 935667708, + 1299644429, + 1204157455, + 1122474945, + 791607562, + 2007045677, + 702676148, + 673829134, + 1906551083, + 1542959021, + 267019143, + 486597684, + 1371678369, + 25744874, + 1002633504, + 2124412777, + 1741576743, + 93146892, + 1886922474, + 913404475, + 1713839694, + 1089653292, + 1229294345, + 1227172338, + 1785175443, + 270764336, + 765545859, + 1251541455, + 2092129028, + 412342320, + 1335091183, + 398669796, + 320187278, + 2070187752, + 437071165, + 25183784, + 1438013437, + 1388713365, + 2100523652, + 308002079, + 85068123, + 523179186, + 2078492899, + 285027182, + 369033186, + 836784705, + 606292271, + 2022743255, + 470598375, + 425738701, + 1287347334, + 124280073, + 147132687, + 1747639242, + 34088963, + 172713859, + 1310788031, + 632261458, + 1693442341, + 1796206519, + 554654912, + 543507701, + 149824273, + 773101718, + 1229380147, + 643945599, + 1706711560, + 1400124730, + 1305526663, + 1414561605, + 558741372, + 1191222897, + 1625022677, + 116842344, + 904933881, + 619970131, + 1170815813, + 1259125978, + 1837739832, + 997055587, + 14637070, + 1077674083, + 1055348740, + 1117287337, + 1736294372, + 985048728, + 1379909498, + 1638430584, + 1723067141, + 1378848541, + 868197522, + 647202149, + 2113214476, + 992271816, + 676736913, + 98112358, + 1683327068, + 2000893927, + 1602201121, + 220791302, + 394024601, + 422109773, + 1719685853, + 301499302, + 485027177, + 138278317, + 1683884968, + 1678079148, + 1653738625, + 1847357819, + 1606591099, + 1474745112, + 1256853321, + 1464829824, + 1528407391, + 1342072860, + 1443817095, + 1456505431 + ], + "run": { + "seeds_requested": 200, + "seeds_completed": 200, + "time_budget_minutes": 60.0, + "stopped_on_time_budget": false, + "total_run_budget_minutes": 150.0, + "effective_sampling_budget_seconds": 3600.0, + "reduction_reason": null + }, + "eligibility_filter": "policybench/scenarios.py::_eligible_households: one tax unit, one SPM unit, one family, >=1 adult (age >= 18), first-person filing status SINGLE/JOINT/HEAD_OF_HOUSEHOLD", + "eligible_households": 63128, + "self_weighting_check": { + "draws": 200, + "by_design_weight_decile": [ + { + "decile": 1, + "observed_inclusions": 0, + "expected_under_self_weighting": 0.030323144249359755 + }, + { + "decile": 2, + "observed_inclusions": 1, + "expected_under_self_weighting": 1.6289658390600983 + }, + { + "decile": 3, + "observed_inclusions": 6, + "expected_under_self_weighting": 9.886057964023603 + }, + { + "decile": 4, + "observed_inclusions": 18, + "expected_under_self_weighting": 17.700592765924068 + }, + { + "decile": 5, + "observed_inclusions": 28, + "expected_under_self_weighting": 27.394772883967292 + }, + { + "decile": 6, + "observed_inclusions": 40, + "expected_under_self_weighting": 40.75317194698663 + }, + { + "decile": 7, + "observed_inclusions": 68, + "expected_under_self_weighting": 61.337781253952265 + }, + { + "decile": 8, + "observed_inclusions": 94, + "expected_under_self_weighting": 100.29911100428896 + }, + { + "decile": 9, + "observed_inclusions": 214, + "expected_under_self_weighting": 198.30149830483475 + }, + { + "decile": 10, + "observed_inclusions": 19531, + "expected_under_self_weighting": 19542.667724892715 + } + ] + }, + "national_all": { + "design1_self_weighted": { + "capped_mape": { + "p05": 0.7438932689034681, + "p50": 0.838268388430044, + "p95": 0.9474852577853253, + "min": 0.7117839505609213, + "max": 1.3138792300690256 + }, + "uncapped_mape": { + "p05": 0.7699707084621478, + "p50": 1.0019107195907186, + "p95": 18937690.72543586, + "min": 0.7117839505609213, + "max": 37574443.74434932 + }, + "within10": { + "p05": 0.08333333333333333, + "p50": 0.10912698412698413, + "p95": 0.13898809523809522, + "min": 0.07341269841269842, + "max": 0.16666666666666666 + }, + "within25": { + "p05": 0.16666666666666666, + "p50": 0.20634920634920634, + "p95": 0.2619047619047619, + "min": 0.1349206349206349, + "max": 0.2857142857142857 + } + }, + "design2_post_stratified": { + "capped_mape": { + "p05": 0.5700434579230008, + "p50": 0.6267744147445147, + "p95": 0.6918368945854501, + "min": 0.5365128415851602, + "max": 0.742180438079956 + }, + "uncapped_mape": { + "p05": 0.5700434579230008, + "p50": 0.7829573074586882, + "p95": 22887014.703127813, + "min": 0.5365128415851602, + "max": 29322326.096829247 + }, + "within10": { + "p05": 0.2578373015873016, + "p50": 0.2857142857142857, + "p95": 0.3194444444444444, + "min": 0.25, + "max": 0.3333333333333333 + }, + "within25": { + "p05": 0.3392857142857143, + "p50": 0.37103174603174605, + "p95": 0.4027777777777778, + "min": 0.3134920634920635, + "max": 0.4305555555555556 + }, + "kish_ess": { + "p05": 28.319725675468607, + "p50": 31.976689856168516, + "p95": 37.806778770106284, + "min": 25.656495509386865, + "max": 41.73747680160105 + }, + "max_over_mean": { + "p05": 6.17585680769143, + "p50": 6.872455785755758, + "p95": 7.507319320871256, + "min": 5.30612727564133, + "max": 7.729380771868693 + } + }, + "frozen_draw_position": { + "design1_capped_mape": 0.8217276699394914, + "design1_uncapped_mape": 18636754.799681842, + "design1_uncapped_share_of_seeds_at_or_below": 0.935, + "design1_share_of_seeds_at_or_below": 0.415, + "design1_within10": 0.08928571428571429, + "design1_share_of_seeds_within10_at_or_below": 0.12, + "design2_capped_mape": 0.6501257251453464, + "design2_uncapped_mape": 21166819.46435176, + "design2_uncapped_share_of_seeds_at_or_below": 0.945, + "design2_share_of_seeds_at_or_below": 0.72, + "design2_within10": 0.2876984126984127, + "design2_share_of_seeds_within10_at_or_below": 0.585 + }, + "per_seed": { + "design1": [ + { + "seed": 1532009180, + "capped_mape": 0.8435396647775756, + "uncapped_mape": 2.3501876116517635, + "within10": 0.09722222222222222, + "within25": 0.19642857142857142 + }, + { + "seed": 2129919777, + "capped_mape": 0.84500309191253, + "uncapped_mape": 1.0897168956640542, + "within10": 0.10317460317460317, + "within25": 0.19246031746031747 + }, + { + "seed": 1926506354, + "capped_mape": 0.7693379190705094, + "uncapped_mape": 0.9339315518341402, + "within10": 0.11706349206349206, + "within25": 0.22023809523809523 + }, + { + "seed": 1866631624, + "capped_mape": 0.8347956061675339, + "uncapped_mape": 0.8812848012795899, + "within10": 0.1130952380952381, + "within25": 0.19444444444444445 + }, + { + "seed": 1914807902, + "capped_mape": 0.8205810658116893, + "uncapped_mape": 1.8315822723908353, + "within10": 0.12698412698412698, + "within25": 0.2261904761904762 + }, + { + "seed": 737276679, + "capped_mape": 0.881255510897704, + "uncapped_mape": 1.1140420125288482, + "within10": 0.10317460317460317, + "within25": 0.24801587301587302 + }, + { + "seed": 1238078731, + "capped_mape": 0.7994137588076295, + "uncapped_mape": 0.9017721102516333, + "within10": 0.09523809523809523, + "within25": 0.18452380952380953 + }, + { + "seed": 1407801735, + "capped_mape": 0.9132190670514627, + "uncapped_mape": 18937691.619652744, + "within10": 0.10317460317460317, + "within25": 0.19047619047619047 + }, + { + "seed": 1736947865, + "capped_mape": 0.7854952680775472, + "uncapped_mape": 1.0768810553408499, + "within10": 0.0873015873015873, + "within25": 0.19246031746031747 + }, + { + "seed": 1343677066, + "capped_mape": 0.7994408682057369, + "uncapped_mape": 0.8460933115676693, + "within10": 0.1388888888888889, + "within25": 0.21626984126984128 + }, + { + "seed": 1500687924, + "capped_mape": 0.8380774063221115, + "uncapped_mape": 1.0485038557615116, + "within10": 0.125, + "within25": 0.23214285714285715 + }, + { + "seed": 1860250772, + "capped_mape": 0.7785435952953735, + "uncapped_mape": 0.8461577358489076, + "within10": 0.10912698412698413, + "within25": 0.1865079365079365 + }, + { + "seed": 636413936, + "capped_mape": 0.9135773984551492, + "uncapped_mape": 18937690.949822053, + "within10": 0.10515873015873016, + "within25": 0.20238095238095238 + }, + { + "seed": 1578173517, + "capped_mape": 0.9739260711635593, + "uncapped_mape": 18636754.349916387, + "within10": 0.10912698412698413, + "within25": 0.20634920634920634 + }, + { + "seed": 1555667707, + "capped_mape": 0.799749035920841, + "uncapped_mape": 18937690.646987867, + "within10": 0.10317460317460317, + "within25": 0.19444444444444445 + }, + { + "seed": 1011384468, + "capped_mape": 0.7905689712246697, + "uncapped_mape": 0.9292006152994381, + "within10": 0.10912698412698413, + "within25": 0.1746031746031746 + }, + { + "seed": 1870858225, + "capped_mape": 0.7886982098091473, + "uncapped_mape": 0.8375301765907779, + "within10": 0.10912698412698413, + "within25": 0.19444444444444445 + }, + { + "seed": 1246736694, + "capped_mape": 0.8042647340991436, + "uncapped_mape": 18636754.041124944, + "within10": 0.1130952380952381, + "within25": 0.2123015873015873 + }, + { + "seed": 434606789, + "capped_mape": 0.8438649132691429, + "uncapped_mape": 0.9988752072382315, + "within10": 0.09325396825396826, + "within25": 0.19444444444444445 + }, + { + "seed": 595604501, + "capped_mape": 0.9434034486291903, + "uncapped_mape": 1.2930247916382913, + "within10": 0.125, + "within25": 0.21031746031746032 + }, + { + "seed": 1513158413, + "capped_mape": 0.7442620301739349, + "uncapped_mape": 0.7442620301739349, + "within10": 0.0992063492063492, + "within25": 0.24206349206349206 + }, + { + "seed": 1774881996, + "capped_mape": 0.7791313226340988, + "uncapped_mape": 18636753.803118393, + "within10": 0.13095238095238096, + "within25": 0.21626984126984128 + }, + { + "seed": 1119164309, + "capped_mape": 0.8286022799867103, + "uncapped_mape": 1.0049462319432059, + "within10": 0.10317460317460317, + "within25": 0.21825396825396826 + }, + { + "seed": 390315266, + "capped_mape": 0.7997385290641659, + "uncapped_mape": 0.9558307282679548, + "within10": 0.13690476190476192, + "within25": 0.22817460317460317 + }, + { + "seed": 1046663207, + "capped_mape": 0.8850375926418163, + "uncapped_mape": 18636754.133416362, + "within10": 0.13095238095238096, + "within25": 0.2123015873015873 + }, + { + "seed": 1781691076, + "capped_mape": 1.013725443480194, + "uncapped_mape": 18937691.065618295, + "within10": 0.125, + "within25": 0.21825396825396826 + }, + { + "seed": 1409111333, + "capped_mape": 0.9165138921727426, + "uncapped_mape": 1.04043183987491, + "within10": 0.11904761904761904, + "within25": 0.21825396825396826 + }, + { + "seed": 726504131, + "capped_mape": 0.7117839505609213, + "uncapped_mape": 0.7117839505609213, + "within10": 0.0873015873015873, + "within25": 0.16865079365079366 + }, + { + "seed": 100591433, + "capped_mape": 0.8041873581864687, + "uncapped_mape": 0.8323310054442619, + "within10": 0.11507936507936507, + "within25": 0.2222222222222222 + }, + { + "seed": 827732712, + "capped_mape": 0.868997495916651, + "uncapped_mape": 1.0692916602997404, + "within10": 0.10714285714285714, + "within25": 0.1884920634920635 + }, + { + "seed": 478806322, + "capped_mape": 0.73440253876154, + "uncapped_mape": 0.830365348247344, + "within10": 0.10515873015873016, + "within25": 0.2361111111111111 + }, + { + "seed": 930165619, + "capped_mape": 0.7704180745190231, + "uncapped_mape": 0.8320618041863873, + "within10": 0.12698412698412698, + "within25": 0.23214285714285715 + }, + { + "seed": 1788282626, + "capped_mape": 0.8826221919698187, + "uncapped_mape": 0.9521526118426564, + "within10": 0.07738095238095238, + "within25": 0.1349206349206349 + }, + { + "seed": 137354418, + "capped_mape": 0.8430119746367993, + "uncapped_mape": 18636753.860733345, + "within10": 0.11706349206349206, + "within25": 0.20238095238095238 + }, + { + "seed": 1284017857, + "capped_mape": 0.8411513866560947, + "uncapped_mape": 18937690.898026098, + "within10": 0.10912698412698413, + "within25": 0.18452380952380953 + }, + { + "seed": 1730630220, + "capped_mape": 0.862309921658184, + "uncapped_mape": 0.9290155916896449, + "within10": 0.12103174603174603, + "within25": 0.25793650793650796 + }, + { + "seed": 88752578, + "capped_mape": 0.8405271431116076, + "uncapped_mape": 1.415781916214019, + "within10": 0.10912698412698413, + "within25": 0.22420634920634921 + }, + { + "seed": 2088932291, + "capped_mape": 0.8629930667133157, + "uncapped_mape": 1.9060976417893065, + "within10": 0.11706349206349206, + "within25": 0.24603174603174602 + }, + { + "seed": 1380922543, + "capped_mape": 0.8630730169305967, + "uncapped_mape": 0.9806774299743779, + "within10": 0.12103174603174603, + "within25": 0.22023809523809523 + }, + { + "seed": 727733239, + "capped_mape": 0.7500305433492246, + "uncapped_mape": 0.7871765228476789, + "within10": 0.10515873015873016, + "within25": 0.21825396825396826 + }, + { + "seed": 39520516, + "capped_mape": 0.8260847034039329, + "uncapped_mape": 0.874337915975631, + "within10": 0.12103174603174603, + "within25": 0.2003968253968254 + }, + { + "seed": 2134606925, + "capped_mape": 0.7505855959242804, + "uncapped_mape": 0.760505701062245, + "within10": 0.11706349206349206, + "within25": 0.2718253968253968 + }, + { + "seed": 1875266754, + "capped_mape": 0.845893696896206, + "uncapped_mape": 0.952225985119288, + "within10": 0.10515873015873016, + "within25": 0.1865079365079365 + }, + { + "seed": 1740433011, + "capped_mape": 1.0062857336120978, + "uncapped_mape": 18937690.998111922, + "within10": 0.10912698412698413, + "within25": 0.1865079365079365 + }, + { + "seed": 988437747, + "capped_mape": 0.8745105108772431, + "uncapped_mape": 0.9897646255516275, + "within10": 0.0992063492063492, + "within25": 0.2003968253968254 + }, + { + "seed": 1611143028, + "capped_mape": 0.8963154546499967, + "uncapped_mape": 1.1394404918428476, + "within10": 0.14682539682539683, + "within25": 0.25396825396825395 + }, + { + "seed": 1437774242, + "capped_mape": 0.7165626449411886, + "uncapped_mape": 0.7165626449411886, + "within10": 0.10119047619047619, + "within25": 0.20833333333333334 + }, + { + "seed": 151746818, + "capped_mape": 0.9355030046893511, + "uncapped_mape": 18636754.21520658, + "within10": 0.09722222222222222, + "within25": 0.19642857142857142 + }, + { + "seed": 1118411802, + "capped_mape": 0.8378919342444616, + "uncapped_mape": 1.0872933435875196, + "within10": 0.09722222222222222, + "within25": 0.18055555555555555 + }, + { + "seed": 2016567772, + "capped_mape": 0.7329672475097913, + "uncapped_mape": 0.7547048008758572, + "within10": 0.10912698412698413, + "within25": 0.20238095238095238 + }, + { + "seed": 2026886712, + "capped_mape": 0.8732371727703427, + "uncapped_mape": 0.9738875878476803, + "within10": 0.08134920634920635, + "within25": 0.16468253968253968 + }, + { + "seed": 366099807, + "capped_mape": 0.9266181935174542, + "uncapped_mape": 18937691.04370443, + "within10": 0.10912698412698413, + "within25": 0.20833333333333334 + }, + { + "seed": 81115437, + "capped_mape": 0.8166217234461018, + "uncapped_mape": 1.6889790688279076, + "within10": 0.11507936507936507, + "within25": 0.19047619047619047 + }, + { + "seed": 1674428023, + "capped_mape": 0.8550711252303241, + "uncapped_mape": 0.97400222666553, + "within10": 0.08928571428571429, + "within25": 0.1746031746031746 + }, + { + "seed": 988733458, + "capped_mape": 0.9036591995739857, + "uncapped_mape": 18636753.925047226, + "within10": 0.10714285714285714, + "within25": 0.1865079365079365 + }, + { + "seed": 169715272, + "capped_mape": 0.8742855431064144, + "uncapped_mape": 18937690.716352165, + "within10": 0.0873015873015873, + "within25": 0.16865079365079366 + }, + { + "seed": 450070876, + "capped_mape": 0.8415116044410685, + "uncapped_mape": 0.8707576054198648, + "within10": 0.10912698412698413, + "within25": 0.2222222222222222 + }, + { + "seed": 1253889902, + "capped_mape": 0.9061779670195951, + "uncapped_mape": 98111.58245743274, + "within10": 0.09523809523809523, + "within25": 0.1626984126984127 + }, + { + "seed": 127854099, + "capped_mape": 0.8238231184359729, + "uncapped_mape": 0.9904805356418097, + "within10": 0.14285714285714285, + "within25": 0.2638888888888889 + }, + { + "seed": 1766762779, + "capped_mape": 0.8494257703894427, + "uncapped_mape": 0.9203220469361759, + "within10": 0.13095238095238096, + "within25": 0.2619047619047619 + }, + { + "seed": 1814963221, + "capped_mape": 0.8794151198871208, + "uncapped_mape": 1.0348742952393655, + "within10": 0.12301587301587301, + "within25": 0.23214285714285715 + }, + { + "seed": 834687501, + "capped_mape": 0.8745645732489529, + "uncapped_mape": 18937692.01840758, + "within10": 0.10912698412698413, + "within25": 0.21825396825396826 + }, + { + "seed": 2130470468, + "capped_mape": 0.8400860518476271, + "uncapped_mape": 1.0513070255050894, + "within10": 0.09523809523809523, + "within25": 0.19047619047619047 + }, + { + "seed": 1825423326, + "capped_mape": 0.9260364597008137, + "uncapped_mape": 1.3830281725870661, + "within10": 0.11706349206349206, + "within25": 0.21825396825396826 + }, + { + "seed": 1159988727, + "capped_mape": 0.8753253405329118, + "uncapped_mape": 1.0812071608414888, + "within10": 0.14285714285714285, + "within25": 0.23809523809523808 + }, + { + "seed": 300528324, + "capped_mape": 0.820711310787616, + "uncapped_mape": 0.8469410834297221, + "within10": 0.10912698412698413, + "within25": 0.1865079365079365 + }, + { + "seed": 418625375, + "capped_mape": 0.8466385689190671, + "uncapped_mape": 0.9059407202429747, + "within10": 0.12698412698412698, + "within25": 0.23809523809523808 + }, + { + "seed": 2066889053, + "capped_mape": 0.8650525166208997, + "uncapped_mape": 0.9885675758685076, + "within10": 0.09722222222222222, + "within25": 0.20238095238095238 + }, + { + "seed": 1262192692, + "capped_mape": 0.8585179624381578, + "uncapped_mape": 1.0680185564490898, + "within10": 0.08134920634920635, + "within25": 0.1765873015873016 + }, + { + "seed": 1883057678, + "capped_mape": 0.8019723347257997, + "uncapped_mape": 0.8066599403173332, + "within10": 0.09523809523809523, + "within25": 0.17261904761904762 + }, + { + "seed": 904811576, + "capped_mape": 0.866053656153268, + "uncapped_mape": 1.0781975381511564, + "within10": 0.10119047619047619, + "within25": 0.19047619047619047 + }, + { + "seed": 1825997340, + "capped_mape": 0.8857663091244374, + "uncapped_mape": 1.035289981185708, + "within10": 0.10714285714285714, + "within25": 0.2123015873015873 + }, + { + "seed": 1449527016, + "capped_mape": 0.7865438894253167, + "uncapped_mape": 0.8775885863210918, + "within10": 0.08928571428571429, + "within25": 0.17857142857142858 + }, + { + "seed": 1740133331, + "capped_mape": 0.7531863308374042, + "uncapped_mape": 0.7704688667463532, + "within10": 0.13095238095238096, + "within25": 0.2718253968253968 + }, + { + "seed": 73721642, + "capped_mape": 0.8386214806521979, + "uncapped_mape": 0.8596926389142541, + "within10": 0.10912698412698413, + "within25": 0.20833333333333334 + }, + { + "seed": 1124158206, + "capped_mape": 0.8400577786337676, + "uncapped_mape": 1.033905461356826, + "within10": 0.12301587301587301, + "within25": 0.2003968253968254 + }, + { + "seed": 536900518, + "capped_mape": 0.8036851224316511, + "uncapped_mape": 0.8766104650378154, + "within10": 0.09523809523809523, + "within25": 0.17857142857142858 + }, + { + "seed": 566748327, + "capped_mape": 0.8365835918034945, + "uncapped_mape": 0.8658570098484784, + "within10": 0.08928571428571429, + "within25": 0.1746031746031746 + }, + { + "seed": 513144195, + "capped_mape": 0.8166039366969629, + "uncapped_mape": 0.919359169276349, + "within10": 0.10515873015873016, + "within25": 0.2003968253968254 + }, + { + "seed": 1493589832, + "capped_mape": 1.1166074999782252, + "uncapped_mape": 1.8323176921977047, + "within10": 0.08928571428571429, + "within25": 0.16666666666666666 + }, + { + "seed": 236604464, + "capped_mape": 0.8228830020411043, + "uncapped_mape": 0.8877288752984167, + "within10": 0.1130952380952381, + "within25": 0.1765873015873016 + }, + { + "seed": 730967731, + "capped_mape": 0.7790413980346557, + "uncapped_mape": 0.9763276635620597, + "within10": 0.13095238095238096, + "within25": 0.2400793650793651 + }, + { + "seed": 935667708, + "capped_mape": 0.8109807652580755, + "uncapped_mape": 0.8766096062364189, + "within10": 0.0873015873015873, + "within25": 0.1765873015873016 + }, + { + "seed": 1299644429, + "capped_mape": 0.8018756123266607, + "uncapped_mape": 0.8191581482356096, + "within10": 0.12698412698412698, + "within25": 0.21825396825396826 + }, + { + "seed": 1204157455, + "capped_mape": 0.7327213998156328, + "uncapped_mape": 0.7599654996561094, + "within10": 0.11904761904761904, + "within25": 0.21626984126984128 + }, + { + "seed": 1122474945, + "capped_mape": 0.8749012431282971, + "uncapped_mape": 1.008621275545006, + "within10": 0.10515873015873016, + "within25": 0.16666666666666666 + }, + { + "seed": 791607562, + "capped_mape": 0.7733050008303649, + "uncapped_mape": 18937690.625997897, + "within10": 0.13293650793650794, + "within25": 0.26587301587301587 + }, + { + "seed": 2007045677, + "capped_mape": 0.8390208545470592, + "uncapped_mape": 1.0220904304368235, + "within10": 0.10119047619047619, + "within25": 0.20833333333333334 + }, + { + "seed": 702676148, + "capped_mape": 0.8658164430757282, + "uncapped_mape": 1.240788844923292, + "within10": 0.0992063492063492, + "within25": 0.1746031746031746 + }, + { + "seed": 673829134, + "capped_mape": 0.818790882677336, + "uncapped_mape": 0.8605504099882098, + "within10": 0.11507936507936507, + "within25": 0.21626984126984128 + }, + { + "seed": 1906551083, + "capped_mape": 0.8258090825225027, + "uncapped_mape": 0.9174864791302514, + "within10": 0.0873015873015873, + "within25": 0.20238095238095238 + }, + { + "seed": 1542959021, + "capped_mape": 0.736886804764598, + "uncapped_mape": 0.7386754978035225, + "within10": 0.12301587301587301, + "within25": 0.23412698412698413 + }, + { + "seed": 267019143, + "capped_mape": 0.7792018147666088, + "uncapped_mape": 16387461.754679494, + "within10": 0.09722222222222222, + "within25": 0.21626984126984128 + }, + { + "seed": 486597684, + "capped_mape": 0.7887034943928755, + "uncapped_mape": 0.7918306621861754, + "within10": 0.125, + "within25": 0.2619047619047619 + }, + { + "seed": 1371678369, + "capped_mape": 0.8420520356562062, + "uncapped_mape": 18636753.84704667, + "within10": 0.13095238095238096, + "within25": 0.24603174603174602 + }, + { + "seed": 25744874, + "capped_mape": 0.8676204491869026, + "uncapped_mape": 1.0103856775475517, + "within10": 0.1111111111111111, + "within25": 0.2003968253968254 + }, + { + "seed": 1002633504, + "capped_mape": 0.7949098554577345, + "uncapped_mape": 0.8777925925122356, + "within10": 0.125, + "within25": 0.23809523809523808 + }, + { + "seed": 2124412777, + "capped_mape": 0.7513283772273247, + "uncapped_mape": 0.793997211816289, + "within10": 0.1111111111111111, + "within25": 0.23809523809523808 + }, + { + "seed": 1741576743, + "capped_mape": 0.8024454475932581, + "uncapped_mape": 0.9161896800291651, + "within10": 0.10119047619047619, + "within25": 0.1884920634920635 + }, + { + "seed": 93146892, + "capped_mape": 0.7903494973758223, + "uncapped_mape": 0.8289655979910286, + "within10": 0.10119047619047619, + "within25": 0.18452380952380953 + }, + { + "seed": 1886922474, + "capped_mape": 0.8315347068718939, + "uncapped_mape": 0.846050134342291, + "within10": 0.1130952380952381, + "within25": 0.19047619047619047 + }, + { + "seed": 913404475, + "capped_mape": 0.7871446126841042, + "uncapped_mape": 0.8143887125245809, + "within10": 0.09722222222222222, + "within25": 0.19642857142857142 + }, + { + "seed": 1713839694, + "capped_mape": 0.7301626115738473, + "uncapped_mape": 0.7726086903726466, + "within10": 0.1111111111111111, + "within25": 0.19444444444444445 + }, + { + "seed": 1089653292, + "capped_mape": 0.8948653383814344, + "uncapped_mape": 1.1022585329117074, + "within10": 0.10912698412698413, + "within25": 0.1746031746031746 + }, + { + "seed": 1229294345, + "capped_mape": 0.7838122633763676, + "uncapped_mape": 0.7906046864699499, + "within10": 0.12896825396825398, + "within25": 0.24801587301587302 + }, + { + "seed": 1227172338, + "capped_mape": 0.8915067504898299, + "uncapped_mape": 1.0653558882064964, + "within10": 0.09523809523809523, + "within25": 0.18055555555555555 + }, + { + "seed": 1785175443, + "capped_mape": 0.9310461780004771, + "uncapped_mape": 1.2269876064894676, + "within10": 0.08333333333333333, + "within25": 0.16865079365079366 + }, + { + "seed": 270764336, + "capped_mape": 0.7542366199177692, + "uncapped_mape": 0.8389322232005558, + "within10": 0.09523809523809523, + "within25": 0.22817460317460317 + }, + { + "seed": 765545859, + "capped_mape": 0.8809996421547678, + "uncapped_mape": 1.0457145979683116, + "within10": 0.1130952380952381, + "within25": 0.18452380952380953 + }, + { + "seed": 1251541455, + "capped_mape": 0.8103970685635954, + "uncapped_mape": 0.828579151889861, + "within10": 0.0992063492063492, + "within25": 0.17261904761904762 + }, + { + "seed": 2092129028, + "capped_mape": 0.8559824419201963, + "uncapped_mape": 1.1116459187450405, + "within10": 0.11706349206349206, + "within25": 0.22420634920634921 + }, + { + "seed": 412342320, + "capped_mape": 0.89440141554342, + "uncapped_mape": 1.157574144763913, + "within10": 0.11706349206349206, + "within25": 0.20436507936507936 + }, + { + "seed": 1335091183, + "capped_mape": 0.894412827171993, + "uncapped_mape": 1.1129546133101578, + "within10": 0.08134920634920635, + "within25": 0.15873015873015872 + }, + { + "seed": 398669796, + "capped_mape": 0.9627621636616202, + "uncapped_mape": 1.7446366499479717, + "within10": 0.08928571428571429, + "within25": 0.19047619047619047 + }, + { + "seed": 320187278, + "capped_mape": 0.8687374296790812, + "uncapped_mape": 37574443.74434932, + "within10": 0.10317460317460317, + "within25": 0.18253968253968253 + }, + { + "seed": 2070187752, + "capped_mape": 0.8011916066895564, + "uncapped_mape": 18636753.82517866, + "within10": 0.12301587301587301, + "within25": 0.2261904761904762 + }, + { + "seed": 437071165, + "capped_mape": 0.780400524172611, + "uncapped_mape": 16387461.745136831, + "within10": 0.13095238095238096, + "within25": 0.23809523809523808 + }, + { + "seed": 25183784, + "capped_mape": 0.9990195682731196, + "uncapped_mape": 1.3333911554172433, + "within10": 0.11706349206349206, + "within25": 0.22023809523809523 + }, + { + "seed": 1438013437, + "capped_mape": 0.9430876844230646, + "uncapped_mape": 1.1013754852675977, + "within10": 0.0873015873015873, + "within25": 0.17063492063492064 + }, + { + "seed": 1388713365, + "capped_mape": 0.8696478705009005, + "uncapped_mape": 18937691.08642317, + "within10": 0.10515873015873016, + "within25": 0.16071428571428573 + }, + { + "seed": 2100523652, + "capped_mape": 0.8273842605342034, + "uncapped_mape": 0.8872079970446182, + "within10": 0.14087301587301587, + "within25": 0.25595238095238093 + }, + { + "seed": 308002079, + "capped_mape": 0.8403347335278762, + "uncapped_mape": 0.8885879460995746, + "within10": 0.0873015873015873, + "within25": 0.19444444444444445 + }, + { + "seed": 85068123, + "capped_mape": 0.8817231175495487, + "uncapped_mape": 1.1551274014708577, + "within10": 0.11706349206349206, + "within25": 0.21626984126984128 + }, + { + "seed": 523179186, + "capped_mape": 0.840693225065071, + "uncapped_mape": 0.9535800133083634, + "within10": 0.12103174603174603, + "within25": 0.251984126984127 + }, + { + "seed": 2078492899, + "capped_mape": 0.7724096520825858, + "uncapped_mape": 0.7869250795529829, + "within10": 0.11507936507936507, + "within25": 0.20634920634920634 + }, + { + "seed": 285027182, + "capped_mape": 0.8762632923034873, + "uncapped_mape": 1.143341207591964, + "within10": 0.08333333333333333, + "within25": 0.15674603174603174 + }, + { + "seed": 369033186, + "capped_mape": 0.8686534351608056, + "uncapped_mape": 1.0817638247772992, + "within10": 0.10119047619047619, + "within25": 0.1765873015873016 + }, + { + "seed": 836784705, + "capped_mape": 0.8460026088863698, + "uncapped_mape": 1.0153016790989517, + "within10": 0.10119047619047619, + "within25": 0.19047619047619047 + }, + { + "seed": 606292271, + "capped_mape": 0.7248682102215883, + "uncapped_mape": 0.7248682102215883, + "within10": 0.11507936507936507, + "within25": 0.17261904761904762 + }, + { + "seed": 2022743255, + "capped_mape": 0.8212424828872966, + "uncapped_mape": 1.0180756520777805, + "within10": 0.11904761904761904, + "within25": 0.24801587301587302 + }, + { + "seed": 470598375, + "capped_mape": 0.9377888778063647, + "uncapped_mape": 1.0999264424566608, + "within10": 0.10515873015873016, + "within25": 0.20833333333333334 + }, + { + "seed": 425738701, + "capped_mape": 0.7847292227805276, + "uncapped_mape": 0.8558910659079944, + "within10": 0.11507936507936507, + "within25": 0.20833333333333334 + }, + { + "seed": 1287347334, + "capped_mape": 0.8224775711017466, + "uncapped_mape": 0.8497216709422232, + "within10": 0.1349206349206349, + "within25": 0.25992063492063494 + }, + { + "seed": 124280073, + "capped_mape": 0.8298239182995653, + "uncapped_mape": 0.8515614716656311, + "within10": 0.09722222222222222, + "within25": 0.16666666666666666 + }, + { + "seed": 147132687, + "capped_mape": 0.8319393962149012, + "uncapped_mape": 0.9333413385121987, + "within10": 0.07539682539682539, + "within25": 0.16865079365079366 + }, + { + "seed": 1747639242, + "capped_mape": 0.7254912187383763, + "uncapped_mape": 0.7400066462087734, + "within10": 0.13095238095238096, + "within25": 0.2261904761904762 + }, + { + "seed": 34088963, + "capped_mape": 0.8705480057677469, + "uncapped_mape": 0.9592043899359244, + "within10": 0.1111111111111111, + "within25": 0.20436507936507936 + }, + { + "seed": 172713859, + "capped_mape": 0.8866725772582271, + "uncapped_mape": 2.3784682614450814, + "within10": 0.07341269841269842, + "within25": 0.17261904761904762 + }, + { + "seed": 1310788031, + "capped_mape": 0.7884433744847712, + "uncapped_mape": 0.8468532896205383, + "within10": 0.09523809523809523, + "within25": 0.1746031746031746 + }, + { + "seed": 632261458, + "capped_mape": 0.7993497718137755, + "uncapped_mape": 0.8705029505887136, + "within10": 0.09325396825396826, + "within25": 0.1746031746031746 + }, + { + "seed": 1693442341, + "capped_mape": 0.8949419995485296, + "uncapped_mape": 1.4378453095523547, + "within10": 0.10515873015873016, + "within25": 0.2361111111111111 + }, + { + "seed": 1796206519, + "capped_mape": 0.8465889795882943, + "uncapped_mape": 1.839519288657243, + "within10": 0.09523809523809523, + "within25": 0.2003968253968254 + }, + { + "seed": 554654912, + "capped_mape": 0.7357390661804412, + "uncapped_mape": 0.7716434485413947, + "within10": 0.1130952380952381, + "within25": 0.2222222222222222 + }, + { + "seed": 543507701, + "capped_mape": 0.8825552369139814, + "uncapped_mape": 1.1952933298551545, + "within10": 0.09523809523809523, + "within25": 0.17857142857142858 + }, + { + "seed": 149824273, + "capped_mape": 0.8458375821502075, + "uncapped_mape": 0.9699456503884761, + "within10": 0.13293650793650794, + "within25": 0.2261904761904762 + }, + { + "seed": 773101718, + "capped_mape": 0.8725594121610113, + "uncapped_mape": 1.0742725313149095, + "within10": 0.1130952380952381, + "within25": 0.19642857142857142 + }, + { + "seed": 1229380147, + "capped_mape": 0.7977263310018259, + "uncapped_mape": 0.7977263310018259, + "within10": 0.09523809523809523, + "within25": 0.19642857142857142 + }, + { + "seed": 643945599, + "capped_mape": 0.8467998634859824, + "uncapped_mape": 0.8962611211685289, + "within10": 0.1388888888888889, + "within25": 0.25 + }, + { + "seed": 1706711560, + "capped_mape": 0.784280661794018, + "uncapped_mape": 0.8766200717959269, + "within10": 0.10912698412698413, + "within25": 0.2361111111111111 + }, + { + "seed": 1400124730, + "capped_mape": 0.8380486058293807, + "uncapped_mape": 18636753.918435954, + "within10": 0.11904761904761904, + "within25": 0.22023809523809523 + }, + { + "seed": 1305526663, + "capped_mape": 0.7816527292974956, + "uncapped_mape": 18636753.812102772, + "within10": 0.11507936507936507, + "within25": 0.20238095238095238 + }, + { + "seed": 1414561605, + "capped_mape": 0.9133724964870658, + "uncapped_mape": 1.5576918227938905, + "within10": 0.13293650793650794, + "within25": 0.28174603174603174 + }, + { + "seed": 558741372, + "capped_mape": 0.7644041102028121, + "uncapped_mape": 0.8263319626644712, + "within10": 0.13690476190476192, + "within25": 0.22817460317460317 + }, + { + "seed": 1191222897, + "capped_mape": 0.7876490945279221, + "uncapped_mape": 0.9339126348026767, + "within10": 0.14285714285714285, + "within25": 0.2222222222222222 + }, + { + "seed": 1625022677, + "capped_mape": 0.8693720667935063, + "uncapped_mape": 1.196500158331074, + "within10": 0.1111111111111111, + "within25": 0.21825396825396826 + }, + { + "seed": 116842344, + "capped_mape": 1.0289241167333876, + "uncapped_mape": 1.5333523727676195, + "within10": 0.1111111111111111, + "within25": 0.1865079365079365 + }, + { + "seed": 904933881, + "capped_mape": 0.9262853977669939, + "uncapped_mape": 1.4424839014843565, + "within10": 0.09722222222222222, + "within25": 0.18055555555555555 + }, + { + "seed": 619970131, + "capped_mape": 0.8586148148916256, + "uncapped_mape": 1.0821308530611355, + "within10": 0.15674603174603174, + "within25": 0.2757936507936508 + }, + { + "seed": 1170815813, + "capped_mape": 0.7670983204161119, + "uncapped_mape": 0.8159302871977426, + "within10": 0.10317460317460317, + "within25": 0.18253968253968253 + }, + { + "seed": 1259125978, + "capped_mape": 0.8658854517196232, + "uncapped_mape": 1.216697339024883, + "within10": 0.1111111111111111, + "within25": 0.24603174603174602 + }, + { + "seed": 1837739832, + "capped_mape": 0.8638235034528863, + "uncapped_mape": 1.2318013688991414, + "within10": 0.12698412698412698, + "within25": 0.2222222222222222 + }, + { + "seed": 997055587, + "capped_mape": 0.8322837479136423, + "uncapped_mape": 0.9110841594882692, + "within10": 0.1130952380952381, + "within25": 0.22420634920634921 + }, + { + "seed": 14637070, + "capped_mape": 0.8105666284235029, + "uncapped_mape": 0.8918689347839569, + "within10": 0.10515873015873016, + "within25": 0.21031746031746032 + }, + { + "seed": 1077674083, + "capped_mape": 0.8265711773557701, + "uncapped_mape": 0.9022636284004862, + "within10": 0.08134920634920635, + "within25": 0.20634920634920634 + }, + { + "seed": 1055348740, + "capped_mape": 0.8113221205135219, + "uncapped_mape": 0.8502230587562232, + "within10": 0.09722222222222222, + "within25": 0.19047619047619047 + }, + { + "seed": 1117287337, + "capped_mape": 0.8771543300125588, + "uncapped_mape": 1.0204109853340415, + "within10": 0.125, + "within25": 0.2222222222222222 + }, + { + "seed": 1736294372, + "capped_mape": 0.7814565098470597, + "uncapped_mape": 0.7814565098470597, + "within10": 0.09722222222222222, + "within25": 0.20238095238095238 + }, + { + "seed": 985048728, + "capped_mape": 0.8106427939372799, + "uncapped_mape": 0.9051586793306864, + "within10": 0.10912698412698413, + "within25": 0.1765873015873016 + }, + { + "seed": 1379909498, + "capped_mape": 0.8087543345328896, + "uncapped_mape": 0.8087543345328896, + "within10": 0.13293650793650794, + "within25": 0.21428571428571427 + }, + { + "seed": 1638430584, + "capped_mape": 0.9194819416319437, + "uncapped_mape": 1.07141836057844, + "within10": 0.10515873015873016, + "within25": 0.20634920634920634 + }, + { + "seed": 1723067141, + "capped_mape": 0.8987177131506422, + "uncapped_mape": 1.2624777370291436, + "within10": 0.12896825396825398, + "within25": 0.22817460317460317 + }, + { + "seed": 1378848541, + "capped_mape": 0.9446448716552702, + "uncapped_mape": 2.404423496047876, + "within10": 0.11706349206349206, + "within25": 0.2361111111111111 + }, + { + "seed": 868197522, + "capped_mape": 0.8047774363308647, + "uncapped_mape": 0.8141206519444661, + "within10": 0.10912698412698413, + "within25": 0.21626984126984128 + }, + { + "seed": 647202149, + "capped_mape": 0.7616290969606891, + "uncapped_mape": 0.8113126509306458, + "within10": 0.13095238095238096, + "within25": 0.21626984126984128 + }, + { + "seed": 2113214476, + "capped_mape": 0.8081530542235476, + "uncapped_mape": 1.0056427015791138, + "within10": 0.10714285714285714, + "within25": 0.19642857142857142 + }, + { + "seed": 992271816, + "capped_mape": 0.7939946976076353, + "uncapped_mape": 18636753.859128494, + "within10": 0.12698412698412698, + "within25": 0.21031746031746032 + }, + { + "seed": 676736913, + "capped_mape": 0.7760361491673603, + "uncapped_mape": 0.8126234646214385, + "within10": 0.10912698412698413, + "within25": 0.23214285714285715 + }, + { + "seed": 98112358, + "capped_mape": 0.7713200052749187, + "uncapped_mape": 1.0403753242363938, + "within10": 0.09722222222222222, + "within25": 0.2003968253968254 + }, + { + "seed": 1683327068, + "capped_mape": 0.8011323863155655, + "uncapped_mape": 0.9102317829771992, + "within10": 0.11507936507936507, + "within25": 0.2123015873015873 + }, + { + "seed": 2000893927, + "capped_mape": 0.9472284271673272, + "uncapped_mape": 18636754.0216704, + "within10": 0.125, + "within25": 0.25595238095238093 + }, + { + "seed": 1602201121, + "capped_mape": 0.7555150833386197, + "uncapped_mape": 0.8158469142300016, + "within10": 0.10912698412698413, + "within25": 0.18055555555555555 + }, + { + "seed": 220791302, + "capped_mape": 1.0332238756534133, + "uncapped_mape": 2.906967612736272, + "within10": 0.10515873015873016, + "within25": 0.1884920634920635 + }, + { + "seed": 394024601, + "capped_mape": 0.856595347304338, + "uncapped_mape": 0.9354467762721274, + "within10": 0.10912698412698413, + "within25": 0.17261904761904762 + }, + { + "seed": 422109773, + "capped_mape": 0.7929703939083476, + "uncapped_mape": 1.6294233569291998, + "within10": 0.07738095238095238, + "within25": 0.15476190476190477 + }, + { + "seed": 1719685853, + "capped_mape": 0.8615174329796932, + "uncapped_mape": 0.883101838019844, + "within10": 0.11706349206349206, + "within25": 0.21626984126984128 + }, + { + "seed": 301499302, + "capped_mape": 0.8081106046234164, + "uncapped_mape": 0.9529018471376849, + "within10": 0.09523809523809523, + "within25": 0.16666666666666666 + }, + { + "seed": 485027177, + "capped_mape": 0.8521403632775588, + "uncapped_mape": 1.2752106565203518, + "within10": 0.08333333333333333, + "within25": 0.1626984126984127 + }, + { + "seed": 138278317, + "capped_mape": 0.7553145608971676, + "uncapped_mape": 0.7600021664887013, + "within10": 0.10912698412698413, + "within25": 0.2261904761904762 + }, + { + "seed": 1683884968, + "capped_mape": 0.7598568600447922, + "uncapped_mape": 0.782906571121308, + "within10": 0.12896825396825398, + "within25": 0.26785714285714285 + }, + { + "seed": 1678079148, + "capped_mape": 0.8745634319718807, + "uncapped_mape": 1.164671262484494, + "within10": 0.0873015873015873, + "within25": 0.1984126984126984 + }, + { + "seed": 1653738625, + "capped_mape": 0.8686456606867208, + "uncapped_mape": 1.0500669011514234, + "within10": 0.1130952380952381, + "within25": 0.20238095238095238 + }, + { + "seed": 1847357819, + "capped_mape": 0.8038445336211514, + "uncapped_mape": 0.8811713513694833, + "within10": 0.1488095238095238, + "within25": 0.2857142857142857 + }, + { + "seed": 1606591099, + "capped_mape": 0.8635835518201778, + "uncapped_mape": 0.9511265489032801, + "within10": 0.14682539682539683, + "within25": 0.251984126984127 + }, + { + "seed": 1474745112, + "capped_mape": 0.801807992563953, + "uncapped_mape": 0.8235455459300188, + "within10": 0.0992063492063492, + "within25": 0.19246031746031747 + }, + { + "seed": 1256853321, + "capped_mape": 0.8000332825281432, + "uncapped_mape": 1.0547003268067867, + "within10": 0.1130952380952381, + "within25": 0.19642857142857142 + }, + { + "seed": 1464829824, + "capped_mape": 0.8384593705379766, + "uncapped_mape": 18937690.96240648, + "within10": 0.1130952380952381, + "within25": 0.19246031746031747 + }, + { + "seed": 1528407391, + "capped_mape": 1.3138792300690256, + "uncapped_mape": 2.9139085393389745, + "within10": 0.10515873015873016, + "within25": 0.20634920634920634 + }, + { + "seed": 1342072860, + "capped_mape": 0.8033863264069183, + "uncapped_mape": 0.8925582787090541, + "within10": 0.14484126984126985, + "within25": 0.25396825396825395 + }, + { + "seed": 1443817095, + "capped_mape": 0.8730609040067395, + "uncapped_mape": 1.1455747728844103, + "within10": 0.12301587301587301, + "within25": 0.24206349206349206 + }, + { + "seed": 1456505431, + "capped_mape": 0.9523650395272913, + "uncapped_mape": 2.0597811194922118, + "within10": 0.16666666666666666, + "within25": 0.26587301587301587 + } + ], + "design2": [ + { + "seed": 1532009180, + "capped_mape": 0.7127854363642326, + "uncapped_mape": 1.6912491476189297, + "within10": 0.27976190476190477, + "within25": 0.36706349206349204, + "kish_ess": 37.8043201814789, + "max_over_mean": 5.421108836681034, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 2129919777, + "capped_mape": 0.655173608117011, + "uncapped_mape": 0.9660684646772143, + "within10": 0.2718253968253968, + "within25": 0.376984126984127, + "kish_ess": 28.81403403665446, + "max_over_mean": 6.632428289652146, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1926506354, + "capped_mape": 0.6437721824422241, + "uncapped_mape": 0.88413267625877, + "within10": 0.2837301587301587, + "within25": 0.373015873015873, + "kish_ess": 33.68579499468989, + "max_over_mean": 6.618286084137443, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1866631624, + "capped_mape": 0.6096446039563302, + "uncapped_mape": 0.6185317564085613, + "within10": 0.29365079365079366, + "within25": 0.376984126984127, + "kish_ess": 37.65253838102843, + "max_over_mean": 7.0240205232185575, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1914807902, + "capped_mape": 0.6213264412446318, + "uncapped_mape": 0.7801635472399243, + "within10": 0.27380952380952384, + "within25": 0.36904761904761907, + "kish_ess": 28.319795411395184, + "max_over_mean": 7.407745873300762, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 737276679, + "capped_mape": 0.6652613363537201, + "uncapped_mape": 2.026795951408499, + "within10": 0.2996031746031746, + "within25": 0.373015873015873, + "kish_ess": 29.97635905600509, + "max_over_mean": 7.121187192329528, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1238078731, + "capped_mape": 0.6361060825858754, + "uncapped_mape": 0.7671749244919386, + "within10": 0.26587301587301587, + "within25": 0.3531746031746032, + "kish_ess": 31.62012640921519, + "max_over_mean": 6.594885942181472, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1407801735, + "capped_mape": 0.7030072712918457, + "uncapped_mape": 4361446.918849894, + "within10": 0.2757936507936508, + "within25": 0.35912698412698413, + "kish_ess": 33.78957860000091, + "max_over_mean": 5.591774016003487, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1736947865, + "capped_mape": 0.6193538161106733, + "uncapped_mape": 0.8871243482398737, + "within10": 0.2757936507936508, + "within25": 0.36706349206349204, + "kish_ess": 33.13776926335237, + "max_over_mean": 6.736149729876311, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1343677066, + "capped_mape": 0.6114776255270129, + "uncapped_mape": 0.6369044390792246, + "within10": 0.3055555555555556, + "within25": 0.38492063492063494, + "kish_ess": 33.61393077549841, + "max_over_mean": 6.799017223513577, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1500687924, + "capped_mape": 0.6259081097380269, + "uncapped_mape": 0.7595770384645149, + "within10": 0.2876984126984127, + "within25": 0.39087301587301587, + "kish_ess": 37.186155120204184, + "max_over_mean": 6.305200557646477, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1860250772, + "capped_mape": 0.6077359990383157, + "uncapped_mape": 0.6873033711749573, + "within10": 0.2876984126984127, + "within25": 0.38095238095238093, + "kish_ess": 34.76064519714087, + "max_over_mean": 6.514288583620557, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 636413936, + "capped_mape": 0.6476130848663596, + "uncapped_mape": 24634898.836479336, + "within10": 0.26785714285714285, + "within25": 0.35714285714285715, + "kish_ess": 31.58607759810324, + "max_over_mean": 6.64123289074118, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1578173517, + "capped_mape": 0.6790238881705766, + "uncapped_mape": 20318828.8789822, + "within10": 0.2996031746031746, + "within25": 0.3869047619047619, + "kish_ess": 33.01745720150707, + "max_over_mean": 6.968784481940821, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1555667707, + "capped_mape": 0.6182250835355813, + "uncapped_mape": 10394598.382435612, + "within10": 0.27380952380952384, + "within25": 0.3531746031746032, + "kish_ess": 33.6051289796563, + "max_over_mean": 6.248133425792755, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1011384468, + "capped_mape": 0.6464085225458522, + "uncapped_mape": 0.9205266256367752, + "within10": 0.2876984126984127, + "within25": 0.35714285714285715, + "kish_ess": 35.0190604404823, + "max_over_mean": 6.298061447352337, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1870858225, + "capped_mape": 0.5772563701571479, + "uncapped_mape": 0.5772563701571479, + "within10": 0.28174603174603174, + "within25": 0.37896825396825395, + "kish_ess": 31.92599968221555, + "max_over_mean": 6.394525257374592, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1246736694, + "capped_mape": 0.6541351507302813, + "uncapped_mape": 19787681.75284492, + "within10": 0.30357142857142855, + "within25": 0.3630952380952381, + "kish_ess": 30.264279247358225, + "max_over_mean": 7.389902576390404, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 434606789, + "capped_mape": 0.6398662205410652, + "uncapped_mape": 0.8637786141891058, + "within10": 0.2916666666666667, + "within25": 0.373015873015873, + "kish_ess": 33.51558670488672, + "max_over_mean": 6.038371709861458, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 595604501, + "capped_mape": 0.6061040197161722, + "uncapped_mape": 0.7306293872592692, + "within10": 0.2976190476190476, + "within25": 0.37896825396825395, + "kish_ess": 30.54448248826675, + "max_over_mean": 6.476360377242549, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1513158413, + "capped_mape": 0.5674631835693342, + "uncapped_mape": 0.5674631835693342, + "within10": 0.29563492063492064, + "within25": 0.3869047619047619, + "kish_ess": 34.07649461521509, + "max_over_mean": 6.823072796780864, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1774881996, + "capped_mape": 0.6520103474787624, + "uncapped_mape": 28873892.907725766, + "within10": 0.25595238095238093, + "within25": 0.3531746031746032, + "kish_ess": 29.181828713098398, + "max_over_mean": 6.846172636456766, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1119164309, + "capped_mape": 0.659994646689176, + "uncapped_mape": 0.8434815465182626, + "within10": 0.2976190476190476, + "within25": 0.373015873015873, + "kish_ess": 30.268227933212902, + "max_over_mean": 7.729380771868693, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 390315266, + "capped_mape": 0.6482524334628567, + "uncapped_mape": 0.895911109265706, + "within10": 0.2619047619047619, + "within25": 0.35912698412698413, + "kish_ess": 31.960952475965144, + "max_over_mean": 6.538079827907935, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1046663207, + "capped_mape": 0.6791914850114785, + "uncapped_mape": 23783066.29894442, + "within10": 0.2876984126984127, + "within25": 0.37896825396825395, + "kish_ess": 32.71458244115919, + "max_over_mean": 6.8098223765165, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1781691076, + "capped_mape": 0.6616098427174658, + "uncapped_mape": 12780721.55293155, + "within10": 0.3115079365079365, + "within25": 0.4027777777777778, + "kish_ess": 31.65236511618003, + "max_over_mean": 6.874922077252523, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1409111333, + "capped_mape": 0.5769672683556512, + "uncapped_mape": 0.6947655551491296, + "within10": 0.2976190476190476, + "within25": 0.3888888888888889, + "kish_ess": 32.29439210104268, + "max_over_mean": 7.10337328024574, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 726504131, + "capped_mape": 0.6035609681194978, + "uncapped_mape": 0.6035609681194978, + "within10": 0.25793650793650796, + "within25": 0.3392857142857143, + "kish_ess": 30.35191868369362, + "max_over_mean": 6.983511802183821, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 100591433, + "capped_mape": 0.6238236797344416, + "uncapped_mape": 0.6673158078407926, + "within10": 0.28174603174603174, + "within25": 0.36904761904761907, + "kish_ess": 30.18705861106465, + "max_over_mean": 7.002169924739981, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 827732712, + "capped_mape": 0.6597218217439785, + "uncapped_mape": 1.002023302179126, + "within10": 0.2698412698412698, + "within25": 0.3492063492063492, + "kish_ess": 33.078041888509375, + "max_over_mean": 6.635508716285615, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 478806322, + "capped_mape": 0.6146121892021039, + "uncapped_mape": 0.8484213537237943, + "within10": 0.30158730158730157, + "within25": 0.37103174603174605, + "kish_ess": 30.1045712898418, + "max_over_mean": 7.2460564840189265, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 930165619, + "capped_mape": 0.5852362730817053, + "uncapped_mape": 0.7082082990786214, + "within10": 0.30357142857142855, + "within25": 0.38293650793650796, + "kish_ess": 31.91005381647402, + "max_over_mean": 7.096913150104329, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1788282626, + "capped_mape": 0.6472047764984501, + "uncapped_mape": 0.7016623606900796, + "within10": 0.26587301587301587, + "within25": 0.34325396825396826, + "kish_ess": 37.20876727649878, + "max_over_mean": 5.8744415624052095, + "runtime": { + "seconds": 0.22, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 137354418, + "capped_mape": 0.6294630869291662, + "uncapped_mape": 26442809.739515282, + "within10": 0.25, + "within25": 0.3531746031746032, + "kish_ess": 30.859815242777927, + "max_over_mean": 6.916507723008012, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1284017857, + "capped_mape": 0.6999970320793523, + "uncapped_mape": 20656341.0820262, + "within10": 0.251984126984127, + "within25": 0.3392857142857143, + "kish_ess": 28.728842237026303, + "max_over_mean": 7.1076662214666335, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1730630220, + "capped_mape": 0.54970747159786, + "uncapped_mape": 0.54970747159786, + "within10": 0.33134920634920634, + "within25": 0.4107142857142857, + "kish_ess": 31.976889040105544, + "max_over_mean": 6.547410535219558, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 88752578, + "capped_mape": 0.6361022219455575, + "uncapped_mape": 1.1302305810170037, + "within10": 0.2876984126984127, + "within25": 0.373015873015873, + "kish_ess": 31.624411772254366, + "max_over_mean": 6.7234347867417235, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 2088932291, + "capped_mape": 0.6228655048243407, + "uncapped_mape": 0.8928237664025207, + "within10": 0.2996031746031746, + "within25": 0.39285714285714285, + "kish_ess": 33.31466440596292, + "max_over_mean": 6.530837186824523, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1380922543, + "capped_mape": 0.6845567808008534, + "uncapped_mape": 0.9397860538043467, + "within10": 0.29563492063492064, + "within25": 0.376984126984127, + "kish_ess": 32.26498895017635, + "max_over_mean": 6.892704822852656, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 727733239, + "capped_mape": 0.5745532360209711, + "uncapped_mape": 0.5745532360209711, + "within10": 0.27976190476190477, + "within25": 0.3531746031746032, + "kish_ess": 34.02892950557412, + "max_over_mean": 7.439110063997169, + "runtime": { + "seconds": 0.27, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 39520516, + "capped_mape": 0.6038986823339032, + "uncapped_mape": 0.6491003129877094, + "within10": 0.2876984126984127, + "within25": 0.36904761904761907, + "kish_ess": 38.779150221949486, + "max_over_mean": 6.724506118737024, + "runtime": { + "seconds": 0.27, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 2134606925, + "capped_mape": 0.5998997411308855, + "uncapped_mape": 0.6248214146079435, + "within10": 0.30158730158730157, + "within25": 0.373015873015873, + "kish_ess": 31.656167425514955, + "max_over_mean": 6.640755269851413, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1875266754, + "capped_mape": 0.6255453190989109, + "uncapped_mape": 0.9363314732474002, + "within10": 0.2638888888888889, + "within25": 0.3531746031746032, + "kish_ess": 29.400900572831112, + "max_over_mean": 6.443889859125594, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1740433011, + "capped_mape": 0.6613085169299209, + "uncapped_mape": 23349913.649600957, + "within10": 0.2757936507936508, + "within25": 0.3551587301587302, + "kish_ess": 31.368189349388622, + "max_over_mean": 6.748603297032322, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 988437747, + "capped_mape": 0.6041963787351056, + "uncapped_mape": 0.7032067505989219, + "within10": 0.2638888888888889, + "within25": 0.37103174603174605, + "kish_ess": 32.80199813414792, + "max_over_mean": 6.841671102814725, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1611143028, + "capped_mape": 0.6921621274232634, + "uncapped_mape": 0.9052992282093713, + "within10": 0.29365079365079366, + "within25": 0.4027777777777778, + "kish_ess": 31.1197830681879, + "max_over_mean": 6.786942646287281, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1437774242, + "capped_mape": 0.5875720838990384, + "uncapped_mape": 0.5875720838990384, + "within10": 0.29563492063492064, + "within25": 0.37103174603174605, + "kish_ess": 32.47411480208754, + "max_over_mean": 7.438900291939459, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 151746818, + "capped_mape": 0.7129986711702953, + "uncapped_mape": 17651707.207105875, + "within10": 0.2638888888888889, + "within25": 0.38492063492063494, + "kish_ess": 31.512157638374543, + "max_over_mean": 6.8888065741255575, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1118411802, + "capped_mape": 0.6570850114252313, + "uncapped_mape": 0.8683515281224146, + "within10": 0.2876984126984127, + "within25": 0.36706349206349204, + "kish_ess": 28.155314377406945, + "max_over_mean": 6.772338012152878, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 2016567772, + "capped_mape": 0.5958579639650865, + "uncapped_mape": 0.5958579639650865, + "within10": 0.30158730158730157, + "within25": 0.35912698412698413, + "kish_ess": 35.69361510039296, + "max_over_mean": 6.856018513657343, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 2026886712, + "capped_mape": 0.6443325326569972, + "uncapped_mape": 0.863631456594175, + "within10": 0.25595238095238093, + "within25": 0.32936507936507936, + "kish_ess": 31.926361460619006, + "max_over_mean": 6.827691094470505, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 366099807, + "capped_mape": 0.6719597250726196, + "uncapped_mape": 16653091.916815475, + "within10": 0.2876984126984127, + "within25": 0.37103174603174605, + "kish_ess": 35.7193586892323, + "max_over_mean": 6.968968531319824, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 81115437, + "capped_mape": 0.633990946851304, + "uncapped_mape": 1.8239122833095396, + "within10": 0.2777777777777778, + "within25": 0.373015873015873, + "kish_ess": 30.876087205367874, + "max_over_mean": 7.135510103157661, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1674428023, + "capped_mape": 0.6801060343601113, + "uncapped_mape": 0.9110064502528173, + "within10": 0.2757936507936508, + "within25": 0.3611111111111111, + "kish_ess": 39.3702373771488, + "max_over_mean": 6.78356227511835, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 988733458, + "capped_mape": 0.6391559566260814, + "uncapped_mape": 24512714.30155961, + "within10": 0.2757936507936508, + "within25": 0.3392857142857143, + "kish_ess": 33.41873103841411, + "max_over_mean": 7.347064191046765, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 169715272, + "capped_mape": 0.6320324818617679, + "uncapped_mape": 23284869.95887962, + "within10": 0.25793650793650796, + "within25": 0.3412698412698413, + "kish_ess": 34.73493064978188, + "max_over_mean": 7.302893656691579, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 450070876, + "capped_mape": 0.6320790834480001, + "uncapped_mape": 0.7022412583838312, + "within10": 0.27380952380952384, + "within25": 0.38095238095238093, + "kish_ess": 32.84280024183, + "max_over_mean": 5.697311790640103, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1253889902, + "capped_mape": 0.6654637356696732, + "uncapped_mape": 239568.50601586825, + "within10": 0.2876984126984127, + "within25": 0.3630952380952381, + "kish_ess": 39.44487739749326, + "max_over_mean": 6.127958838232648, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 127854099, + "capped_mape": 0.6829406351038632, + "uncapped_mape": 1.0214435182183295, + "within10": 0.29365079365079366, + "within25": 0.35912698412698413, + "kish_ess": 33.251241363476375, + "max_over_mean": 7.154773362467297, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1766762779, + "capped_mape": 0.5629411581243148, + "uncapped_mape": 0.5629411581243148, + "within10": 0.2698412698412698, + "within25": 0.39285714285714285, + "kish_ess": 33.125968837166255, + "max_over_mean": 6.377621646812084, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1814963221, + "capped_mape": 0.6667113508533852, + "uncapped_mape": 0.8807634092194204, + "within10": 0.30158730158730157, + "within25": 0.38492063492063494, + "kish_ess": 34.11648765648335, + "max_over_mean": 6.904934747404665, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 834687501, + "capped_mape": 0.6897968438479112, + "uncapped_mape": 19105506.572545156, + "within10": 0.3115079365079365, + "within25": 0.37103174603174605, + "kish_ess": 32.23561660117473, + "max_over_mean": 6.977786885906735, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2130470468, + "capped_mape": 0.658715572173618, + "uncapped_mape": 0.7301952294948203, + "within10": 0.251984126984127, + "within25": 0.34325396825396826, + "kish_ess": 29.888362382677688, + "max_over_mean": 7.047739156804634, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1825423326, + "capped_mape": 0.6716064937403583, + "uncapped_mape": 1.041126547238354, + "within10": 0.3115079365079365, + "within25": 0.39087301587301587, + "kish_ess": 31.381859049096786, + "max_over_mean": 6.7389894985163314, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1159988727, + "capped_mape": 0.6355005945508789, + "uncapped_mape": 0.9312903606248685, + "within10": 0.29365079365079366, + "within25": 0.375, + "kish_ess": 33.27927949445259, + "max_over_mean": 6.847969480305919, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 300528324, + "capped_mape": 0.6235987560896162, + "uncapped_mape": 0.63938267073674, + "within10": 0.2718253968253968, + "within25": 0.3531746031746032, + "kish_ess": 30.39931940974808, + "max_over_mean": 6.66995724182804, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 418625375, + "capped_mape": 0.5957283418911966, + "uncapped_mape": 0.656427824649618, + "within10": 0.30158730158730157, + "within25": 0.38095238095238093, + "kish_ess": 35.01967908403691, + "max_over_mean": 6.884933666224582, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2066889053, + "capped_mape": 0.6206969848993789, + "uncapped_mape": 0.7812194923573844, + "within10": 0.2619047619047619, + "within25": 0.3630952380952381, + "kish_ess": 32.91511794633666, + "max_over_mean": 6.5328945091470825, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1262192692, + "capped_mape": 0.6010025140633355, + "uncapped_mape": 0.6201776419199365, + "within10": 0.2876984126984127, + "within25": 0.34325396825396826, + "kish_ess": 33.3918018778162, + "max_over_mean": 6.509366439265877, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1883057678, + "capped_mape": 0.6465914074335651, + "uncapped_mape": 0.6857647279703096, + "within10": 0.27380952380952384, + "within25": 0.3273809523809524, + "kish_ess": 29.22642107772433, + "max_over_mean": 7.359828761617135, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 904811576, + "capped_mape": 0.6605718544785373, + "uncapped_mape": 1.7163732678265127, + "within10": 0.3055555555555556, + "within25": 0.37103174603174605, + "kish_ess": 35.23937000740818, + "max_over_mean": 7.410874267844863, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1825997340, + "capped_mape": 0.6368662322501639, + "uncapped_mape": 1.0343878832306366, + "within10": 0.2857142857142857, + "within25": 0.4027777777777778, + "kish_ess": 36.703418243020614, + "max_over_mean": 6.842012428925609, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1449527016, + "capped_mape": 0.6311686826647706, + "uncapped_mape": 0.6734329782406969, + "within10": 0.26587301587301587, + "within25": 0.34325396825396826, + "kish_ess": 37.59124622609795, + "max_over_mean": 6.6136699613776075, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1740133331, + "capped_mape": 0.6105662098739884, + "uncapped_mape": 0.6529773820356549, + "within10": 0.29563492063492064, + "within25": 0.376984126984127, + "kish_ess": 34.49699153746275, + "max_over_mean": 6.976585272138766, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 73721642, + "capped_mape": 0.6234806678176409, + "uncapped_mape": 0.6647217737090165, + "within10": 0.28174603174603174, + "within25": 0.36706349206349204, + "kish_ess": 29.489109114006567, + "max_over_mean": 6.972078827275173, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1124158206, + "capped_mape": 0.6512935990575237, + "uncapped_mape": 0.962221633343909, + "within10": 0.27976190476190477, + "within25": 0.37103174603174605, + "kish_ess": 31.95166675370809, + "max_over_mean": 6.930911490729098, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 536900518, + "capped_mape": 0.614119998825476, + "uncapped_mape": 0.6713526020835082, + "within10": 0.2996031746031746, + "within25": 0.376984126984127, + "kish_ess": 30.16430663115205, + "max_over_mean": 7.028594600775661, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 566748327, + "capped_mape": 0.6027602186765989, + "uncapped_mape": 0.6561937015641606, + "within10": 0.3055555555555556, + "within25": 0.40476190476190477, + "kish_ess": 33.81365060497415, + "max_over_mean": 6.79148617852242, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 513144195, + "capped_mape": 0.6224686120245663, + "uncapped_mape": 0.8512064132338923, + "within10": 0.28174603174603174, + "within25": 0.3551587301587302, + "kish_ess": 28.534716278804662, + "max_over_mean": 7.400732513307619, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1493589832, + "capped_mape": 0.606084236106336, + "uncapped_mape": 0.671453244965949, + "within10": 0.2876984126984127, + "within25": 0.376984126984127, + "kish_ess": 31.97649067223149, + "max_over_mean": 7.2758990360940885, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 236604464, + "capped_mape": 0.595457129395776, + "uncapped_mape": 0.595457129395776, + "within10": 0.25396825396825395, + "within25": 0.3392857142857143, + "kish_ess": 31.120694668788545, + "max_over_mean": 6.491993120849062, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 730967731, + "capped_mape": 0.6157512770162035, + "uncapped_mape": 0.6275789448967596, + "within10": 0.3115079365079365, + "within25": 0.37103174603174605, + "kish_ess": 29.01693343651622, + "max_over_mean": 7.6236386089751, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 935667708, + "capped_mape": 0.5705324374780083, + "uncapped_mape": 0.5705324374780083, + "within10": 0.2777777777777778, + "within25": 0.375, + "kish_ess": 30.599221683153928, + "max_over_mean": 6.867973761342777, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1299644429, + "capped_mape": 0.5701792618363517, + "uncapped_mape": 0.5701792618363517, + "within10": 0.2718253968253968, + "within25": 0.38095238095238093, + "kish_ess": 32.41520686322191, + "max_over_mean": 6.008197086995098, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1204157455, + "capped_mape": 0.5965043236123703, + "uncapped_mape": 0.647844223727658, + "within10": 0.2996031746031746, + "within25": 0.40674603174603174, + "kish_ess": 30.23404475605858, + "max_over_mean": 6.930970910374005, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1122474945, + "capped_mape": 0.6520860401769177, + "uncapped_mape": 0.9749507337655358, + "within10": 0.25793650793650796, + "within25": 0.3273809523809524, + "kish_ess": 30.887766372845807, + "max_over_mean": 6.538071237155842, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 791607562, + "capped_mape": 0.5897879856288695, + "uncapped_mape": 22866074.95282509, + "within10": 0.2996031746031746, + "within25": 0.37896825396825395, + "kish_ess": 31.083534540074236, + "max_over_mean": 7.005469000727958, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2007045677, + "capped_mape": 0.6223168892634754, + "uncapped_mape": 0.6453562192578624, + "within10": 0.2718253968253968, + "within25": 0.3551587301587302, + "kish_ess": 33.96019107331987, + "max_over_mean": 6.830688832721676, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 702676148, + "capped_mape": 0.6285693010229527, + "uncapped_mape": 0.847251300678439, + "within10": 0.3134920634920635, + "within25": 0.40674603174603174, + "kish_ess": 38.497683542725134, + "max_over_mean": 7.476454892169366, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 673829134, + "capped_mape": 0.6063696100701833, + "uncapped_mape": 0.665042941442001, + "within10": 0.3134920634920635, + "within25": 0.38492063492063494, + "kish_ess": 33.93803284584974, + "max_over_mean": 6.929449864159705, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1906551083, + "capped_mape": 0.6051664991549528, + "uncapped_mape": 0.6887981275487227, + "within10": 0.2857142857142857, + "within25": 0.38293650793650796, + "kish_ess": 31.072390396922597, + "max_over_mean": 6.632955688064138, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1542959021, + "capped_mape": 0.5893656118015974, + "uncapped_mape": 0.5893656118015974, + "within10": 0.26785714285714285, + "within25": 0.373015873015873, + "kish_ess": 29.31481331075895, + "max_over_mean": 7.024302152102867, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 267019143, + "capped_mape": 0.6605979766937711, + "uncapped_mape": 28925240.58875224, + "within10": 0.28174603174603174, + "within25": 0.35714285714285715, + "kish_ess": 32.90293567207872, + "max_over_mean": 7.561342204006606, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 486597684, + "capped_mape": 0.5626327807439993, + "uncapped_mape": 0.5626327807439993, + "within10": 0.29365079365079366, + "within25": 0.38095238095238093, + "kish_ess": 29.815969883617928, + "max_over_mean": 7.24882591296557, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1371678369, + "capped_mape": 0.5844404412354541, + "uncapped_mape": 19647198.31567092, + "within10": 0.32341269841269843, + "within25": 0.4087301587301587, + "kish_ess": 30.781919784490416, + "max_over_mean": 7.324753965305962, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 25744874, + "capped_mape": 0.6117847040718084, + "uncapped_mape": 0.6489774000927526, + "within10": 0.30357142857142855, + "within25": 0.3869047619047619, + "kish_ess": 34.55036833288726, + "max_over_mean": 7.231306553019946, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1002633504, + "capped_mape": 0.603100701911324, + "uncapped_mape": 0.6190143868960474, + "within10": 0.30753968253968256, + "within25": 0.36507936507936506, + "kish_ess": 31.869050756059995, + "max_over_mean": 7.31726824364263, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2124412777, + "capped_mape": 0.6069940431986481, + "uncapped_mape": 0.8203860148729354, + "within10": 0.29563492063492064, + "within25": 0.38293650793650796, + "kish_ess": 32.11424731335549, + "max_over_mean": 6.866009824548157, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1741576743, + "capped_mape": 0.6468647050264564, + "uncapped_mape": 0.7690326305562152, + "within10": 0.32142857142857145, + "within25": 0.38095238095238093, + "kish_ess": 35.02990665092111, + "max_over_mean": 7.125148881182037, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 93146892, + "capped_mape": 0.6202419538561922, + "uncapped_mape": 0.6676250390350105, + "within10": 0.2876984126984127, + "within25": 0.36507936507936506, + "kish_ess": 32.926706475987146, + "max_over_mean": 6.7043698781686265, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1886922474, + "capped_mape": 0.5833727701883353, + "uncapped_mape": 0.5833727701883353, + "within10": 0.28174603174603174, + "within25": 0.35714285714285715, + "kish_ess": 31.698680305062123, + "max_over_mean": 6.804476494445972, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 913404475, + "capped_mape": 0.617176425711817, + "uncapped_mape": 0.6645162828741796, + "within10": 0.2718253968253968, + "within25": 0.3492063492063492, + "kish_ess": 27.952450132549217, + "max_over_mean": 7.221212368804608, + "runtime": { + "seconds": 0.2, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1713839694, + "capped_mape": 0.6282197946460946, + "uncapped_mape": 0.6954339037306567, + "within10": 0.25992063492063494, + "within25": 0.34325396825396826, + "kish_ess": 32.000688412814974, + "max_over_mean": 6.93044629586187, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1089653292, + "capped_mape": 0.6075661674960507, + "uncapped_mape": 0.6075661674960507, + "within10": 0.28174603174603174, + "within25": 0.3531746031746032, + "kish_ess": 33.21248793188889, + "max_over_mean": 6.948358103265781, + "runtime": { + "seconds": 0.19, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1229294345, + "capped_mape": 0.5939064263346813, + "uncapped_mape": 0.623070857887347, + "within10": 0.27976190476190477, + "within25": 0.376984126984127, + "kish_ess": 30.879458220720426, + "max_over_mean": 7.0251190476144885, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1227172338, + "capped_mape": 0.6456989954102292, + "uncapped_mape": 0.856073702813083, + "within10": 0.29365079365079366, + "within25": 0.38293650793650796, + "kish_ess": 32.37339867180879, + "max_over_mean": 6.563555511200869, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1785175443, + "capped_mape": 0.72845466992221, + "uncapped_mape": 1.110214217805252, + "within10": 0.25595238095238093, + "within25": 0.3412698412698413, + "kish_ess": 27.81234839175296, + "max_over_mean": 7.026430906778716, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 270764336, + "capped_mape": 0.6108314108640703, + "uncapped_mape": 0.6127616393543447, + "within10": 0.2976190476190476, + "within25": 0.37103174603174605, + "kish_ess": 29.8101105472788, + "max_over_mean": 7.177606351684071, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 765545859, + "capped_mape": 0.6501026257511524, + "uncapped_mape": 0.8577997906632384, + "within10": 0.26587301587301587, + "within25": 0.3472222222222222, + "kish_ess": 28.559348791417715, + "max_over_mean": 7.670506844598863, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1251541455, + "capped_mape": 0.6522425406236732, + "uncapped_mape": 0.7018099042055477, + "within10": 0.25595238095238093, + "within25": 0.34325396825396826, + "kish_ess": 30.28890776782155, + "max_over_mean": 6.862942694738332, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2092129028, + "capped_mape": 0.6505422097897703, + "uncapped_mape": 1.1406789654420508, + "within10": 0.30753968253968256, + "within25": 0.3630952380952381, + "kish_ess": 30.870213976749, + "max_over_mean": 7.197549006637504, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 412342320, + "capped_mape": 0.6918197770676704, + "uncapped_mape": 1.7411189826996971, + "within10": 0.31547619047619047, + "within25": 0.40674603174603174, + "kish_ess": 38.490625895477734, + "max_over_mean": 6.983228145285845, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1335091183, + "capped_mape": 0.6775889936213992, + "uncapped_mape": 0.8940639408948552, + "within10": 0.25396825396825395, + "within25": 0.34523809523809523, + "kish_ess": 30.897447565197993, + "max_over_mean": 6.7277597816876655, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 398669796, + "capped_mape": 0.679015359881392, + "uncapped_mape": 1.290047053136775, + "within10": 0.27976190476190477, + "within25": 0.37103174603174605, + "kish_ess": 28.298496805988968, + "max_over_mean": 6.590907628478874, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 320187278, + "capped_mape": 0.6056743053777806, + "uncapped_mape": 19097340.76926823, + "within10": 0.2837301587301587, + "within25": 0.36706349206349204, + "kish_ess": 30.152582054323375, + "max_over_mean": 7.6522388359455915, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2070187752, + "capped_mape": 0.6358170618522945, + "uncapped_mape": 14955883.549030934, + "within10": 0.2757936507936508, + "within25": 0.36706349206349204, + "kish_ess": 32.40173439541447, + "max_over_mean": 6.572512179473787, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 437071165, + "capped_mape": 0.6098830215015468, + "uncapped_mape": 29322326.096829247, + "within10": 0.2996031746031746, + "within25": 0.38492063492063494, + "kish_ess": 30.706041589362375, + "max_over_mean": 6.869989494258993, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 25183784, + "capped_mape": 0.5514433331189611, + "uncapped_mape": 0.5514433331189611, + "within10": 0.30952380952380953, + "within25": 0.3888888888888889, + "kish_ess": 31.923388601398035, + "max_over_mean": 7.1015687663881835, + "runtime": { + "seconds": 0.19, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1438013437, + "capped_mape": 0.5620953206366983, + "uncapped_mape": 0.5620953206366983, + "within10": 0.2777777777777778, + "within25": 0.37103174603174605, + "kish_ess": 27.84891546483751, + "max_over_mean": 7.102246245860876, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1388713365, + "capped_mape": 0.7000178703006165, + "uncapped_mape": 4904333.0254031345, + "within10": 0.27976190476190477, + "within25": 0.3611111111111111, + "kish_ess": 28.786387981689792, + "max_over_mean": 7.084292634036529, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2100523652, + "capped_mape": 0.6558177094075159, + "uncapped_mape": 0.7892253604864888, + "within10": 0.28174603174603174, + "within25": 0.3630952380952381, + "kish_ess": 35.088035065552745, + "max_over_mean": 5.954104029775232, + "runtime": { + "seconds": 0.21, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 308002079, + "capped_mape": 0.6019983748056993, + "uncapped_mape": 0.6604449791648273, + "within10": 0.27380952380952384, + "within25": 0.38492063492063494, + "kish_ess": 36.167807044297554, + "max_over_mean": 6.240446221162146, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 85068123, + "capped_mape": 0.685149957467761, + "uncapped_mape": 0.8435574403791739, + "within10": 0.3134920634920635, + "within25": 0.36904761904761907, + "kish_ess": 41.73747680160105, + "max_over_mean": 5.30612727564133, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 523179186, + "capped_mape": 0.5525604272994232, + "uncapped_mape": 0.5525604272994232, + "within10": 0.30753968253968256, + "within25": 0.40476190476190477, + "kish_ess": 38.60282940919097, + "max_over_mean": 6.4135805197183835, + "runtime": { + "seconds": 0.39, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2078492899, + "capped_mape": 0.5571412074450383, + "uncapped_mape": 0.5571412074450383, + "within10": 0.3253968253968254, + "within25": 0.3968253968253968, + "kish_ess": 38.24363763990508, + "max_over_mean": 6.178377753452418, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 285027182, + "capped_mape": 0.6902469682278645, + "uncapped_mape": 2.223599947143622, + "within10": 0.28174603174603174, + "within25": 0.376984126984127, + "kish_ess": 34.12734411196356, + "max_over_mean": 6.210480960446869, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 369033186, + "capped_mape": 0.6311588246190484, + "uncapped_mape": 0.7308576522936525, + "within10": 0.2996031746031746, + "within25": 0.3412698412698413, + "kish_ess": 28.63897948862527, + "max_over_mean": 7.504476011232554, + "runtime": { + "seconds": 0.27, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 836784705, + "capped_mape": 0.6268783183788075, + "uncapped_mape": 0.7975126815427958, + "within10": 0.2976190476190476, + "within25": 0.3611111111111111, + "kish_ess": 28.08488059700037, + "max_over_mean": 6.934970789289278, + "runtime": { + "seconds": 0.26, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 606292271, + "capped_mape": 0.6171397919355951, + "uncapped_mape": 0.6171397919355951, + "within10": 0.25793650793650796, + "within25": 0.3134920634920635, + "kish_ess": 32.738705845137396, + "max_over_mean": 7.392699216772913, + "runtime": { + "seconds": 0.52, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2022743255, + "capped_mape": 0.6313147866647264, + "uncapped_mape": 0.7627860301098471, + "within10": 0.3055555555555556, + "within25": 0.38293650793650796, + "kish_ess": 33.55124808264192, + "max_over_mean": 6.24684631611683, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 470598375, + "capped_mape": 0.6541127544881297, + "uncapped_mape": 0.9599844462625982, + "within10": 0.29563492063492064, + "within25": 0.39880952380952384, + "kish_ess": 34.73492721471575, + "max_over_mean": 6.819433872795004, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 425738701, + "capped_mape": 0.629765603326666, + "uncapped_mape": 0.7121921855423512, + "within10": 0.29365079365079366, + "within25": 0.35912698412698413, + "kish_ess": 31.965722928238108, + "max_over_mean": 7.035753459927174, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1287347334, + "capped_mape": 0.5950234816280844, + "uncapped_mape": 0.6544529388500819, + "within10": 0.2857142857142857, + "within25": 0.38492063492063494, + "kish_ess": 30.535206652780968, + "max_over_mean": 6.716174741375649, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 124280073, + "capped_mape": 0.5882067928375206, + "uncapped_mape": 0.5882067928375206, + "within10": 0.26587301587301587, + "within25": 0.35912698412698413, + "kish_ess": 31.429195993700777, + "max_over_mean": 6.6500316059179365, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 147132687, + "capped_mape": 0.6444675073168618, + "uncapped_mape": 0.9377845769307358, + "within10": 0.2916666666666667, + "within25": 0.37896825396825395, + "kish_ess": 30.88185516436603, + "max_over_mean": 6.850669965574993, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1747639242, + "capped_mape": 0.5868041982091674, + "uncapped_mape": 0.5868041982091674, + "within10": 0.29365079365079366, + "within25": 0.3551587301587302, + "kish_ess": 33.84946044210894, + "max_over_mean": 6.69802024430632, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 34088963, + "capped_mape": 0.6359639646213464, + "uncapped_mape": 0.7080447549973335, + "within10": 0.2916666666666667, + "within25": 0.37896825396825395, + "kish_ess": 33.72423154813534, + "max_over_mean": 6.305770212121321, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 172713859, + "capped_mape": 0.6524174769196981, + "uncapped_mape": 1.9378335403124713, + "within10": 0.2876984126984127, + "within25": 0.35912698412698413, + "kish_ess": 31.75553364830091, + "max_over_mean": 6.743329981056058, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1310788031, + "capped_mape": 0.6136495049573188, + "uncapped_mape": 0.6837437494159535, + "within10": 0.2916666666666667, + "within25": 0.37103174603174605, + "kish_ess": 34.16914755454815, + "max_over_mean": 6.901845063420888, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 632261458, + "capped_mape": 0.5857393965350881, + "uncapped_mape": 0.5857393965350881, + "within10": 0.2837301587301587, + "within25": 0.35912698412698413, + "kish_ess": 29.577663893831737, + "max_over_mean": 6.8687091473530355, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1693442341, + "capped_mape": 0.7127282259644088, + "uncapped_mape": 1.143503386513022, + "within10": 0.29563492063492064, + "within25": 0.36507936507936506, + "kish_ess": 34.16458421513893, + "max_over_mean": 6.517903032179035, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1796206519, + "capped_mape": 0.6192197608756, + "uncapped_mape": 0.8190996227299895, + "within10": 0.2619047619047619, + "within25": 0.3531746031746032, + "kish_ess": 31.399956375902573, + "max_over_mean": 7.0648014104551775, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 554654912, + "capped_mape": 0.6013413068860536, + "uncapped_mape": 0.7265758503975976, + "within10": 0.2777777777777778, + "within25": 0.36507936507936506, + "kish_ess": 33.87914738667938, + "max_over_mean": 6.578789542606022, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 543507701, + "capped_mape": 0.5982353515771069, + "uncapped_mape": 0.9768169229476079, + "within10": 0.2876984126984127, + "within25": 0.4027777777777778, + "kish_ess": 30.666891860209006, + "max_over_mean": 6.9724119556306965, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 149824273, + "capped_mape": 0.5922270420396996, + "uncapped_mape": 0.6156638824673706, + "within10": 0.2698412698412698, + "within25": 0.376984126984127, + "kish_ess": 31.110876654578572, + "max_over_mean": 6.77747768945577, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 773101718, + "capped_mape": 0.672242812378481, + "uncapped_mape": 0.8471076946188829, + "within10": 0.2718253968253968, + "within25": 0.3412698412698413, + "kish_ess": 32.146802264747414, + "max_over_mean": 7.202898050580093, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1229380147, + "capped_mape": 0.5896619535840408, + "uncapped_mape": 0.5896619535840408, + "within10": 0.2718253968253968, + "within25": 0.35119047619047616, + "kish_ess": 30.80187604748709, + "max_over_mean": 7.353428148303301, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 643945599, + "capped_mape": 0.5904299119072065, + "uncapped_mape": 0.7690302799997977, + "within10": 0.29563492063492064, + "within25": 0.37103174603174605, + "kish_ess": 32.22631414731514, + "max_over_mean": 6.868653197149041, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1706711560, + "capped_mape": 0.6065980990300315, + "uncapped_mape": 0.725538857143308, + "within10": 0.2896825396825397, + "within25": 0.375, + "kish_ess": 32.75282868373394, + "max_over_mean": 6.256304621969679, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1400124730, + "capped_mape": 0.648744409548602, + "uncapped_mape": 21154932.704139963, + "within10": 0.2837301587301587, + "within25": 0.35912698412698413, + "kish_ess": 34.54981960741654, + "max_over_mean": 6.844601948927173, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1305526663, + "capped_mape": 0.6729258182297942, + "uncapped_mape": 11889033.71197298, + "within10": 0.27976190476190477, + "within25": 0.3531746031746032, + "kish_ess": 28.299613395413623, + "max_over_mean": 6.621874217561084, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1414561605, + "capped_mape": 0.5970835223568206, + "uncapped_mape": 0.6460438495205979, + "within10": 0.29563492063492064, + "within25": 0.3888888888888889, + "kish_ess": 35.697187680782825, + "max_over_mean": 6.521519434334205, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 558741372, + "capped_mape": 0.6119777985294023, + "uncapped_mape": 0.7550064227691354, + "within10": 0.2896825396825397, + "within25": 0.375, + "kish_ess": 33.72541720409782, + "max_over_mean": 6.823966006265184, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1191222897, + "capped_mape": 0.6158720301138562, + "uncapped_mape": 0.7279638501293918, + "within10": 0.30158730158730157, + "within25": 0.373015873015873, + "kish_ess": 35.51809900217653, + "max_over_mean": 6.900211831165598, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1625022677, + "capped_mape": 0.6331089916542288, + "uncapped_mape": 1.0706183964950071, + "within10": 0.2777777777777778, + "within25": 0.36507936507936506, + "kish_ess": 32.63167881262985, + "max_over_mean": 6.888059195360171, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 116842344, + "capped_mape": 0.645114588360538, + "uncapped_mape": 1.0050678245380595, + "within10": 0.2757936507936508, + "within25": 0.34523809523809523, + "kish_ess": 28.632132337956556, + "max_over_mean": 7.380856601639162, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 904933881, + "capped_mape": 0.742180438079956, + "uncapped_mape": 1.1345075556914455, + "within10": 0.2857142857142857, + "within25": 0.37896825396825395, + "kish_ess": 31.84449855658983, + "max_over_mean": 6.904426140191147, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 619970131, + "capped_mape": 0.6203926475568192, + "uncapped_mape": 0.6477615326407614, + "within10": 0.3194444444444444, + "within25": 0.3948412698412698, + "kish_ess": 31.103435803522338, + "max_over_mean": 7.442384313254246, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1170815813, + "capped_mape": 0.5936348445331783, + "uncapped_mape": 0.5936348445331783, + "within10": 0.25793650793650796, + "within25": 0.3412698412698413, + "kish_ess": 30.069861006988493, + "max_over_mean": 7.338008841397374, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1259125978, + "capped_mape": 0.6870786446624159, + "uncapped_mape": 0.9424647218565525, + "within10": 0.29563492063492064, + "within25": 0.3531746031746032, + "kish_ess": 34.184274420557124, + "max_over_mean": 6.428168213037029, + "runtime": { + "seconds": 0.18, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1837739832, + "capped_mape": 0.6485601208643271, + "uncapped_mape": 0.8950312222254527, + "within10": 0.30158730158730157, + "within25": 0.36507936507936506, + "kish_ess": 29.71570102098777, + "max_over_mean": 6.947745528138016, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 997055587, + "capped_mape": 0.6078576253903872, + "uncapped_mape": 0.7069657129828946, + "within10": 0.29365079365079366, + "within25": 0.3948412698412698, + "kish_ess": 32.63185866662659, + "max_over_mean": 6.401833517787113, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 14637070, + "capped_mape": 0.6458023414057528, + "uncapped_mape": 0.8171642536554274, + "within10": 0.2857142857142857, + "within25": 0.36706349206349204, + "kish_ess": 32.09961177303321, + "max_over_mean": 7.464508965126467, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1077674083, + "capped_mape": 0.6543556819075699, + "uncapped_mape": 0.755014448521593, + "within10": 0.2718253968253968, + "within25": 0.34325396825396826, + "kish_ess": 29.820757211991832, + "max_over_mean": 6.6630288517216, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1055348740, + "capped_mape": 0.5601488906113077, + "uncapped_mape": 0.5601488906113077, + "within10": 0.30753968253968256, + "within25": 0.38492063492063494, + "kish_ess": 32.219676065274875, + "max_over_mean": 6.900037860065114, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1117287337, + "capped_mape": 0.6448763648585233, + "uncapped_mape": 0.7325535270540154, + "within10": 0.28174603174603174, + "within25": 0.38293650793650796, + "kish_ess": 33.77605826686759, + "max_over_mean": 6.819906346786827, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1736294372, + "capped_mape": 0.587663718043876, + "uncapped_mape": 0.587663718043876, + "within10": 0.2619047619047619, + "within25": 0.3392857142857143, + "kish_ess": 28.689860438394046, + "max_over_mean": 7.713891993027859, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 985048728, + "capped_mape": 0.6440994108181085, + "uncapped_mape": 0.7846951225599919, + "within10": 0.27976190476190477, + "within25": 0.3551587301587302, + "kish_ess": 29.54904899206244, + "max_over_mean": 6.885041766103337, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1379909498, + "capped_mape": 0.5896666515230344, + "uncapped_mape": 0.5896666515230344, + "within10": 0.27976190476190477, + "within25": 0.35119047619047616, + "kish_ess": 31.314884850117874, + "max_over_mean": 7.188818360166175, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1638430584, + "capped_mape": 0.5861972511569669, + "uncapped_mape": 0.5861972511569669, + "within10": 0.2777777777777778, + "within25": 0.32936507936507936, + "kish_ess": 30.46705231660677, + "max_over_mean": 6.632629099086213, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1723067141, + "capped_mape": 0.5811321191946107, + "uncapped_mape": 0.684990231980376, + "within10": 0.3273809523809524, + "within25": 0.4027777777777778, + "kish_ess": 30.735288634309242, + "max_over_mean": 7.708820354084616, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1378848541, + "capped_mape": 0.6489880863669117, + "uncapped_mape": 1.6808675984719355, + "within10": 0.3055555555555556, + "within25": 0.41865079365079366, + "kish_ess": 31.693788386331672, + "max_over_mean": 6.85128292166709, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 868197522, + "capped_mape": 0.6180017754631343, + "uncapped_mape": 0.6555785055264339, + "within10": 0.29365079365079366, + "within25": 0.3630952380952381, + "kish_ess": 28.911752395499747, + "max_over_mean": 6.954676120902694, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 647202149, + "capped_mape": 0.5941710238938392, + "uncapped_mape": 0.5941710238938392, + "within10": 0.2976190476190476, + "within25": 0.37896825396825395, + "kish_ess": 33.7762884975958, + "max_over_mean": 7.270328909633143, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 2113214476, + "capped_mape": 0.6066318607979987, + "uncapped_mape": 0.6293068025298534, + "within10": 0.29563492063492064, + "within25": 0.38492063492063494, + "kish_ess": 34.78017856990838, + "max_over_mean": 6.586903349400082, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 992271816, + "capped_mape": 0.6716101227403947, + "uncapped_mape": 18060569.456189692, + "within10": 0.2757936507936508, + "within25": 0.34325396825396826, + "kish_ess": 32.997248841134486, + "max_over_mean": 7.05998448048754, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 676736913, + "capped_mape": 0.5833869621115897, + "uncapped_mape": 0.5833869621115897, + "within10": 0.2777777777777778, + "within25": 0.3551587301587302, + "kish_ess": 40.44476481472034, + "max_over_mean": 5.561277380760925, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 98112358, + "capped_mape": 0.6350295908328347, + "uncapped_mape": 0.7503788416241771, + "within10": 0.2638888888888889, + "within25": 0.34523809523809523, + "kish_ess": 35.13585751436276, + "max_over_mean": 6.279760955499692, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1683327068, + "capped_mape": 0.6413065946496157, + "uncapped_mape": 0.9012640049856816, + "within10": 0.2777777777777778, + "within25": 0.3611111111111111, + "kish_ess": 29.725491875610132, + "max_over_mean": 6.845271627559084, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 2000893927, + "capped_mape": 0.6266705111102218, + "uncapped_mape": 26696678.064991515, + "within10": 0.27976190476190477, + "within25": 0.36904761904761907, + "kish_ess": 28.161281965131987, + "max_over_mean": 6.976379573852008, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1602201121, + "capped_mape": 0.6327759893614479, + "uncapped_mape": 0.8012015758377731, + "within10": 0.27380952380952384, + "within25": 0.3611111111111111, + "kish_ess": 28.31840069286362, + "max_over_mean": 7.210227419325068, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 220791302, + "capped_mape": 0.6884578734702862, + "uncapped_mape": 1.5821758744282184, + "within10": 0.2896825396825397, + "within25": 0.376984126984127, + "kish_ess": 25.656495509386865, + "max_over_mean": 7.109672133181688, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 394024601, + "capped_mape": 0.5865541236472688, + "uncapped_mape": 0.5865541236472688, + "within10": 0.27976190476190477, + "within25": 0.36507936507936506, + "kish_ess": 35.287902441763535, + "max_over_mean": 6.6695244085576295, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 422109773, + "capped_mape": 0.6315046801910845, + "uncapped_mape": 1.1089853446174294, + "within10": 0.27976190476190477, + "within25": 0.3353174603174603, + "kish_ess": 34.31378307425054, + "max_over_mean": 6.64958685629291, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1719685853, + "capped_mape": 0.5838983011468886, + "uncapped_mape": 0.620321878822898, + "within10": 0.2996031746031746, + "within25": 0.3869047619047619, + "kish_ess": 31.15038250238292, + "max_over_mean": 7.1395161727248, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 301499302, + "capped_mape": 0.6261733817528967, + "uncapped_mape": 0.9498650972163032, + "within10": 0.2837301587301587, + "within25": 0.3531746031746032, + "kish_ess": 30.61727889587827, + "max_over_mean": 6.6965169445174, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 485027177, + "capped_mape": 0.6830755057568237, + "uncapped_mape": 1.0819697151407324, + "within10": 0.25, + "within25": 0.32936507936507936, + "kish_ess": 29.752488876247277, + "max_over_mean": 6.807989383206299, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 138278317, + "capped_mape": 0.5739960366044015, + "uncapped_mape": 0.5739960366044015, + "within10": 0.2718253968253968, + "within25": 0.36904761904761907, + "kish_ess": 32.54152313971916, + "max_over_mean": 6.974369092627968, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1683884968, + "capped_mape": 0.5365128415851602, + "uncapped_mape": 0.5365128415851602, + "within10": 0.32341269841269843, + "within25": 0.4305555555555556, + "kish_ess": 33.726334381460475, + "max_over_mean": 6.638477490561664, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1678079148, + "capped_mape": 0.672255184107364, + "uncapped_mape": 0.9703330296977897, + "within10": 0.25992063492063494, + "within25": 0.37103174603174605, + "kish_ess": 32.82888116574106, + "max_over_mean": 6.91016349268257, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1653738625, + "capped_mape": 0.6567340560333881, + "uncapped_mape": 0.7936283167327424, + "within10": 0.25992063492063494, + "within25": 0.33134920634920634, + "kish_ess": 33.34236464206249, + "max_over_mean": 7.033255212123285, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1847357819, + "capped_mape": 0.6340599489382572, + "uncapped_mape": 0.7636274877185775, + "within10": 0.3333333333333333, + "within25": 0.3888888888888889, + "kish_ess": 30.754062635897206, + "max_over_mean": 7.479811298785148, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1606591099, + "capped_mape": 0.6857729973287245, + "uncapped_mape": 0.8182904308345259, + "within10": 0.2876984126984127, + "within25": 0.3492063492063492, + "kish_ess": 37.85349195402665, + "max_over_mean": 7.340068760373903, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1474745112, + "capped_mape": 0.5875415684952064, + "uncapped_mape": 0.5875415684952064, + "within10": 0.27380952380952384, + "within25": 0.373015873015873, + "kish_ess": 32.32582631578076, + "max_over_mean": 6.659833963391088, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1256853321, + "capped_mape": 0.678433609490578, + "uncapped_mape": 0.9523929616899137, + "within10": 0.2757936507936508, + "within25": 0.3531746031746032, + "kish_ess": 32.900913858417546, + "max_over_mean": 7.702171156731203, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1464829824, + "capped_mape": 0.657210640278852, + "uncapped_mape": 17970928.442789167, + "within10": 0.26587301587301587, + "within25": 0.35912698412698413, + "kish_ess": 30.134753858015287, + "max_over_mean": 7.67244547279218, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1528407391, + "capped_mape": 0.5903285288552187, + "uncapped_mape": 0.7875807822155622, + "within10": 0.3194444444444444, + "within25": 0.3869047619047619, + "kish_ess": 31.878908565891123, + "max_over_mean": 7.023842701002408, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1342072860, + "capped_mape": 0.6488816700304647, + "uncapped_mape": 0.847618466666805, + "within10": 0.3194444444444444, + "within25": 0.373015873015873, + "kish_ess": 36.02969797181222, + "max_over_mean": 7.07045202826114, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1443817095, + "capped_mape": 0.6222944998887957, + "uncapped_mape": 0.8742911000943219, + "within10": 0.32341269841269843, + "within25": 0.3968253968253968, + "kish_ess": 30.949379546872432, + "max_over_mean": 7.5655700833802335, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1456505431, + "capped_mape": 0.6979977488373353, + "uncapped_mape": 3.0849302466491832, + "within10": 0.2896825396825397, + "within25": 0.38293650793650796, + "kish_ess": 29.420464871139675, + "max_over_mean": 7.201242407012398, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + } + ] + }, + "exact_k_position": { + "capped_mape": 0.5872030003777146, + "uncapped_mape": 0.5872030003777146, + "share_of_design2_seeds_uncapped_at_or_below": 0.105, + "share_of_design2_seeds_at_or_below": 0.13, + "within10": 0.23412698412698413, + "share_of_design2_seeds_within10_at_or_below": 0.0 + } + }, + "headline": { + "design1_self_weighted": { + "capped_mape": { + "p05": 0.313218219929353, + "p50": 0.37923942527877463, + "p95": 0.4565076821553613, + "min": 0.27454843500645676, + "max": 0.5794495782724804 + }, + "uncapped_mape": { + "p05": 0.313218219929353, + "p50": 0.37923942527877463, + "p95": 0.4565076821553613, + "min": 0.27454843500645676, + "max": 0.5794495782724804 + }, + "within10": { + "p05": 0.03125, + "p50": 0.125, + "p95": 0.21875, + "min": 0.0, + "max": 0.28125 + }, + "within25": { + "p05": 0.1875, + "p50": 0.34375, + "p95": 0.46875, + "min": 0.125, + "max": 0.5625 + } + }, + "design2_post_stratified": { + "capped_mape": { + "p05": 0.011281733641592894, + "p50": 0.04936414043456387, + "p95": 0.1080770203530834, + "min": 0.005689083753118835, + "max": 0.13299027371034622 + }, + "uncapped_mape": { + "p05": 0.011281733641592894, + "p50": 0.04936414043456387, + "p95": 0.1080770203530834, + "min": 0.005689083753118835, + "max": 0.13299027371034622 + }, + "within10": { + "p05": 0.8125, + "p50": 0.90625, + "p95": 0.96875, + "min": 0.8125, + "max": 1.0 + }, + "within25": { + "p05": 0.875, + "p50": 0.9375, + "p95": 1.0, + "min": 0.84375, + "max": 1.0 + }, + "kish_ess": { + "p05": 34.012110684798245, + "p50": 46.92126473820662, + "p95": 60.00360266585049, + "min": 26.62913820677668, + "max": 71.63891343601682 + }, + "max_over_mean": { + "p05": 4.096073951334186, + "p50": 6.1222553061532174, + "p95": 7.415596492033513, + "min": 3.151914889981241, + "max": 7.670081179893415 + } + }, + "frozen_draw_position": { + "design1_capped_mape": 0.3864857311652927, + "design1_uncapped_mape": 0.3864857311652927, + "design1_uncapped_share_of_seeds_at_or_below": 0.57, + "design1_share_of_seeds_at_or_below": 0.57, + "design1_within10": 0.0625, + "design1_share_of_seeds_within10_at_or_below": 0.255, + "design2_capped_mape": 0.04062102141423633, + "design2_uncapped_mape": 0.04062102141423633, + "design2_uncapped_share_of_seeds_at_or_below": 0.295, + "design2_share_of_seeds_at_or_below": 0.295, + "design2_within10": 0.90625, + "design2_share_of_seeds_within10_at_or_below": 0.7 + }, + "per_seed": { + "design1": [ + { + "seed": 1532009180, + "capped_mape": 0.32854484170797604, + "uncapped_mape": 0.32854484170797604, + "within10": 0.1875, + "within25": 0.4375 + }, + { + "seed": 2129919777, + "capped_mape": 0.32953798475080415, + "uncapped_mape": 0.32953798475080415, + "within10": 0.1875, + "within25": 0.4375 + }, + { + "seed": 1926506354, + "capped_mape": 0.446297518213102, + "uncapped_mape": 0.446297518213102, + "within10": 0.0625, + "within25": 0.25 + }, + { + "seed": 1866631624, + "capped_mape": 0.3838418448912101, + "uncapped_mape": 0.3838418448912101, + "within10": 0.21875, + "within25": 0.40625 + }, + { + "seed": 1914807902, + "capped_mape": 0.4120542471497023, + "uncapped_mape": 0.4120542471497023, + "within10": 0.125, + "within25": 0.21875 + }, + { + "seed": 737276679, + "capped_mape": 0.3333702336437443, + "uncapped_mape": 0.3333702336437443, + "within10": 0.1875, + "within25": 0.5 + }, + { + "seed": 1238078731, + "capped_mape": 0.35728169046516756, + "uncapped_mape": 0.35728169046516756, + "within10": 0.15625, + "within25": 0.375 + }, + { + "seed": 1407801735, + "capped_mape": 0.32463826345228886, + "uncapped_mape": 0.32463826345228886, + "within10": 0.1875, + "within25": 0.4375 + }, + { + "seed": 1736947865, + "capped_mape": 0.36396845627802304, + "uncapped_mape": 0.36396845627802304, + "within10": 0.0625, + "within25": 0.40625 + }, + { + "seed": 1343677066, + "capped_mape": 0.39524194743519314, + "uncapped_mape": 0.39524194743519314, + "within10": 0.15625, + "within25": 0.3125 + }, + { + "seed": 1500687924, + "capped_mape": 0.27954491857841746, + "uncapped_mape": 0.27954491857841746, + "within10": 0.25, + "within25": 0.375 + }, + { + "seed": 1860250772, + "capped_mape": 0.4141130655858925, + "uncapped_mape": 0.4141130655858925, + "within10": 0.09375, + "within25": 0.3125 + }, + { + "seed": 636413936, + "capped_mape": 0.44657631026264877, + "uncapped_mape": 0.44657631026264877, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 1578173517, + "capped_mape": 0.3740286500442661, + "uncapped_mape": 0.3740286500442661, + "within10": 0.0625, + "within25": 0.4375 + }, + { + "seed": 1555667707, + "capped_mape": 0.3473999794435876, + "uncapped_mape": 0.3473999794435876, + "within10": 0.1875, + "within25": 0.40625 + }, + { + "seed": 1011384468, + "capped_mape": 0.4217270339688117, + "uncapped_mape": 0.4217270339688117, + "within10": 0.125, + "within25": 0.1875 + }, + { + "seed": 1870858225, + "capped_mape": 0.34211697123769336, + "uncapped_mape": 0.34211697123769336, + "within10": 0.15625, + "within25": 0.40625 + }, + { + "seed": 1246736694, + "capped_mape": 0.3545907548509404, + "uncapped_mape": 0.3545907548509404, + "within10": 0.03125, + "within25": 0.28125 + }, + { + "seed": 434606789, + "capped_mape": 0.3359617962382321, + "uncapped_mape": 0.3359617962382321, + "within10": 0.1875, + "within25": 0.46875 + }, + { + "seed": 595604501, + "capped_mape": 0.384551784406334, + "uncapped_mape": 0.384551784406334, + "within10": 0.125, + "within25": 0.3125 + }, + { + "seed": 1513158413, + "capped_mape": 0.3663771232503476, + "uncapped_mape": 0.3663771232503476, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 1774881996, + "capped_mape": 0.33354947846403066, + "uncapped_mape": 0.33354947846403066, + "within10": 0.28125, + "within25": 0.4375 + }, + { + "seed": 1119164309, + "capped_mape": 0.39494324727543073, + "uncapped_mape": 0.39494324727543073, + "within10": 0.125, + "within25": 0.25 + }, + { + "seed": 390315266, + "capped_mape": 0.4548197826732294, + "uncapped_mape": 0.4548197826732294, + "within10": 0.125, + "within25": 0.3125 + }, + { + "seed": 1046663207, + "capped_mape": 0.34235972842498325, + "uncapped_mape": 0.34235972842498325, + "within10": 0.15625, + "within25": 0.3125 + }, + { + "seed": 1781691076, + "capped_mape": 0.3377565432685206, + "uncapped_mape": 0.3377565432685206, + "within10": 0.21875, + "within25": 0.375 + }, + { + "seed": 1409111333, + "capped_mape": 0.31628762556138046, + "uncapped_mape": 0.31628762556138046, + "within10": 0.15625, + "within25": 0.3125 + }, + { + "seed": 726504131, + "capped_mape": 0.4018036274435781, + "uncapped_mape": 0.4018036274435781, + "within10": 0.03125, + "within25": 0.25 + }, + { + "seed": 100591433, + "capped_mape": 0.3446152362033785, + "uncapped_mape": 0.3446152362033785, + "within10": 0.125, + "within25": 0.40625 + }, + { + "seed": 827732712, + "capped_mape": 0.3651853399683194, + "uncapped_mape": 0.3651853399683194, + "within10": 0.1875, + "within25": 0.4375 + }, + { + "seed": 478806322, + "capped_mape": 0.36657047873908777, + "uncapped_mape": 0.36657047873908777, + "within10": 0.09375, + "within25": 0.40625 + }, + { + "seed": 930165619, + "capped_mape": 0.42386631089145166, + "uncapped_mape": 0.42386631089145166, + "within10": 0.0625, + "within25": 0.25 + }, + { + "seed": 1788282626, + "capped_mape": 0.4238694366928693, + "uncapped_mape": 0.4238694366928693, + "within10": 0.0625, + "within25": 0.21875 + }, + { + "seed": 137354418, + "capped_mape": 0.4167974225577827, + "uncapped_mape": 0.4167974225577827, + "within10": 0.15625, + "within25": 0.3125 + }, + { + "seed": 1284017857, + "capped_mape": 0.42883177138476075, + "uncapped_mape": 0.42883177138476075, + "within10": 0.0625, + "within25": 0.21875 + }, + { + "seed": 1730630220, + "capped_mape": 0.30114467935130595, + "uncapped_mape": 0.30114467935130595, + "within10": 0.15625, + "within25": 0.46875 + }, + { + "seed": 88752578, + "capped_mape": 0.41017276269736563, + "uncapped_mape": 0.41017276269736563, + "within10": 0.03125, + "within25": 0.21875 + }, + { + "seed": 2088932291, + "capped_mape": 0.3986824955066588, + "uncapped_mape": 0.3986824955066588, + "within10": 0.09375, + "within25": 0.21875 + }, + { + "seed": 1380922543, + "capped_mape": 0.3906521911076954, + "uncapped_mape": 0.3906521911076954, + "within10": 0.125, + "within25": 0.3125 + }, + { + "seed": 727733239, + "capped_mape": 0.37492586043072584, + "uncapped_mape": 0.37492586043072584, + "within10": 0.03125, + "within25": 0.3125 + }, + { + "seed": 39520516, + "capped_mape": 0.35982478315325794, + "uncapped_mape": 0.35982478315325794, + "within10": 0.125, + "within25": 0.375 + }, + { + "seed": 2134606925, + "capped_mape": 0.33151543062865013, + "uncapped_mape": 0.33151543062865013, + "within10": 0.09375, + "within25": 0.40625 + }, + { + "seed": 1875266754, + "capped_mape": 0.437895316414869, + "uncapped_mape": 0.437895316414869, + "within10": 0.09375, + "within25": 0.25 + }, + { + "seed": 1740433011, + "capped_mape": 0.3714352666605831, + "uncapped_mape": 0.3714352666605831, + "within10": 0.1875, + "within25": 0.40625 + }, + { + "seed": 988437747, + "capped_mape": 0.3646096300879149, + "uncapped_mape": 0.3646096300879149, + "within10": 0.09375, + "within25": 0.46875 + }, + { + "seed": 1611143028, + "capped_mape": 0.41242662692517273, + "uncapped_mape": 0.41242662692517273, + "within10": 0.0625, + "within25": 0.34375 + }, + { + "seed": 1437774242, + "capped_mape": 0.416019450653746, + "uncapped_mape": 0.416019450653746, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 151746818, + "capped_mape": 0.3503945648605533, + "uncapped_mape": 0.3503945648605533, + "within10": 0.15625, + "within25": 0.40625 + }, + { + "seed": 1118411802, + "capped_mape": 0.3910389085733347, + "uncapped_mape": 0.3910389085733347, + "within10": 0.15625, + "within25": 0.34375 + }, + { + "seed": 2016567772, + "capped_mape": 0.4142644903279147, + "uncapped_mape": 0.4142644903279147, + "within10": 0.03125, + "within25": 0.28125 + }, + { + "seed": 2026886712, + "capped_mape": 0.42919411609962993, + "uncapped_mape": 0.42919411609962993, + "within10": 0.0625, + "within25": 0.28125 + }, + { + "seed": 366099807, + "capped_mape": 0.3344000445001871, + "uncapped_mape": 0.3344000445001871, + "within10": 0.21875, + "within25": 0.4375 + }, + { + "seed": 81115437, + "capped_mape": 0.36781770757528337, + "uncapped_mape": 0.36781770757528337, + "within10": 0.09375, + "within25": 0.25 + }, + { + "seed": 1674428023, + "capped_mape": 0.4821197448339131, + "uncapped_mape": 0.4821197448339131, + "within10": 0.0625, + "within25": 0.1875 + }, + { + "seed": 988733458, + "capped_mape": 0.33445509937102913, + "uncapped_mape": 0.33445509937102913, + "within10": 0.125, + "within25": 0.46875 + }, + { + "seed": 169715272, + "capped_mape": 0.38577217001989084, + "uncapped_mape": 0.38577217001989084, + "within10": 0.15625, + "within25": 0.3125 + }, + { + "seed": 450070876, + "capped_mape": 0.32846286360207677, + "uncapped_mape": 0.32846286360207677, + "within10": 0.1875, + "within25": 0.375 + }, + { + "seed": 1253889902, + "capped_mape": 0.35306091165150216, + "uncapped_mape": 0.35306091165150216, + "within10": 0.15625, + "within25": 0.34375 + }, + { + "seed": 127854099, + "capped_mape": 0.2969077405262769, + "uncapped_mape": 0.2969077405262769, + "within10": 0.25, + "within25": 0.5625 + }, + { + "seed": 1766762779, + "capped_mape": 0.3591349906236809, + "uncapped_mape": 0.3591349906236809, + "within10": 0.03125, + "within25": 0.53125 + }, + { + "seed": 1814963221, + "capped_mape": 0.3578280649030252, + "uncapped_mape": 0.3578280649030252, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 834687501, + "capped_mape": 0.3261346422483714, + "uncapped_mape": 0.3261346422483714, + "within10": 0.125, + "within25": 0.46875 + }, + { + "seed": 2130470468, + "capped_mape": 0.33032443988028964, + "uncapped_mape": 0.33032443988028964, + "within10": 0.15625, + "within25": 0.46875 + }, + { + "seed": 1825423326, + "capped_mape": 0.39323940319099476, + "uncapped_mape": 0.39323940319099476, + "within10": 0.0625, + "within25": 0.34375 + }, + { + "seed": 1159988727, + "capped_mape": 0.33163215016398706, + "uncapped_mape": 0.33163215016398706, + "within10": 0.21875, + "within25": 0.46875 + }, + { + "seed": 300528324, + "capped_mape": 0.3561431101242287, + "uncapped_mape": 0.3561431101242287, + "within10": 0.125, + "within25": 0.3125 + }, + { + "seed": 418625375, + "capped_mape": 0.373866143750676, + "uncapped_mape": 0.373866143750676, + "within10": 0.15625, + "within25": 0.375 + }, + { + "seed": 2066889053, + "capped_mape": 0.3921795528900473, + "uncapped_mape": 0.3921795528900473, + "within10": 0.03125, + "within25": 0.3125 + }, + { + "seed": 1262192692, + "capped_mape": 0.3697644355413915, + "uncapped_mape": 0.3697644355413915, + "within10": 0.0625, + "within25": 0.28125 + }, + { + "seed": 1883057678, + "capped_mape": 0.47032196743653965, + "uncapped_mape": 0.47032196743653965, + "within10": 0.0625, + "within25": 0.21875 + }, + { + "seed": 904811576, + "capped_mape": 0.41056932249492606, + "uncapped_mape": 0.41056932249492606, + "within10": 0.0625, + "within25": 0.21875 + }, + { + "seed": 1825997340, + "capped_mape": 0.3274664794319377, + "uncapped_mape": 0.3274664794319377, + "within10": 0.125, + "within25": 0.46875 + }, + { + "seed": 1449527016, + "capped_mape": 0.3908429630510506, + "uncapped_mape": 0.3908429630510506, + "within10": 0.09375, + "within25": 0.21875 + }, + { + "seed": 1740133331, + "capped_mape": 0.35199105828610766, + "uncapped_mape": 0.35199105828610766, + "within10": 0.1875, + "within25": 0.34375 + }, + { + "seed": 73721642, + "capped_mape": 0.33736355044046074, + "uncapped_mape": 0.33736355044046074, + "within10": 0.15625, + "within25": 0.46875 + }, + { + "seed": 1124158206, + "capped_mape": 0.444452754242294, + "uncapped_mape": 0.444452754242294, + "within10": 0.09375, + "within25": 0.21875 + }, + { + "seed": 536900518, + "capped_mape": 0.38207445623538494, + "uncapped_mape": 0.38207445623538494, + "within10": 0.09375, + "within25": 0.28125 + }, + { + "seed": 566748327, + "capped_mape": 0.41313905480691915, + "uncapped_mape": 0.41313905480691915, + "within10": 0.09375, + "within25": 0.28125 + }, + { + "seed": 513144195, + "capped_mape": 0.41861362404046004, + "uncapped_mape": 0.41861362404046004, + "within10": 0.09375, + "within25": 0.1875 + }, + { + "seed": 1493589832, + "capped_mape": 0.4828453959671057, + "uncapped_mape": 0.4828453959671057, + "within10": 0.0625, + "within25": 0.125 + }, + { + "seed": 236604464, + "capped_mape": 0.4369155619249141, + "uncapped_mape": 0.4369155619249141, + "within10": 0.0625, + "within25": 0.28125 + }, + { + "seed": 730967731, + "capped_mape": 0.35839521923812206, + "uncapped_mape": 0.35839521923812206, + "within10": 0.15625, + "within25": 0.40625 + }, + { + "seed": 935667708, + "capped_mape": 0.38017929919729593, + "uncapped_mape": 0.38017929919729593, + "within10": 0.125, + "within25": 0.28125 + }, + { + "seed": 1299644429, + "capped_mape": 0.3252320787999754, + "uncapped_mape": 0.3252320787999754, + "within10": 0.21875, + "within25": 0.4375 + }, + { + "seed": 1204157455, + "capped_mape": 0.37829955136025334, + "uncapped_mape": 0.37829955136025334, + "within10": 0.15625, + "within25": 0.34375 + }, + { + "seed": 1122474945, + "capped_mape": 0.4181703673835051, + "uncapped_mape": 0.4181703673835051, + "within10": 0.03125, + "within25": 0.1875 + }, + { + "seed": 791607562, + "capped_mape": 0.3699655898071348, + "uncapped_mape": 0.3699655898071348, + "within10": 0.09375, + "within25": 0.3125 + }, + { + "seed": 2007045677, + "capped_mape": 0.38575775722959843, + "uncapped_mape": 0.38575775722959843, + "within10": 0.125, + "within25": 0.28125 + }, + { + "seed": 702676148, + "capped_mape": 0.3646320343514725, + "uncapped_mape": 0.3646320343514725, + "within10": 0.15625, + "within25": 0.34375 + }, + { + "seed": 673829134, + "capped_mape": 0.38280333755302964, + "uncapped_mape": 0.38280333755302964, + "within10": 0.125, + "within25": 0.34375 + }, + { + "seed": 1906551083, + "capped_mape": 0.35880371967704494, + "uncapped_mape": 0.35880371967704494, + "within10": 0.0625, + "within25": 0.25 + }, + { + "seed": 1542959021, + "capped_mape": 0.39036538516606983, + "uncapped_mape": 0.39036538516606983, + "within10": 0.0625, + "within25": 0.34375 + }, + { + "seed": 267019143, + "capped_mape": 0.40055005935099586, + "uncapped_mape": 0.40055005935099586, + "within10": 0.0625, + "within25": 0.375 + }, + { + "seed": 486597684, + "capped_mape": 0.3211569311793266, + "uncapped_mape": 0.3211569311793266, + "within10": 0.09375, + "within25": 0.5 + }, + { + "seed": 1371678369, + "capped_mape": 0.35370237891362494, + "uncapped_mape": 0.35370237891362494, + "within10": 0.28125, + "within25": 0.46875 + }, + { + "seed": 25744874, + "capped_mape": 0.35236709276072775, + "uncapped_mape": 0.35236709276072775, + "within10": 0.15625, + "within25": 0.34375 + }, + { + "seed": 1002633504, + "capped_mape": 0.31899409758002406, + "uncapped_mape": 0.31899409758002406, + "within10": 0.1875, + "within25": 0.4375 + }, + { + "seed": 2124412777, + "capped_mape": 0.408381537397548, + "uncapped_mape": 0.408381537397548, + "within10": 0.09375, + "within25": 0.3125 + }, + { + "seed": 1741576743, + "capped_mape": 0.33362998030191565, + "uncapped_mape": 0.33362998030191565, + "within10": 0.15625, + "within25": 0.40625 + }, + { + "seed": 93146892, + "capped_mape": 0.4465254480230639, + "uncapped_mape": 0.4465254480230639, + "within10": 0.09375, + "within25": 0.21875 + }, + { + "seed": 1886922474, + "capped_mape": 0.3929367174462381, + "uncapped_mape": 0.3929367174462381, + "within10": 0.125, + "within25": 0.3125 + }, + { + "seed": 913404475, + "capped_mape": 0.374664603237085, + "uncapped_mape": 0.374664603237085, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 1713839694, + "capped_mape": 0.40254275750275065, + "uncapped_mape": 0.40254275750275065, + "within10": 0.125, + "within25": 0.25 + }, + { + "seed": 1089653292, + "capped_mape": 0.5794495782724804, + "uncapped_mape": 0.5794495782724804, + "within10": 0.15625, + "within25": 0.3125 + }, + { + "seed": 1229294345, + "capped_mape": 0.4067789981721288, + "uncapped_mape": 0.4067789981721288, + "within10": 0.03125, + "within25": 0.28125 + }, + { + "seed": 1227172338, + "capped_mape": 0.34318094790767306, + "uncapped_mape": 0.34318094790767306, + "within10": 0.15625, + "within25": 0.40625 + }, + { + "seed": 1785175443, + "capped_mape": 0.4210012091792318, + "uncapped_mape": 0.4210012091792318, + "within10": 0.0625, + "within25": 0.3125 + }, + { + "seed": 270764336, + "capped_mape": 0.4174159814406416, + "uncapped_mape": 0.4174159814406416, + "within10": 0.0625, + "within25": 0.25 + }, + { + "seed": 765545859, + "capped_mape": 0.3189690794014763, + "uncapped_mape": 0.3189690794014763, + "within10": 0.15625, + "within25": 0.375 + }, + { + "seed": 1251541455, + "capped_mape": 0.41912197598968015, + "uncapped_mape": 0.41912197598968015, + "within10": 0.0625, + "within25": 0.3125 + }, + { + "seed": 2092129028, + "capped_mape": 0.34606973145453246, + "uncapped_mape": 0.34606973145453246, + "within10": 0.125, + "within25": 0.40625 + }, + { + "seed": 412342320, + "capped_mape": 0.3664979458464056, + "uncapped_mape": 0.3664979458464056, + "within10": 0.125, + "within25": 0.40625 + }, + { + "seed": 1335091183, + "capped_mape": 0.4447117960367696, + "uncapped_mape": 0.4447117960367696, + "within10": 0.09375, + "within25": 0.25 + }, + { + "seed": 398669796, + "capped_mape": 0.4212121504743588, + "uncapped_mape": 0.4212121504743588, + "within10": 0.125, + "within25": 0.46875 + }, + { + "seed": 320187278, + "capped_mape": 0.34306972272627706, + "uncapped_mape": 0.34306972272627706, + "within10": 0.1875, + "within25": 0.4375 + }, + { + "seed": 2070187752, + "capped_mape": 0.342766589029317, + "uncapped_mape": 0.342766589029317, + "within10": 0.1875, + "within25": 0.375 + }, + { + "seed": 437071165, + "capped_mape": 0.37756307864842387, + "uncapped_mape": 0.37756307864842387, + "within10": 0.09375, + "within25": 0.28125 + }, + { + "seed": 25183784, + "capped_mape": 0.3363896567390056, + "uncapped_mape": 0.3363896567390056, + "within10": 0.21875, + "within25": 0.4375 + }, + { + "seed": 1438013437, + "capped_mape": 0.3252054205252821, + "uncapped_mape": 0.3252054205252821, + "within10": 0.125, + "within25": 0.4375 + }, + { + "seed": 1388713365, + "capped_mape": 0.32345025762053475, + "uncapped_mape": 0.32345025762053475, + "within10": 0.21875, + "within25": 0.40625 + }, + { + "seed": 2100523652, + "capped_mape": 0.4155889086153829, + "uncapped_mape": 0.4155889086153829, + "within10": 0.09375, + "within25": 0.34375 + }, + { + "seed": 308002079, + "capped_mape": 0.3576460453032891, + "uncapped_mape": 0.3576460453032891, + "within10": 0.0625, + "within25": 0.3125 + }, + { + "seed": 85068123, + "capped_mape": 0.29407405962785127, + "uncapped_mape": 0.29407405962785127, + "within10": 0.09375, + "within25": 0.5 + }, + { + "seed": 523179186, + "capped_mape": 0.3117757462284382, + "uncapped_mape": 0.3117757462284382, + "within10": 0.1875, + "within25": 0.46875 + }, + { + "seed": 2078492899, + "capped_mape": 0.38542343565883797, + "uncapped_mape": 0.38542343565883797, + "within10": 0.09375, + "within25": 0.3125 + }, + { + "seed": 285027182, + "capped_mape": 0.37651560908414217, + "uncapped_mape": 0.37651560908414217, + "within10": 0.09375, + "within25": 0.28125 + }, + { + "seed": 369033186, + "capped_mape": 0.39241476554772775, + "uncapped_mape": 0.39241476554772775, + "within10": 0.09375, + "within25": 0.28125 + }, + { + "seed": 836784705, + "capped_mape": 0.4010531397558543, + "uncapped_mape": 0.4010531397558543, + "within10": 0.21875, + "within25": 0.375 + }, + { + "seed": 606292271, + "capped_mape": 0.4508925742676734, + "uncapped_mape": 0.4508925742676734, + "within10": 0.0625, + "within25": 0.21875 + }, + { + "seed": 2022743255, + "capped_mape": 0.3394758030285734, + "uncapped_mape": 0.3394758030285734, + "within10": 0.21875, + "within25": 0.40625 + }, + { + "seed": 470598375, + "capped_mape": 0.3569541491454961, + "uncapped_mape": 0.3569541491454961, + "within10": 0.1875, + "within25": 0.46875 + }, + { + "seed": 425738701, + "capped_mape": 0.46996987193196904, + "uncapped_mape": 0.46996987193196904, + "within10": 0.125, + "within25": 0.25 + }, + { + "seed": 1287347334, + "capped_mape": 0.33689839085206286, + "uncapped_mape": 0.33689839085206286, + "within10": 0.15625, + "within25": 0.46875 + }, + { + "seed": 124280073, + "capped_mape": 0.4053737943347748, + "uncapped_mape": 0.4053737943347748, + "within10": 0.0625, + "within25": 0.25 + }, + { + "seed": 147132687, + "capped_mape": 0.3767139212841141, + "uncapped_mape": 0.3767139212841141, + "within10": 0.09375, + "within25": 0.34375 + }, + { + "seed": 1747639242, + "capped_mape": 0.40479128677612464, + "uncapped_mape": 0.40479128677612464, + "within10": 0.0, + "within25": 0.375 + }, + { + "seed": 34088963, + "capped_mape": 0.42002609857892015, + "uncapped_mape": 0.42002609857892015, + "within10": 0.0625, + "within25": 0.21875 + }, + { + "seed": 172713859, + "capped_mape": 0.4057626378668272, + "uncapped_mape": 0.4057626378668272, + "within10": 0.0625, + "within25": 0.3125 + }, + { + "seed": 1310788031, + "capped_mape": 0.3823071345294286, + "uncapped_mape": 0.3823071345294286, + "within10": 0.09375, + "within25": 0.25 + }, + { + "seed": 632261458, + "capped_mape": 0.3933797154808829, + "uncapped_mape": 0.3933797154808829, + "within10": 0.09375, + "within25": 0.1875 + }, + { + "seed": 1693442341, + "capped_mape": 0.3466369766368368, + "uncapped_mape": 0.3466369766368368, + "within10": 0.125, + "within25": 0.46875 + }, + { + "seed": 1796206519, + "capped_mape": 0.2994037443722843, + "uncapped_mape": 0.2994037443722843, + "within10": 0.15625, + "within25": 0.375 + }, + { + "seed": 554654912, + "capped_mape": 0.3869311717049333, + "uncapped_mape": 0.3869311717049333, + "within10": 0.0625, + "within25": 0.34375 + }, + { + "seed": 543507701, + "capped_mape": 0.4386627123459212, + "uncapped_mape": 0.4386627123459212, + "within10": 0.0625, + "within25": 0.21875 + }, + { + "seed": 149824273, + "capped_mape": 0.31678272352890113, + "uncapped_mape": 0.31678272352890113, + "within10": 0.15625, + "within25": 0.46875 + }, + { + "seed": 773101718, + "capped_mape": 0.39852742593323, + "uncapped_mape": 0.39852742593323, + "within10": 0.0625, + "within25": 0.34375 + }, + { + "seed": 1229380147, + "capped_mape": 0.391637924644061, + "uncapped_mape": 0.391637924644061, + "within10": 0.0625, + "within25": 0.28125 + }, + { + "seed": 643945599, + "capped_mape": 0.3249229176683107, + "uncapped_mape": 0.3249229176683107, + "within10": 0.125, + "within25": 0.46875 + }, + { + "seed": 1706711560, + "capped_mape": 0.3462552308143798, + "uncapped_mape": 0.3462552308143798, + "within10": 0.125, + "within25": 0.375 + }, + { + "seed": 1400124730, + "capped_mape": 0.31116300555272147, + "uncapped_mape": 0.31116300555272147, + "within10": 0.15625, + "within25": 0.34375 + }, + { + "seed": 1305526663, + "capped_mape": 0.4759299393187456, + "uncapped_mape": 0.4759299393187456, + "within10": 0.03125, + "within25": 0.15625 + }, + { + "seed": 1414561605, + "capped_mape": 0.3268408754262949, + "uncapped_mape": 0.3268408754262949, + "within10": 0.21875, + "within25": 0.5 + }, + { + "seed": 558741372, + "capped_mape": 0.43114744791889836, + "uncapped_mape": 0.43114744791889836, + "within10": 0.09375, + "within25": 0.25 + }, + { + "seed": 1191222897, + "capped_mape": 0.3654492621620761, + "uncapped_mape": 0.3654492621620761, + "within10": 0.125, + "within25": 0.3125 + }, + { + "seed": 1625022677, + "capped_mape": 0.40424034623382693, + "uncapped_mape": 0.40424034623382693, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 116842344, + "capped_mape": 0.3809789720764908, + "uncapped_mape": 0.3809789720764908, + "within10": 0.09375, + "within25": 0.21875 + }, + { + "seed": 904933881, + "capped_mape": 0.388097894787628, + "uncapped_mape": 0.388097894787628, + "within10": 0.1875, + "within25": 0.28125 + }, + { + "seed": 619970131, + "capped_mape": 0.32320086501479856, + "uncapped_mape": 0.32320086501479856, + "within10": 0.1875, + "within25": 0.375 + }, + { + "seed": 1170815813, + "capped_mape": 0.34981497289661706, + "uncapped_mape": 0.34981497289661706, + "within10": 0.21875, + "within25": 0.375 + }, + { + "seed": 1259125978, + "capped_mape": 0.338956703454982, + "uncapped_mape": 0.338956703454982, + "within10": 0.0625, + "within25": 0.4375 + }, + { + "seed": 1837739832, + "capped_mape": 0.354546314155084, + "uncapped_mape": 0.354546314155084, + "within10": 0.15625, + "within25": 0.375 + }, + { + "seed": 997055587, + "capped_mape": 0.3877907459224239, + "uncapped_mape": 0.3877907459224239, + "within10": 0.125, + "within25": 0.34375 + }, + { + "seed": 14637070, + "capped_mape": 0.3613632940408173, + "uncapped_mape": 0.3613632940408173, + "within10": 0.15625, + "within25": 0.375 + }, + { + "seed": 1077674083, + "capped_mape": 0.41645916487966467, + "uncapped_mape": 0.41645916487966467, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 1055348740, + "capped_mape": 0.4175446638448186, + "uncapped_mape": 0.4175446638448186, + "within10": 0.0625, + "within25": 0.28125 + }, + { + "seed": 1117287337, + "capped_mape": 0.4151817995732376, + "uncapped_mape": 0.4151817995732376, + "within10": 0.0625, + "within25": 0.28125 + }, + { + "seed": 1736294372, + "capped_mape": 0.35166340616199404, + "uncapped_mape": 0.35166340616199404, + "within10": 0.125, + "within25": 0.28125 + }, + { + "seed": 985048728, + "capped_mape": 0.469157114472297, + "uncapped_mape": 0.469157114472297, + "within10": 0.03125, + "within25": 0.15625 + }, + { + "seed": 1379909498, + "capped_mape": 0.4038358510433411, + "uncapped_mape": 0.4038358510433411, + "within10": 0.125, + "within25": 0.28125 + }, + { + "seed": 1638430584, + "capped_mape": 0.38819964119373096, + "uncapped_mape": 0.38819964119373096, + "within10": 0.0625, + "within25": 0.34375 + }, + { + "seed": 1723067141, + "capped_mape": 0.3808371708693939, + "uncapped_mape": 0.3808371708693939, + "within10": 0.21875, + "within25": 0.40625 + }, + { + "seed": 1378848541, + "capped_mape": 0.3986791348856154, + "uncapped_mape": 0.3986791348856154, + "within10": 0.125, + "within25": 0.3125 + }, + { + "seed": 868197522, + "capped_mape": 0.43515215180923206, + "uncapped_mape": 0.43515215180923206, + "within10": 0.0625, + "within25": 0.15625 + }, + { + "seed": 647202149, + "capped_mape": 0.3463721452442825, + "uncapped_mape": 0.3463721452442825, + "within10": 0.21875, + "within25": 0.375 + }, + { + "seed": 2113214476, + "capped_mape": 0.34549056094639785, + "uncapped_mape": 0.34549056094639785, + "within10": 0.125, + "within25": 0.28125 + }, + { + "seed": 992271816, + "capped_mape": 0.3812435653069378, + "uncapped_mape": 0.3812435653069378, + "within10": 0.0625, + "within25": 0.3125 + }, + { + "seed": 676736913, + "capped_mape": 0.3697972574316976, + "uncapped_mape": 0.3697972574316976, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 98112358, + "capped_mape": 0.4735596676078646, + "uncapped_mape": 0.4735596676078646, + "within10": 0.09375, + "within25": 0.1875 + }, + { + "seed": 1683327068, + "capped_mape": 0.3878745755580539, + "uncapped_mape": 0.3878745755580539, + "within10": 0.125, + "within25": 0.3125 + }, + { + "seed": 2000893927, + "capped_mape": 0.3487140009759557, + "uncapped_mape": 0.3487140009759557, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 1602201121, + "capped_mape": 0.41061981208951814, + "uncapped_mape": 0.41061981208951814, + "within10": 0.1875, + "within25": 0.25 + }, + { + "seed": 220791302, + "capped_mape": 0.45085426424566954, + "uncapped_mape": 0.45085426424566954, + "within10": 0.125, + "within25": 0.34375 + }, + { + "seed": 394024601, + "capped_mape": 0.466257196181027, + "uncapped_mape": 0.466257196181027, + "within10": 0.15625, + "within25": 0.25 + }, + { + "seed": 422109773, + "capped_mape": 0.413677187153521, + "uncapped_mape": 0.413677187153521, + "within10": 0.125, + "within25": 0.25 + }, + { + "seed": 1719685853, + "capped_mape": 0.3034359119203166, + "uncapped_mape": 0.3034359119203166, + "within10": 0.25, + "within25": 0.46875 + }, + { + "seed": 301499302, + "capped_mape": 0.4158606146235879, + "uncapped_mape": 0.4158606146235879, + "within10": 0.03125, + "within25": 0.28125 + }, + { + "seed": 485027177, + "capped_mape": 0.4559945498382212, + "uncapped_mape": 0.4559945498382212, + "within10": 0.0625, + "within25": 0.25 + }, + { + "seed": 138278317, + "capped_mape": 0.4091642952315935, + "uncapped_mape": 0.4091642952315935, + "within10": 0.15625, + "within25": 0.34375 + }, + { + "seed": 1683884968, + "capped_mape": 0.3217920030672551, + "uncapped_mape": 0.3217920030672551, + "within10": 0.125, + "within25": 0.53125 + }, + { + "seed": 1678079148, + "capped_mape": 0.4233796847403123, + "uncapped_mape": 0.4233796847403123, + "within10": 0.0625, + "within25": 0.1875 + }, + { + "seed": 1653738625, + "capped_mape": 0.3673682810609078, + "uncapped_mape": 0.3673682810609078, + "within10": 0.09375, + "within25": 0.375 + }, + { + "seed": 1847357819, + "capped_mape": 0.31231223971263816, + "uncapped_mape": 0.31231223971263816, + "within10": 0.21875, + "within25": 0.4375 + }, + { + "seed": 1606591099, + "capped_mape": 0.27454843500645676, + "uncapped_mape": 0.27454843500645676, + "within10": 0.28125, + "within25": 0.5625 + }, + { + "seed": 1474745112, + "capped_mape": 0.34525721923318015, + "uncapped_mape": 0.34525721923318015, + "within10": 0.1875, + "within25": 0.40625 + }, + { + "seed": 1256853321, + "capped_mape": 0.381045054593852, + "uncapped_mape": 0.381045054593852, + "within10": 0.09375, + "within25": 0.21875 + }, + { + "seed": 1464829824, + "capped_mape": 0.3841726577453564, + "uncapped_mape": 0.3841726577453564, + "within10": 0.15625, + "within25": 0.40625 + }, + { + "seed": 1528407391, + "capped_mape": 0.5390269776288943, + "uncapped_mape": 0.5390269776288943, + "within10": 0.125, + "within25": 0.25 + }, + { + "seed": 1342072860, + "capped_mape": 0.4079399097610615, + "uncapped_mape": 0.4079399097610615, + "within10": 0.21875, + "within25": 0.28125 + }, + { + "seed": 1443817095, + "capped_mape": 0.31326590309865376, + "uncapped_mape": 0.31326590309865376, + "within10": 0.21875, + "within25": 0.5 + }, + { + "seed": 1456505431, + "capped_mape": 0.3377718186796783, + "uncapped_mape": 0.3377718186796783, + "within10": 0.1875, + "within25": 0.40625 + } + ], + "design2": [ + { + "seed": 1532009180, + "capped_mape": 0.056425947275072025, + "uncapped_mape": 0.056425947275072025, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 46.900111018014805, + "max_over_mean": 4.838574510485005, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 2129919777, + "capped_mape": 0.0409863147744229, + "uncapped_mape": 0.0409863147744229, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 35.708587744918184, + "max_over_mean": 7.316001910583631, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1926506354, + "capped_mape": 0.13299027371034622, + "uncapped_mape": 0.13299027371034622, + "within10": 0.875, + "within25": 0.875, + "kish_ess": 49.03776970364881, + "max_over_mean": 4.5575241064955945, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1866631624, + "capped_mape": 0.08742081323756305, + "uncapped_mape": 0.08742081323756305, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 44.22741371991273, + "max_over_mean": 6.945011805395324, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1914807902, + "capped_mape": 0.08128383550598324, + "uncapped_mape": 0.08128383550598324, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 39.17091216822602, + "max_over_mean": 7.220226178867039, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 737276679, + "capped_mape": 0.08395371803154293, + "uncapped_mape": 0.08395371803154293, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 45.146552770050874, + "max_over_mean": 6.58794422946377, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1238078731, + "capped_mape": 0.045213880129915424, + "uncapped_mape": 0.045213880129915424, + "within10": 0.875, + "within25": 0.96875, + "kish_ess": 38.97616418033024, + "max_over_mean": 5.984547531648776, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.5 + } + }, + { + "seed": 1407801735, + "capped_mape": 0.03877968046980339, + "uncapped_mape": 0.03877968046980339, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 54.606984186964795, + "max_over_mean": 4.300743791148729, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1736947865, + "capped_mape": 0.04330948722218085, + "uncapped_mape": 0.04330948722218085, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 44.97104179529351, + "max_over_mean": 6.208986027813856, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1343677066, + "capped_mape": 0.09544665759067532, + "uncapped_mape": 0.09544665759067532, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 41.6798769497681, + "max_over_mean": 5.209592224832823, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1500687924, + "capped_mape": 0.008575704722981525, + "uncapped_mape": 0.008575704722981525, + "within10": 0.9375, + "within25": 1.0, + "kish_ess": 50.48902733904065, + "max_over_mean": 6.88265967357663, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1860250772, + "capped_mape": 0.06941730644905539, + "uncapped_mape": 0.06941730644905539, + "within10": 0.875, + "within25": 0.9375, + "kish_ess": 36.43066345658769, + "max_over_mean": 7.151354285940878, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 636413936, + "capped_mape": 0.03952191342002942, + "uncapped_mape": 0.03952191342002942, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 43.376914448946394, + "max_over_mean": 5.8329998128288665, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1578173517, + "capped_mape": 0.03976276006094537, + "uncapped_mape": 0.03976276006094537, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 42.961434910866174, + "max_over_mean": 6.74192509603945, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1555667707, + "capped_mape": 0.1188462024041365, + "uncapped_mape": 0.1188462024041365, + "within10": 0.84375, + "within25": 0.875, + "kish_ess": 61.54538869773106, + "max_over_mean": 4.09948892811983, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1011384468, + "capped_mape": 0.08627226942617461, + "uncapped_mape": 0.08627226942617461, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 51.29809166405483, + "max_over_mean": 6.1688864433109725, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1870858225, + "capped_mape": 0.06769486352449783, + "uncapped_mape": 0.06769486352449783, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 55.89510722477756, + "max_over_mean": 4.553753645950149, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1246736694, + "capped_mape": 0.0447936250972604, + "uncapped_mape": 0.0447936250972604, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 61.38391958801501, + "max_over_mean": 4.083660786274784, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 434606789, + "capped_mape": 0.0811317088453252, + "uncapped_mape": 0.0811317088453252, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 56.08495003783849, + "max_over_mean": 4.352356862263717, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 595604501, + "capped_mape": 0.01818695894990474, + "uncapped_mape": 0.01818695894990474, + "within10": 0.90625, + "within25": 1.0, + "kish_ess": 41.63006271028021, + "max_over_mean": 7.441836038628539, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1513158413, + "capped_mape": 0.03704202478521859, + "uncapped_mape": 0.03704202478521859, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 49.42444068752465, + "max_over_mean": 6.658273096369547, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1774881996, + "capped_mape": 0.07995276561014909, + "uncapped_mape": 0.07995276561014909, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 41.63505258191791, + "max_over_mean": 5.375399183437405, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1119164309, + "capped_mape": 0.0579926565301538, + "uncapped_mape": 0.0579926565301538, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 40.95428746603083, + "max_over_mean": 5.973936387935017, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 390315266, + "capped_mape": 0.13144418660195328, + "uncapped_mape": 0.13144418660195328, + "within10": 0.875, + "within25": 0.875, + "kish_ess": 40.28380533032661, + "max_over_mean": 7.639198015439922, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1046663207, + "capped_mape": 0.038071857994145385, + "uncapped_mape": 0.038071857994145385, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 46.39810156741107, + "max_over_mean": 7.670081179893415, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1781691076, + "capped_mape": 0.038498372051841485, + "uncapped_mape": 0.038498372051841485, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 53.33173765015733, + "max_over_mean": 4.14850195554108, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1409111333, + "capped_mape": 0.04118805511327974, + "uncapped_mape": 0.04118805511327974, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 52.150203228774714, + "max_over_mean": 4.918214670451782, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 726504131, + "capped_mape": 0.05025634478007314, + "uncapped_mape": 0.05025634478007314, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 43.992478418919305, + "max_over_mean": 7.0946136315772454, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 100591433, + "capped_mape": 0.045390461900267146, + "uncapped_mape": 0.045390461900267146, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 42.44567234712306, + "max_over_mean": 4.5610427607498405, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 827732712, + "capped_mape": 0.05526833101184363, + "uncapped_mape": 0.05526833101184363, + "within10": 0.8125, + "within25": 0.9375, + "kish_ess": 49.362391928115265, + "max_over_mean": 4.533529834981931, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 478806322, + "capped_mape": 0.07816791505933943, + "uncapped_mape": 0.07816791505933943, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 42.86108257769423, + "max_over_mean": 7.432912795561142, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 930165619, + "capped_mape": 0.07929758006938514, + "uncapped_mape": 0.07929758006938514, + "within10": 0.90625, + "within25": 0.90625, + "kish_ess": 37.40313783080039, + "max_over_mean": 7.223259216884143, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1788282626, + "capped_mape": 0.0364548520918961, + "uncapped_mape": 0.0364548520918961, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 47.086848026953426, + "max_over_mean": 4.813279014335045, + "runtime": { + "seconds": 0.46, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 137354418, + "capped_mape": 0.09175009964469082, + "uncapped_mape": 0.09175009964469082, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 40.903526143973565, + "max_over_mean": 6.4322054513971425, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1284017857, + "capped_mape": 0.10804713717433533, + "uncapped_mape": 0.10804713717433533, + "within10": 0.84375, + "within25": 0.875, + "kish_ess": 63.49812081140612, + "max_over_mean": 3.304157725049286, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1730630220, + "capped_mape": 0.005689083753118835, + "uncapped_mape": 0.005689083753118835, + "within10": 0.96875, + "within25": 1.0, + "kish_ess": 55.32809500825755, + "max_over_mean": 5.494321314867457, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 88752578, + "capped_mape": 0.047964376215103716, + "uncapped_mape": 0.047964376215103716, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 53.41777760748232, + "max_over_mean": 6.601792071693505, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 2088932291, + "capped_mape": 0.04604590238297056, + "uncapped_mape": 0.04604590238297056, + "within10": 0.875, + "within25": 0.96875, + "kish_ess": 44.46651043065761, + "max_over_mean": 5.094613487659166, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1380922543, + "capped_mape": 0.07946860349583838, + "uncapped_mape": 0.07946860349583838, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 48.361767860747705, + "max_over_mean": 6.750933414456946, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 727733239, + "capped_mape": 0.039782360545382776, + "uncapped_mape": 0.039782360545382776, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 43.75513733686809, + "max_over_mean": 6.304413812773249, + "runtime": { + "seconds": 0.25, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 39520516, + "capped_mape": 0.07967383550736791, + "uncapped_mape": 0.07967383550736791, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 48.268457085919415, + "max_over_mean": 7.109665777638566, + "runtime": { + "seconds": 0.46, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 2134606925, + "capped_mape": 0.016709478329336166, + "uncapped_mape": 0.016709478329336166, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 29.72928895516194, + "max_over_mean": 7.441328166812251, + "runtime": { + "seconds": 0.06, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1875266754, + "capped_mape": 0.08240128367006479, + "uncapped_mape": 0.08240128367006479, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 39.19534242233513, + "max_over_mean": 6.8998947812599125, + "runtime": { + "seconds": 0.06, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1740433011, + "capped_mape": 0.0797013431805351, + "uncapped_mape": 0.0797013431805351, + "within10": 0.90625, + "within25": 0.90625, + "kish_ess": 50.484444932129804, + "max_over_mean": 6.019839539005827, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 988437747, + "capped_mape": 0.07966439313439425, + "uncapped_mape": 0.07966439313439425, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 49.705250855720195, + "max_over_mean": 5.110281333160074, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1611143028, + "capped_mape": 0.09588108761421694, + "uncapped_mape": 0.09588108761421694, + "within10": 0.90625, + "within25": 0.90625, + "kish_ess": 44.96666932081368, + "max_over_mean": 5.592276112064352, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1437774242, + "capped_mape": 0.06362897027321217, + "uncapped_mape": 0.06362897027321217, + "within10": 0.8125, + "within25": 0.9375, + "kish_ess": 38.30919852625267, + "max_over_mean": 6.8491396425951105, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 151746818, + "capped_mape": 0.0656948990279431, + "uncapped_mape": 0.0656948990279431, + "within10": 0.8125, + "within25": 0.9375, + "kish_ess": 39.55408528964364, + "max_over_mean": 5.085724204646233, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1118411802, + "capped_mape": 0.04086284074153056, + "uncapped_mape": 0.04086284074153056, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 49.41332024850097, + "max_over_mean": 6.407387718095148, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 2016567772, + "capped_mape": 0.05959755854850457, + "uncapped_mape": 0.05959755854850457, + "within10": 0.90625, + "within25": 0.90625, + "kish_ess": 37.3056782487745, + "max_over_mean": 7.079946459505203, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 2026886712, + "capped_mape": 0.08668537868619965, + "uncapped_mape": 0.08668537868619965, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 43.92592685658987, + "max_over_mean": 6.491378500007371, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 366099807, + "capped_mape": 0.04197975896053416, + "uncapped_mape": 0.04197975896053416, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 47.89786119065719, + "max_over_mean": 5.704482458485457, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 81115437, + "capped_mape": 0.08128645129233719, + "uncapped_mape": 0.08128645129233719, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 64.86532843664455, + "max_over_mean": 3.5165033391836027, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 1674428023, + "capped_mape": 0.060461680173040364, + "uncapped_mape": 0.060461680173040364, + "within10": 0.8125, + "within25": 0.9375, + "kish_ess": 33.2415741034539, + "max_over_mean": 6.865796069041162, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 988733458, + "capped_mape": 0.03654581394139452, + "uncapped_mape": 0.03654581394139452, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 58.000702942717005, + "max_over_mean": 6.591445065594597, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 4.501 + } + }, + { + "seed": 169715272, + "capped_mape": 0.03944154030478975, + "uncapped_mape": 0.03944154030478975, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 42.34877538188983, + "max_over_mean": 6.052724308110171, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 450070876, + "capped_mape": 0.014934274579891542, + "uncapped_mape": 0.014934274579891542, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 38.95773726245349, + "max_over_mean": 5.402713774541075, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1253889902, + "capped_mape": 0.040628655184543935, + "uncapped_mape": 0.040628655184543935, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 50.33391056185615, + "max_over_mean": 5.338899413199886, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 127854099, + "capped_mape": 0.04160015007727507, + "uncapped_mape": 0.04160015007727507, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 60.75842697077297, + "max_over_mean": 3.937903309203959, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1766762779, + "capped_mape": 0.044149681458015844, + "uncapped_mape": 0.044149681458015844, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 48.22334880394636, + "max_over_mean": 6.791844016234111, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1814963221, + "capped_mape": 0.0775064185559437, + "uncapped_mape": 0.0775064185559437, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 58.03818825217011, + "max_over_mean": 6.614798600513892, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 834687501, + "capped_mape": 0.03628118959894861, + "uncapped_mape": 0.03628118959894861, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 44.042913768469546, + "max_over_mean": 4.914956585551862, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2130470468, + "capped_mape": 0.046772020211026194, + "uncapped_mape": 0.046772020211026194, + "within10": 0.8125, + "within25": 0.96875, + "kish_ess": 41.117150149010506, + "max_over_mean": 5.9535665026112845, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1825423326, + "capped_mape": 0.03820164575951041, + "uncapped_mape": 0.03820164575951041, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 45.042806344540345, + "max_over_mean": 6.811460294862792, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1159988727, + "capped_mape": 0.03896918103380635, + "uncapped_mape": 0.03896918103380635, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 56.81322216162829, + "max_over_mean": 4.251224392679373, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 300528324, + "capped_mape": 0.04137612641436434, + "uncapped_mape": 0.04137612641436434, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 36.61582559537281, + "max_over_mean": 7.1874180705803195, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 418625375, + "capped_mape": 0.07866104918974935, + "uncapped_mape": 0.07866104918974935, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 48.35524139815925, + "max_over_mean": 4.425349001268848, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2066889053, + "capped_mape": 0.010869426413115366, + "uncapped_mape": 0.010869426413115366, + "within10": 0.9375, + "within25": 1.0, + "kish_ess": 45.47014786973178, + "max_over_mean": 6.288448936781726, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1262192692, + "capped_mape": 0.04182088096275971, + "uncapped_mape": 0.04182088096275971, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 52.570396749730094, + "max_over_mean": 3.7842927159452415, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1883057678, + "capped_mape": 0.07519041963622407, + "uncapped_mape": 0.07519041963622407, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 34.02184153174749, + "max_over_mean": 6.438212167445437, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 904811576, + "capped_mape": 0.04198884563390227, + "uncapped_mape": 0.04198884563390227, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 60.12020472831798, + "max_over_mean": 4.321481464031274, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1825997340, + "capped_mape": 0.04066552857426771, + "uncapped_mape": 0.04066552857426771, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 63.53339052877898, + "max_over_mean": 3.286116307593363, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1449527016, + "capped_mape": 0.04161844812493929, + "uncapped_mape": 0.04161844812493929, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 58.51983780947854, + "max_over_mean": 5.481026633510608, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1740133331, + "capped_mape": 0.04279960175407053, + "uncapped_mape": 0.04279960175407053, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 46.036643033475684, + "max_over_mean": 6.630889963468934, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 73721642, + "capped_mape": 0.05860019693770202, + "uncapped_mape": 0.05860019693770202, + "within10": 0.84375, + "within25": 0.9375, + "kish_ess": 53.846284400519046, + "max_over_mean": 4.846135162936363, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1124158206, + "capped_mape": 0.08064313173134427, + "uncapped_mape": 0.08064313173134427, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 51.16615939824326, + "max_over_mean": 4.1701198976152805, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 536900518, + "capped_mape": 0.08006411606604576, + "uncapped_mape": 0.08006411606604576, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 38.59455849123846, + "max_over_mean": 7.566035445460652, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 566748327, + "capped_mape": 0.08978891220326479, + "uncapped_mape": 0.08978891220326479, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 46.942418458398436, + "max_over_mean": 5.146682476962273, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 513144195, + "capped_mape": 0.04103709239472628, + "uncapped_mape": 0.04103709239472628, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 41.78770575170984, + "max_over_mean": 6.633231016984024, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1493589832, + "capped_mape": 0.04335930859006148, + "uncapped_mape": 0.04335930859006148, + "within10": 0.875, + "within25": 0.96875, + "kish_ess": 55.757422402237594, + "max_over_mean": 4.585876294769022, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 236604464, + "capped_mape": 0.0398304656599175, + "uncapped_mape": 0.0398304656599175, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 48.16925664589426, + "max_over_mean": 5.569204344397942, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 730967731, + "capped_mape": 0.06738025580602536, + "uncapped_mape": 0.06738025580602536, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 51.21342535746713, + "max_over_mean": 6.074398014954308, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 935667708, + "capped_mape": 0.08214992960127736, + "uncapped_mape": 0.08214992960127736, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 44.14245786747378, + "max_over_mean": 6.951864524907043, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1299644429, + "capped_mape": 0.05123041780475812, + "uncapped_mape": 0.05123041780475812, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 47.07976916807898, + "max_over_mean": 5.749275682629587, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1204157455, + "capped_mape": 0.04031857397801979, + "uncapped_mape": 0.04031857397801979, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 37.2967978752177, + "max_over_mean": 5.218927285581499, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1122474945, + "capped_mape": 0.02606240519968399, + "uncapped_mape": 0.02606240519968399, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 40.83411634055451, + "max_over_mean": 4.824909993030999, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 791607562, + "capped_mape": 0.038863370656531816, + "uncapped_mape": 0.038863370656531816, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 52.46213199042303, + "max_over_mean": 4.935103383149451, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2007045677, + "capped_mape": 0.044542557484193585, + "uncapped_mape": 0.044542557484193585, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 54.93739469735008, + "max_over_mean": 3.793169145909156, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 702676148, + "capped_mape": 0.09454822388097174, + "uncapped_mape": 0.09454822388097174, + "within10": 0.90625, + "within25": 0.90625, + "kish_ess": 54.81488147269452, + "max_over_mean": 7.019776331868717, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 673829134, + "capped_mape": 0.09391037461126694, + "uncapped_mape": 0.09391037461126694, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 59.99796981071455, + "max_over_mean": 3.953939724216457, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1906551083, + "capped_mape": 0.00893364032167597, + "uncapped_mape": 0.00893364032167597, + "within10": 0.96875, + "within25": 1.0, + "kish_ess": 51.5964489009162, + "max_over_mean": 7.1989034092176265, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1542959021, + "capped_mape": 0.07803319439109185, + "uncapped_mape": 0.07803319439109185, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 58.20339497410208, + "max_over_mean": 5.537380383610681, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 267019143, + "capped_mape": 0.03688736763654977, + "uncapped_mape": 0.03688736763654977, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 42.57495711128917, + "max_over_mean": 6.236092708927337, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 486597684, + "capped_mape": 0.03624595343225808, + "uncapped_mape": 0.03624595343225808, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 49.65000733321168, + "max_over_mean": 7.623277939522049, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1371678369, + "capped_mape": 0.1096138041985191, + "uncapped_mape": 0.1096138041985191, + "within10": 0.84375, + "within25": 0.84375, + "kish_ess": 42.3733429026678, + "max_over_mean": 5.770904883968743, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 25744874, + "capped_mape": 0.03824575680514951, + "uncapped_mape": 0.03824575680514951, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 48.82977255596924, + "max_over_mean": 6.239461363333482, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1002633504, + "capped_mape": 0.04253786667319418, + "uncapped_mape": 0.04253786667319418, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 50.17729586422309, + "max_over_mean": 6.506504567564735, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2124412777, + "capped_mape": 0.09417052944911053, + "uncapped_mape": 0.09417052944911053, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 45.367296333964525, + "max_over_mean": 4.604899956965918, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1741576743, + "capped_mape": 0.04215800735754256, + "uncapped_mape": 0.04215800735754256, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 41.180473849766805, + "max_over_mean": 7.414685107637323, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 93146892, + "capped_mape": 0.09737989133405354, + "uncapped_mape": 0.09737989133405354, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 39.63272062195455, + "max_over_mean": 6.736047346455941, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1886922474, + "capped_mape": 0.05397228024083181, + "uncapped_mape": 0.05397228024083181, + "within10": 0.875, + "within25": 0.9375, + "kish_ess": 46.68313289705489, + "max_over_mean": 5.906726481925512, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 913404475, + "capped_mape": 0.07719117581814268, + "uncapped_mape": 0.07719117581814268, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 48.732122821073894, + "max_over_mean": 4.594581194154735, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1713839694, + "capped_mape": 0.042150841670482116, + "uncapped_mape": 0.042150841670482116, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 49.916793641540316, + "max_over_mean": 5.489583759820281, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1089653292, + "capped_mape": 0.05225178697744145, + "uncapped_mape": 0.05225178697744145, + "within10": 0.875, + "within25": 0.9375, + "kish_ess": 56.77880269652112, + "max_over_mean": 4.835998251511521, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1229294345, + "capped_mape": 0.04213432221662752, + "uncapped_mape": 0.04213432221662752, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 48.04272109928728, + "max_over_mean": 5.573295961158859, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1227172338, + "capped_mape": 0.0508220618659533, + "uncapped_mape": 0.0508220618659533, + "within10": 0.875, + "within25": 0.9375, + "kish_ess": 51.16632272808823, + "max_over_mean": 5.436123120930877, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1785175443, + "capped_mape": 0.09194560850054029, + "uncapped_mape": 0.09194560850054029, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 41.759169220440434, + "max_over_mean": 6.42932264173378, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 270764336, + "capped_mape": 0.05424300840566627, + "uncapped_mape": 0.05424300840566627, + "within10": 0.84375, + "within25": 0.9375, + "kish_ess": 50.17778270786622, + "max_over_mean": 6.708642852846694, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 765545859, + "capped_mape": 0.011092857259493395, + "uncapped_mape": 0.011092857259493395, + "within10": 0.9375, + "within25": 1.0, + "kish_ess": 38.55141250565318, + "max_over_mean": 7.374930590211221, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1251541455, + "capped_mape": 0.04428995500630807, + "uncapped_mape": 0.04428995500630807, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 43.34818505462432, + "max_over_mean": 7.136565720403526, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2092129028, + "capped_mape": 0.040417010149082715, + "uncapped_mape": 0.040417010149082715, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 49.759785620122315, + "max_over_mean": 6.446235568641678, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 412342320, + "capped_mape": 0.041597115895667544, + "uncapped_mape": 0.041597115895667544, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 55.58866137737889, + "max_over_mean": 5.050486516718513, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1335091183, + "capped_mape": 0.13136107920832377, + "uncapped_mape": 0.13136107920832377, + "within10": 0.875, + "within25": 0.875, + "kish_ess": 43.74776268579313, + "max_over_mean": 5.208862994958457, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 398669796, + "capped_mape": 0.04024668087048078, + "uncapped_mape": 0.04024668087048078, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 30.355332212734645, + "max_over_mean": 6.788172182080166, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 320187278, + "capped_mape": 0.03696835556072519, + "uncapped_mape": 0.03696835556072519, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 38.340728353736516, + "max_over_mean": 7.14352697634201, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2070187752, + "capped_mape": 0.03959550620907713, + "uncapped_mape": 0.03959550620907713, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 41.31247911642608, + "max_over_mean": 6.856029752412885, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 437071165, + "capped_mape": 0.03603337666504132, + "uncapped_mape": 0.03603337666504132, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 71.63891343601682, + "max_over_mean": 3.151914889981241, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 25183784, + "capped_mape": 0.039956667932888455, + "uncapped_mape": 0.039956667932888455, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 51.350305703948486, + "max_over_mean": 4.938292066980195, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1438013437, + "capped_mape": 0.04156262021169811, + "uncapped_mape": 0.04156262021169811, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 49.246874369883656, + "max_over_mean": 6.501769226014385, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1388713365, + "capped_mape": 0.015768037602075305, + "uncapped_mape": 0.015768037602075305, + "within10": 0.90625, + "within25": 1.0, + "kish_ess": 49.296950949288615, + "max_over_mean": 5.983379894695113, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2100523652, + "capped_mape": 0.06402885694598234, + "uncapped_mape": 0.06402885694598234, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 43.51619477838087, + "max_over_mean": 6.299449775883512, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 308002079, + "capped_mape": 0.03922401919729937, + "uncapped_mape": 0.03922401919729937, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 57.42969938130198, + "max_over_mean": 4.515889216438734, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 85068123, + "capped_mape": 0.04046032869664754, + "uncapped_mape": 0.04046032869664754, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 56.69332379434264, + "max_over_mean": 4.517670631142263, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 523179186, + "capped_mape": 0.05430226578198526, + "uncapped_mape": 0.05430226578198526, + "within10": 0.9375, + "within25": 0.9375, + "kish_ess": 51.5223079937434, + "max_over_mean": 5.265431398803816, + "runtime": { + "seconds": 0.17, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2078492899, + "capped_mape": 0.03837572477853714, + "uncapped_mape": 0.03837572477853714, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 57.74850083852765, + "max_over_mean": 5.89002571521328, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 285027182, + "capped_mape": 0.04427888382712521, + "uncapped_mape": 0.04427888382712521, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 53.66309813020904, + "max_over_mean": 4.816406849335019, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 369033186, + "capped_mape": 0.043587041645620175, + "uncapped_mape": 0.043587041645620175, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 43.0501387015314, + "max_over_mean": 6.815500274636714, + "runtime": { + "seconds": 0.19, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 836784705, + "capped_mape": 0.08255141305798278, + "uncapped_mape": 0.08255141305798278, + "within10": 0.90625, + "within25": 0.90625, + "kish_ess": 37.977422222112665, + "max_over_mean": 4.83593962763412, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 606292271, + "capped_mape": 0.05632123445844742, + "uncapped_mape": 0.05632123445844742, + "within10": 0.875, + "within25": 0.9375, + "kish_ess": 26.62913820677668, + "max_over_mean": 7.668354032044759, + "runtime": { + "seconds": 0.48, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 2022743255, + "capped_mape": 0.11163215270483948, + "uncapped_mape": 0.11163215270483948, + "within10": 0.84375, + "within25": 0.875, + "kish_ess": 48.109410663737094, + "max_over_mean": 7.33079243387339, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 470598375, + "capped_mape": 0.09455790186481178, + "uncapped_mape": 0.09455790186481178, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 50.88547763139406, + "max_over_mean": 4.628556065500795, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 425738701, + "capped_mape": 0.08462424424339092, + "uncapped_mape": 0.08462424424339092, + "within10": 0.8125, + "within25": 0.90625, + "kish_ess": 38.50072859675074, + "max_over_mean": 6.664134085421171, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1287347334, + "capped_mape": 0.03939029640910139, + "uncapped_mape": 0.03939029640910139, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 33.82722459276259, + "max_over_mean": 6.706087338126967, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 124280073, + "capped_mape": 0.07231200205930155, + "uncapped_mape": 0.07231200205930155, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 34.59208554163424, + "max_over_mean": 6.878522930041529, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 147132687, + "capped_mape": 0.0939933205491973, + "uncapped_mape": 0.0939933205491973, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 38.24636582320393, + "max_over_mean": 6.256944299257522, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1747639242, + "capped_mape": 0.08347313670712274, + "uncapped_mape": 0.08347313670712274, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 47.42251372507672, + "max_over_mean": 5.392313086799444, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 34088963, + "capped_mape": 0.04847193608905461, + "uncapped_mape": 0.04847193608905461, + "within10": 0.875, + "within25": 0.96875, + "kish_ess": 47.44763958003933, + "max_over_mean": 5.2380780651669605, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 172713859, + "capped_mape": 0.0809557136222393, + "uncapped_mape": 0.0809557136222393, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 50.644072274065444, + "max_over_mean": 6.736274999579268, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.982 + } + }, + { + "seed": 1310788031, + "capped_mape": 0.039328180315751776, + "uncapped_mape": 0.039328180315751776, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 53.0104540167621, + "max_over_mean": 4.79222821175334, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 632261458, + "capped_mape": 0.04333771624739163, + "uncapped_mape": 0.04333771624739163, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 54.655040418075004, + "max_over_mean": 5.8620783867625645, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1693442341, + "capped_mape": 0.03880757340491191, + "uncapped_mape": 0.03880757340491191, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 54.613266106221694, + "max_over_mean": 4.609617874726571, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1796206519, + "capped_mape": 0.011291674503808656, + "uncapped_mape": 0.011291674503808656, + "within10": 0.9375, + "within25": 1.0, + "kish_ess": 39.83814324323368, + "max_over_mean": 5.571816327035446, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 554654912, + "capped_mape": 0.08841975636332575, + "uncapped_mape": 0.08841975636332575, + "within10": 0.8125, + "within25": 0.90625, + "kish_ess": 48.67536259001444, + "max_over_mean": 6.552722906016218, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 543507701, + "capped_mape": 0.09407440036509371, + "uncapped_mape": 0.09407440036509371, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 50.43217102235183, + "max_over_mean": 6.352909960435796, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 149824273, + "capped_mape": 0.017166378040805903, + "uncapped_mape": 0.017166378040805903, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 46.00509392023335, + "max_over_mean": 5.57480103106192, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 773101718, + "capped_mape": 0.08193257869266822, + "uncapped_mape": 0.08193257869266822, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 39.60851668575437, + "max_over_mean": 6.125824353409111, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1229380147, + "capped_mape": 0.07943172152790513, + "uncapped_mape": 0.07943172152790513, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 44.28025900130816, + "max_over_mean": 6.757537269197774, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 643945599, + "capped_mape": 0.010115289969413957, + "uncapped_mape": 0.010115289969413957, + "within10": 0.9375, + "within25": 1.0, + "kish_ess": 38.42754885684416, + "max_over_mean": 6.272228393738163, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1706711560, + "capped_mape": 0.009977210424861266, + "uncapped_mape": 0.009977210424861266, + "within10": 0.96875, + "within25": 1.0, + "kish_ess": 37.98118673817933, + "max_over_mean": 7.186144897584608, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1400124730, + "capped_mape": 0.006879606965891563, + "uncapped_mape": 0.006879606965891563, + "within10": 0.96875, + "within25": 1.0, + "kish_ess": 40.565561401810605, + "max_over_mean": 7.410484676740396, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1305526663, + "capped_mape": 0.09004112092982569, + "uncapped_mape": 0.09004112092982569, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 39.13228511944948, + "max_over_mean": 6.938595964062913, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1414561605, + "capped_mape": 0.07721294070522697, + "uncapped_mape": 0.07721294070522697, + "within10": 0.90625, + "within25": 0.90625, + "kish_ess": 45.86506103672647, + "max_over_mean": 6.076206106787947, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 558741372, + "capped_mape": 0.09716359873147158, + "uncapped_mape": 0.09716359873147158, + "within10": 0.84375, + "within25": 0.875, + "kish_ess": 42.31132990308533, + "max_over_mean": 7.251665190164407, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1191222897, + "capped_mape": 0.03816202710881676, + "uncapped_mape": 0.03816202710881676, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 50.243819889931686, + "max_over_mean": 5.523786185989965, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1625022677, + "capped_mape": 0.00658055330416243, + "uncapped_mape": 0.00658055330416243, + "within10": 0.96875, + "within25": 1.0, + "kish_ess": 51.50582519393508, + "max_over_mean": 4.503318002405537, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 116842344, + "capped_mape": 0.01452458272052538, + "uncapped_mape": 0.01452458272052538, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 50.39882827184203, + "max_over_mean": 6.841533258459067, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 904933881, + "capped_mape": 0.04373179754773313, + "uncapped_mape": 0.04373179754773313, + "within10": 0.875, + "within25": 0.96875, + "kish_ess": 47.99297203190175, + "max_over_mean": 5.711506597212409, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 619970131, + "capped_mape": 0.05601789532432626, + "uncapped_mape": 0.05601789532432626, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 49.56748344756007, + "max_over_mean": 4.763952282203545, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1170815813, + "capped_mape": 0.040522544085372356, + "uncapped_mape": 0.040522544085372356, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 50.44184945308244, + "max_over_mean": 5.304942151967739, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1259125978, + "capped_mape": 0.01595442712923355, + "uncapped_mape": 0.01595442712923355, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 38.19692859585534, + "max_over_mean": 7.366898734952801, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1837739832, + "capped_mape": 0.04256540223103438, + "uncapped_mape": 0.04256540223103438, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 40.64575593192793, + "max_over_mean": 6.607511437790824, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 997055587, + "capped_mape": 0.08097232506486031, + "uncapped_mape": 0.08097232506486031, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 52.34832845162512, + "max_over_mean": 5.7312413109237434, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 14637070, + "capped_mape": 0.07716602938163136, + "uncapped_mape": 0.07716602938163136, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 50.82377441841038, + "max_over_mean": 4.714811197527159, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1077674083, + "capped_mape": 0.09774348897660119, + "uncapped_mape": 0.09774348897660119, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 45.16984928527801, + "max_over_mean": 6.890549404100643, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1055348740, + "capped_mape": 0.13136656829656987, + "uncapped_mape": 0.13136656829656987, + "within10": 0.875, + "within25": 0.875, + "kish_ess": 57.201592317175454, + "max_over_mean": 4.94550710817579, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1117287337, + "capped_mape": 0.09013237566637405, + "uncapped_mape": 0.09013237566637405, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 60.110626913433315, + "max_over_mean": 4.399508671767037, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1736294372, + "capped_mape": 0.03744674088981406, + "uncapped_mape": 0.03744674088981406, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 52.583591021266514, + "max_over_mean": 5.885472698097489, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 985048728, + "capped_mape": 0.09743418484192887, + "uncapped_mape": 0.09743418484192887, + "within10": 0.8125, + "within25": 0.875, + "kish_ess": 41.675253521821105, + "max_over_mean": 6.568015303137364, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1379909498, + "capped_mape": 0.07817645972719632, + "uncapped_mape": 0.07817645972719632, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 39.73916193937246, + "max_over_mean": 6.842255547358649, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1638430584, + "capped_mape": 0.053328863419215715, + "uncapped_mape": 0.053328863419215715, + "within10": 0.875, + "within25": 0.9375, + "kish_ess": 53.87925282928444, + "max_over_mean": 5.317225812205898, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1723067141, + "capped_mape": 0.1300208943161232, + "uncapped_mape": 0.1300208943161232, + "within10": 0.84375, + "within25": 0.875, + "kish_ess": 55.70305540061975, + "max_over_mean": 4.740416511338457, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1378848541, + "capped_mape": 0.08628766534114544, + "uncapped_mape": 0.08628766534114544, + "within10": 0.90625, + "within25": 0.90625, + "kish_ess": 59.005449757796725, + "max_over_mean": 4.755204543585779, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 868197522, + "capped_mape": 0.04666276349653766, + "uncapped_mape": 0.04666276349653766, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 39.65131201836808, + "max_over_mean": 6.294460352839147, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 647202149, + "capped_mape": 0.04836201376872451, + "uncapped_mape": 0.04836201376872451, + "within10": 0.875, + "within25": 0.9375, + "kish_ess": 41.089005007081894, + "max_over_mean": 6.935507522682362, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 2113214476, + "capped_mape": 0.039926475693980404, + "uncapped_mape": 0.039926475693980404, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 46.95241146549346, + "max_over_mean": 6.924039698489013, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 992271816, + "capped_mape": 0.11352176133485015, + "uncapped_mape": 0.11352176133485015, + "within10": 0.8125, + "within25": 0.84375, + "kish_ess": 33.736519668506936, + "max_over_mean": 7.492370355531555, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 676736913, + "capped_mape": 0.06822094701559399, + "uncapped_mape": 0.06822094701559399, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 56.07762306377847, + "max_over_mean": 4.096727275810997, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 98112358, + "capped_mape": 0.09456090141727053, + "uncapped_mape": 0.09456090141727053, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 33.70748930103463, + "max_over_mean": 6.344216989366062, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1683327068, + "capped_mape": 0.05117135943011991, + "uncapped_mape": 0.05117135943011991, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 39.07355479461611, + "max_over_mean": 6.498281544873359, + "runtime": { + "seconds": 0.16, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 2000893927, + "capped_mape": 0.012426138423311667, + "uncapped_mape": 0.012426138423311667, + "within10": 0.9375, + "within25": 1.0, + "kish_ess": 45.20317698341195, + "max_over_mean": 5.4112224900463035, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1602201121, + "capped_mape": 0.08917290222966592, + "uncapped_mape": 0.08917290222966592, + "within10": 0.8125, + "within25": 0.90625, + "kish_ess": 39.34081025159714, + "max_over_mean": 7.302056842622904, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 220791302, + "capped_mape": 0.03833485550127789, + "uncapped_mape": 0.03833485550127789, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 37.16228282938951, + "max_over_mean": 6.565516199168332, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 394024601, + "capped_mape": 0.09035850332570697, + "uncapped_mape": 0.09035850332570697, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 43.9088400504419, + "max_over_mean": 6.197387264907234, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 422109773, + "capped_mape": 0.07937586300282919, + "uncapped_mape": 0.07937586300282919, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 43.56749155827231, + "max_over_mean": 6.308029757507715, + "runtime": { + "seconds": 0.15, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1719685853, + "capped_mape": 0.036576808979526504, + "uncapped_mape": 0.036576808979526504, + "within10": 0.96875, + "within25": 0.96875, + "kish_ess": 43.08831798121652, + "max_over_mean": 7.591411378537931, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 301499302, + "capped_mape": 0.0615575800504592, + "uncapped_mape": 0.0615575800504592, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 52.49282307245911, + "max_over_mean": 6.118686258897324, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 485027177, + "capped_mape": 0.07275182992526762, + "uncapped_mape": 0.07275182992526762, + "within10": 0.8125, + "within25": 0.9375, + "kish_ess": 30.944669616165218, + "max_over_mean": 6.481097211167847, + "runtime": { + "seconds": 0.1, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 138278317, + "capped_mape": 0.05387532364415604, + "uncapped_mape": 0.05387532364415604, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 46.26671414656347, + "max_over_mean": 5.762328288086623, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1683884968, + "capped_mape": 0.07081642258146291, + "uncapped_mape": 0.07081642258146291, + "within10": 0.90625, + "within25": 0.9375, + "kish_ess": 38.8993761434226, + "max_over_mean": 7.1791046677283035, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1678079148, + "capped_mape": 0.08367873586465242, + "uncapped_mape": 0.08367873586465242, + "within10": 0.84375, + "within25": 0.90625, + "kish_ess": 51.92073452501416, + "max_over_mean": 4.9637558037480884, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1653738625, + "capped_mape": 0.08401001800438336, + "uncapped_mape": 0.08401001800438336, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 27.430790580223256, + "max_over_mean": 7.101620068133416, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1847357819, + "capped_mape": 0.036348718078531767, + "uncapped_mape": 0.036348718078531767, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 48.3091866098596, + "max_over_mean": 6.336878113155881, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1606591099, + "capped_mape": 0.010475537084265015, + "uncapped_mape": 0.010475537084265015, + "within10": 1.0, + "within25": 1.0, + "kish_ess": 51.86732847241657, + "max_over_mean": 6.901966445344309, + "runtime": { + "seconds": 0.13, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1474745112, + "capped_mape": 0.07816134498616312, + "uncapped_mape": 0.07816134498616312, + "within10": 0.875, + "within25": 0.90625, + "kish_ess": 50.79590917612521, + "max_over_mean": 5.169295440137807, + "runtime": { + "seconds": 0.12, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1256853321, + "capped_mape": 0.04149370178687118, + "uncapped_mape": 0.04149370178687118, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 57.96406537012488, + "max_over_mean": 4.809106552150495, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1464829824, + "capped_mape": 0.0952872328000239, + "uncapped_mape": 0.0952872328000239, + "within10": 0.84375, + "within25": 0.875, + "kish_ess": 30.40471522536145, + "max_over_mean": 7.0305324279824495, + "runtime": { + "seconds": 0.08, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1528407391, + "capped_mape": 0.04194012768256578, + "uncapped_mape": 0.04194012768256578, + "within10": 0.90625, + "within25": 0.96875, + "kish_ess": 43.11375351851503, + "max_over_mean": 6.555794187016427, + "runtime": { + "seconds": 0.07, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1342072860, + "capped_mape": 0.10864480074929714, + "uncapped_mape": 0.10864480074929714, + "within10": 0.84375, + "within25": 0.875, + "kish_ess": 62.16801423031028, + "max_over_mean": 3.88209832040116, + "runtime": { + "seconds": 0.11, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1443817095, + "capped_mape": 0.03895370073357225, + "uncapped_mape": 0.03895370073357225, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 41.656268682435446, + "max_over_mean": 6.905803057945228, + "runtime": { + "seconds": 0.09, + "peak_rss_gb": 3.983 + } + }, + { + "seed": 1456505431, + "capped_mape": 0.04261256250591684, + "uncapped_mape": 0.04261256250591684, + "within10": 0.9375, + "within25": 0.96875, + "kish_ess": 44.10203106528825, + "max_over_mean": 7.202748754632602, + "runtime": { + "seconds": 0.14, + "peak_rss_gb": 3.983 + } + } + ] + }, + "exact_k_position": { + "capped_mape": 0.1794864278528463, + "uncapped_mape": 0.1794864278528463, + "share_of_design2_seeds_uncapped_at_or_below": 1.0, + "share_of_design2_seeds_at_or_below": 1.0, + "within10": 0.71875, + "share_of_design2_seeds_within10_at_or_below": 0.0 + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json new file mode 100644 index 0000000000..2b4980f3c6 --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json @@ -0,0 +1,154 @@ +{ + "purpose": "Verify reporting-only changes after the completed numerical run without rewriting its recorded producer hash.", + "producer_sha256": "12ee1e6fca64eee09ad2521851be5015cf54826471c8a210db55a1011a9fe0ad", + "current_sha256": "f24f77f9286d59d3bfdb84298046245ab9e77f6e8748b0c0b06ba6ac51c76ceb", + "changes": [ + "Count an AGI band only when its bound is finite; unbounded totals are not bands.", + "Correct the description of the two exported household sets.", + "Make observed closed-gate boundary draw counts explicit.", + "Correct prose about each design\u2019s reference mass for equal-share thresholds.", + "Validate reporting revisions by reconstructing the original producer source from these exact line edits." + ], + "numerical_outputs_unchanged": true, + "edits": [ + { + "old_start": 724, + "new_start": 724, + "old_lines": [ + " \"\"\"Use compiled measure and band metadata rather than target-name spelling.\"\"\"\n" + ], + "new_lines": [ + " \"\"\"Report AGI measures with a finite bound; unbounded totals are not bands.\"\"\"\n" + ] + }, + { + "old_start": 728, + "new_start": 728, + "old_lines": [ + " and any(s.metadata.get(key) is not None for key in (\"agi_lower_bound\", \"agi_upper_bound\"))\n" + ], + "new_lines": [ + " and any(\n", + " math.isfinite(float(s.metadata[key]))\n", + " for key in (\"agi_lower_bound\", \"agi_upper_bound\")\n", + " if s.metadata.get(key) is not None\n", + " )\n" + ] + }, + { + "old_start": 2330, + "new_start": 2334, + "old_lines": [ + " \"sorted by employment income. The selected identifiers, including the headline-target sensitivity, \"\n", + " \"are in [household_ids.json](household_ids.json).\"\n" + ], + "new_lines": [ + " \"sorted by employment income. Identifiers and mirrored rows for the sampled and national-target exact-k sets \"\n", + " \"are in [household_ids.json](household_ids.json); the headline-target sensitivity is reported only in aggregates.\"\n" + ] + }, + { + "old_start": 2389, + "new_start": 2393, + "old_lines": [ + " f\"boundary draw needed: {draw['boundary_draw_needed']}.\",\n" + ], + "new_lines": [ + " f\"boundary draw needed: {draw['boundary_draw_needed']}. \"\n", + " f\"The boundary draw selected {draw['boundary_draws_at_or_below_deterministic_threshold']} households \"\n", + " \"whose L0 gates were closed at deterministic evaluation. The final support is therefore a maintained \"\n", + " \"probability-based boundary draw, rather than simply the households with open L0 gates.\",\n" + ] + }, + { + "old_start": 2578, + "new_start": 2585, + "old_lines": [ + "Own-median thresholds use each design's positive output weights; equal-share\n", + "thresholds use full-file mass divided by support size.\n" + ], + "new_lines": [ + "Own-median thresholds use each design's positive output weights. Equal-share\n", + "thresholds use eligible-pool mass divided by sample size for the sampled designs\n", + "and full-file mass divided by support size for exact-k.\n" + ] + }, + { + "old_start": 2625, + "new_start": 2633, + "old_lines": [], + "new_lines": [ + "\n", + "\n", + "def _verify_producer_source(out_dir: Path, expected_sha256: str) -> dict[str, bool]:\n", + " \"\"\"Verify the producer directly or reconstruct it from reporting-only edits.\n", + "\n", + " Revision offsets are zero-based line indexes and line strings retain their\n", + " endings. Both sides of each edit must match; the reconstructed source must\n", + " have the original numerical producer's digest recorded in inputs.json.\n", + " \"\"\"\n", + " current_bytes = Path(__file__).read_bytes()\n", + " current_sha256 = hashlib.sha256(current_bytes).hexdigest()\n", + " if current_sha256 == expected_sha256:\n", + " return {\"source.script_sha256\": True}\n", + " revision_path = out_dir / \"source_revision.json\"\n", + " if not revision_path.exists():\n", + " return {\"source.script_sha256\": False}\n", + " revision = json.loads(revision_path.read_text())\n", + " checks = {\n", + " \"source.revision_current_sha256\": revision[\"current_sha256\"] == current_sha256,\n", + " \"source.revision_producer_sha256\": revision[\"producer_sha256\"] == expected_sha256,\n", + " }\n", + " edits = revision[\"edits\"]\n", + " current = current_bytes.decode(\"utf-8\").splitlines(keepends=True)\n", + " if not isinstance(edits, list) or not edits:\n", + " raise ValueError(\"Source revision must contain edits\")\n", + " for edit in edits:\n", + " for name in (\"old_start\", \"new_start\"):\n", + " if type(edit[name]) is not int or edit[name] < 0:\n", + " raise ValueError(\"Source revision offsets must be nonnegative integers\")\n", + " for name in (\"old_lines\", \"new_lines\"):\n", + " if not isinstance(edit[name], list) or not all(isinstance(line, str) for line in edit[name]):\n", + " raise ValueError(\"Source revision lines must be string lists\")\n", + " edits = sorted(edits, key=lambda edit: edit[\"new_start\"])\n", + " end = 0\n", + " patch_matches = True\n", + " for edit in edits:\n", + " start = edit[\"new_start\"]\n", + " stop = start + len(edit[\"new_lines\"])\n", + " patch_matches &= start >= end and stop <= len(current) and current[start:stop] == edit[\"new_lines\"]\n", + " end = stop\n", + " checks[\"source.revision_current_hunks_match\"] = patch_matches\n", + " if not patch_matches:\n", + " checks[\"source.script_sha256\"] = False\n", + " return checks\n", + " reconstructed = current.copy()\n", + " for edit in reversed(edits):\n", + " start = edit[\"new_start\"]\n", + " reconstructed[start:start + len(edit[\"new_lines\"])] = edit[\"old_lines\"]\n", + " end = 0\n", + " original_matches = True\n", + " for edit in sorted(edits, key=lambda edit: edit[\"old_start\"]):\n", + " start = edit[\"old_start\"]\n", + " stop = start + len(edit[\"old_lines\"])\n", + " original_matches &= start >= end and stop <= len(reconstructed) and reconstructed[start:stop] == edit[\"old_lines\"]\n", + " end = stop\n", + " checks[\"source.revision_producer_hunks_match\"] = original_matches\n", + " reconstructed_sha256 = hashlib.sha256(\"\".join(reconstructed).encode(\"utf-8\")).hexdigest()\n", + " checks[\"source.script_sha256\"] = reconstructed_sha256 == expected_sha256\n", + " return checks\n" + ] + }, + { + "old_start": 2782, + "new_start": 2849, + "old_lines": [ + " check(\"source.script_sha256\", inputs[\"source\"][\"script_sha256\"] == _sha256(Path(__file__)))\n" + ], + "new_lines": [ + " for label, passed in _verify_producer_source(out_dir, inputs[\"source\"][\"script_sha256\"]).items():\n", + " check(label, passed)\n" + ] + } + ] +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/target_registry.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/target_registry.json new file mode 100644 index 0000000000..86b54248ef --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/target_registry.json @@ -0,0 +1,47 @@ +{ + "feed_dir": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact", + "feed_facts_sha256": "4d1dba8c1b6274877bf184fa6de5d99b13fc61f34709ccab1487db2b5c64a79f", + "feed_manifest_sha256": "38ec5bf1efe5a0bd017ec5279065e2ea7645b37da237197f03ae2fbca28cadac", + "feed_rows": 39158, + "crosswalk": "congressional_district_vintage_crosswalk.csv", + "crosswalk_sha256": "c7cb040b1f57ca2ea2adcbfe60cc2b250ca23acbc4b640cd421e766fa54c1aec", + "age_targets": true, + "allow_unaged_dollar_targets": false, + "medicaid_enrollment_substitutions": 1, + "compiled_specs_all_geographies": 32867, + "specs_by_geography_level_and_scope": { + "congressional_district|None": 24340, + "country|None": 487, + "country|national": 18, + "state|None": 7104, + "state|state": 918 + }, + "national_rule": "metadata.ledger_geography_level == 'country' or metadata.geography_scope == 'national'", + "national_specs_declared": 505, + "national_families_declared": { + "bea": 2, + "cbo": 5, + "census_population": 18, + "cms_medicaid": 3, + "cms_medicare": 1, + "federal_reserve": 1, + "hhs_acf_liheap": 1, + "hhs_acf_tanf": 1, + "irs_soi": 451, + "jct": 11, + "ssa": 9, + "usda_snap": 2 + }, + "labelled_filter_restatements": { + "refused_by_origin_main_guard": 302, + "accepted_as_verified_restatements": 302, + "accepted_keys": { + "ledger_filter_age_lower_bound": 21, + "ledger_filter_age_upper_bound": 19, + "ledger_filter_us.tax.earned_income_credit_qualifying_children_lower_bound": 61, + "ledger_filter_us:statutes/26/62#adjusted_gross_income_lower_bound": 264, + "ledger_filter_us:statutes/26/62#adjusted_gross_income_upper_bound": 264 + }, + "excluded_specs": {} + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/validation.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/validation.json new file mode 100644 index 0000000000..c95833c4bd --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/validation.json @@ -0,0 +1,193 @@ +{ + "status": "passed", + "checks_count": 181, + "passed_count": 181, + "failed_checks": [], + "skipped_checks": [], + "checks": { + "household_rows_total": true, + "household_design_labels": true, + "household_sizes": true, + "household_json_mirror_columns": true, + "household_json_mirror_count": true, + "household_json_mirror.design": true, + "household_json_mirror.household_id": true, + "household_json_mirror.state": true, + "household_json_mirror.household_size": true, + "household_json_mirror.adults": true, + "household_json_mirror.children": true, + "household_json_mirror.head_age": true, + "household_json_mirror.employment_income": true, + "household_json_mirror.agi_or_total_income": true, + "household_json_mirror.receives_snap": true, + "household_json_mirror.receives_medicaid": true, + "household_json_mirror.receives_ssi": true, + "household_json_mirror.eitc_positive": true, + "household_json_mirror.social_security_positive": true, + "household_json_mirror.design_weight": true, + "household_json_mirror.calibrated_weight": true, + "household_json_mirror.post_stratified_weight": true, + "sampled.cardinality": true, + "sampled.identifier_list": true, + "sampled.income_order": true, + "sampled.positive_finite_weights": true, + "sampled.boolean.receives_snap": true, + "sampled.boolean.receives_medicaid": true, + "sampled.boolean.receives_ssi": true, + "sampled.boolean.eitc_positive": true, + "sampled.boolean.social_security_positive": true, + "sampled.contrast.households": true, + "sampled.contrast.one_person_households": true, + "sampled.contrast.household_size_6_plus": true, + "sampled.contrast.head_65_plus": true, + "sampled.contrast.head_under_30": true, + "sampled.contrast.with_children": true, + "sampled.contrast.distinct_states": true, + "sampled.contrast.receives_snap": true, + "sampled.contrast.receives_medicaid": true, + "sampled.contrast.receives_ssi": true, + "sampled.contrast.eitc_positive": true, + "sampled.contrast.social_security_positive": true, + "sampled.contrast.receives_any_of_snap_medicaid_ssi": true, + "sampled.contrast.receives_two_or_more_of_snap_medicaid_ssi_eitc": true, + "sampled.concentration.n": true, + "sampled.concentration.total": true, + "sampled.concentration.max_over_mean": true, + "sampled.concentration.min_over_mean": true, + "sampled.concentration.top10_share": true, + "sampled.concentration.kish_ess": true, + "exact_k.cardinality": true, + "exact_k.identifier_list": true, + "exact_k.income_order": true, + "exact_k.positive_finite_weights": true, + "exact_k.boolean.receives_snap": true, + "exact_k.boolean.receives_medicaid": true, + "exact_k.boolean.receives_ssi": true, + "exact_k.boolean.eitc_positive": true, + "exact_k.boolean.social_security_positive": true, + "exact_k.contrast.households": true, + "exact_k.contrast.one_person_households": true, + "exact_k.contrast.household_size_6_plus": true, + "exact_k.contrast.head_65_plus": true, + "exact_k.contrast.head_under_30": true, + "exact_k.contrast.with_children": true, + "exact_k.contrast.distinct_states": true, + "exact_k.contrast.receives_snap": true, + "exact_k.contrast.receives_medicaid": true, + "exact_k.contrast.receives_ssi": true, + "exact_k.contrast.eitc_positive": true, + "exact_k.contrast.social_security_positive": true, + "exact_k.contrast.receives_any_of_snap_medicaid_ssi": true, + "exact_k.contrast.receives_two_or_more_of_snap_medicaid_ssi_eitc": true, + "exact_k.concentration.n": true, + "exact_k.concentration.total": true, + "exact_k.concentration.max_over_mean": true, + "exact_k.concentration.min_over_mean": true, + "exact_k.concentration.top10_share": true, + "exact_k.concentration.kish_ess": true, + "targets.target_names_matching_poverty_or_spm_after_exclusion": true, + "targets.base_variables_matching_poverty_or_spm_after_exclusion": true, + "targets.national_all.count": true, + "targets.national_all.all_names": true, + "targets.national_all.no_poverty_spm_names": true, + "fit.national_all.full_file.target_count": true, + "fit.national_all.full_file.tolerance_shares": true, + "fit.national_all.design1_pps_self_weighted.target_count": true, + "fit.national_all.design1_pps_self_weighted.tolerance_shares": true, + "fit.national_all.design1b_pps_self_weighted_scaled_to_file_total.target_count": true, + "fit.national_all.design1b_pps_self_weighted_scaled_to_file_total.tolerance_shares": true, + "fit.national_all.design2_pps_post_stratified.target_count": true, + "fit.national_all.design2_pps_post_stratified.tolerance_shares": true, + "fit.national_all.design3_exact_k_refit.target_count": true, + "fit.national_all.design3_exact_k_refit.tolerance_shares": true, + "fit.national_all.design3_exact_k_ht_baseline_before_refit.target_count": true, + "fit.national_all.design3_exact_k_ht_baseline_before_refit.tolerance_shares": true, + "fit.national_all.design3_l0_gated_weights_full_pool.target_count": true, + "fit.national_all.design3_l0_gated_weights_full_pool.tolerance_shares": true, + "exact_k.national_all.cardinality": true, + "targets.headline.count": true, + "targets.headline.all_names": true, + "targets.headline.no_poverty_spm_names": true, + "fit.headline.full_file.target_count": true, + "fit.headline.full_file.tolerance_shares": true, + "fit.headline.design1_pps_self_weighted.target_count": true, + "fit.headline.design1_pps_self_weighted.tolerance_shares": true, + "fit.headline.design1b_pps_self_weighted_scaled_to_file_total.target_count": true, + "fit.headline.design1b_pps_self_weighted_scaled_to_file_total.tolerance_shares": true, + "fit.headline.design2_pps_post_stratified.target_count": true, + "fit.headline.design2_pps_post_stratified.tolerance_shares": true, + "fit.headline.design3_exact_k_refit.target_count": true, + "fit.headline.design3_exact_k_refit.tolerance_shares": true, + "fit.headline.design3_exact_k_ht_baseline_before_refit.target_count": true, + "fit.headline.design3_exact_k_ht_baseline_before_refit.tolerance_shares": true, + "fit.headline.design3_l0_gated_weights_full_pool.target_count": true, + "fit.headline.design3_l0_gated_weights_full_pool.tolerance_shares": true, + "exact_k.headline.cardinality": true, + "sampling.seed_count": true, + "sampling.fresh_seeds": true, + "sampling.national_all.design1.seed_alignment": true, + "sampling.national_all.design1.uncapped_mape.finite": true, + "sampling.national_all.design1.uncapped_mape.quantiles": true, + "sampling.national_all.design1.capped_mape.finite": true, + "sampling.national_all.design1.capped_mape.quantiles": true, + "sampling.national_all.design1.within10.finite": true, + "sampling.national_all.design1.within10.quantiles": true, + "sampling.national_all.design1.within25.finite": true, + "sampling.national_all.design1.within25.quantiles": true, + "sampling.national_all.design2.seed_alignment": true, + "sampling.national_all.design2.uncapped_mape.finite": true, + "sampling.national_all.design2.uncapped_mape.quantiles": true, + "sampling.national_all.design2.capped_mape.finite": true, + "sampling.national_all.design2.capped_mape.quantiles": true, + "sampling.national_all.design2.within10.finite": true, + "sampling.national_all.design2.within10.quantiles": true, + "sampling.national_all.design2.within25.finite": true, + "sampling.national_all.design2.within25.quantiles": true, + "sampling.national_all.design2.individual_runtime": true, + "sampling.headline.design1.seed_alignment": true, + "sampling.headline.design1.uncapped_mape.finite": true, + "sampling.headline.design1.uncapped_mape.quantiles": true, + "sampling.headline.design1.capped_mape.finite": true, + "sampling.headline.design1.capped_mape.quantiles": true, + "sampling.headline.design1.within10.finite": true, + "sampling.headline.design1.within10.quantiles": true, + "sampling.headline.design1.within25.finite": true, + "sampling.headline.design1.within25.quantiles": true, + "sampling.headline.design2.seed_alignment": true, + "sampling.headline.design2.uncapped_mape.finite": true, + "sampling.headline.design2.uncapped_mape.quantiles": true, + "sampling.headline.design2.capped_mape.finite": true, + "sampling.headline.design2.capped_mape.quantiles": true, + "sampling.headline.design2.within10.finite": true, + "sampling.headline.design2.within10.quantiles": true, + "sampling.headline.design2.within25.finite": true, + "sampling.headline.design2.within25.quantiles": true, + "sampling.headline.design2.individual_runtime": true, + "readme.generated.source": true, + "readme.generated.targets": true, + "readme.generated.frozen_draw": true, + "readme.generated.fit": true, + "readme.generated.worst": true, + "readme.generated.sampling": true, + "readme.generated.concentration": true, + "readme.generated.composition": true, + "readme.generated.descriptors": true, + "readme.generated.overlap": true, + "readme.generated.contrast": true, + "readme.generated.households_sampled": true, + "readme.generated.households_exact_k": true, + "readme.generated.leverage": true, + "readme.generated.exact_k": true, + "readme.generated.runtime": true, + "readme.generated.settings": true, + "readme.generated.reading": true, + "source.revision_current_sha256": true, + "source.revision_producer_sha256": true, + "source.revision_current_hunks_match": true, + "source.revision_producer_hunks_match": true, + "source.script_sha256": true + }, + "concentration_relative_tolerance": 0.0001, + "concentration_absolute_tolerance": 0.0001, + "source_verification_requested": true +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/verification.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/verification.json new file mode 100644 index 0000000000..b17c224c4d --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/verification.json @@ -0,0 +1,270 @@ +{ + "smoke": { + "command": "OMP_NUM_THREADS=4 .venv/bin/python experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py run --smoke-households 150 --n-seeds 2 --out-dir experiments/policybench-exact-k-100-vs-sampled-20260922/.smoke", + "status": { + "status": "complete", + "smoke": true, + "seconds": 839.6, + "seeds_completed": 2 + }, + "validation": { + "status": "passed", + "checks_count": 172, + "passed_count": 172, + "failed_checks": [], + "skipped_checks": [ + "targets.national_all.all_names_unavailable_in_earlier_smoke", + "targets.headline.all_names_unavailable_in_earlier_smoke", + "source.script_sha256_explicitly_not_checked" + ], + "checks": { + "household_rows_total": true, + "household_design_labels": true, + "household_sizes": true, + "household_json_mirror_columns": true, + "household_json_mirror_count": true, + "household_json_mirror.design": true, + "household_json_mirror.household_id": true, + "household_json_mirror.state": true, + "household_json_mirror.household_size": true, + "household_json_mirror.adults": true, + "household_json_mirror.children": true, + "household_json_mirror.head_age": true, + "household_json_mirror.employment_income": true, + "household_json_mirror.agi_or_total_income": true, + "household_json_mirror.receives_snap": true, + "household_json_mirror.receives_medicaid": true, + "household_json_mirror.receives_ssi": true, + "household_json_mirror.eitc_positive": true, + "household_json_mirror.social_security_positive": true, + "household_json_mirror.design_weight": true, + "household_json_mirror.calibrated_weight": true, + "household_json_mirror.post_stratified_weight": true, + "sampled.cardinality": true, + "sampled.identifier_list": true, + "sampled.income_order": true, + "sampled.positive_finite_weights": true, + "sampled.boolean.receives_snap": true, + "sampled.boolean.receives_medicaid": true, + "sampled.boolean.receives_ssi": true, + "sampled.boolean.eitc_positive": true, + "sampled.boolean.social_security_positive": true, + "sampled.contrast.households": true, + "sampled.contrast.one_person_households": true, + "sampled.contrast.household_size_6_plus": true, + "sampled.contrast.head_65_plus": true, + "sampled.contrast.head_under_30": true, + "sampled.contrast.with_children": true, + "sampled.contrast.distinct_states": true, + "sampled.contrast.receives_snap": true, + "sampled.contrast.receives_medicaid": true, + "sampled.contrast.receives_ssi": true, + "sampled.contrast.eitc_positive": true, + "sampled.contrast.social_security_positive": true, + "sampled.contrast.receives_any_of_snap_medicaid_ssi": true, + "sampled.contrast.receives_two_or_more_of_snap_medicaid_ssi_eitc": true, + "sampled.concentration.n": true, + "sampled.concentration.total": true, + "sampled.concentration.max_over_mean": true, + "sampled.concentration.min_over_mean": true, + "sampled.concentration.top10_share": true, + "sampled.concentration.kish_ess": true, + "exact_k.cardinality": true, + "exact_k.identifier_list": true, + "exact_k.income_order": true, + "exact_k.positive_finite_weights": true, + "exact_k.boolean.receives_snap": true, + "exact_k.boolean.receives_medicaid": true, + "exact_k.boolean.receives_ssi": true, + "exact_k.boolean.eitc_positive": true, + "exact_k.boolean.social_security_positive": true, + "exact_k.contrast.households": true, + "exact_k.contrast.one_person_households": true, + "exact_k.contrast.household_size_6_plus": true, + "exact_k.contrast.head_65_plus": true, + "exact_k.contrast.head_under_30": true, + "exact_k.contrast.with_children": true, + "exact_k.contrast.distinct_states": true, + "exact_k.contrast.receives_snap": true, + "exact_k.contrast.receives_medicaid": true, + "exact_k.contrast.receives_ssi": true, + "exact_k.contrast.eitc_positive": true, + "exact_k.contrast.social_security_positive": true, + "exact_k.contrast.receives_any_of_snap_medicaid_ssi": true, + "exact_k.contrast.receives_two_or_more_of_snap_medicaid_ssi_eitc": true, + "exact_k.concentration.n": true, + "exact_k.concentration.total": true, + "exact_k.concentration.max_over_mean": true, + "exact_k.concentration.min_over_mean": true, + "exact_k.concentration.top10_share": true, + "exact_k.concentration.kish_ess": true, + "targets.target_names_matching_poverty_or_spm_after_exclusion": true, + "targets.base_variables_matching_poverty_or_spm_after_exclusion": true, + "targets.national_all.count": true, + "fit.national_all.full_file.target_count": true, + "fit.national_all.full_file.tolerance_shares": true, + "fit.national_all.design1_pps_self_weighted.target_count": true, + "fit.national_all.design1_pps_self_weighted.tolerance_shares": true, + "fit.national_all.design1b_pps_self_weighted_scaled_to_file_total.target_count": true, + "fit.national_all.design1b_pps_self_weighted_scaled_to_file_total.tolerance_shares": true, + "fit.national_all.design2_pps_post_stratified.target_count": true, + "fit.national_all.design2_pps_post_stratified.tolerance_shares": true, + "fit.national_all.design3_exact_k_refit.target_count": true, + "fit.national_all.design3_exact_k_refit.tolerance_shares": true, + "fit.national_all.design3_exact_k_ht_baseline_before_refit.target_count": true, + "fit.national_all.design3_exact_k_ht_baseline_before_refit.tolerance_shares": true, + "fit.national_all.design3_l0_gated_weights_full_pool.target_count": true, + "fit.national_all.design3_l0_gated_weights_full_pool.tolerance_shares": true, + "exact_k.national_all.cardinality": true, + "targets.headline.count": true, + "fit.headline.full_file.target_count": true, + "fit.headline.full_file.tolerance_shares": true, + "fit.headline.design1_pps_self_weighted.target_count": true, + "fit.headline.design1_pps_self_weighted.tolerance_shares": true, + "fit.headline.design1b_pps_self_weighted_scaled_to_file_total.target_count": true, + "fit.headline.design1b_pps_self_weighted_scaled_to_file_total.tolerance_shares": true, + "fit.headline.design2_pps_post_stratified.target_count": true, + "fit.headline.design2_pps_post_stratified.tolerance_shares": true, + "fit.headline.design3_exact_k_refit.target_count": true, + "fit.headline.design3_exact_k_refit.tolerance_shares": true, + "fit.headline.design3_exact_k_ht_baseline_before_refit.target_count": true, + "fit.headline.design3_exact_k_ht_baseline_before_refit.tolerance_shares": true, + "fit.headline.design3_l0_gated_weights_full_pool.target_count": true, + "fit.headline.design3_l0_gated_weights_full_pool.tolerance_shares": true, + "exact_k.headline.cardinality": true, + "sampling.seed_count": true, + "sampling.fresh_seeds": true, + "sampling.national_all.design1.seed_alignment": true, + "sampling.national_all.design1.uncapped_mape.finite": true, + "sampling.national_all.design1.uncapped_mape.quantiles": true, + "sampling.national_all.design1.capped_mape.finite": true, + "sampling.national_all.design1.capped_mape.quantiles": true, + "sampling.national_all.design1.within10.finite": true, + "sampling.national_all.design1.within10.quantiles": true, + "sampling.national_all.design1.within25.finite": true, + "sampling.national_all.design1.within25.quantiles": true, + "sampling.national_all.design2.seed_alignment": true, + "sampling.national_all.design2.uncapped_mape.finite": true, + "sampling.national_all.design2.uncapped_mape.quantiles": true, + "sampling.national_all.design2.capped_mape.finite": true, + "sampling.national_all.design2.capped_mape.quantiles": true, + "sampling.national_all.design2.within10.finite": true, + "sampling.national_all.design2.within10.quantiles": true, + "sampling.national_all.design2.within25.finite": true, + "sampling.national_all.design2.within25.quantiles": true, + "sampling.national_all.design2.individual_runtime": true, + "sampling.headline.design1.seed_alignment": true, + "sampling.headline.design1.uncapped_mape.finite": true, + "sampling.headline.design1.uncapped_mape.quantiles": true, + "sampling.headline.design1.capped_mape.finite": true, + "sampling.headline.design1.capped_mape.quantiles": true, + "sampling.headline.design1.within10.finite": true, + "sampling.headline.design1.within10.quantiles": true, + "sampling.headline.design1.within25.finite": true, + "sampling.headline.design1.within25.quantiles": true, + "sampling.headline.design2.seed_alignment": true, + "sampling.headline.design2.uncapped_mape.finite": true, + "sampling.headline.design2.uncapped_mape.quantiles": true, + "sampling.headline.design2.capped_mape.finite": true, + "sampling.headline.design2.capped_mape.quantiles": true, + "sampling.headline.design2.within10.finite": true, + "sampling.headline.design2.within10.quantiles": true, + "sampling.headline.design2.within25.finite": true, + "sampling.headline.design2.within25.quantiles": true, + "sampling.headline.design2.individual_runtime": true, + "readme.generated.source": true, + "readme.generated.targets": true, + "readme.generated.frozen_draw": true, + "readme.generated.fit": true, + "readme.generated.worst": true, + "readme.generated.sampling": true, + "readme.generated.concentration": true, + "readme.generated.composition": true, + "readme.generated.descriptors": true, + "readme.generated.overlap": true, + "readme.generated.contrast": true, + "readme.generated.households_sampled": true, + "readme.generated.households_exact_k": true, + "readme.generated.leverage": true, + "readme.generated.exact_k": true, + "readme.generated.runtime": true, + "readme.generated.settings": true, + "readme.generated.reading": true + }, + "concentration_relative_tolerance": 0.0001, + "concentration_absolute_tolerance": 0.0001, + "source_verification_requested": false + }, + "note": "Numerical pipeline passed before the final source-provenance and validation additions. Full run validates its complete target lists and source SHA." + }, + "static_checks": { + "ruff_check_exit_code": 0, + "py_compile_exit_code": 0, + "ci_test_groups_verify_exit_code": 0 + }, + "delivery_blockers": { + "git": "Sandbox denies writes to assigned worktree Git metadata under main checkout; git fetch exited 255 before merge. Commits and push cannot be performed in this session.", + "github": "gh pr list could not connect to api.github.com. No PR was created or modified.", + "git_add": "git add of the experiment directory exited128: unable to create assigned worktree index.lock (Operation not permitted). No files staged or commits created." + }, + "full_run": { + "command": "OMP_NUM_THREADS=4 nohup .venv/bin/python -u experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py run --n-seeds 200 --out-dir experiments/policybench-exact-k-100-vs-sampled-20260922/.full", + "exit_code": 0, + "seconds": 4331.6, + "peak_measured_process_tree_rss_gb": 16.263, + "seeds_requested": 200, + "seeds_completed": 200, + "seed_count_reduced": false, + "original_run_validation": { + "file": "run_validation.json", + "passed_count": 177, + "skipped_checks": [] + }, + "notes": "Final reporting-only corrections and their source provenance are recorded separately; calibration results are unchanged." + }, + "unchanged_numerical_artifacts": { + "fit.json": "963f5e85509cfd0a756588f8ba5c4e6eda3f40df93dbe4392e1d42182ce7b4ba", + "weight_concentration.json": "3fcc245aba3f98a385fefce342996a51ddd2e579dbc78dc757bfc7d46b46abb2", + "exact_k.json": "d46a85a80ac9ebe626faa0add4d47b4ad5b06968f60ecd49a7f8504809604acf", + "sampling_distribution.json": "5a14225643dbff3cbfcde1be874bae8598e15335bcebcf0a41efe718d3e546cf", + "composition.json": "b17bae5d49a6e3c61a6b7472b8af5899f10fe7d294ce27b80fbe66ef47a3c11e", + "overlap.json": "f49aaebc90dba64691572ce89e196a4dffa6fa2408ee90c9b69a6fa43469feac", + "leverage.json": "8000d4c2295facb59bc13b78dd55ecc0807176d83a7ba2c9a4645e17b5e64e2f", + "household_contrast.json": "9d294ed2c988406b536073c29ca76a3777eac7d24cead9d216007b3566ae8142", + "runtime.json": "4bac78d89033dd6d087c8df03b15bff927d9e10006f7b423d31bd951298d22e5", + "households.csv": "dd24fa356d8a9caa07e2bdf5f7acbd08ee6e26bd350bc45003e429f869b5a436", + "household_ids.json": "08726550e0779c035ec02035cd499b5bfc060cdb24176a94d27e34d0e90fafe1", + "national_all_design1.json": "90b0a16db9ddc8e2b331e93556adf24d2c9a245cae3964fc571d33f16827fd53", + "national_all_design2.json": "ff1329d7f59639ea8be7363ccd8ad3937004db15a2ce6276f259d286287ad79c", + "national_all_design3.json": "5e99bc0fe3f4e9018b3f662fdc157b0882f59ef58d757f4fbae0eb8dd066005c", + "headline_design1.json": "54e7cca9c691d9a45d65e609caa47177031d4a90c4f21e325194b2cab9762128", + "headline_design2.json": "f9d217f2465710582d4c98c8ac08fadf51e1732b9efa94df9d047327610f5d8b", + "headline_design3.json": "477625112d286ae5f4df605f0c338ae5671de88a50e2cb175aada686b33e82a8" + }, + "final_validation": { + "status": "passed", + "checks_count": 181, + "passed_count": 181, + "failed_checks": [], + "skipped_checks": [], + "source_verification_requested": true, + "report_source_revision": "source_revision.json" + }, + "reporting_fix_checks": { + "finite_agi_bound_fixtures": "passed", + "source_reconstruction_and_tamper_fixtures": "passed", + "ruff_check_exit_code": 0, + "py_compile_exit_code": 0, + "ci_test_groups_verify_exit_code": 0 + }, + "delivery_status": { + "merged_origin_main": false, + "committed": false, + "pushed": false, + "draft_pr_created": false, + "pr_number": null, + "prepared_commit_message": ".full/commit_message.txt", + "prepared_pr_body": ".full/pr_body.md", + "requested_pr_title": "Record: 100-record exact-k versus PolicyBench's sampled 100" + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/weight_concentration.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/weight_concentration.json new file mode 100644 index 0000000000..d6ffc24f7a --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/weight_concentration.json @@ -0,0 +1,130 @@ +{ + "national_all": { + "full_file": { + "n": 75112, + "total": 160159870.92574474, + "max_over_mean": 178.03602225972142, + "min_over_mean": 3.009280537742465e-07, + "top10_share": 0.019085007561434737, + "kish_ess": 1760.158426071846, + "n_above_5x_own_median": 12263, + "n_above_10x_own_median": 7410 + }, + "design1_pps_self_weighted": { + "n": 100, + "total": 123234383.85038804, + "max_over_mean": 0.9999999999999998, + "min_over_mean": 0.9999999999999998, + "top10_share": 0.09999999999999999, + "kish_ess": 100.00000000000007, + "n_above_5x_own_median": 0, + "n_above_10x_own_median": 0, + "equal_share": 1232343.8385038802, + "n_above_5x_equal_share": 0, + "n_above_10x_equal_share": 0 + }, + "design2_pps_post_stratified": { + "n": 100, + "total": 189193988.60839844, + "max_over_mean": 6.5136488165633795, + "min_over_mean": 0.004665527444007631, + "top10_share": 0.4716903515614055, + "kish_ess": 32.0246732862653, + "n_above_5x_own_median": 15, + "n_above_10x_own_median": 5, + "equal_share": 1232343.8385038802, + "n_above_5x_equal_share": 8, + "n_above_10x_equal_share": 0 + }, + "design3_exact_k_ht_baseline_before_refit": { + "n": 100, + "total": 160159870.92574474, + "max_over_mean": 16.46597259585643, + "min_over_mean": 2.858938079198158e-05, + "top10_share": 0.7849415369864743, + "kish_ess": 11.94601480026006, + "n_above_5x_own_median": 27, + "n_above_10x_own_median": 23, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 7, + "n_above_10x_equal_share": 3 + }, + "design3_exact_k_refit": { + "n": 100, + "total": 120808697.6508767, + "max_over_mean": 20.966806606259432, + "min_over_mean": 0.00027608892008324453, + "top10_share": 0.7309143130172565, + "kish_ess": 12.372989047632847, + "n_above_5x_own_median": 16, + "n_above_10x_own_median": 12, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 4, + "n_above_10x_equal_share": 1 + } + }, + "headline": { + "full_file": { + "n": 75112, + "total": 160159870.92574474, + "max_over_mean": 178.03602225972142, + "min_over_mean": 3.009280537742465e-07, + "top10_share": 0.019085007561434737, + "kish_ess": 1760.158426071846, + "n_above_5x_own_median": 12263, + "n_above_10x_own_median": 7410 + }, + "design1_pps_self_weighted": { + "n": 100, + "total": 123234383.85038804, + "max_over_mean": 0.9999999999999998, + "min_over_mean": 0.9999999999999998, + "top10_share": 0.09999999999999999, + "kish_ess": 100.00000000000007, + "n_above_5x_own_median": 0, + "n_above_10x_own_median": 0, + "equal_share": 1232343.8385038802, + "n_above_5x_equal_share": 0, + "n_above_10x_equal_share": 0 + }, + "design2_pps_post_stratified": { + "n": 100, + "total": 179196095.359375, + "max_over_mean": 4.760374372495341, + "min_over_mean": 0.0512626918590356, + "top10_share": 0.3564732472093905, + "kish_ess": 49.33504110390702, + "n_above_5x_own_median": 9, + "n_above_10x_own_median": 0, + "equal_share": 1232343.8385038802, + "n_above_5x_equal_share": 6, + "n_above_10x_equal_share": 0 + }, + "design3_exact_k_ht_baseline_before_refit": { + "n": 100, + "total": 160159870.92574474, + "max_over_mean": 11.842278872150764, + "min_over_mean": 7.432670330099633e-06, + "top10_share": 0.6855467068443739, + "kish_ess": 16.469146855525334, + "n_above_5x_own_median": 29, + "n_above_10x_own_median": 23, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 7, + "n_above_10x_equal_share": 2 + }, + "design3_exact_k_refit": { + "n": 100, + "total": 140718068.8757842, + "max_over_mean": 8.39647039956876, + "min_over_mean": 8.459575953257315e-05, + "top10_share": 0.5544056575198311, + "kish_ess": 24.458449331332954, + "n_above_5x_own_median": 24, + "n_above_10x_own_median": 14, + "equal_share": 1601598.7092574474, + "n_above_5x_equal_share": 5, + "n_above_10x_equal_share": 0 + } + } +} diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json new file mode 100644 index 0000000000..1552a9d0bf --- /dev/null +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json @@ -0,0 +1,151 @@ +{ + "purpose": "Aggregate-only provenance audit of the feed-declared zero EITC controls dominating the national fixed-scale error mean.", + "feed": { + "path": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl", + "sha256": "4d1dba8c1b6274877bf184fa6de5d99b13fc61f34709ccab1487db2b5c64a79f", + "sha256_verified": true + }, + "fresh_national_design1": { + "source_file": "national_all_design1.json", + "n_targets": 504, + "n_zero_valued_targets": 26 + }, + "facts": [ + { + "source_record_id": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_returns", + "feed_line": 22564, + "feed_citation": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl:22564", + "value": 0, + "value_type": "integer", + "unit": "count", + "assertion": "observation", + "schema_version": "chronicle.consumer_fact.v3", + "period": { + "type": "tax_year", + "value": 2023 + }, + "geography": { + "id": "0100000US", + "level": "country", + "name": "United States", + "vintage": "2020_census" + }, + "source_cell_keys": [ + "ledger.source_cell.v1:d079e19d89e2a1a7f426b439", + "ledger.source_cell.v1:1a340fdcaf95dcc9c2506e3f", + "ledger.source_cell.v1:b45a802f459714f0c8da116d", + "ledger.source_cell.v1:662f56d0b5e4aa0bef8b99ec", + "ledger.source_cell.v1:eeb447fb00d785aa74ff5327", + "ledger.source_cell.v1:726855f7ae231f94ade489e1" + ], + "source_row_keys": [], + "source": { + "source_file": "23in25ic.xls", + "source_table": "Publication 1304 Table 2.5 EITC by AGI and qualifying children", + "source_sha256": "c6a58f637e42e83248b1f6f336fddc5d94ac91e04ccf68b1d089291d2d5fe1a5", + "url": "https://www.irs.gov/pub/irs-soi/23in25ic.xls", + "extraction_method": "CellSelectorSpec and SourceRecordSpec resolved from cells", + "extracted_at": "2026-05-11" + }, + "missing_suppression_quality_status_flags": {} + }, + { + "source_record_id": "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.eitc_total", + "feed_line": 27766, + "feed_citation": "/Users/maxghenis/PolicyEngine/_buildh-runtime/inputs/chronicle_us_b571381/artifact/consumer_facts.jsonl:27766", + "value": 0, + "value_type": "integer", + "unit": "usd", + "assertion": "observation", + "schema_version": "chronicle.consumer_fact.v3", + "period": { + "type": "tax_year", + "value": 2023 + }, + "geography": { + "id": "0100000US", + "level": "country", + "name": "United States", + "vintage": "2020_census" + }, + "source_cell_keys": [ + "ledger.source_cell.v1:0d74aeec12c638ea228d3b42", + "ledger.source_cell.v1:f5ac97c57cdb509a43f6d3bb", + "ledger.source_cell.v1:b45a802f459714f0c8da116d", + "ledger.source_cell.v1:662f56d0b5e4aa0bef8b99ec", + "ledger.source_cell.v1:eeb447fb00d785aa74ff5327", + "ledger.source_cell.v1:726855f7ae231f94ade489e1" + ], + "source_row_keys": [], + "source": { + "source_file": "23in25ic.xls", + "source_table": "Publication 1304 Table 2.5 EITC by AGI and qualifying children", + "source_sha256": "c6a58f637e42e83248b1f6f336fddc5d94ac91e04ccf68b1d089291d2d5fe1a5", + "url": "https://www.irs.gov/pub/irs-soi/23in25ic.xls", + "extraction_method": "CellSelectorSpec and SourceRecordSpec resolved from cells", + "extracted_at": "2026-05-11" + }, + "missing_suppression_quality_status_flags": {} + } + ], + "metric": { + "scale_definition": "max(abs(target), 1)", + "zero_target_scale": 1, + "objective_per_target_cap": 10, + "target_loss_weights": "equal", + "interpretation": "For a zero-valued target, the uncapped fixed-scale error equals the absolute miss divided by one unit of that measure; it is not a conventional percentage relative to a nonzero target. The capped objective bounds each such contribution at 10." + }, + "source_code_evidence": [ + { + "citation": "packages/microcosm-build/src/microcosm/build/ledger_targets.py:901", + "finding": "The numeric-fact validator rejects missing, invalid, or non-finite values; finite zero is accepted." + }, + { + "citation": "packages/microcosm-build/src/microcosm/build/ledger_targets.py:773", + "finding": "Identity references use the source numeric value." + }, + { + "citation": "packages/microcosm-build/src/microcosm/build/ledger_targets.py:820", + "finding": "The numeric value becomes the TargetSpec value." + }, + { + "citation": "packages/microcosm-build/src/microcosm/build/us_runtime/fiscal_targets.py:2130", + "finding": "Latest-observation selection can skip a zero only through the zero-as-missing helper." + }, + { + "citation": "packages/microcosm-build/src/microcosm/build/us_runtime/fiscal_targets.py:2148", + "finding": "The zero-as-missing helper applies only to specified CMS Medicaid roles, not IRS EITC." + }, + { + "citation": "packages/microcosm-build/src/microcosm/build/us_runtime/fiscal_targets.py:1245", + "finding": "EITC AGI-control uprating multiplies the source target value by a factor, preserving zero." + }, + { + "citation": "packages/microcosm-build/src/microcosm/build/us_runtime/fiscal_targets.py:1259", + "finding": "The all-return EITC uprating fallback also multiplies the target value by a factor, preserving zero." + }, + { + "citation": "packages/microcosm-calibrate/src/microcosm/calibrate/solve.py:594", + "finding": "Default fixed target scales use the absolute target with a one-unit floor." + }, + { + "citation": "packages/microcosm-calibrate/src/microcosm/calibrate/solve.py:532", + "finding": "The reported canonical objective caps scaled absolute errors before averaging." + }, + { + "citation": "packages/microcosm-calibrate/src/microcosm/calibrate/solve.py:576", + "finding": "The optimization loss applies the same cap using torch.clamp." + } + ], + "conclusions": { + "declared_zero_in_consumer_feed": true, + "explicit_missing_or_suppression_flag_found": false, + "underlying_workbook_checked": false, + "underlying_source_cells_checked": false, + "zero_semantics_verified": false, + "interpretation": "The feed declares numeric observations equal to zero. Available metadata does not establish whether those zeros reflect the substantive source data or an extraction/source-data issue. They must not be described as suppressed or missing on this evidence.", + "deduction": "Capped-fit improvement can coexist with higher uncapped error because errors beyond the cap make equal contributions to the fitted objective. This alone does not establish more accurate EITC estimation.", + "targets_changed_for_this_audit": false, + "target_handling": "All targets remain unchanged across the designs in this run." + } +} From ad1d71167e9cb234e7ad197f808e985af4ebe57d Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 08:33:46 -0500 Subject: [PATCH 2/4] Lead #989's national reading with capped MAPE and explain the Table 2.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 --- .../README.md | 57 +++-- .../compare_designs.py | 132 ++++++++++- .../source_revision.json | 212 +++++++++++++++++- .../verification.json | 17 +- 4 files changed, 371 insertions(+), 47 deletions(-) diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md b/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md index 6382978dcd..057a38fa93 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md @@ -7,10 +7,15 @@ Every reported result is rendered from the bundled JSONs by `compare_designs.py render-readme`. The household comparison is the centerpiece. Household rows are confined to -[households.csv](households.csv) and [household_ids.json](household_ids.json), -following the task's latest rule; this README reports their aggregate contrast. -The CSV groups the sampled and national-target exact-k sets and sorts each by -employment income. Both exports include only public-dataset household rows. +[households.csv](households.csv) and [household_ids.json](household_ids.json); +this README reports their aggregate contrast. The CSV groups the sampled and +national-target exact-k sets and sorts each by employment income. Both exports +include only public-dataset household rows. `design_weight` is the release's +household weight. `calibrated_weight` is each design's own weight before any +refit of the sample: the self-weight (eligible weight divided by 100) for +sampled rows and the national-target refit weight for exact-k rows. +`post_stratified_weight` is a sampled row's weight after design 2's national +refit; exact-k rows leave it empty. ## Household comparison @@ -44,6 +49,8 @@ employment income. Both exports include only public-dataset household rows. | weight / design weight, max | 34,033 | 8,038 | 11,465 | Sampled versus national-target exact-k: 58 versus 26 one-person households; 33 versus 23 retirement-age heads; 6 versus 16 households above the population's upper-decile employment-income threshold; 21 versus 44 receiving SNAP, Medicaid or SSI; 34 versus 40 states. The top-weight households carry 10.0% versus 73.1% of their sets' total weight. + +Most of this contrast compares two random draws, not L0's choices with a random draw. Of the 100 national-target exact-k households, 90 came from the Sampford boundary draw over households whose L0 gates were closed, at a median open probability of 0.0055; only 10 rank among the 100 most probable. The record ran one draw seed (0), so the counts above describe one boundary draw against one PPS draw. @@ -81,7 +88,9 @@ Deduction: these diagnostics indicate how far a selected support behaves as inte - **Sampling distribution:** repeated PPS draws with self-weighting and post-stratification, using the frozen draw's eligibility and public split. -The primary fit measure is uncapped MAPE with equal weight per target. +The record's registered fit measure is uncapped MAPE with equal weight per +target. On the national set one misplaced IRS cell dominates it (below), so +the national reading leads with capped MAPE. The denominator is the target's absolute value with a unit floor, matching `default_target_loss_scales` (`packages/microcosm-calibrate/src/microcosm/calibrate/solve.py:594`). @@ -92,11 +101,24 @@ Kish effective sample size measures weight concentration, not model accuracy. The national set contains **26 feed-declared zero-valued targets**. For these rows the denominator is one unit, so the uncapped fixed-scale “MAPE” includes absolute dollar or count misses; it is not a conventional percentage error -relative to a nonzero target. A zero EITC-dollar target dominates that mean. -The feed metadata does not establish whether this zero is substantive or -reflects an extraction/source-data issue, and the underlying workbook cells -were not verified. The [zero-target audit](zero_target_audit.json) records the -observations and provenance. All targets were held fixed across designs. +relative to a nonzero target. Two of them dominate that mean: Table 2.5's EITC +returns and amount for three or more qualifying children at $30,000 to $35,000 +of AGI. + +The feed reproduces IRS's published cell. The TY2023 workbook (`23in25ic.xls`, +checked 2026-11-11) prints 0 there, yet the schedule's phase-out for three or +more children runs past $56,000, and the workbook's own rows disagree with that +0. For $25,000 to $30,000 the four child columns sum to 310,212 more returns +than the all-returns column; for $30,000 to $35,000 they sum to 311,398 fewer, +with $1.72 billion less EITC. Summed over $20,000 to $35,000, the +three-or-more column reconciles with the all-returns rows to one return. The +likeliest reading is that IRS placed that column's $30,000 to $35,000 returns +in the rows below, so the true cell holds about 311,000 returns. Both sampled designs hold a +household in it and take the capped maximum on both targets. Exact-k holds +none. Every other zero-valued target's error stays at or below each sampled or +exact-k design's fifth-largest error in [fit.json](fit.json). The +[zero-target audit](zero_target_audit.json) records the two cells' observations +and provenance. All targets were held fixed across designs. Capped error and within-tolerance shares provide additional context; improving the capped objective can coexist with increasing an error already above its cap (a deduction from the capped loss, documented in the audit). @@ -104,11 +126,11 @@ cap (a deduction from the capped loss, documented in the audit). ## Reading the results -On national_all, uncapped MAPE is 1863675480.0% for the frozen self-weighted sample and 2116681946.4% after post-stratification, versus 58.7% for exact-k. +On national_all, capped MAPE is 82.2% for the frozen self-weighted sample and 65.0% after post-stratification, versus 58.7% for exact-k (55.0% for the full file's design weights). Two of the 26 zero-valued targets, Table 2.5's EITC returns and amount for three or more children at $30,000 to $35,000 of AGI, account for much of the sampled designs' gap: both sampled designs hold a household there and take the capped maximum on both, which adds 4.0 percentage points to capped MAPE. IRS's own workbook appears to misplace that cell (see the zero-target note above). Without those targets, capped MAPE is 78.5% self-weighted, 61.3% post-stratified and between 58.5% and 59.0% for exact-k (51.2% for the full file). Uncapped MAPE (1863675480.0% self-weighted, 2116681946.4% post-stratified, 58.7% exact-k) measures little beyond those two cells' absolute misses, so the national reading leads with capped MAPE. Against the 200 repeated post-stratified PPS draws (capped MAPE median 62.7%), exact-k's capped MAPE is lower than in 87% of them, and exact-k's share of targets within 10% (23.4%) is lower than every draw's (their lowest is 25.0%). -On headline, uncapped MAPE is 38.6% for the frozen self-weighted sample and 4.1% after post-stratification, versus 17.9% for exact-k. +On headline, uncapped MAPE is 38.6% for the frozen self-weighted sample and 4.1% after post-stratification, versus 17.9% for exact-k; no target's error reaches the cap, so capped MAPE is the same. Against the 200 repeated post-stratified PPS draws (capped MAPE median 4.9%), every draw's capped MAPE is at or below exact-k's, and exact-k's share of targets within 10% (71.9%) is lower than every draw's (their lowest is 81.2%). -Deduction: self-weighting preserves an interpretable approximately equal-weight draw from PolicyBench's eligible population. Post-stratification can improve aggregate fit on those same households, but changes their influence. Exact-k spends the household budget on fitting the chosen aggregates across the full source population; its weight concentration, eligibility and receipt coverage determine the cost of that fit. The national and headline runs answer different target-set questions and should be compared separately. +Deduction: self-weighting preserves an interpretable approximately equal-weight draw from PolicyBench's eligible population. Post-stratification can improve aggregate fit on those same households, but changes their influence. Exact-k sets inclusion probabilities by fitting the chosen aggregates across the full source population, then draws its households from them. At 100 households, 90 of the national and 97 of the headline exact-k households came from one Sampford boundary draw over closed gates, so each support's weight concentration, eligibility and receipt coverage reflect that draw as much as the fit. The national and headline runs answer different target-set questions and should be compared separately. ## Source and reproduction @@ -125,7 +147,12 @@ Producer source receipt: `{"git_head": "2b85b7b220c33811336913ab29d97acbf1274455 Smoke/pipeline-only output: False. -From the repository root, use the existing environment: +The `packages/` line citations above refer to commit `2b85b7b22`, the +producer's checkout. The run read the release H5, the Chronicle consumer feed +and the PolicyBench snapshot named under "Source and reproduction"; pass local +copies with `--h5`, `--feed-dir` and `--policybench-run`, whose defaults point +at the original machine's paths. From the repository root, use the existing +environment: ```bash OMP_NUM_THREADS=4 .venv/bin/python experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py run @@ -155,7 +182,7 @@ must be recomputed after a restart. - Registry compiled from the labelled feed: 32,867 specs at all geographies; 505 national (metadata.ledger_geography_level == 'country' or metadata.geography_scope == 'national'). - Labelled filter keys that the recorded checkout's guard refuses: 302 specs; 302 accepted as verified restatements, 0 excluded. - Materialized on the file: 505 national targets (0 not materialized); used after the poverty/SPM exclusion: 504. Families used: bea 2, cbo 5, census_population 18, cms_medicaid 3, cms_medicare 1, federal_reserve 1, hhs_acf_tanf 1, irs_soi 451, jct 11, ssa 9, usda_snap 2. -- Headline subset: 32 targets (population by age band (Census PEP): 18; wages and salaries (BEA NIPA): 1; wages and salaries (CBO): 1; SNAP benefits (USDA): 1; SNAP average monthly households (USDA): 1; Medicaid enrollment (CMS, Dec 2024): 1; SSI payments (SSA): 1; SSI recipients by age (SSA): 3; EITC amount and returns (IRS SOI TY2024 filing season): 2; AGI and return count (IRS SOI Table 1.1): 2; AGI (CBO): 1). National AGI-by-band rows in the compiled set: 0. +- Headline subset: 32 targets (population by age band (Census PEP): 18; wages and salaries (BEA NIPA): 1; wages and salaries (CBO): 1; SNAP benefits (USDA): 1; SNAP average monthly households (USDA): 1; Medicaid enrollment (CMS, Dec 2024): 1; SSI payments (SSA): 1; SSI recipients by age (SSA): 3; EITC amount and returns (IRS SOI TY2024 filing season): 2; AGI and return count (IRS SOI Table 1.1): 2; AGI (CBO): 1). National targets that measure AGI itself within a finite AGI band: 0; other national targets, such as the Table 2.5 EITC bins, still filter on AGI bands. - Excluded under the no-poverty/SPM rule: 1 (`hhs_acf_liheap.fy2024.national_profile.state_programs.households_served` (base_variable=spm_unit_energy_subsidy)). After exclusion, targets naming poverty or SPM: 0; measuring a poverty or SPM variable: 0. - Batch invariance: 400 households re-materialized across a batch boundary; 0 of their values differ (max absolute difference 0). diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py b/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py index 1b1c6e5d67..fb2c8eb4a6 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py @@ -55,6 +55,11 @@ REPO_ROOT = Path(__file__).resolve().parents[2] RECORD_DIR = Path(__file__).resolve().parent +# IRS SOI Publication 1304 Table 2.5, TY2023: the three-or-more-children column +# misplaces returns across the $20,000-$35,000 AGI rows (README zero-target note). +MISALLOCATED_EITC_CELL = ( + "irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k." +) SCRIPT_SHA256_AT_IMPORT = hashlib.sha256(Path(__file__).read_bytes()).hexdigest() RELEASE_ID = "populace-us-2024-5da5a95-20260611" @@ -2140,7 +2145,8 @@ def generated_blocks(out_dir: Path) -> dict[str, str]: f"{inputs['target_sets']['national_all']['targets_compiled_on_frame']}. Families used: {fam}.", f"- Headline subset: {len(inputs['headline_target_names'])} targets " f"({'; '.join(f'{k}: {v}' for k, v in inputs['headline_targets_per_rule'].items())}). " - f"National AGI-by-band rows in the compiled set: {len(inputs['national_agi_by_band_rows'])}.", + f"National targets that measure AGI itself within a finite AGI band: {len(inputs['national_agi_by_band_rows'])}; " + "other national targets, such as the Table 2.5 EITC bins, still filter on AGI bands.", f"- Excluded under the no-poverty/SPM rule: {len(inputs['poverty_spm_check']['excluded_targets'])} " f"({'; '.join(f'`{n}` ({', '.join(v)})' for n, v in inputs['poverty_spm_check']['excluded_targets'].items()) or 'none'}). " f"After exclusion, targets naming poverty or SPM: {len(inputs['poverty_spm_check']['target_names_matching_poverty_or_spm_after_exclusion'])}; " @@ -2328,6 +2334,17 @@ def fit_rows(key): f"The top-weight households carry {_pct(sampled['weights']['top10_share'])} versus " f"{_pct(selected['weights']['top10_share'])} of their sets' total weight." ) + nat_draw = ek["runs"].get("national_all", {}).get("draw") or {} + if nat_draw: + blocks["contrast"] += ( + f"\n\nMost of this contrast compares two random draws, not L0's choices with a random draw. " + f"Of the {nat_draw['receipt']['k']} national-target exact-k households, " + f"{nat_draw['boundary_draws_at_or_below_deterministic_threshold']} came from the Sampford boundary draw over " + "households whose L0 gates were closed, at a median open probability of " + f"{nat_draw['support_open_probability']['p50']:.4f}; only {nat_draw['support_in_top_100_open_probability']} " + "rank among the 100 most probable. The record ran one draw seed " + f"({nat_draw['receipt']['seed']}), so the counts above describe one boundary draw against one PPS draw." + ) blocks["households_sampled"] = "Sampled household rows are in [households.csv](households.csv), under `design=sampled`, sorted by employment income." blocks["households_exact_k"] = ( @@ -2430,21 +2447,118 @@ def fit_rows(key): ] ) summaries = [] + cap = st["capped_mape_cap"] for key in target_keys: + f0 = fit[key]["full_file"] f1 = fit[key]["design1_pps_self_weighted"] f2 = fit[key]["design2_pps_post_stratified"] f3 = fit[key].get("design3_exact_k_refit") - sentence = ( - f"On {key}, uncapped MAPE is {_pct(f1['uncapped_mape'])} for the frozen self-weighted sample " - f"and {_pct(f2['uncapped_mape'])} after post-stratification" - ) - sentence += f", versus {_pct(f3['uncapped_mape'])} for exact-k." if f3 else "; exact-k did not complete." + position = sd.get(key, {}).get("exact_k_position") if f3 else None + cell = [ + name + for name in {w["target"] for f in (f0, f1, f2) for w in f["worst_five"]} + if name.startswith(MISALLOCATED_EITC_CELL) + ] + if not cell: + sentence = ( + f"On {key}, uncapped MAPE is {_pct(f1['uncapped_mape'])} for the frozen self-weighted sample " + f"and {_pct(f2['uncapped_mape'])} after post-stratification" + ) + sentence += f", versus {_pct(f3['uncapped_mape'])} for exact-k" if f3 else "; exact-k did not complete" + if any(f["capped_mape"] != f["uncapped_mape"] for f in (f1, f2, f3) if f): + sentence += ( + f"; capped MAPE is {_pct(f1['capped_mape'])}, {_pct(f2['capped_mape'])}" + + (f" and {_pct(f3['capped_mape'])}." if f3 else ".") + ) + else: + sentence += "; no target's error reaches the cap, so capped MAPE is the same." + else: + sentence = ( + f"On {key}, capped MAPE is {_pct(f1['capped_mape'])} for the frozen self-weighted sample " + f"and {_pct(f2['capped_mape'])} after post-stratification" + ) + sentence += f", versus {_pct(f3['capped_mape'])} for exact-k" if f3 else "; exact-k did not complete" + sentence += f" ({_pct(f0['capped_mape'])} for the full file's design weights)." + n = fit[key]["targets"] + parts = [] + for label, f in ( + ("self-weighted", f1), ("post-stratified", f2), ("for exact-k", f3), ("for the full file", f0), + ): + if not f: + continue + listed = {w["target"]: abs(w["relative_error"]) for w in f["worst_five"]} + total = f["capped_mape"] * n + if all(name in listed for name in cell): + share = sum(min(listed[name], cap) for name in cell) + parts.append(f"{_pct((total - share) / (n - len(cell)))} {label}") + else: + bound = min(abs(f["worst_five"][-1]["relative_error"]), cap) * len(cell) + parts.append( + f"between {_pct((total - min(bound, total)) / (n - len(cell)))} and " + f"{_pct(total / (n - len(cell)))} {label}" + ) + listed_both = [ + f for f in (f1, f2) + if all(name in {w["target"] for w in f["worst_five"]} for name in cell) + ] + sentence += ( + f" {'Two' if len(cell) == 2 else len(cell)} of the {f1['n_zero_valued_targets']} zero-valued targets, " + "Table 2.5's EITC returns and amount " + "for three or more children at $30,000 to $35,000 of AGI, account for much of the sampled designs' gap: " + f"{'both sampled designs hold' if len(listed_both) == 2 else 'a sampled design holds'} a household there and " + f"take the capped maximum on both, which adds {100 * len(cell) * cap / n:.1f} percentage points to capped MAPE. " + "IRS's own workbook appears to misplace that cell (see the zero-target note above). Without those targets, capped MAPE is " + + ", ".join(parts[:-2]) + f" and {parts[-2]} ({parts[-1]})." + ) + sentence += ( + f" Uncapped MAPE ({_pct(f1['uncapped_mape'])} self-weighted, {_pct(f2['uncapped_mape'])} post-stratified" + + (f", {_pct(f3['uncapped_mape'])} exact-k" if f3 else "") + + ") measures little beyond those two cells' absolute misses, so the national reading leads with capped MAPE." + ) + if position: + seeds = sd["run"]["seeds_completed"] + capped_seeds = sd[key]["design2_post_stratified"]["capped_mape"] + within_seeds = sd[key]["design2_post_stratified"]["within10"] + beats = 1 - position["share_of_design2_seeds_at_or_below"] + matches = position["share_of_design2_seeds_within10_at_or_below"] + if beats == 0: + capped_clause = "every draw's capped MAPE is at or below exact-k's" + elif beats == 1: + capped_clause = "exact-k's capped MAPE is lower than every draw's" + else: + capped_clause = f"exact-k's capped MAPE is lower than in {_pct(beats, 0)} of them" + if matches == 0: + within_clause = ( + f"exact-k's share of targets within 10% ({_pct(position['within10'])}) is lower than every draw's " + f"(their lowest is {_pct(within_seeds['min'])})" + ) + elif matches == 1: + within_clause = f"exact-k's share of targets within 10% ({_pct(position['within10'])}) is at least every draw's" + else: + within_clause = ( + f"exact-k's share of targets within 10% ({_pct(position['within10'])}) is at least the draw's in " + f"{_pct(matches, 0)} of them" + ) + sentence += ( + f" Against the {seeds} repeated post-stratified PPS draws (capped MAPE median {_pct(capped_seeds['p50'])}), " + f"{capped_clause}, and {within_clause}." + ) summaries.append(sentence) + nat_draw = ek["runs"].get("national_all", {}).get("draw") or {} + head_draw = ek["runs"].get("headline", {}).get("draw") or {} + draw_note = "" + if nat_draw and head_draw: + draw_note = ( + f" At 100 households, {nat_draw['boundary_draws_at_or_below_deterministic_threshold']} of the national and " + f"{head_draw['boundary_draws_at_or_below_deterministic_threshold']} of the headline exact-k households came from " + "one Sampford boundary draw over closed gates, so each support's weight concentration, eligibility and receipt " + "coverage reflect that draw as much as the fit." + ) blocks["reading"] = "\n\n".join(summaries + [ "Deduction: self-weighting preserves an interpretable approximately equal-weight draw from PolicyBench's eligible population. " - "Post-stratification can improve aggregate fit on those same households, but changes their influence. Exact-k spends the household " - "budget on fitting the chosen aggregates across the full source population; its weight concentration, eligibility and receipt " - "coverage determine the cost of that fit. The national and headline runs answer different target-set questions and should be compared separately.", + "Post-stratification can improve aggregate fit on those same households, but changes their influence. Exact-k sets " + "inclusion probabilities by fitting the chosen aggregates across the full source population, then draws its households " + "from them." + draw_note + " The national and headline runs answer different target-set questions and should be compared separately.", ]) return blocks diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json index 2b4980f3c6..793b6e8b96 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json @@ -1,19 +1,34 @@ { "purpose": "Verify reporting-only changes after the completed numerical run without rewriting its recorded producer hash.", "producer_sha256": "12ee1e6fca64eee09ad2521851be5015cf54826471c8a210db55a1011a9fe0ad", - "current_sha256": "f24f77f9286d59d3bfdb84298046245ab9e77f6e8748b0c0b06ba6ac51c76ceb", + "current_sha256": "9fe94c122e2fe67e3e72f4c4f081af72c33d020486eed3f452632ad743907e3f", "changes": [ "Count an AGI band only when its bound is finite; unbounded totals are not bands.", "Correct the description of the two exported household sets.", "Make observed closed-gate boundary draw counts explicit.", "Correct prose about each design\u2019s reference mass for equal-share thresholds.", - "Validate reporting revisions by reconstructing the original producer source from these exact line edits." + "Validate reporting revisions by reconstructing the original producer source from these exact line edits.", + "Lead the national reading with capped MAPE, report it without the two Table 2.5 cells IRS appears to misplace, and place exact-k among the 200 post-stratified draws (microcosm#989 review r1, S1).", + "State that most of each exact-k support comes from one Sampford boundary draw over closed gates (review r1, S2).", + "Say what the AGI-band count counts (review r1, N3)." ], "numerical_outputs_unchanged": true, "edits": [ + { + "old_start": 57, + "new_start": 57, + "old_lines": [], + "new_lines": [ + "# IRS SOI Publication 1304 Table 2.5, TY2023: the three-or-more-children column\n", + "# misplaces returns across the $20,000-$35,000 AGI rows (README zero-target note).\n", + "MISALLOCATED_EITC_CELL = (\n", + " \"irs_soi.ty2023.table_2_5.eitc_by_agi_children.three_or_more_qualifying_children.30k_to_35k.\"\n", + ")\n" + ] + }, { "old_start": 724, - "new_start": 724, + "new_start": 729, "old_lines": [ " \"\"\"Use compiled measure and band metadata rather than target-name spelling.\"\"\"\n" ], @@ -23,7 +38,7 @@ }, { "old_start": 728, - "new_start": 728, + "new_start": 733, "old_lines": [ " and any(s.metadata.get(key) is not None for key in (\"agi_lower_bound\", \"agi_upper_bound\"))\n" ], @@ -35,9 +50,38 @@ " )\n" ] }, + { + "old_start": 2138, + "new_start": 2147, + "old_lines": [ + " f\"National AGI-by-band rows in the compiled set: {len(inputs['national_agi_by_band_rows'])}.\",\n" + ], + "new_lines": [ + " f\"National targets that measure AGI itself within a finite AGI band: {len(inputs['national_agi_by_band_rows'])}; \"\n", + " \"other national targets, such as the Table 2.5 EITC bins, still filter on AGI bands.\",\n" + ] + }, + { + "old_start": 2326, + "new_start": 2336, + "old_lines": [], + "new_lines": [ + " nat_draw = ek[\"runs\"].get(\"national_all\", {}).get(\"draw\") or {}\n", + " if nat_draw:\n", + " blocks[\"contrast\"] += (\n", + " f\"\\n\\nMost of this contrast compares two random draws, not L0's choices with a random draw. \"\n", + " f\"Of the {nat_draw['receipt']['k']} national-target exact-k households, \"\n", + " f\"{nat_draw['boundary_draws_at_or_below_deterministic_threshold']} came from the Sampford boundary draw over \"\n", + " \"households whose L0 gates were closed, at a median open probability of \"\n", + " f\"{nat_draw['support_open_probability']['p50']:.4f}; only {nat_draw['support_in_top_100_open_probability']} \"\n", + " \"rank among the 100 most probable. The record ran one draw seed \"\n", + " f\"({nat_draw['receipt']['seed']}), so the counts above describe one boundary draw against one PPS draw.\"\n", + " )\n" + ] + }, { "old_start": 2330, - "new_start": 2334, + "new_start": 2351, "old_lines": [ " \"sorted by employment income. The selected identifiers, including the headline-target sensitivity, \"\n", " \"are in [household_ids.json](household_ids.json).\"\n" @@ -49,7 +93,7 @@ }, { "old_start": 2389, - "new_start": 2393, + "new_start": 2410, "old_lines": [ " f\"boundary draw needed: {draw['boundary_draw_needed']}.\",\n" ], @@ -60,9 +104,159 @@ " \"probability-based boundary draw, rather than simply the households with open L0 gates.\",\n" ] }, + { + "old_start": 2425, + "new_start": 2449, + "old_lines": [], + "new_lines": [ + " cap = st[\"capped_mape_cap\"]\n" + ] + }, + { + "old_start": 2426, + "new_start": 2451, + "old_lines": [], + "new_lines": [ + " f0 = fit[key][\"full_file\"]\n" + ] + }, + { + "old_start": 2429, + "new_start": 2455, + "old_lines": [ + " sentence = (\n", + " f\"On {key}, uncapped MAPE is {_pct(f1['uncapped_mape'])} for the frozen self-weighted sample \"\n", + " f\"and {_pct(f2['uncapped_mape'])} after post-stratification\"\n" + ], + "new_lines": [ + " position = sd.get(key, {}).get(\"exact_k_position\") if f3 else None\n", + " cell = [\n", + " name\n", + " for name in {w[\"target\"] for f in (f0, f1, f2) for w in f[\"worst_five\"]}\n", + " if name.startswith(MISALLOCATED_EITC_CELL)\n", + " ]\n", + " if not cell:\n", + " sentence = (\n", + " f\"On {key}, uncapped MAPE is {_pct(f1['uncapped_mape'])} for the frozen self-weighted sample \"\n", + " f\"and {_pct(f2['uncapped_mape'])} after post-stratification\"\n", + " )\n", + " sentence += f\", versus {_pct(f3['uncapped_mape'])} for exact-k\" if f3 else \"; exact-k did not complete\"\n", + " if any(f[\"capped_mape\"] != f[\"uncapped_mape\"] for f in (f1, f2, f3) if f):\n", + " sentence += (\n", + " f\"; capped MAPE is {_pct(f1['capped_mape'])}, {_pct(f2['capped_mape'])}\"\n", + " + (f\" and {_pct(f3['capped_mape'])}.\" if f3 else \".\")\n", + " )\n", + " else:\n", + " sentence += \"; no target's error reaches the cap, so capped MAPE is the same.\"\n", + " else:\n", + " sentence = (\n", + " f\"On {key}, capped MAPE is {_pct(f1['capped_mape'])} for the frozen self-weighted sample \"\n", + " f\"and {_pct(f2['capped_mape'])} after post-stratification\"\n", + " )\n", + " sentence += f\", versus {_pct(f3['capped_mape'])} for exact-k\" if f3 else \"; exact-k did not complete\"\n", + " sentence += f\" ({_pct(f0['capped_mape'])} for the full file's design weights).\"\n", + " n = fit[key][\"targets\"]\n", + " parts = []\n", + " for label, f in (\n", + " (\"self-weighted\", f1), (\"post-stratified\", f2), (\"for exact-k\", f3), (\"for the full file\", f0),\n", + " ):\n", + " if not f:\n", + " continue\n", + " listed = {w[\"target\"]: abs(w[\"relative_error\"]) for w in f[\"worst_five\"]}\n", + " total = f[\"capped_mape\"] * n\n", + " if all(name in listed for name in cell):\n", + " share = sum(min(listed[name], cap) for name in cell)\n", + " parts.append(f\"{_pct((total - share) / (n - len(cell)))} {label}\")\n", + " else:\n", + " bound = min(abs(f[\"worst_five\"][-1][\"relative_error\"]), cap) * len(cell)\n", + " parts.append(\n", + " f\"between {_pct((total - min(bound, total)) / (n - len(cell)))} and \"\n", + " f\"{_pct(total / (n - len(cell)))} {label}\"\n", + " )\n", + " listed_both = [\n", + " f for f in (f1, f2)\n", + " if all(name in {w[\"target\"] for w in f[\"worst_five\"]} for name in cell)\n", + " ]\n", + " sentence += (\n", + " f\" {'Two' if len(cell) == 2 else len(cell)} of the {f1['n_zero_valued_targets']} zero-valued targets, \"\n", + " \"Table 2.5's EITC returns and amount \"\n", + " \"for three or more children at $30,000 to $35,000 of AGI, account for much of the sampled designs' gap: \"\n", + " f\"{'both sampled designs hold' if len(listed_both) == 2 else 'a sampled design holds'} a household there and \"\n", + " f\"take the capped maximum on both, which adds {100 * len(cell) * cap / n:.1f} percentage points to capped MAPE. \"\n", + " \"IRS's own workbook appears to misplace that cell (see the zero-target note above). Without those targets, capped MAPE is \"\n", + " + \", \".join(parts[:-2]) + f\" and {parts[-2]} ({parts[-1]}).\"\n", + " )\n", + " sentence += (\n", + " f\" Uncapped MAPE ({_pct(f1['uncapped_mape'])} self-weighted, {_pct(f2['uncapped_mape'])} post-stratified\"\n", + " + (f\", {_pct(f3['uncapped_mape'])} exact-k\" if f3 else \"\")\n", + " + \") measures little beyond those two cells' absolute misses, so the national reading leads with capped MAPE.\"\n", + " )\n", + " if position:\n", + " seeds = sd[\"run\"][\"seeds_completed\"]\n", + " capped_seeds = sd[key][\"design2_post_stratified\"][\"capped_mape\"]\n", + " within_seeds = sd[key][\"design2_post_stratified\"][\"within10\"]\n", + " beats = 1 - position[\"share_of_design2_seeds_at_or_below\"]\n", + " matches = position[\"share_of_design2_seeds_within10_at_or_below\"]\n", + " if beats == 0:\n", + " capped_clause = \"every draw's capped MAPE is at or below exact-k's\"\n", + " elif beats == 1:\n", + " capped_clause = \"exact-k's capped MAPE is lower than every draw's\"\n", + " else:\n", + " capped_clause = f\"exact-k's capped MAPE is lower than in {_pct(beats, 0)} of them\"\n", + " if matches == 0:\n", + " within_clause = (\n", + " f\"exact-k's share of targets within 10% ({_pct(position['within10'])}) is lower than every draw's \"\n", + " f\"(their lowest is {_pct(within_seeds['min'])})\"\n", + " )\n", + " elif matches == 1:\n", + " within_clause = f\"exact-k's share of targets within 10% ({_pct(position['within10'])}) is at least every draw's\"\n", + " else:\n", + " within_clause = (\n", + " f\"exact-k's share of targets within 10% ({_pct(position['within10'])}) is at least the draw's in \"\n", + " f\"{_pct(matches, 0)} of them\"\n", + " )\n", + " sentence += (\n", + " f\" Against the {seeds} repeated post-stratified PPS draws (capped MAPE median {_pct(capped_seeds['p50'])}), \"\n", + " f\"{capped_clause}, and {within_clause}.\"\n", + " )\n", + " summaries.append(sentence)\n", + " nat_draw = ek[\"runs\"].get(\"national_all\", {}).get(\"draw\") or {}\n", + " head_draw = ek[\"runs\"].get(\"headline\", {}).get(\"draw\") or {}\n", + " draw_note = \"\"\n", + " if nat_draw and head_draw:\n", + " draw_note = (\n", + " f\" At 100 households, {nat_draw['boundary_draws_at_or_below_deterministic_threshold']} of the national and \"\n", + " f\"{head_draw['boundary_draws_at_or_below_deterministic_threshold']} of the headline exact-k households came from \"\n", + " \"one Sampford boundary draw over closed gates, so each support's weight concentration, eligibility and receipt \"\n", + " \"coverage reflect that draw as much as the fit.\"\n" + ] + }, + { + "old_start": 2433, + "new_start": 2556, + "old_lines": [ + " sentence += f\", versus {_pct(f3['uncapped_mape'])} for exact-k.\" if f3 else \"; exact-k did not complete.\"\n", + " summaries.append(sentence)\n" + ], + "new_lines": [] + }, + { + "old_start": 2437, + "new_start": 2558, + "old_lines": [ + " \"Post-stratification can improve aggregate fit on those same households, but changes their influence. Exact-k spends the household \"\n", + " \"budget on fitting the chosen aggregates across the full source population; its weight concentration, eligibility and receipt \"\n", + " \"coverage determine the cost of that fit. The national and headline runs answer different target-set questions and should be compared separately.\",\n" + ], + "new_lines": [ + " \"Post-stratification can improve aggregate fit on those same households, but changes their influence. Exact-k sets \"\n", + " \"inclusion probabilities by fitting the chosen aggregates across the full source population, then draws its households \"\n", + " \"from them.\" + draw_note + \" The national and headline runs answer different target-set questions and should be compared separately.\",\n" + ] + }, { "old_start": 2578, - "new_start": 2585, + "new_start": 2699, "old_lines": [ "Own-median thresholds use each design's positive output weights; equal-share\n", "thresholds use full-file mass divided by support size.\n" @@ -75,7 +269,7 @@ }, { "old_start": 2625, - "new_start": 2633, + "new_start": 2747, "old_lines": [], "new_lines": [ "\n", @@ -141,7 +335,7 @@ }, { "old_start": 2782, - "new_start": 2849, + "new_start": 2963, "old_lines": [ " check(\"source.script_sha256\", inputs[\"source\"][\"script_sha256\"] == _sha256(Path(__file__)))\n" ], diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/verification.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/verification.json index b17c224c4d..39d222ed01 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/verification.json +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/verification.json @@ -202,11 +202,6 @@ "py_compile_exit_code": 0, "ci_test_groups_verify_exit_code": 0 }, - "delivery_blockers": { - "git": "Sandbox denies writes to assigned worktree Git metadata under main checkout; git fetch exited 255 before merge. Commits and push cannot be performed in this session.", - "github": "gh pr list could not connect to api.github.com. No PR was created or modified.", - "git_add": "git add of the experiment directory exited128: unable to create assigned worktree index.lock (Operation not permitted). No files staged or commits created." - }, "full_run": { "command": "OMP_NUM_THREADS=4 nohup .venv/bin/python -u experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py run --n-seeds 200 --out-dir experiments/policybench-exact-k-100-vs-sampled-20260922/.full", "exit_code": 0, @@ -257,14 +252,8 @@ "py_compile_exit_code": 0, "ci_test_groups_verify_exit_code": 0 }, - "delivery_status": { - "merged_origin_main": false, - "committed": false, - "pushed": false, - "draft_pr_created": false, - "pr_number": null, - "prepared_commit_message": ".full/commit_message.txt", - "prepared_pr_body": ".full/pr_body.md", - "requested_pr_title": "Record: 100-record exact-k versus PolicyBench's sampled 100" + "delivery": { + "pull_request": "PolicyEngine/microcosm#989", + "note": "The 2026-09-23 run's sandbox could not commit, push or open a pull request; a later session committed this record and opened the pull request. Git history records delivery." } } From f080fc44672cf472e7f607253f19e107b3701935 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 08:45:57 -0500 Subject: [PATCH 3/4] Record the Table 2.5 workbook check and name the rows holding the cell (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 --- .../README.md | 53 ++-- .../compare_designs.py | 53 +++- .../source_revision.json | 65 ++++- .../zero_target_audit.json | 241 +++++++++++++++++- 4 files changed, 368 insertions(+), 44 deletions(-) diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md b/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md index 057a38fa93..c97f2cae12 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/README.md @@ -1,7 +1,7 @@ # 100-record exact-k versus PolicyBench's sampled 100 -This is a local evidence record comparing the frozen PolicyBench sample with a -support chosen by Microcosm's maintained L0/exact-k calibration path. It does +This record compares the frozen PolicyBench sample with a support chosen by +Microcosm's maintained L0/exact-k calibration path. It does not evaluate models or certify either design for a benchmark or release. Every reported result is rendered from the bundled JSONs by `compare_designs.py render-readme`. @@ -11,9 +11,9 @@ The household comparison is the centerpiece. Household rows are confined to this README reports their aggregate contrast. The CSV groups the sampled and national-target exact-k sets and sorts each by employment income. Both exports include only public-dataset household rows. `design_weight` is the release's -household weight. `calibrated_weight` is each design's own weight before any -refit of the sample: the self-weight (eligible weight divided by 100) for -sampled rows and the national-target refit weight for exact-k rows. +household weight. `calibrated_weight` is each design's own weight: the +self-weight (eligible weight divided by 100) for sampled rows, before design 2 +refits them, and the national-target refit weight for exact-k rows. `post_stratified_weight` is a sampled row's weight after design 2's national refit; exact-k rows leave it empty. @@ -88,13 +88,14 @@ Deduction: these diagnostics indicate how far a selected support behaves as inte - **Sampling distribution:** repeated PPS draws with self-weighting and post-stratification, using the frozen draw's eligibility and public split. -The record's registered fit measure is uncapped MAPE with equal weight per -target. On the national set one misplaced IRS cell dominates it (below), so -the national reading leads with capped MAPE. +The run's primary fit measure is uncapped MAPE with equal weight per target, +and capped MAPE is its secondary measure. On the national set one apparently +misplaced IRS cell dominates the uncapped mean (below), so the national reading +leads with capped MAPE. The denominator is the target's absolute value with a unit floor, matching `default_target_loss_scales` (`packages/microcosm-calibrate/src/microcosm/calibrate/solve.py:594`). -Capped MAPE is secondary. The fit tables evaluate each design against the same +The fit tables evaluate each design against the same compiled targets, including targets unsupported by a particular sampled set. Kish effective sample size measures weight concentration, not model accuracy. @@ -106,19 +107,25 @@ returns and amount for three or more qualifying children at $30,000 to $35,000 of AGI. The feed reproduces IRS's published cell. The TY2023 workbook (`23in25ic.xls`, -checked 2026-11-11) prints 0 there, yet the schedule's phase-out for three or -more children runs past $56,000, and the workbook's own rows disagree with that -0. For $25,000 to $30,000 the four child columns sum to 310,212 more returns -than the all-returns column; for $30,000 to $35,000 they sum to 311,398 fewer, -with $1.72 billion less EITC. Summed over $20,000 to $35,000, the -three-or-more column reconciles with the all-returns rows to one return. The -likeliest reading is that IRS placed that column's $30,000 to $35,000 returns -in the rows below, so the true cell holds about 311,000 returns. Both sampled designs hold a -household in it and take the capped maximum on both targets. Exact-k holds -none. Every other zero-valued target's error stays at or below each sampled or -exact-k design's fifth-largest error in [fit.json](fit.json). The -[zero-target audit](zero_target_audit.json) records the two cells' observations -and provenance. All targets were held fixed across designs. +checked 2026-11-11) prints a numeric 0 there, with no disclosure marker, yet +the schedule's phase-out for three or more children runs past $56,000, and the +workbook's own rows disagree with that 0. At $30,000 to $35,000 the four child +columns sum to 311,398 fewer returns than the all-returns column, and $1.72 +billion less EITC. The excess sits in the $25,000 to $30,000 row (310,212 +returns) and the $20,000 to $25,000 row (1,187). Over those three rows the +child columns reconcile with the all-returns column to one return; every other +row reconciles to rounding. The likeliest reading is that IRS placed the +$30,000 to $35,000 cell's returns in those two rows, so the true cell holds +about 311,000 returns; IRS has not confirmed this. TY2022's workbook shows no +such gap; TY2021's shows the same pattern in the one-child column. The +[zero-target audit](zero_target_audit.json) records these workbook figures +(`workbook_check`) and the two cells' feed observations and provenance. + +Both sampled designs hold a household in the cell and take the capped maximum +on both targets. Exact-k holds none (see the reading below). Every other +zero-valued target's error stays at or below each sampled or exact-k design's +fifth-largest error in [fit.json](fit.json). The run held all targets fixed +across designs. Capped error and within-tolerance shares provide additional context; improving the capped objective can coexist with increasing an error already above its cap (a deduction from the capped loss, documented in the audit). @@ -126,7 +133,7 @@ cap (a deduction from the capped loss, documented in the audit). ## Reading the results -On national_all, capped MAPE is 82.2% for the frozen self-weighted sample and 65.0% after post-stratification, versus 58.7% for exact-k (55.0% for the full file's design weights). Two of the 26 zero-valued targets, Table 2.5's EITC returns and amount for three or more children at $30,000 to $35,000 of AGI, account for much of the sampled designs' gap: both sampled designs hold a household there and take the capped maximum on both, which adds 4.0 percentage points to capped MAPE. IRS's own workbook appears to misplace that cell (see the zero-target note above). Without those targets, capped MAPE is 78.5% self-weighted, 61.3% post-stratified and between 58.5% and 59.0% for exact-k (51.2% for the full file). Uncapped MAPE (1863675480.0% self-weighted, 2116681946.4% post-stratified, 58.7% exact-k) measures little beyond those two cells' absolute misses, so the national reading leads with capped MAPE. Against the 200 repeated post-stratified PPS draws (capped MAPE median 62.7%), exact-k's capped MAPE is lower than in 87% of them, and exact-k's share of targets within 10% (23.4%) is lower than every draw's (their lowest is 25.0%). +On national_all, capped MAPE is 82.2% for the frozen self-weighted sample and 65.0% after post-stratification, versus 58.7% for exact-k (55.0% for the full file's design weights). Two of the 26 zero-valued targets, Table 2.5's EITC returns and amount for three or more children at $30,000 to $35,000 of AGI, account for 4.0 of the 6.3-point capped-MAPE gap between the post-stratified sample and exact-k, and 4.0 of the self-weighted sample's 23.5-point gap: both sampled designs hold a household there and take the capped maximum on both. IRS's own workbook appears to misplace that cell (see the zero-target note above). Without those targets, capped MAPE is 78.5% self-weighted, 61.3% post-stratified and 59.0% for exact-k (51.2% for the full file). Exact-k holds no household in the cell: its smallest weight (333.5) exceeds every error outside its five largest (at most 1.02), so both cell errors are 0. Uncapped MAPE (1863675480.0% self-weighted, 2116681946.4% post-stratified, 58.7% exact-k) measures little beyond those two cells' absolute misses, so the national reading leads with capped MAPE. Against the 200 repeated post-stratified PPS draws (capped MAPE median 62.7%), exact-k's capped MAPE is lower than in 87% of them, and exact-k's share of targets within 10% (23.4%) is lower than every draw's (their lowest is 25.0%). On headline, uncapped MAPE is 38.6% for the frozen self-weighted sample and 4.1% after post-stratification, versus 17.9% for exact-k; no target's error reaches the cap, so capped MAPE is the same. Against the 200 repeated post-stratified PPS draws (capped MAPE median 4.9%), every draw's capped MAPE is at or below exact-k's, and exact-k's share of targets within 10% (71.9%) is lower than every draw's (their lowest is 81.2%). diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py b/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py index fb2c8eb4a6..831fe08f6c 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/compare_designs.py @@ -2480,17 +2480,36 @@ def fit_rows(key): sentence += f", versus {_pct(f3['capped_mape'])} for exact-k" if f3 else "; exact-k did not complete" sentence += f" ({_pct(f0['capped_mape'])} for the full file's design weights)." n = fit[key]["targets"] - parts = [] - for label, f in ( - ("self-weighted", f1), ("post-stratified", f2), ("for exact-k", f3), ("for the full file", f0), + parts, holds_none, adds = [], [], {} + for label, design, f in ( + ("self-weighted", "design1_pps_self_weighted", f1), + ("post-stratified", "design2_pps_post_stratified", f2), + ("for exact-k", "design3_exact_k_refit", f3), + ("for the full file", "full_file", f0), ): if not f: continue listed = {w["target"]: abs(w["relative_error"]) for w in f["worst_five"]} total = f["capped_mape"] * n + # A household in a zero-valued cell adds at least its weight to the + # cell's returns error. If a design's smallest weight exceeds every + # error outside its five largest, it holds no household there and + # both cell errors are exactly 0. + wc = conc[key].get(design) + floor = wc["min_over_mean"] * wc["total"] / wc["n"] if wc else None + outside = abs(f["worst_five"][-1]["relative_error"]) if all(name in listed for name in cell): share = sum(min(listed[name], cap) for name in cell) + adds[label] = 100 * share / n parts.append(f"{_pct((total - share) / (n - len(cell)))} {label}") + elif ( + floor is not None + and outside < floor + and not any(name in listed for name in cell) + and any(name.endswith(".eitc_returns") for name in cell) + ): + holds_none.append((label, floor, outside)) + parts.append(f"{_pct(total / (n - len(cell)))} {label}") else: bound = min(abs(f["worst_five"][-1]["relative_error"]), cap) * len(cell) parts.append( @@ -2501,15 +2520,37 @@ def fit_rows(key): f for f in (f1, f2) if all(name in {w["target"] for w in f["worst_five"]} for name in cell) ] + holders = "both sampled designs hold" if len(listed_both) == 2 else "a sampled design holds" + if f3 and {"self-weighted", "post-stratified"} <= set(adds): + gap = { + label: 100 * (f["capped_mape"] - f3["capped_mape"]) + for label, f in (("self-weighted", f1), ("post-stratified", f2)) + } + share_clause = ( + f"account for {adds['post-stratified']:.1f} of the {gap['post-stratified']:.1f}-point capped-MAPE gap " + f"between the post-stratified sample and exact-k, and {adds['self-weighted']:.1f} of the self-weighted " + f"sample's {gap['self-weighted']:.1f}-point gap: {holders} a household there and take the capped " + "maximum on both." + ) + else: + share_clause = ( + f"weigh on the sampled designs' fit: {holders} a household there and take the capped maximum on both, " + f"which adds {max(adds.values(), default=0):.1f} percentage points to capped MAPE." + ) sentence += ( f" {'Two' if len(cell) == 2 else len(cell)} of the {f1['n_zero_valued_targets']} zero-valued targets, " "Table 2.5's EITC returns and amount " - "for three or more children at $30,000 to $35,000 of AGI, account for much of the sampled designs' gap: " - f"{'both sampled designs hold' if len(listed_both) == 2 else 'a sampled design holds'} a household there and " - f"take the capped maximum on both, which adds {100 * len(cell) * cap / n:.1f} percentage points to capped MAPE. " + f"for three or more children at $30,000 to $35,000 of AGI, {share_clause} " "IRS's own workbook appears to misplace that cell (see the zero-target note above). Without those targets, capped MAPE is " + ", ".join(parts[:-2]) + f" and {parts[-2]} ({parts[-1]})." ) + names = {"for exact-k": "Exact-k", "self-weighted": "The self-weighted sample", + "post-stratified": "The post-stratified sample", "for the full file": "The full file"} + for label, floor, outside in holds_none: + sentence += ( + f" {names[label]} holds no household in the cell: its smallest weight ({floor:,.1f}) exceeds every " + f"error outside its five largest (at most {outside:.2f}), so both cell errors are 0." + ) sentence += ( f" Uncapped MAPE ({_pct(f1['uncapped_mape'])} self-weighted, {_pct(f2['uncapped_mape'])} post-stratified" + (f", {_pct(f3['uncapped_mape'])} exact-k" if f3 else "") diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json index 793b6e8b96..71ba69ae00 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json @@ -1,7 +1,7 @@ { "purpose": "Verify reporting-only changes after the completed numerical run without rewriting its recorded producer hash.", "producer_sha256": "12ee1e6fca64eee09ad2521851be5015cf54826471c8a210db55a1011a9fe0ad", - "current_sha256": "9fe94c122e2fe67e3e72f4c4f081af72c33d020486eed3f452632ad743907e3f", + "current_sha256": "fc572811249482ae77cd0b50158bb9a88b3e5c2e31f492a5cfc45b5e8de56787", "changes": [ "Count an AGI band only when its bound is finite; unbounded totals are not bands.", "Correct the description of the two exported household sets.", @@ -156,17 +156,36 @@ " sentence += f\", versus {_pct(f3['capped_mape'])} for exact-k\" if f3 else \"; exact-k did not complete\"\n", " sentence += f\" ({_pct(f0['capped_mape'])} for the full file's design weights).\"\n", " n = fit[key][\"targets\"]\n", - " parts = []\n", - " for label, f in (\n", - " (\"self-weighted\", f1), (\"post-stratified\", f2), (\"for exact-k\", f3), (\"for the full file\", f0),\n", + " parts, holds_none, adds = [], [], {}\n", + " for label, design, f in (\n", + " (\"self-weighted\", \"design1_pps_self_weighted\", f1),\n", + " (\"post-stratified\", \"design2_pps_post_stratified\", f2),\n", + " (\"for exact-k\", \"design3_exact_k_refit\", f3),\n", + " (\"for the full file\", \"full_file\", f0),\n", " ):\n", " if not f:\n", " continue\n", " listed = {w[\"target\"]: abs(w[\"relative_error\"]) for w in f[\"worst_five\"]}\n", " total = f[\"capped_mape\"] * n\n", + " # A household in a zero-valued cell adds at least its weight to the\n", + " # cell's returns error. If a design's smallest weight exceeds every\n", + " # error outside its five largest, it holds no household there and\n", + " # both cell errors are exactly 0.\n", + " wc = conc[key].get(design)\n", + " floor = wc[\"min_over_mean\"] * wc[\"total\"] / wc[\"n\"] if wc else None\n", + " outside = abs(f[\"worst_five\"][-1][\"relative_error\"])\n", " if all(name in listed for name in cell):\n", " share = sum(min(listed[name], cap) for name in cell)\n", + " adds[label] = 100 * share / n\n", " parts.append(f\"{_pct((total - share) / (n - len(cell)))} {label}\")\n", + " elif (\n", + " floor is not None\n", + " and outside < floor\n", + " and not any(name in listed for name in cell)\n", + " and any(name.endswith(\".eitc_returns\") for name in cell)\n", + " ):\n", + " holds_none.append((label, floor, outside))\n", + " parts.append(f\"{_pct(total / (n - len(cell)))} {label}\")\n", " else:\n", " bound = min(abs(f[\"worst_five\"][-1][\"relative_error\"]), cap) * len(cell)\n", " parts.append(\n", @@ -177,15 +196,37 @@ " f for f in (f1, f2)\n", " if all(name in {w[\"target\"] for w in f[\"worst_five\"]} for name in cell)\n", " ]\n", + " holders = \"both sampled designs hold\" if len(listed_both) == 2 else \"a sampled design holds\"\n", + " if f3 and {\"self-weighted\", \"post-stratified\"} <= set(adds):\n", + " gap = {\n", + " label: 100 * (f[\"capped_mape\"] - f3[\"capped_mape\"])\n", + " for label, f in ((\"self-weighted\", f1), (\"post-stratified\", f2))\n", + " }\n", + " share_clause = (\n", + " f\"account for {adds['post-stratified']:.1f} of the {gap['post-stratified']:.1f}-point capped-MAPE gap \"\n", + " f\"between the post-stratified sample and exact-k, and {adds['self-weighted']:.1f} of the self-weighted \"\n", + " f\"sample's {gap['self-weighted']:.1f}-point gap: {holders} a household there and take the capped \"\n", + " \"maximum on both.\"\n", + " )\n", + " else:\n", + " share_clause = (\n", + " f\"weigh on the sampled designs' fit: {holders} a household there and take the capped maximum on both, \"\n", + " f\"which adds {max(adds.values(), default=0):.1f} percentage points to capped MAPE.\"\n", + " )\n", " sentence += (\n", " f\" {'Two' if len(cell) == 2 else len(cell)} of the {f1['n_zero_valued_targets']} zero-valued targets, \"\n", " \"Table 2.5's EITC returns and amount \"\n", - " \"for three or more children at $30,000 to $35,000 of AGI, account for much of the sampled designs' gap: \"\n", - " f\"{'both sampled designs hold' if len(listed_both) == 2 else 'a sampled design holds'} a household there and \"\n", - " f\"take the capped maximum on both, which adds {100 * len(cell) * cap / n:.1f} percentage points to capped MAPE. \"\n", + " f\"for three or more children at $30,000 to $35,000 of AGI, {share_clause} \"\n", " \"IRS's own workbook appears to misplace that cell (see the zero-target note above). Without those targets, capped MAPE is \"\n", " + \", \".join(parts[:-2]) + f\" and {parts[-2]} ({parts[-1]}).\"\n", " )\n", + " names = {\"for exact-k\": \"Exact-k\", \"self-weighted\": \"The self-weighted sample\",\n", + " \"post-stratified\": \"The post-stratified sample\", \"for the full file\": \"The full file\"}\n", + " for label, floor, outside in holds_none:\n", + " sentence += (\n", + " f\" {names[label]} holds no household in the cell: its smallest weight ({floor:,.1f}) exceeds every \"\n", + " f\"error outside its five largest (at most {outside:.2f}), so both cell errors are 0.\"\n", + " )\n", " sentence += (\n", " f\" Uncapped MAPE ({_pct(f1['uncapped_mape'])} self-weighted, {_pct(f2['uncapped_mape'])} post-stratified\"\n", " + (f\", {_pct(f3['uncapped_mape'])} exact-k\" if f3 else \"\")\n", @@ -233,7 +274,7 @@ }, { "old_start": 2433, - "new_start": 2556, + "new_start": 2597, "old_lines": [ " sentence += f\", versus {_pct(f3['uncapped_mape'])} for exact-k.\" if f3 else \"; exact-k did not complete.\"\n", " summaries.append(sentence)\n" @@ -242,7 +283,7 @@ }, { "old_start": 2437, - "new_start": 2558, + "new_start": 2599, "old_lines": [ " \"Post-stratification can improve aggregate fit on those same households, but changes their influence. Exact-k spends the household \"\n", " \"budget on fitting the chosen aggregates across the full source population; its weight concentration, eligibility and receipt \"\n", @@ -256,7 +297,7 @@ }, { "old_start": 2578, - "new_start": 2699, + "new_start": 2740, "old_lines": [ "Own-median thresholds use each design's positive output weights; equal-share\n", "thresholds use full-file mass divided by support size.\n" @@ -269,7 +310,7 @@ }, { "old_start": 2625, - "new_start": 2747, + "new_start": 2788, "old_lines": [], "new_lines": [ "\n", @@ -335,7 +376,7 @@ }, { "old_start": 2782, - "new_start": 2963, + "new_start": 3004, "old_lines": [ " check(\"source.script_sha256\", inputs[\"source\"][\"script_sha256\"] == _sha256(Path(__file__)))\n" ], diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json index 1552a9d0bf..687ce2236b 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json @@ -140,12 +140,247 @@ "conclusions": { "declared_zero_in_consumer_feed": true, "explicit_missing_or_suppression_flag_found": false, - "underlying_workbook_checked": false, - "underlying_source_cells_checked": false, + "underlying_workbook_checked": true, + "underlying_source_cells_checked": true, "zero_semantics_verified": false, "interpretation": "The feed declares numeric observations equal to zero. Available metadata does not establish whether those zeros reflect the substantive source data or an extraction/source-data issue. They must not be described as suppressed or missing on this evidence.", "deduction": "Capped-fit improvement can coexist with higher uncapped error because errors beyond the cap make equal contributions to the fitted objective. This alone does not establish more accurate EITC estimation.", "targets_changed_for_this_audit": false, - "target_handling": "All targets remain unchanged across the designs in this run." + "target_handling": "All targets remain unchanged across the designs in this run.", + "interpretation_after_workbook_check": "The 0 is IRS's published value. The workbook's own all-returns rows imply that the cell holds about 311,000 returns; see workbook_check. IRS has not confirmed this reading." + }, + "workbook_check": { + "checked_on": "2026-11-11", + "added_after_the_run": true, + "method": "Each workbook's first sheet, read with xlrd. Per AGI row, the sum of the four qualifying-children blocks (returns in columns Z, AP, BF and BV; EITC amount in $ thousands in AA, AQ, BG and BW) minus the all-returns EITC columns (J returns, K amount). Rows whose residual exceeds the workbook's rounding (2) are listed.", + "workbooks": [ + { + "tax_year": 2023, + "chronicle_path": "db/data/irs_soi/table_2_5/23in25ic.xls", + "chronicle_commit": "1e42498f263323904bc5831972320e14621b1256", + "sha256": "c6a58f637e42e83248b1f6f336fddc5d94ac91e04ccf68b1d089291d2d5fe1a5", + "agi_rows_checked": 28, + "rows_beyond_rounding": [ + { + "sheet_row": 31, + "agi_row": "$20,000 under $25,000", + "children_minus_all_returns": { + "returns": 1187, + "amount_thousands": 297 + }, + "child_blocks_returns": { + "none": 160909, + "one": 1048096, + "two": 741595, + "three_or_more": 407149 + }, + "child_blocks_amount_thousands": { + "none": 23243, + "one": 3963800, + "two": 4682050, + "three_or_more": 2919017 + }, + "all_returns": { + "returns": 2356562, + "amount_thousands": 11587813 + } + }, + { + "sheet_row": 32, + "agi_row": "$25,000 under $30,000", + "children_minus_all_returns": { + "returns": 310212, + "amount_thousands": 1723778 + }, + "child_blocks_returns": { + "none": 0, + "one": 958331, + "two": 645858, + "three_or_more": 635160 + }, + "child_blocks_amount_thousands": { + "none": 0, + "one": 2978715, + "two": 3574403, + "three_or_more": 3812252 + }, + "all_returns": { + "returns": 1929137, + "amount_thousands": 8641592 + } + }, + { + "sheet_row": 33, + "agi_row": "$30,000 under $35,000", + "children_minus_all_returns": { + "returns": -311398, + "amount_thousands": -1724074 + }, + "child_blocks_returns": { + "none": 0, + "one": 1024692, + "two": 629271, + "three_or_more": 0 + }, + "child_blocks_amount_thousands": { + "none": 0, + "one": 2406097, + "two": 2844637, + "three_or_more": 0 + }, + "all_returns": { + "returns": 1965361, + "amount_thousands": 6974808 + } + } + ], + "rows_beyond_rounding_sum": { + "returns": 1, + "amount_thousands": 1 + }, + "other_rows_max_abs_residual": { + "returns": 1, + "amount_thousands": 1 + }, + "matches_feed_source_sha256": true, + "three_or_more_children_column": [ + { + "sheet_row": 31, + "agi_row": "$20,000 under $25,000", + "published": { + "returns": 407149, + "amount_thousands": 2919017 + }, + "published_minus_residual": { + "returns": 405962, + "amount_thousands": 2918720 + } + }, + { + "sheet_row": 32, + "agi_row": "$25,000 under $30,000", + "published": { + "returns": 635160, + "amount_thousands": 3812252 + }, + "published_minus_residual": { + "returns": 324948, + "amount_thousands": 2088474 + } + }, + { + "sheet_row": 33, + "agi_row": "$30,000 under $35,000", + "published": { + "returns": 0, + "amount_thousands": 0 + }, + "published_minus_residual": { + "returns": 311398, + "amount_thousands": 1724074 + } + }, + { + "sheet_row": 34, + "agi_row": "$35,000 under $40,000", + "published": { + "returns": 312506, + "amount_thousands": 1408203 + }, + "published_minus_residual": { + "returns": 312506, + "amount_thousands": 1408203 + } + } + ] + }, + { + "tax_year": 2022, + "chronicle_path": "db/data/irs_soi/table_2_5/22in25ic.xls", + "chronicle_commit": "1e42498f263323904bc5831972320e14621b1256", + "sha256": "bd890a09ef3a35c577dcc9d94272a7ee40d836453c686d70599372b48b863884", + "agi_rows_checked": 28, + "rows_beyond_rounding": [], + "rows_beyond_rounding_sum": { + "returns": 0, + "amount_thousands": 0 + }, + "other_rows_max_abs_residual": { + "returns": 1, + "amount_thousands": 1 + } + }, + { + "tax_year": 2021, + "chronicle_path": "db/data/irs_soi/table_2_5/21in25ic.xls", + "chronicle_commit": "1e42498f263323904bc5831972320e14621b1256", + "sha256": "d4429c04a101b70cf23c6412f3246a3bc6a7244bad99f3561e54c302007f3285", + "agi_rows_checked": 28, + "rows_beyond_rounding": [ + { + "sheet_row": 32, + "agi_row": "$25,000 under $30,000", + "children_minus_all_returns": { + "returns": 107558, + "amount_thousands": 26117 + }, + "child_blocks_returns": { + "none": 166385, + "one": 1293601, + "two": 749377, + "three_or_more": 328472 + }, + "child_blocks_amount_thousands": { + "none": 29007, + "one": 2894812, + "two": 3315702, + "three_or_more": 1736027 + }, + "all_returns": { + "returns": 2430277, + "amount_thousands": 7949431 + } + }, + { + "sheet_row": 36, + "agi_row": "$45,000 under $50,000", + "children_minus_all_returns": { + "returns": -107557, + "amount_thousands": -26118 + }, + "child_blocks_returns": { + "none": 0, + "one": 0, + "two": 344449, + "three_or_more": 244332 + }, + "child_blocks_amount_thousands": { + "none": 0, + "one": 0, + "two": 314654, + "three_or_more": 367367 + }, + "all_returns": { + "returns": 696338, + "amount_thousands": 708139 + } + } + ], + "rows_beyond_rounding_sum": { + "returns": 1, + "amount_thousands": -1 + }, + "other_rows_max_abs_residual": { + "returns": 1, + "amount_thousands": 2 + } + } + ], + "reading": "TY2023: the three-or-more cell at $30,000 to $35,000 prints a numeric 0 with no disclosure marker. The child blocks exceed the all-returns columns by 310,212 returns at $25,000 to $30,000 and by 1,187 at $20,000 to $25,000, and fall 311,398 returns ($1,724,074 thousand) short at $30,000 to $35,000; the three residuals sum to 1 return. Subtracting each residual from the three-or-more column gives a smooth column, while the other child columns already run smoothly. The likeliest reading is that IRS placed the $30,000 to $35,000 cell's returns and amount in the $25,000 to $30,000 row (and a few in the $20,000 to $25,000 row). IRS has not confirmed this. TY2021 shows the same pattern in the one-child column ($45,000 to $50,000 prints 0; its returns sit in the $25,000 to $30,000 row); TY2022 shows none.", + "conclusions_before_this_check": { + "underlying_workbook_checked": false, + "underlying_source_cells_checked": false, + "zero_semantics_verified": false + } } } From 790e2114784d29fdd21e38492176e37d6ceb2616 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 11 Nov 2026 08:51:04 -0500 Subject: [PATCH 4/4] Mark the audit's pre-check reading and list the r2 changes (review r3 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 --- .../source_revision.json | 4 +++- .../zero_target_audit.json | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json index 71ba69ae00..fa8e7c1b55 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/source_revision.json @@ -10,7 +10,9 @@ "Validate reporting revisions by reconstructing the original producer source from these exact line edits.", "Lead the national reading with capped MAPE, report it without the two Table 2.5 cells IRS appears to misplace, and place exact-k among the 200 post-stratified draws (microcosm#989 review r1, S1).", "State that most of each exact-k support comes from one Sampford boundary draw over closed gates (review r1, S2).", - "Say what the AGI-band count counts (review r1, N3)." + "Say what the AGI-band count counts (review r1, N3).", + "Set the Table 2.5 cell's points against each sampled design's capped-MAPE gap, summing min(error, cap) over the cell (review r2).", + "Report a design's capped MAPE without the cell exactly when its smallest weight exceeds every error outside its five largest, and say why (review r2)." ], "numerical_outputs_unchanged": true, "edits": [ diff --git a/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json b/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json index 687ce2236b..35da2bf6f2 100644 --- a/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json +++ b/experiments/policybench-exact-k-100-vs-sampled-20260922/zero_target_audit.json @@ -143,11 +143,11 @@ "underlying_workbook_checked": true, "underlying_source_cells_checked": true, "zero_semantics_verified": false, - "interpretation": "The feed declares numeric observations equal to zero. Available metadata does not establish whether those zeros reflect the substantive source data or an extraction/source-data issue. They must not be described as suppressed or missing on this evidence.", + "interpretation": "Before the 2026-11-11 workbook check: The feed declares numeric observations equal to zero. Available metadata does not establish whether those zeros reflect the substantive source data or an extraction/source-data issue. They must not be described as suppressed or missing on this evidence.", "deduction": "Capped-fit improvement can coexist with higher uncapped error because errors beyond the cap make equal contributions to the fitted objective. This alone does not establish more accurate EITC estimation.", "targets_changed_for_this_audit": false, "target_handling": "All targets remain unchanged across the designs in this run.", - "interpretation_after_workbook_check": "The 0 is IRS's published value. The workbook's own all-returns rows imply that the cell holds about 311,000 returns; see workbook_check. IRS has not confirmed this reading." + "interpretation_after_workbook_check": "The 0 is IRS's published value. The workbook's own all-returns rows suggest that the cell holds about 311,000 returns; see workbook_check. IRS has not confirmed this reading." }, "workbook_check": { "checked_on": "2026-11-11",