Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
0e9c0aa
Declare policyengine-uk's whole-population formulas and share the eng…
juaristi22 Nov 7, 2026
571832f
Carry the other spells by the engine's growth parameters (#931)
juaristi22 Nov 7, 2026
e2067f1
Correct each engine block to the pool's share denominator and judge t…
juaristi22 Nov 7, 2026
6c8b61a
Batch spine engine calls by clone with the pool's share denominator (…
juaristi22 Nov 7, 2026
639fb19
Rank private-school attendance over the pool from household-local eng…
juaristi22 Nov 7, 2026
6aa779b
Describe corrected engine blocks in the dense runbook and the build-g…
juaristi22 Nov 7, 2026
bccd39a
Read batch records from the frame and hold each batch's tree to the r…
juaristi22 Nov 7, 2026
b50fd72
Read the survey's net income in both WAS stages (#931)
juaristi22 Nov 7, 2026
a3ca4b0
Describe the WAS income predictor as the engine's closest concept (#931)
juaristi22 Nov 7, 2026
9d4116f
Hold the corporate and total-economy land rows as measured diagnostic…
juaristi22 Nov 7, 2026
5f8e6ac
Test that the two land diagnostics leave the solve but stay measured …
juaristi22 Nov 7, 2026
53e9e9e
Follow up the review of the land diagnostics (#931)
juaristi22 Nov 7, 2026
5703a34
Mint UK copy ids from fixed radices that do not depend on K (#931)
juaristi22 Nov 7, 2026
8efa25c
Follow up the review of the fixed copy-id radices (#931)
juaristi22 Nov 8, 2026
4102a90
Decode UK copy ids at the declared radices outside the stages (#931)
juaristi22 Nov 8, 2026
7a63121
Follow up the review of the copy-id decoders (#931)
juaristi22 Nov 8, 2026
1431787
Count CGT support copies on the source-scaled weight (#931)
juaristi22 Nov 8, 2026
67941ef
Follow up the review of the source-scaled CGT copy count (#931)
juaristi22 Nov 8, 2026
bfff6d7
Tidy the re-reviews of the copy-id decoders and the CGT copy count (#…
juaristi22 Nov 8, 2026
5019573
Say where the held land rows are measured (#931)
juaristi22 Nov 8, 2026
66c116e
Retire the unused legacy UK national sampler (#931)
juaristi22 Nov 8, 2026
ae31dea
Bind every value-computing helper into the keys of the stages that ca…
juaristi22 Nov 8, 2026
c5e27cd
Declare the CGT copy-count snap and hold the K = 1 recount to the tol…
juaristi22 Nov 8, 2026
9dd5505
Fold the high-value copies onto their roots and check E5 where the up…
juaristi22 Nov 8, 2026
fea2a06
Follow up the review of the sampler, binding, fallback and tool commi…
juaristi22 Nov 8, 2026
803a4e9
Draw the SPI support channel as a keyed Bernoulli share (#931)
juaristi22 Nov 8, 2026
be43518
Seat the SPI income band donors within each geographic clone (#931)
juaristi22 Nov 9, 2026
3f3ab56
Follow up the review of the SPI share and band-donor commits (#931)
juaristi22 Nov 9, 2026
bb33c1f
Correct the CGT and high-value support totals on whole households fir…
juaristi22 Nov 9, 2026
b529423
Hold the K = 1 support-copy count exactly where a family's members ca…
juaristi22 Nov 9, 2026
2af21d7
Bind the first-party helpers outside microcosm.build into the stages …
juaristi22 Nov 9, 2026
5add271
Hold the other UK graph kernels to the binding rule (#931)
juaristi22 Nov 9, 2026
032208f
Follow up the review of the 9 Nov correction, count-check and binding…
juaristi22 Nov 9, 2026
6a2fbb9
Name stage 42's one-copy check and the fallback's limit in its declar…
juaristi22 Nov 9, 2026
b216f08
Hold the support-copy count on the members with untouched clone halve…
juaristi22 Nov 9, 2026
655a169
Bind what the injected engine computes through into the engine stages…
juaristi22 Nov 9, 2026
c0b3bdb
Key each gate battery phase on what its own gates compute through (#931)
juaristi22 Nov 9, 2026
22b1df0
Hold the UK target and problem kernels to the derived binding rule (#…
juaristi22 Nov 9, 2026
981d1f4
Follow up the review of the 9 Nov ruling commits (#931)
juaristi22 Nov 9, 2026
f986295
Key the CGT redraw's walk offsets and plan jitters, and BADR's band o…
juaristi22 Nov 9, 2026
a8da54f
Break ties at the six id-ordered walks on identity-keyed uniforms (#931)
juaristi22 Nov 10, 2026
da7111a
Give tied ISA balances one weighted mid-rank (#931)
juaristi22 Nov 10, 2026
65ee396
Follow up the review of the keyed offsets, tie-break and ISA rank com…
juaristi22 Nov 10, 2026
93a3981
Extract the derived binding rule into a shared test module (#931)
juaristi22 Nov 10, 2026
b5e3f4b
Count a store into a container a function creates as local in the ref…
juaristi22 Nov 10, 2026
1d1000b
Hold every transport kernel to the derived binding rule (#931)
juaristi22 Nov 10, 2026
dd9f827
Close two gaps in the refusal check's local containers and control th…
juaristi22 Nov 10, 2026
86fbc8b
Hold the engine hand-off to the built registry and correct two transp…
juaristi22 Nov 10, 2026
03d1ac8
Move the gate phase codes into a refusal-only module and refuse a sta…
juaristi22 Nov 10, 2026
453ae8d
Take frs_spine and frs_relationships off the target kernels' keys (#931)
juaristi22 Nov 10, 2026
cea5a6c
Count module-level aliases and wrapper internals in the hold's premis…
juaristi22 Nov 10, 2026
0e30ce8
Follow up the review of the phase-code, target-key and premises-test …
juaristi22 Nov 10, 2026
7490026
Check every import of the annuity column's name, and say where the pr…
juaristi22 Nov 10, 2026
66c72b5
Say the Lifetime ISA rank blends no income rank, and that tied balanc…
juaristi22 Nov 10, 2026
c8de582
Widen the Child Benefit gate's per-age tolerance to three standard er…
juaristi22 Nov 10, 2026
27b4d47
Scope E8's band-donor rerun to the frame stage 17 saw (#931)
juaristi22 Nov 10, 2026
f2c7aae
Fold geographic clones onto their lowest-id record, check record ids …
juaristi22 Nov 10, 2026
3e6abef
Add the geographic expand and identity transforms, and make three UK …
juaristi22 Nov 11, 2026
8a3c8cc
Clone the UK spine after its source stages: move stages 14 and 15 up …
juaristi22 Nov 11, 2026
5126da8
Receipt the geographic clones: fold variety, stage 16 and 17 forms, a…
juaristi22 Nov 11, 2026
43c8829
Take the clone count on the spine CLI and hand it to the engine (#931)
juaristi22 Nov 11, 2026
8e733d3
Keep stage 16's refusal of a clone stratum without an SPI copy (#931)
juaristi22 Nov 11, 2026
8a46d88
Add a shared fallback-level chooser for conditioned area draws (#931)
juaristi22 Nov 11, 2026
e5244a7
Follow up the shared fallback-level chooser's review (#931)
juaristi22 Nov 11, 2026
ccf0dbc
Add the spine's area, local-authority, BRMA, fuel-relief, SPI-copy ar…
juaristi22 Nov 11, 2026
bc121ad
Count the take-up anchors and the apprentice target within each geogr…
juaristi22 Nov 11, 2026
753ff31
Run the clone-first H2 test after merge only (#931)
juaristi22 Nov 11, 2026
0bc82fa
Give each engine simulation rank ids where policyengine-core's 32-bit…
juaristi22 Nov 12, 2026
fc2a67e
Refuse a dense build on a spine that does not assign areas (#931)
juaristi22 Nov 12, 2026
b268f6c
Retire the dense line's property, BRMA, private-rent and fuel-relief …
juaristi22 Nov 12, 2026
fd5a483
Build the dense line on the bound spine's clones, areas and sampling …
juaristi22 Nov 12, 2026
73495f0
Hold dense engine blocks, release candidates and size evaluation to t…
juaristi22 Nov 12, 2026
511ced0
Add the WAS home-value localiser, stage 25's factor helper and the ge…
juaristi22 Nov 12, 2026
5bf229b
Measure the spine's own area draw in the atomic-assignment tool (#931)
juaristi22 Nov 12, 2026
24ea46a
Assign each clone's area in the spine, fold frs_brma into area_brma, …
juaristi22 Nov 13, 2026
164edf3
Localise home values inside the WAS chain, retire regional_home_value…
juaristi22 Nov 13, 2026
89caa1a
Export the national line from a one-clone spine that carries areas (#…
juaristi22 Nov 13, 2026
fdb9a38
Vendor 2024-25 Band D council tax for Great Britain's authorities, wi…
juaristi22 Nov 14, 2026
df37feb
Add shared helpers for a conditioned draw cell's expected value and f…
juaristi22 Nov 14, 2026
27bb614
Add the council-tax bill provenance and the reduction-within-bill che…
juaristi22 Nov 14, 2026
06c58f6
Add G6, council-tax localisation by the expected Band D of each house…
juaristi22 Nov 14, 2026
12b052f
Localise council tax by each clone's local authority before the WAS c…
juaristi22 Nov 14, 2026
cbf7b34
Gate council tax reduction within the bill, and hold later copies to …
juaristi22 Nov 14, 2026
aef1ce0
Add the housing shell's council tax at each SPI copy's reference Band…
juaristi22 Nov 15, 2026
c373163
Restore main's two spine stages to the stage counts that the rebase o…
juaristi22 Nov 15, 2026
14b405c
Count the carer-link share's base in true source households on the cl…
juaristi22 Nov 15, 2026
6af0df9
Restate this branch's export and line tests to main's reference build…
juaristi22 Nov 15, 2026
2c6ad16
Teach main's CI plan the push-only engine-uk-after-merge job, and mak…
juaristi22 Nov 15, 2026
2c89ccf
Hand main's one-command cut runner the conditioned atomic-area suppor…
juaristi22 Nov 15, 2026
396c658
Build each per-clone engine call through the read-year window, and pi…
juaristi22 Nov 15, 2026
cf0cea5
Bind main's newer stages and gate code under the derived binding rule…
juaristi22 Nov 15, 2026
a1d8ff8
Re-derive the UK gate battery's contract pins from the merged gates.j…
juaristi22 Nov 15, 2026
e279da8
Say which Chronicle commit the England and Wales Band D resource is r…
juaristi22 Nov 15, 2026
e0165f4
Price Great Britain SPI copies' council tax by the statute after the …
juaristi22 Nov 15, 2026
b899426
Leave a dated measure's year after the resolver's out of an engine bl…
juaristi22 Nov 15, 2026
8e89abd
Regenerate the H2 fixture and the coverage manifest on #1519's new he…
juaristi22 Nov 15, 2026
1c481fd
Re-pin the seed protocol and the specs that embed it, now that main a…
juaristi22 Nov 15, 2026
5d1ba12
Hold main's three income-evidence kernels to the transport binding ru…
juaristi22 Nov 15, 2026
32e18d8
Count main's pip_points among the stages after the support split that…
juaristi22 Nov 15, 2026
9f9ee76
Hold the apprentice walk's clone tests and E4 to main's full-time edu…
juaristi22 Nov 16, 2026
4a7e8b6
Answer main's LCWRA element in the declaration test's Universal Credi…
juaristi22 Nov 16, 2026
bce7572
Re-review the UK engine-population declaration on main's policyengine…
juaristi22 Nov 16, 2026
00360ac
Refuse SPI training clones that share a key after the fold, and test …
juaristi22 Nov 16, 2026
24dd971
Say that no gate can serve a stale count under a renamed source colum…
juaristi22 Nov 16, 2026
557fe00
Restate four fragments' key and binding counts as their own commits g…
juaristi22 Nov 16, 2026
4ea02e5
Count main's three income-evidence kernels in the transport fragments…
juaristi22 Nov 16, 2026
1601d07
Restate five more fragments' kernel, node and stage counts with main'…
juaristi22 Nov 16, 2026
408332e
Keep the H2 acceptance test on the public API: drop its rank-rule rec…
juaristi22 Nov 16, 2026
82ebd55
Describe UK household identity on the clone-first spine: true sources…
juaristi22 Nov 16, 2026
5b2d8e6
Amend the 10 September geography doctrine for the UK spine, which dra…
juaristi22 Nov 16, 2026
9c77346
Describe the build graph, the release runbooks and the cut on a spine…
juaristi22 Nov 16, 2026
4617ab5
Point four older fragments at the spine's stages, and correct three #…
juaristi22 Nov 16, 2026
6355517
Say what the spine does now in the docstrings, comments and names the…
juaristi22 Nov 16, 2026
2cb32f5
Say what reads the price-paid support bounds and the Scottish band co…
juaristi22 Nov 16, 2026
399ab29
Name the spine's stages in code prose and fragments instead of their …
juaristi22 Nov 16, 2026
646ef45
Read each England and Wales owner's home value at a keyed point insid…
juaristi22 Nov 17, 2026
48596dd
Count the Child Benefit receipt's child rows in geographic clone 0, s…
juaristi22 Nov 17, 2026
7329169
Copy only the columns the council-tax reduction check reads when it l…
juaristi22 Nov 17, 2026
49bb580
List the dense manifest's household weight kinds in the graph's order…
juaristi22 Nov 17, 2026
9920e88
Hold the area mapping gates' records to the spine's geography block a…
juaristi22 Nov 17, 2026
7f6778c
Hold the SPI-copy area stage's sub-pool engine call to a call over th…
juaristi22 Nov 17, 2026
9e2c7c3
Pass the export node's solve year to the inspection export's descript…
juaristi22 Nov 17, 2026
1a64397
Compare the columns childcare_copy_take_up declares in E4, and refuse…
juaristi22 Nov 17, 2026
565b6c7
Hold --stage-profile-dir outside every git work tree, and say in the …
juaristi22 Nov 17, 2026
a7d4422
Hold a bound spine's recorded resource and stage artifact pins to the…
juaristi22 Nov 17, 2026
9e41410
Run the spine graph's engine-free prefix at two clones, classify ever…
juaristi22 Nov 17, 2026
ec8c241
Say that a bound spine's definition_sha256 names the area definition …
juaristi22 Nov 17, 2026
01da6ee
Say in the --stage-profile-dir refusal that no checkout may commit th…
juaristi22 Nov 17, 2026
18a0b7b
Say in the build-graph guide what a dense release candidate and the n…
juaristi22 Nov 17, 2026
3e24b5b
Say in the two area mapping gates' notes that they hold their records…
juaristi22 Nov 17, 2026
f85fa19
Count the stage receipts after the geographic clones in distinct sour…
juaristi22 Nov 17, 2026
443ea2a
Name the condition and the columns in the clone-first refusals, witho…
juaristi22 Nov 17, 2026
0632cee
Describe the CGT copies' correction cost without a spine row count, a…
juaristi22 Nov 17, 2026
e310025
Say in the SPI income spine's reference receipt and the pay floor's r…
juaristi22 Nov 17, 2026
34c5f9e
Refuse an English Band D written with more than two decimal places (#…
juaristi22 Nov 17, 2026
3b3b25e
Remove the BRMA stage transform, collapse_replicas and the geography …
juaristi22 Nov 17, 2026
b805479
Take the housing shell's and the council-tax localisation's reference…
juaristi22 Nov 17, 2026
fe06d98
Import the shared names the spine's stages spelled for themselves, an…
juaristi22 Nov 17, 2026
ec68160
Re-pin the gate battery after the Child Benefit and area mapping gate…
juaristi22 Nov 17, 2026
919e8fd
Regenerate the US F0 coverage report after this branch's edits to sto…
juaristi22 Nov 17, 2026
eaa45f6
Regenerate the release input coverage manifest after the stage declar…
juaristi22 Nov 17, 2026
35715e2
Regenerate the H2 fixture for the slice rank, the clone-0 factor and …
juaristi22 Nov 17, 2026
26a6d31
Hold the area draw's column names in a names-only module, so the mapp…
juaristi22 Nov 17, 2026
9d4577b
Name frs_area_draw_columns as the source of the draw inputs' decile a…
juaristi22 Nov 17, 2026
b5d0301
Hand the regional property uprating its clone index, so its factor's …
juaristi22 Nov 17, 2026
3bf52de
Regenerate the H2 fixture for the regional property uprating's clone-…
juaristi22 Nov 17, 2026
e0c5782
Let the binding-rule test helper hash a dependency the environment la…
juaristi22 Nov 17, 2026
cfad22e
Stub the DWP disability rates in the SPI income tests' stage helper, …
juaristi22 Nov 17, 2026
a720b01
Stand in the engine on the dense preparation tests' input_h5 route, a…
juaristi22 Nov 17, 2026
096a0a0
Make the clone-first nesting test's invented weights the same on ever…
juaristi22 Nov 17, 2026
076bf50
Drop a duplicated fragment from the US pool test's pin comment, left …
juaristi22 Nov 17, 2026
898c04f
Hash ledger_targets in the five transport kernels that reach it throu…
juaristi22 Nov 17, 2026
f5b5998
Build the dense line's spine alone with run_uk_cut.py dense-spine, an…
juaristi22 Nov 18, 2026
3ae546c
Correct the dense spine's cost estimate with the transferred gates' f…
juaristi22 Nov 18, 2026
6672a27
Hold one copy of the population fewer in UK spine kernels and the spi…
juaristi22 Nov 18, 2026
9a6fd00
Carry the 22 Nov renewal of sixteen target-fit entries onto #1538
juaristi22 Nov 22, 2026
42c3ed9
Defer the two UC child-bucket seats the K=15 spine leaves without a h…
juaristi22 Nov 24, 2026
0d48565
Let a share_of_parent partition miss a deferred member, so the two UC…
juaristi22 Nov 25, 2026
3abbb44
Review the UK engine-population declaration again on policyengine-uk …
juaristi22 Nov 25, 2026
601a5da
Give the dense spine's measured cost in the runbook (#931)
juaristi22 Nov 25, 2026
dd768b7
Count main's uc_new_claimant_draw in the nesting and hold tests, and …
juaristi22 Nov 25, 2026
31cba7a
Hash frame.shared_columns in the export readback and input closure ke…
juaristi22 Nov 25, 2026
57bbe08
Floor the SPI stage's employed income at zero (#931)
juaristi22 Nov 25, 2026
1e3de63
Draw the SPI copies' areas by the band the housing shell drew, as FRS…
juaristi22 Nov 25, 2026
35c9fb2
Give each high-value support copy its own key, area and council tax, …
juaristi22 Nov 25, 2026
f9a3a3c
Regenerate the H2 fixture and the coverage manifest for the three K =…
juaristi22 Nov 26, 2026
7d5d338
Count the high-value stage among the support readers in the engine ti…
juaristi22 Nov 26, 2026
b5ae96b
Refuse a share_of_parent partition member that no signed deferral lea…
juaristi22 Nov 26, 2026
8eaaf96
Move a statute row's rebate and reduction by the bill's own change, n…
juaristi22 Nov 26, 2026
f5c1dc5
Refuse a dense-spine host under a physical-memory floor, before it fe…
juaristi22 Nov 26, 2026
5242f2c
Run the high-value stage's Northern Ireland engine call on the instal…
juaristi22 Nov 26, 2026
e40d98a
Warn the SPI forest test's observed digests on a platform without a r…
juaristi22 Nov 26, 2026
6f619ce
Gate the high-value stage's placement record against the spine's geog…
juaristi22 Nov 26, 2026
37a967f
Bring the older #931 fragments and the after-merge test's docstring t…
juaristi22 Nov 26, 2026
83fc8ee
Regenerate the H2 sources fixture and the coverage manifest for the s…
juaristi22 Nov 26, 2026
0906bc6
Hold the UC housing costs claim's clone 0 after merge, and count 65 s…
juaristi22 Nov 26, 2026
f366de7
Carry the merges of main into the rebased history (#931)
juaristi22 Nov 27, 2026
9e1b220
Defer the four cells the rebased K=15 spine leaves without a househol…
juaristi22 Nov 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 27 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ defaults:
# to a multiple of 5 minutes: 1.5 times that leg for engine-free (158 minutes)
# and engine-us (106), twice it for engine-uk (67) and integration-uk (9), and
# for each shorter job at least 5 minutes and at least twice its slowest run.
# The engine-uk-after-merge cap is about 1.6x its expected leg: microcosm#931's
# clone-first H2 test runs about 2.6 times as long as the H2 parity test (10
# minutes in engine-uk), so about 27 minutes, plus the sync.

# Every job names its runner image. `ubuntu-latest` is whichever image GitHub
# assigns: on 2026-11-10 it gave one engine-free job ubuntu-26.04 and another
Expand Down Expand Up @@ -143,6 +146,27 @@ jobs:
- name: Run UK engine tests
run: bash tools/run_engine_uk_tests.sh

engine-uk-after-merge:
# UK engine tests too slow for every pull request run on pushes to main
# only, after merge (microcosm#931). ci needs this job: on a push it must
# pass, and on a pull request its skip passes.
if: github.event_name == 'push'
runs-on: ubuntu-24.04
timeout-minutes: 50
strategy:
fail-fast: false
matrix:
python-version: ["3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Sync workspace with the UK engine
run: uv sync --all-packages --locked --extra uk
- name: Run UK after-merge engine tests
run: bash tools/run_engine_uk_tests.sh engine-uk-after-merge

integration-uk:
needs: select-countries
if: needs['select-countries'].outputs.run_uk == 'true'
Expand Down Expand Up @@ -199,7 +223,8 @@ jobs:
ci:
# ci gives the main ruleset one check that covers the country jobs. It
# fails unless every other job passed, or skipped because select-countries
# succeeded and reported `false` for its country. A skipped matrix job
# succeeded and reported `false` for its country, or skipped because it
# runs after merge and the run is not a push. A skipped matrix job
# reports under its unexpanded name, so a ruleset cannot require engine-us
# or engine-uk by name. GitHub reports a skipped required check as passing,
# so ci runs with `if: always()`. verify-workflow refuses any other shape
Expand All @@ -211,6 +236,7 @@ jobs:
- engine-free
- engine-us
- engine-uk
- engine-uk-after-merge
- integration-uk
- wheels
- installed-emitter
Expand Down
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ out/
*.h5
# Licensed run outputs: pool tables and audit directories (UKDS CD137 cl. 8).
*.npz
# Except the H2 parity fixture's three toy conditioned atomic-area supports,
# which tools/graph_uk_spine_fixture.py writes from test support's invented
# table over public area codes, as toy_<source id>.npz: a real support keeps
# its own name and stays ignored (microcosm#931).
!packages/microcosm-graph/tests/fixtures/parity/uk_spine/sources/toy_uk_ew_output_area_2021_conditioned_support.npz
!packages/microcosm-graph/tests/fixtures/parity/uk_spine/sources/toy_uk_scotland_output_area_2022_conditioned_support.npz
!packages/microcosm-graph/tests/fixtures/parity/uk_spine/sources/toy_uk_ni_data_zone_2021_conditioned_support.npz
audit-*/
!packages/*/build/
# microcosm.build is a real namespace package, not a build-artifact dir
Expand All @@ -27,3 +34,8 @@ tools/route_a/route_a.env
# file holds licensed-data review values and is never committed
PRIVATE_review.csv
signoff-draft/

# Spine stage profiles (--stage-profile-dir, microcosm#931): a record keeps the
# message of a failure its node raised, so profiles stay private
stage_profile.json
.stage_profile.json.lock
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
The UK dense build's post-geography band node now draws each Scottish owner clone's council-tax band from its council area's chargeable dwellings by band, A to H, at September 2025 (Scottish Government CTAXBASE 2025), at the same uniform as its value, its rank among Scotland's owners (microcosm#1095 B12). The counts are vendored from Chronicle into `uk/scotgov_chargeable_dwellings_by_band.json` and pinned as the graph source `uk_scotgov_band_mix`, beside the VOA mix England and Wales draw from. Renters keep their band, as in England and Wales, and so does Northern Ireland. The band node's receipt reports Scotland apart. The national build does not localise property, so it does not change.

(Later in #931 the band node retires, and the dense line keeps the spine's bands: `931-dense-localisation-nodes-retired`.)
2 changes: 1 addition & 1 deletion changelog.d/1112-national-home-values.added.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The national release now carries Land Registry home values (microcosm#1112). A new spine stage, `regional_home_values`, runs after the high-value home support copies and gives every England-and-Wales owner household with a value the one its region's uprated Land Registry distribution holds at the household's weighted mid-rank among the owner households of its FRS region, at the spine's weights. It ranks as the dense line's value node does (ties broken by a keyed draw; the support copies spread over the top stratum by their own draws), reads the region level of the same knots resource (`uk/high_value_home_value_knots.json`; Wales is `W92000004`), and moves `property_wealth` by the value's change. Scotland, Northern Ireland, renters and owners without a value keep theirs, and the council-tax band is untouched.
The national release now carries Land Registry home values (microcosm#1112). A new spine stage, `regional_home_values`, runs after the high-value home support copies and gives every England-and-Wales owner household with a value the one its region's uprated Land Registry distribution holds at the household's weighted mid-rank among the owner households of its FRS region, at the spine's weights. It ranks as the dense line's value node does (ties broken by a keyed draw; the support copies spread over the top stratum by their own draws), reads the region level of the same knots resource (`uk/high_value_home_value_knots.json`; Wales is `W92000004`), and moves `property_wealth` by the value's change. Scotland, Northern Ireland, renters and owners without a value keep theirs, and the council-tax band is untouched. (Later in #931 the stage retires: the WAS chain reads each England and Wales owner's main residence off its assigned constituency instead, `931-spine-localises-home-values`.)

Before it, the national line solved the bound spine with the WAS-imputed values after the regional uprating, not the regions' Land Registry values. The dense line is unchanged: the stage keeps the value it replaced in `main_residence_value_rank_basis`, the dense value node receives that column through its slice and ranks on it (refusing if it is missing), and the release boundary drops it on both lines.

Expand Down
2 changes: 2 additions & 0 deletions changelog.d/1240-high-value-homes.added.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ The UK build now places high-value homes where HM Land Registry sees them (micro

**Per-clone home values and bands in the dense graph.** Two nodes after geography derivation, `uk.full.property.value` and `uk.full.property.band` (`--property-localisation price_paid`, the default; `none` keeps the spine's values for measurement builds), read each owner clone's home value off its assigned constituency's uprated sale distribution (`uk/high_value_home_value_knots.json`, winsorised at £20m) at the household's weighted rank among its region's owners, and its council-tax band off its LSOA's VOA band mix (`uk/voa_council_tax_band_mix_lsoa.json`) at the same uniform (owner-occupiers only; renters keep the spine's band). The uniform is keyed on the spine household, so every pool clone of one household shares it whatever K is; weights are untouched and property wealth moves by the value's change. Scotland and Northern Ireland keep the spine's values and bands. The `uk_support` gate binds the two rewritten columns to the knots' cap through `uk/price_paid_property_support_bounds.json`.

(Later in #931 both nodes retire. The WAS chain reads each England and Wales owner's main residence off its constituency's knots: `931-spine-localises-home-values`. The dense line keeps the spine's bands: `931-dense-localisation-nodes-retired`.)

**A spine stage, `high_value_home_support`,** after `regional_property_uprating` copies every owner household in the top five per cent of its region's value rank six ways at equal weight, each copy carrying `high_value_support_copy_index`, the lineage the geography identity keys on; the value node gives each copy its own keyed rank inside the stratum, so the tail households spread across seats. Mass is conserved exactly (`uk_stage_high_value_home_support_mass`).

**Valuation basis.** `uk/regional_land_values.json` moves from the December-2025 HPI level to the calendar-2024 average, so the stored `main_residence_value` sits at the dataset period's prices and the engine's annual uprating projects it once rather than twice.
Expand Down
2 changes: 1 addition & 1 deletion changelog.d/1262-uk-brma-from-area.added.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
A placed household's Broad Rental Market Area now follows its assigned area (microcosm#1262, B1). `tools/build_uk_brma_area_layer.py` places every 2021 LSOA of England and Wales and every 2022 output area of Scotland in one BRMA from Chronicle's raw registrations (PolicyEngine/chronicle#314): England and Wales by population-weighted centroid in the VOA May 2020 and Rent Officers Wales May 2012 polygons with uk-data#516's six overrides, Scotland by centroid in the Scottish Government's polygons corrected by Rent Service Scotland's postcode lookup with microcosm#1092's two overrides. The layer, `uk/brma_area_layer.json` (192 BRMAs, OGL v3.0), reproduces the region-by-BRMA support of uk-data#516's census table and microcosm#1092's 63 Scottish BRMA-by-council pairs exactly; its provenance records both checks. The post-geography node `uk.full.geography.brma` (`--brma-localisation area`, the default on the atomic assignment; `none` for measurement builds, refused by a release candidate) reads each placed Great Britain clone's BRMA off its LSOA or output area, so its LHA rate describes the same place as its local authority and constituency. Northern Ireland and the national line keep the spine's `frs_brma` draw. A terminal release-blocking gate, `uk_local_brma_enum_domain`, rechecks the rewritten column against the engine's enum; the local gate battery has seven entries. The dense and full-battery contract digests, the declared gate count and the certification exclusions move with it, so a national or dense release certified before this change fails `validate_release` after it.
A placed household's Broad Rental Market Area now follows its assigned area (microcosm#1262, B1). `tools/build_uk_brma_area_layer.py` places every 2021 LSOA of England and Wales and every 2022 output area of Scotland in one BRMA from Chronicle's raw registrations (PolicyEngine/chronicle#314): England and Wales by population-weighted centroid in the VOA May 2020 and Rent Officers Wales May 2012 polygons with uk-data#516's six overrides, Scotland by centroid in the Scottish Government's polygons corrected by Rent Service Scotland's postcode lookup with microcosm#1092's two overrides. The layer, `uk/brma_area_layer.json` (192 BRMAs, OGL v3.0), reproduces the region-by-BRMA support of uk-data#516's census table and microcosm#1092's 63 Scottish BRMA-by-council pairs exactly; its provenance records both checks. The post-geography node `uk.full.geography.brma` (`--brma-localisation area`, the default on the atomic assignment; `none` for measurement builds, refused by a release candidate) reads each placed Great Britain clone's BRMA off its LSOA or output area, so its LHA rate describes the same place as its local authority and constituency. Northern Ireland and the national line keep the spine's `frs_brma` draw. A terminal release-blocking gate, `uk_local_brma_enum_domain`, rechecks the rewritten column against the engine's enum; the local gate battery has seven entries. (Later in #931 the dense line takes its BRMAs from the spine, `uk_local_brma_enum_domain` retires, the local battery has six entries, and `uk_brma_enum_domain` checks the column at the spine's transferred boundary: `931-spine-localises-home-values`.) The dense and full-battery contract digests, the declared gate count and the certification exclusions move with it, so a national or dense release certified before this change fails `validate_release` after it.
2 changes: 2 additions & 0 deletions changelog.d/1262-uk-private-rent-from-area.added.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
A placed private renter's rent now comes from its assigned area's list of rents (microcosm#1262, B2; María's rulings of 2026-10-15/16). `tools/build_uk_brma_rent_quantiles.py` writes `uk/brma_rent_quantiles.json`, 25 quantile knots of the weekly rent for every Great Britain BRMA and LHA category B to E: England from VOA's April 2026 shadow list (lets from October 2024 to September 2025), Wales from Rent Officers Wales' list for October 2023 to September 2024 (Table 2 of FOI ATISN 25142), Scotland from the Scottish Government's 2025 quartiles and median by BRMA and bedrooms with the shape of Rent Service Scotland's 2016 to 2021 lettings outside them (implied means within 7 per cent of the published ones). A cell with 20 to 49 lets takes its own median and its nation's pooled shape. The post-geography node `uk.full.private_rent` (`--private-rent-localisation brma_list`, the default with area BRMAs) keeps each Great Britain private renter's rank among its FRS region and bedroom category's FRS-channel renters, in both channels, and reads that quantile off its assigned BRMA's list; one scale per region holds the region's FRS mean rent on the census private-renter mix, so the lists set the pattern within a region and the spread within a BRMA but not the level. Placement follows all households, so at design weights a region's level moves by the gap between that mix and where renters land until calibration's tenure rows restore it; after calibration the national line, which keeps FRS rents, agrees on regional levels. Category A is never used; owners, social renters, zero rents and Northern Ireland are untouched; the boarder, lodger, subletting, service-charge and reported Housing Benefit columns stay as reported. `ons.rent.private_rent` stays bound.

(Later in #931 the node retires: `931-dense-localisation-nodes-retired`. The spine's `private_rent` stage reads each Great Britain private rent off its BRMA's list, at its rank among the FRS private rents of its region and size: `931-spine-assigns-areas`. The national line, now built on a one-clone spine with areas, carries those rents: `931-national-one-clone-areas`.)
2 changes: 1 addition & 1 deletion changelog.d/1308-uk-new-stage-health-gates.added.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The three stages #1308 left ungated have stage-health gates (María's ruling of 2026-10-17, taken up with the next policyengine-uk bump), each release-blocking and blocking on an absent receipt. `uk_stage_property_purchases_fit` holds each purchase kind to HMRC's Stamp Tax transactions within 5% and to its value less a recorded shortfall of at most one fifth, the floor the stage itself refuses below. `uk_stage_regional_home_values_ranking` requires rows re-ranked in every English region and Wales on the 2024 knots, at the weighted midpoint within each FRS region, with no source at the value cap. `uk_stage_uc_legacy_closure_take_up_contract` checks what the Move to UC receipt prints, since it withholds what a thin combination realizes: the design-weight Great Britain basis, a probability and a declared source for every combination's rate, a printed support band, and a well-formed unreachable flag. The property purchases and regional home-values gates check the frame against published facts, so a synthetic smoke build records their failures without blocking on them (`population_fact_check`), as it does for the other fact gates; the legacy closure gate blocks every posture. The mirrored battery digests move.
The three stages #1308 left ungated have stage-health gates (María's ruling of 2026-10-17, taken up with the next policyengine-uk bump), each release-blocking and blocking on an absent receipt. `uk_stage_property_purchases_fit` holds each purchase kind to HMRC's Stamp Tax transactions within 5% and to its value less a recorded shortfall of at most one fifth, the floor the stage itself refuses below. `uk_stage_regional_home_values_ranking` requires rows re-ranked in every English region and Wales on the 2024 knots, at the weighted midpoint within each FRS region, with no source at the value cap. (Later in #931 it becomes `uk_stage_area_home_values_ranking`, on the WAS stage's area home values at the constituency level, with its maximum re-derived for the constituency knots: `931-spine-localises-home-values`.) `uk_stage_uc_legacy_closure_take_up_contract` checks what the Move to UC receipt prints, since it withholds what a thin combination realizes: the design-weight Great Britain basis, a probability and a declared source for every combination's rate, a printed support band, and a well-formed unreachable flag. The property purchases and regional home-values gates check the frame against published facts, so a synthetic smoke build records their failures without blocking on them (`population_fact_check`), as it does for the other fact gates; the legacy closure gate blocks every posture. The mirrored battery digests move.
2 changes: 2 additions & 0 deletions changelog.d/1418-uk-rfdr-area-flag.added.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
The dense build now sets policyengine-uk's `in_rural_fuel_duty_relief_area` on each placed household from its assigned output area, so the Rural Fuel Duty Relief prices its petrol and diesel at the relieved rate (#1418). HMRC Notice 2001 opens the relief in the Inner and Outer Hebrides, the Northern Isles, the Islands in the Clyde, the Isles of Scilly, the post town of Hawes and sixteen mainland postcode districts. It names the island groups without bounding them, so `tools/build_uk_rfdr_area_layer.py` declares Microcosm's translation into postcode districts, unit postcodes and excluded units, with sources. It then reads the ONS postcode lookup and writes `uk/rfdr_area_layer.json`, the 2021 output areas of England and Wales and 2022 output areas of Scotland more than half of whose postcodes lie in the scheme. That is 41 in England and 1,053 in Scotland, from 7,104 postcodes of the August 2026 lookup. Islands that share a sector with the mainland (Raasay, Seil, Easdale, Luing, Kerrera and Lismore) and the post town of Hawes are listed by unit postcode. The post-geography node `uk.full.geography.rfdr` (`--rfdr-localisation area`, the default with the atomic assignment; `none`, the default with the legacy assignment, is for measurement builds and refused by a release candidate) reads it. Northern Ireland has no area in the scheme. The national line, which has no areas, leaves the engine's default of false (María's ruling of 2026-10-28). The node refuses a Great Britain output-area code that is not well-formed for its system. On a full-scale build it also refuses a system (England and Wales, or Scotland) with households none of which is flagged, so a change of code format or vintage cannot publish its households unflagged; a sampled rung may place none of the 41 English areas, so it checks the codes only. The committed layer is built from the NSPL zip Chronicle registers. The tool pins the registration's package id, file and sha256, and `--check` rebuilds the layer in memory and compares it with the committed files. A test holds the provenance to the high value home stock's own record of the zip.

(Later in #931 the node retires: `931-dense-localisation-nodes-retired`. The spine's `rfdr` stage sets the flag from each clone's drawn area: `931-spine-assigns-areas`. The national line, now built on a one-clone spine with areas, carries it: `931-national-one-clone-areas`.)
Loading