Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
fff37ea
Pin the three OBR council tax nation rows to the UK and hold them
juaristi22 Oct 29, 2026
6f0d534
Let a selector's declared geography win over the inferred pin
juaristi22 Oct 29, 2026
ae1edf7
Split SLC's devolved repayments into one row per nation
juaristi22 Oct 29, 2026
71ca253
Count SLC's three nation rows in the contract tests
juaristi22 Oct 29, 2026
7bbdbd8
Measure the projected fiscal-year rows at the calendar-2025 window
juaristi22 Oct 29, 2026
8e3394b
Let a Ledger reference select its facts at a declared observation period
juaristi22 Oct 29, 2026
bca293e
Bind DfE's January 2026 census at model year 2025 and retire its holds
juaristi22 Oct 29, 2026
c41fc15
Let a window ratio's numerator be the rest of its universe
juaristi22 Oct 29, 2026
0546791
Bind the main-residence share of OBR's council tax receipts
juaristi22 Oct 29, 2026
e78129d
Record María's rulings on three signed exclusions
juaristi22 Oct 29, 2026
ab24bbe
Correct stale tracker text in notes and code comments
juaristi22 Oct 29, 2026
d2a1f9c
Record each stage's rewrites in its stage record
juaristi22 Oct 29, 2026
164bf6b
Keep support-floor deferrals inside each target's nations
juaristi22 Oct 29, 2026
93892d7
Describe the current build in three UK gate declarations
juaristi22 Oct 29, 2026
610a1bc
Carry each stage's rewrites in the graph build's stage records too
juaristi22 Oct 29, 2026
6177c5c
Check the take-up flags where they are drawn, before calibration
juaristi22 Oct 29, 2026
5c7a40d
Make the promoted national line the default UK load
juaristi22 Oct 29, 2026
50eb504
Restate the bus resources' readers and the FRS 2024-25 leaf note
juaristi22 Oct 29, 2026
3a8038b
Accept the reference's observation period in monetary binding receipts
juaristi22 Oct 29, 2026
88ffbb9
Count the five measure exclusions this branch adds
juaristi22 Oct 29, 2026
4934fe7
Sign the matched-period hold for SLC's three nation rows
juaristi22 Oct 29, 2026
5a944e4
Move every UK disclosure floor from ten source households to three
juaristi22 Oct 29, 2026
12e6613
Merge main after #1420 and #1421 into the #1095 next PR
juaristi22 Oct 30, 2026
c5d40e4
Lock policyengine-uk 2.165.1
juaristi22 Oct 30, 2026
e40eabd
Expect each stage's rewrites in the graph records test
juaristi22 Oct 30, 2026
4962bc3
Window a selector's pinned dimension values as one series each
juaristi22 Oct 30, 2026
b46be00
Regenerate the UK target surfaces on the merged tree (feed 53815b2)
juaristi22 Oct 30, 2026
652835c
Uprate SLC's nation rows to 2025 and fit the tests to the regenerated…
juaristi22 Oct 31, 2026
254be6d
Band rounded record counts from three to nine and guard the old label
juaristi22 Oct 31, 2026
1f46653
Move the default UK load flip out to its own PR
juaristi22 Oct 31, 2026
02df9df
Expect the January 2026 census and R7's windows in the feed-gated ref…
juaristi22 Oct 31, 2026
f83d7a3
Link the ruling that moved the UK disclosure floor to three
juaristi22 Oct 31, 2026
ddd82aa
Pin the window's refusal of a pinned service with no facts
juaristi22 Oct 31, 2026
0a69ef4
Restate the last gate notes and docstrings that said ten
juaristi22 Oct 31, 2026
7a95f37
Answer the independent review's gate and disclosure-floor findings
juaristi22 Oct 31, 2026
42913ab
Keep observation periods with their rows and one window series per me…
juaristi22 Oct 31, 2026
c0dd6ea
Scale the council tax nation rows to main residences and restate repl…
juaristi22 Oct 31, 2026
43c3da7
Regenerate the UK target surfaces after the review fixes (feed 53815b2)
juaristi22 Oct 31, 2026
9d25e45
Check the DfE contract note for the observation period, not the old s…
juaristi22 Oct 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/1095-ledger-observation-period.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A Ledger target reference can declare an `observation_period`, the period its facts are selected at when that differs from the target period the model is measured at. Selection, the latest-period choice and the resolved-fact guard read it, the target keeps its own period, and the compiled metadata records it. Operations that compose periods of their own refuse it (microcosm#1095 D5).
1 change: 1 addition & 0 deletions changelog.d/1095-ledger-window-ratio-complement.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A `calendar_year_window_scaled_by_ratio` numerator can declare `complement`: its cells come off the denominator, so the share is the rest of the published universe, for example chargeable dwellings less second homes and empty dwellings (microcosm#1095 D14f). The compiled metadata records the rule and the formula.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`obr.council_tax` binds the main-residence share of OBR's council tax receipts: the calendar-2025 window is scaled by England's chargeable dwellings less its second homes and empty dwellings, over its chargeable dwellings (MHCLG Council Taxbase, October 2025). The frame carries only main-residence bills, so binding the whole line pushed them up (María's ruling of 2026-10-29, microcosm#1095 D14f).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`obr.council_tax_england`, `obr.council_tax_scotland` and `obr.council_tax_wales` compile their facts: OBR's table 4.1 is UK-wide, so Chronicle stamps the three nation rows K02000001, and they now pin to the UK, as `obr.council_tax` and `obr.domestic_rates` do, instead of the nation codes the substring rule gave them, where no fact sits (microcosm#1095 D14e). Each binding still scopes the model column to its nation. `obr.council_tax` binds their sum scaled to main residences (D14f), and each nation row is scaled by the same share, so the three sum to it; measure exclusions hold the three rows as diagnostics, measured on every evaluation as evidence for the CT-C comparison (María's ruling of 2026-10-29).
1 change: 1 addition & 0 deletions changelog.d/1095-uk-declared-selector-geography.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A target's Chronicle selector can declare the geography its fact sits at, and the declaration wins over the generator's inferred pin: a wrong inference otherwise reads as "no fact" (microcosm#1095 R8, María's ruling of 2026-10-29). The authoring refuses a pin that disagrees with a declared geography, so the two cannot drift apart.
1 change: 1 addition & 0 deletions changelog.d/1095-uk-dfe-january-2026-census.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DfE's eight funded-childcare rows bind the January 2026 census, the spring term of model year 2025 and the month and age basis the spring-term measures use, in place of the January 2025 census a year out (María's ruling of 2026-10-29, microcosm#1095 D5). Each declares `observation_period` 2026-01; the fact follows the 2025 target period, so the three in-year snapshot holds retire.
1 change: 1 addition & 0 deletions changelog.d/1095-uk-disclosure-floor-three.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UK stage receipts, stage-health gates and report tools withhold a figure only when it rests on one or two distinct source households (CD171's absolute floor), not on fewer than ten (María's ruling of 2026-10-29, [recorded on microcosm#1095](https://github.com/PolicyEngine/microcosm/issues/1095#issuecomment-6541929216)). One constant, `receipt_counts.UK_DISCLOSURE_FLOOR`, sets the floor. A withheld figure reads `"<3"`. Support, extreme and rounded record counts read `"3-9"` from three to nine, so a count just above the floor never narrows a small group by difference. The statistical floors stay: the zero-support floor, donor-cell minimums, the private-rent tool's ten-row group rule, and the SPI coherence tool's cell floor for correlations, medians and quantiles, since a median of a few records is one record's own value. The SPI Public Use Tape's own two conditions (SN 9422) are unchanged: no attempt may be made to attribute a record to a named individual, and material that includes analyses of the tape goes to HMRC at least ten working days before it is distributed or published.
1 change: 1 addition & 0 deletions changelog.d/1095-uk-gate-battery-current-grain.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The UK gate battery describes the current build: the zero-weight strata are capped at 0 (the June caps of 100,000 counted the retired ten-clone grain, and the national seam ships no zero-weight row), the export-surface gate drops its all-zero incapacity benefit exclusion, which never matched the pinned reference, and the battery records why it declares no macro_realism band (microcosm#1095, from #688, #796 and #757).
1 change: 1 addition & 0 deletions changelog.d/1095-uk-signed-exclusion-rulings.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Scotland's households with three or more children stay signed out with a corrected reason, Chronicle's Scotland cut counting couple households only (microcosm#1095 D3); ONS's small-area income rows are kept out as circular, ONS modelling them from the FRS (D18a); and Northern Ireland's UC area cells stay out, DfC counting claimants rather than households (D18c). María's rulings of 2026-10-29.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SLC's devolved student loan repayments are one row per nation, `slc.repayments.wales_total`, `slc.repayments.scotland_total` and `slc.repayments.northern_ireland_total`, each declaring its nation's geography in its selector, in place of one devolved row that compiled no fact at the Great Britain pin (microcosm#1095 R4). Each carries SLC's 2024-25 outturn to 2025 by policyengine-uk's OBR average earnings index, since repayments are a share of earnings above the plan thresholds (María's ruling of 2026-10-30). Wales binds; Scotland and Northern Ireland are held as diagnostics until their borrowers' own plan thresholds are modelled (María's ruling of 2026-10-29).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Three vendored bus resources now say that the bus fare and bus support pricing read them, not the retired LCFS and ETB rakes, and `dft_bus_value_anchors.json` lists `bus_support_pricing` among its readers. The Incapacity Benefit SPI leaf's note now says the leaf is a structural zero in the FRS 2023-24 and 2024-25. The charter-H2 graph fixture and the release input coverage manifest follow the stage contract digests (microcosm#1095).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The local generator's support-floor deferrals for the Isles of Scilly and the City of London follow each target's area scope: the nine Welsh and eight Scottish local-authority families have no cell at those English authorities and no longer list them (microcosm#796 item, via microcosm#1095).
1 change: 1 addition & 0 deletions changelog.d/1095-uk-take-up-stage-signal-gates.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The twelve take-up flags the terminal uk_take_up_signal gate measures are checked at their drawing stages too: frs_take_up, frs_person_draws and frs_household_draws each record the drawn flags' shares at the stage's weights, childcare_copy_take_up records the five childcare flags it re-draws for the copies, and four assembled-phase stage-health gates hold them to their contract targets within the terminal gate's bounds, so a draw defect fails at its stage apart from calibration's drift (María's ruling of 2026-10-29, microcosm#1095). A flag whose population rests on one or two source households is flagged unchecked at its stage, never failed (María's ruling of 2026-10-26); the terminal gate still measures it.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Scottish Child Payment spending, HMRC's Tax-Free Childcare top-up, Northern Ireland's Translink bus passenger receipts and SLC's England repayment rows are measured at the calendar-2025 window of their fiscal years, three twelfths of 2024-25 and nine twelfths of 2025-26, like every other fiscal-year fact (María's ruling of 2026-10-29, microcosm#1095 R7). They took the 2025-26 fact alone before.
1 change: 1 addition & 0 deletions changelog.d/721-stage-record-rewrites.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Stage records list the columns each stage rewrote, with their nonzero share after it, so build provenance names the last writer of a column; the UK spine manifest carries them, and the final nonzero-share list reads them instead of a hard-coded carve-out (microcosm#721, via microcosm#1095).
1 change: 1 addition & 0 deletions changelog.d/uk-policyengine-uk-2-165-1.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The UK lock moves from policyengine-uk 2.164.2 to 2.165.1 (microcosm#1095). 2.164.3 (PolicyEngine/policyengine-uk#2736) counts other investment income in market income and HBAI household net income, and 2.164.4 (PolicyEngine/policyengine-uk#2746) in `capital_income`. So the stages that band households on HBAI income with its deductions added back now count it, as the LCFS, NEED and NTS gross incomes they match do, and the WAS stage's `capital_income` predictor now matches the donor's gross income from all financial investments (`DVGIINVR8`). 2.165.0 (PolicyEngine/policyengine-uk#2750) adds the company car and car fuel benefits in kind and the Class 1A NICs on them; the build writes none of their nine person inputs, so both benefits stay zero, as before, and the inputs are signed at their default. 2.165.1 (PolicyEngine/policyengine-uk#2754) lets a family keep Tax-Free Childcare in place of a smaller Universal Credit award, and takes no debt deductions from an award only a reform creates. No economic assumption moves, so the vendored engine pins, the bonus-sacrifice anchor and the CGT projection path keep their values; only their version stamps move.
Loading
Loading