Repository navigation
First calibrated rowwise UK local candidate (#495 increment 6) #762
Copy link
Copy link
Closed
Description
Parent: #495 (workstream G of the UK-migration epic #665). Depends on #708, the local target surface compile, the fence-enforcement issue, and increment 5's K ruling.
Why
This is the WS-G milestone: the first UK local artifact whose weights are solved under declared doctrine against targets compiled from Chronicle facts, on a spine microcosm built itself.
Scope
- One uniform doctrine solve at the adjudicated K via
solve_uk_rowwise_weights_under_doctrine: national families and every area × metric row in one operator, uniform target weights, one declared cap and stretch bound, no per-target knobs. A miss is support work or target work, never a knob. - Weight-kind transition recorded — importance → locally calibrated — with exactly one appended mass-change record carrying the canonical
rowwise_calibration_mass_reasontext. - The rowwise release contract from the epic, in the manifest: identity chain (spine sha → source-stage shas), geography block (ladder sha, per-layer vintages, 650/650, gate pass), weights block (exact mass conservation, weight-kind chain, carried mass log, declared stretch bound), solve block (loss shape, cap, ratio bound, epochs, seed), per-family fit, past-cap census, per-area support with distinct-source counts.
- Adjudicate both doctrine constants against measured fit — the loss cap (10.0) and
UK_LOCAL_MAX_WEIGHT_RATIO(100.0, against the US design bound of 5.0 and the exact-k ladder's 20.0). This is the revision path max_weight_ratio anchors differently per arm: 5x vs design (dense) but ~25x effective (sparse refit re-anchors) — declare one stretch contract #493 named and the reason Loss shape: flat cap at 1.0 makes past-cap rows free dumping grounds (17 rows pushed out in Build N); bounded-tail experiment + past-cap census diagnostic #492's past-cap census exists; confirm or revise, and record the measurement inlocal_doctrine.pyand its pinned test. - Score against the incumbent on a frozen local register — constituency and LA estimates versus uk-data's wide-format weights — plus weakest-family and weakest-area tables.
- Private publish only.
populace-publish-release --repo-id policyengine/populace-uk-private --no-latest, immutable tag,dataset_role: non_default_local_area. Aggregate diagnostics are committable; household-grain rows never leave the private repo.
Out of scope
- The full credibility-gate port (Port UK local target surface and credibility gates from uk-data #147) beyond what makes this candidate reviewable.
- The published local variant (Publish a Populace UK local variant with rowwise H5 and long weights #146) and loader consumption (workstream I).
Acceptance
- A calibrated rowwise candidate exists with the full manifest above, every rung in Logbook.
- Constituency and LA estimates match or beat the incumbent on the frozen local register.
- Both doctrine constants are either confirmed or revised, with the measurement recorded where the constant lives.
- The artifact is loadable as a
variant="local"entry and never moveslatest.json.
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
juaristi22 commentedon Aug 27, 2026
The cross-family review this issue owes now has a declared input: #802 (cross-grain target reconciliation — national wins, sub-national rescales, per-family rescale-vs-fence rulings). The census_disclosure_control_noise adjudication (#760 / PR #801, approved 2026-08-27, window to 2026-11-27) records the posture; #802's collision census and operator land before or with this increment's binding work.
Disposition the second review round, and record Maria's K=4 ruling
Add the UK local candidate gate battery, diagnostics bundle, and loca…
Close the second review round: one objective, one cap, folds that clo…
Add the UK local candidate gate battery, diagnostics bundle, and loca…
Close the second review round: one objective, one cap, folds that clo…
Close the third review round: carry the holdout's cap, import the row…
Sample the spine's source families below f100 and never sample at f100 (
Solve UK local and national targets as one rowwise matrix on the clon…
Sample the spine's source families below f100 and never sample at f100 (
Resolve compiled target geography from the Ledger spelling for nation…
Pin the UK spec sha on the merged tree and restore Armenia's (#762 PR…
Unbind a cross-grain bridge whose missing members are reviewed exclus…
Sum a fan-out national target's cells into one cross-grain control pe…
164 remaining items
Re-sign scoped gate reports with the gate battery's canonical form; p…
Seam test verifies the re-signed report with the gate battery's canon…
Receipts R17: release-candidate re-run on the fixed re-signer (byte-i…
Evaluate the candidate on the incumbent's target surface, every grain…
Read a written rowwise artifact back: load_uk_rowwise_dataset undoes …
Evaluator: build the national constraint matrix over the resolver's p…
Evaluator: roll the frame up by region for the incumbent's regional r…
Receipt R18: the candidate on the incumbent's target surface, signed …
Format the two test files merged during the re-stack onto PR A 8be32dc (
Vahid's residuals from the PR A approval: end-to-end releasable under…
Vahid's PR B review round 1: bind the signed report to the attempt, p…
Pin the band-H rationale at its K=15 wording (#762 PR B)
Declare the six release-blocking local gates where CI still pinned th…
Merge pull request #870 from PolicyEngine/uk-rowwise-candidate-762-b