Repository navigation
Open
1 / 31 of 3 issues completedOpen
1 / 31 of 3 issues completed
Copy link
Description
County-calibrated US files for all 3,144 counties, years 2026 and 2027, delivered as one HDF5 per year with the six entity tables. Scope committed externally; MVP target is 6–10 weeks from the agreement's effective date (mid-September 2026). This epic collects what the repo has and what it lacks, verified on 2026-09-03 against origin/main and the installed engine.
What exists
- Income-blind county assignment on both geography lanes:
us_runtime/puma_ladder.py(county sampled within PUMA by block-population overlap) andus_runtime/geography_ladder.py(block draw within CD;county_fips = block_geoid[:5]). Both writecounty_fips,sldu,sldl,cbsa_code, etc. onto the household table. - Occupation already on every person record (
detailed_occupation_recode,org_wagesstage). - Engine inputs for industry recodes and worked-last-year merged in policyengine-us #9311; the pin bump landed in Bump policyengine-us to 1.819.0 #756.
- Writers are period-parametric (
write_dataset(..., period=),write_nullable_us_h5(..., period=)).
What is missing
- County target surface and loss rung.
packages/microcosm-calibrate/has no county target family, no county fact ingestion, no county rung; the ACS-local tool calibrates state + CD only (tools/build_us_acs_local_release.pycolumn_map). Needed: ACS 5-year county income tables (B19001 / B19013 / S2001), IRS SOI county, Census county population; Ledger ingestion; multi-level consistency national → state → county. - Support. Pooled base ≈ 338k households over three ASEC years, ~107 per county on average before L0 pruning. Decide pool scale and pruning policy for county grain.
- 2023 county geography. The block ladder is built on 2020 tabulation blocks (
block_vintage: 2020_tabulation_blocks), so Connecticut resolves to the eight legacy counties (3,143 areas). The commitment is 2023 geography with the nine planning regions (3,144). Needs a 2020-block → 2023-county crosswalk artifact and a re-cut ladder. - Non-2024 periods.
PERIOD = 2024is hard-coded intools/build_us_fiscal_refresh_release.pyandtools/build_us_acs_local_release.py; no US release has been produced at another period. 2026 needs aged targets (us_runtime/target_aging.pyexists; confirm production wiring) and 2027 is that again on projected targets. - Industry and worked-last-year on the records. Add the work_experience_inputs stage: industry recodes and worked-last-year on every US person record #745 (
work_experience_inputsstage; parent Surface work-experience industry and worked-last-year person inputs (LWI MVP schema) #719) is still a draft with no CI; it needs a rebase onto post-Bump policyengine-us to 1.819.0 #756 main, bundle/ABI regeneration, and a regenerated ASEC pooled base since the frozencensus_cpsinputs lack WEIND/WEMIND. - Household measures as materialized values.
household_net_incomeandhousehold_market_incomeare formula-owned (adds/subtracts), and the export gate refuses formula-owned columns in entity tables (adapters/policyengine_us.py, "Export contract violated"). The delivery commitment is earnings, gross income, and net income as materialized values keyed byhousehold_id, readable without running the engine: ship a derived-measures table alongside the entity tables (release-directory sidecar or a non-input HDF5 key) computed at the delivery period. weeks_workedat 2026/2027. The engine definesformula_2025, so the export guard drops it from the person table at 2026+. Documented to the partner already; make sure schema docs list it.- Schema documentation emitter. Release contract files today (
build_manifest,calibration_diagnostics,us_source_coverage,gate_summary,held_back_columns, ...) include no column-level schema doc. Each delivery needs a table/column/dtype manifest plus a diff (additions, renames, removals) against the prior release; first known entry iswould_claim_wic→takes_up_wic_if_eligible.
Sequencing
- Rebase and land Add the work_experience_inputs stage: industry recodes and worked-last-year on every US person record #745; regenerate the pooled base and multispine pool with the new columns.
- Build the county target surface and the 2023 geography crosswalk in parallel.
- Calibrate at county grain with per-county support/ESS diagnostics and multi-level gates; publish a validation report per county (record count, calibrated aggregates vs targets, deviation).
- Produce the 2026 file, then 2027 on projected targets.
- Derived-measures sidecar + schema manifest emitter; documentation of file layout.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 3 sub-issues
Metadata
Metadata
Assignees
Labels
No labels
Activity
Say where the county facts file lives and that the two pins move toge…
Fix the county facts pin's round-2 review findings (#922)
Merge main 429d7a0 (#1096) into the county facts pin and repin (#922)
Test that the Modal check stage refuses a county plan through the too…
Compare string columns by value in the native local-annual test (#922)
Fix the household measures and schema manifest round-1 review findings (
Merge main e555b4d into the household measures branch (#922)
Add the County Files household measures sidecar and schema manifest t…
Authenticate a local-annual build's inherited claims at hand-over (#922)
Keep group quarters out of county reliability after a checkpoint relo…
Test county support moves through the driver, and fix the reload test…
Compare carried artifact entries whole and read base manifests afresh…
Merge main 99814fe into the US county facts pin (#922)
Test that the county pin moves with the next main feed pin (#922)
Refuse unpublished artifacts and keep claim keys disjoint at hand-over (
19 remaining items
Accept an ACS-only never-default null only where an R2 stage fills it
Refuse to replace an existing patched copy unless --overwrite is passed
Hold back a null never-default column only where an R2 stage fills it
Add the first draft of the County Files PoC report for LWI
Revise the County Files PoC report for LWI (v0.2)
Add the schema manifest and methods document for the County Files PoC
Edit the County Files PoC methods document for LWI (draft v0.1)
Say which columns the model ignores in the LWI PoC report
Correct three lines of the schema manifest notes
Correct the donor households in the LWI methods document (draft v0.2)
Edit the LWI PoC report for its readers (draft v0.3)
Set the pe-doc layout of the LWI methods document
Correct five donor passages in the LWI methods document (draft v0.3)
Count the donor households as 47,277 in the LWI PoC report (draft v0.4)
Record that the LWI PoC documents were sent