Skip to content

UK: make the promoted national line the default load (#823) - #1432

Draft
juaristi22 wants to merge 2 commits into
mainfrom
uk-823-default-load
Draft

juaristi22 wants to merge 2 commits into
mainfrom
uk-823-default-load

Conversation

@juaristi22

@juaristi22 juaristi22 commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

microcosm.data.load("uk") now follows latest-national.json (#823). That pointer names the certified national cut promoted on 26 October (microcosm-uk-2024-25-national-20261025T091414Z-a6299504, built on policyengine-uk 2.151.0). The default used to be the June 2023 populace_uk_2023 artifact, which stays at load("uk", 2023). The national variant key retires.

This changes the default UK load for every consumer of microcosm.data. It moves out of #1422 so that it can land on its own (Vahid's review of #1422), and it depends on nothing there.

Tests

  • On this branch (main at 98aef7529 plus 003dbd006; 45df16363 changes only a changelog fragment), the 18 test files that resolve or load a UK dataset or name the default variant: 1,246 tests pass.

🤖 Generated with Claude Code

microcosm#823 (tracked in #1095). The registry kept the UK 2024-25 national
line off the default variant until its first certified cut existed on the
Hub, so that resolve("uk") never chased an absent pointer; its comment named
the flip a one-line follow-up after promotion (review of #966, Max's #823
ruling). Checked on 2026-10-29: latest-national.json on
policyengine/populace-uk-private names
microcosm-uk-2024-25-national-20261025T091414Z-a6299504 (updated
2026-10-26), with its release certification, built on policyengine-uk
2.151.0, the version #1095 names for the flip.

The entry's variant becomes DEFAULT_VARIANT, so resolve("uk") and
load("uk", 2025) follow latest-national.json, and load("uk", 2023) stays on
latest.json. This changes the default UK load for every consumer of
microcosm.data; no other local repository names the retired national
variant. The registry, loader and assembler tests and the release runbook
follow; the live pointer test now branches on the line pointer, not the
variant, and resolves the promoted cut. The unreleased changelog entry from
#966 that described the opposite state goes.

It moves out of #1422 on its own, so that it can land now (Vahid's review
of #1422).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
juaristi22 added a commit that referenced this pull request Oct 31, 2026
Vahid's review of #1422 (its fourth point): pointing load("uk") at
latest-national.json and retiring the national variant changes the default
load for every consumer and depends on nothing in this PR. It moves to
#1432, which can land now and also removes #966's unreleased changelog
entry that described the opposite state.

This reverts commit 5c7a40d.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
823-uk-2025-registry.changed.md ended by saying the UK default stays on the
June 2023 line until the national line's promotion and the flip of its
entry. This PR makes that flip, and both fragments ship in the same release
notes (Vahid's review of #1422, round 2).

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant