Repository navigation
UK: make the promoted national line the default load (#823) - #1432
Draft
juaristi22 wants to merge 2 commits into
Draft
juaristi22 wants to merge 2 commits into
juaristi22 wants to merge 2 commits into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
microcosm.data.load("uk")now followslatest-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 2023populace_uk_2023artifact, which stays atload("uk", 2023). Thenationalvariant 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.resolve("uk")andload("uk", 2025)follow the line's pointer.823-uk-2025-registry.changed.md, which said the default stays on the June 2023 line (Vahid's review of UK: take up #1095's actionable items on policyengine-uk 2.165.1 #1422).Tests
98aef7529plus003dbd006;45df16363changes 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