You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate the UK dataset build fully from policyengine-uk-data into microcosm, at parity, then archive policyengine-uk-data (the policyengine-us-data precedent). End state: policyengine-uk consumes only microcosm-built datasets — national default, sparse default, and the local variant — calibrated exclusively from chronicle facts.
This epic supersedes #144, which tracked the same goal as a flat backlog.
Architecture invariants
Frame is the carrier through every stage; calibration is rowwise via the microcosm.calibrate front door.
Target values come only from pinned chronicle consumer artifacts; computed targets (uprating, rate×count, splits) are explicit microcosm-side declarations.
Scope ruling carried from Migrate remaining policyengine-uk-data backlog before archive #144 (2026-07-24): the build is based solely on raw microdata, ledger facts, and the rules engine (plus inflation/aging updates) — no inheritance of processed artifacts whose generating code stays behind in uk-data.
No stage ships degraded: fail-closed plan, closed-world gate entries, evidence_absent over invented passes.
I — Release + downstream integration: tracking issue to be filed when the workstream spins up (includes a policyengine-uk child issue for loader consumption)
J — Decommission: tracking issue to be filed when the workstream spins up
C/D deliberately run on the existing certified spine first: prove facts→targets→calibration→gates at parity before any ingest work, then E swaps the spine underneath a fixed harness.
E (microcosm-side) and wave 3 (chronicle-side) parallelize; G needs both.
H needs only D + schema-4 verification — the exact-k machinery is country-agnostic.
The incumbent keeps releasing until I completes; every incumbent refresh widens the parity bar.
Goal
Migrate the UK dataset build fully from
policyengine-uk-datainto microcosm, at parity, then archivepolicyengine-uk-data(the policyengine-us-data precedent). End state:policyengine-ukconsumes only microcosm-built datasets — national default, sparse default, and the local variant — calibrated exclusively from chronicle facts.This epic supersedes #144, which tracked the same goal as a flat backlog.
Architecture invariants
microcosm.calibratefront door.build/uk/), executed by shared runtimes; Python inuk_runtime/migrates toward specs (Move country build choices into declarative specs #159).evidence_absentover invented passes.policyengine_uk_data— port definitions, don't wrap them.Phases
Workstreams
Related, non-blocking: #365, #31, #552/#364/#467, #180, #325, Logbook epics #637/#641 (workstream H publication surface), #661 (diagnostics carry chronicle package IDs — workstream D), naming cleanups #639/#640.
Carried-over uk-data backlog
policyengine-uk-datastayed active after #144's June bookkeeping and accumulates new issues — 5 open as of 2026-08-12: PolicyEngine/policyengine-uk-data#438 (stale public-transfer feed, state pension ≡ £0 → workstream F/#148), PolicyEngine/policyengine-uk-data#448 (Scottish/Welsh council tax +20–30%, WAS owned_land instability → E and C/D), PolicyEngine/policyengine-uk-data#450 (UC deduction attributes imputation → E, new stage), PolicyEngine/policyengine-uk-data#452 (UC caseload ~40% below admin counts → D/E), PolicyEngine/policyengine-uk-data#453 (unsourced mortgage target → B, already a recorded chronicle blocked source). Dispositions live in the roadmap doc's Appendix B; workstream J re-sweeps the live list at decommission time.Sequencing notes