Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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-uk-hmrc-pay-leaf-child-pay.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The HMRC pay leaf (`hmrc_spi_pay`) now reads a dependent child's pay. It takes `CHILD.CHEARNS` from the raw child tab, just as it takes an adult's `ADULT.INEARNS`, and `frs_hmrc_spine_leaves` declares and checks `child.tab`. Before this, a child whose pay was above the personal allowance counted as a taxpayer with no HMRC employment income. They dropped out of the employment-income rows or sat in too low an income band. The fix comes from Vahid's final review of PolicyEngine/microcosm#1663 and María's reply of 19 November 2026.
1 change: 1 addition & 0 deletions changelog.d/1095-uk-release-uk-totals.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The UK release now carries the UK totals of the components of policyengine-uk's two share keys. These are `corporate_wealth`, `private_pension_wealth` and the twelve spending categories (policyengine-uk 2.178.0, PolicyEngine/policyengine-uk#2901), as fourteen `uk_total_*` household columns, the same on every row. The release boundary writes them as each component's sum at the file's household weights, summing them again after the weights move to the dataset year, as `policyengine_uk.utils.uk_totals.uk_totals` sums them (`national_frame.uk_household_totals`). policyengine-uk's `shareholding` and `consumption_shareholding` then divide by the UK's totals. So a simulation of part of the file, such as a region, an extract or a household subset, gives each household its share of the national totals: its business rates, corporate Stamp Duty Land Tax and land, consumer-incident tax changes and the carbon tax's corporate part. Before this, each part shared the national totals out among its own households alone. A simulation of the whole file reads the same shares as before. The fourteen inputs leave `UK_ENGINE_DEFAULT_INPUTS`, and the export surface allows them as new since the reference build (María's call of 19 November 2026; her ruling D-e on PolicyEngine/policyengine-uk#2896). The release battery's degenerate-surface register (`uk/degenerate_reviewed_exclusions.json`) admits each of them as constant by construction, as it admits the draught-relief shares, on both release lines (María's signature of 22 November 2026, pending review).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The salary-sacrifice forest now predicts only for adult records. The FRS asks the question on adults' job records, so the forest is fitted on adults. Since `frs_spine` carries a dependent child's `CHILD.CHEARNS` as `employment_income` (PolicyEngine/microcosm#1663), every child with pay was given a forest prediction. A dependent child who was not asked (`is_hbai_dependent_child`) now sacrifices none of their pay, and the stage's receipt counts them beside the people not asked who have no pay. The stage's SPI bonus draw now also takes adults alone, as its rule says: SPI-channel adults draw from base-FRS adults. Paid children had joined its donors with no bonus and moved its pay cells' edges. The fix comes from Vahid's final review of PolicyEngine/microcosm#1663 and María's reply of 19 November 2026.
1 change: 1 addition & 0 deletions changelog.d/1095-uk-uc-new-claimant-draw.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A new last spine stage, `uc_new_claimant_draw`, stores policyengine-uk's `uc_new_claimant_health_element_draw` (2.179.0, PolicyEngine/policyengine-uk#2877), the uniform per benefit unit that the engine compares in each rebalancing year with `gov.dwp.universal_credit.rebalancing.new_claimant_share` to pay the lower new-claimant LCWRA rate (microcosm#1095). The claims most likely to be new get the lowest draws. Within the units the engine pays Universal Credit with the LCWRA element at the calibration year, the stage orders claims by recency, the completed months from DWP's claim start (FRS BENEFITS.UCSTART) to the interview, then by the age of the youngest claimant or partner, youngest first, and gives each unit the midpoint of its slice of the population's weight, so the draw is uniform within the population at the stage's weights. Every other unit takes an identity-keyed uniform, so the draw is uniform overall and the engine keeps the parameter's share each year. A unit without a linked claim start (an unlinked reporter, a take-up entrant, a legacy-closure mover or a unit of an SPI-channel household) takes months drawn from the linked claims whose youngest claimant or partner is in its age band (16 to 24, 25 to 34, 35 to 44, 45 to 54, and 55 or over, pooled until they rest on 30 source households). `frs_spine` carries the claim recency as `frs_uc_claim_months`, which the release drops. The draw leaves `UK_ENGINE_DEFAULT_INPUTS` and joins the export surface's allowed columns (`terminal_gates` and `gates.json`), so the data contract's gate digests follow, and the signed entry for `uc_receives_new_claimant_health_element` is restated for María's signature. The stage spec, the operation schema, the graph cell, the kernel, spine and fixture registrations, the coverage manifest and the H2 fixture follow.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sixteen of the UK local line's gate-only target-fit entries are renewed until 20 December 2026 (microcosm#1301; María's approval of 22 November 2026): fifteen local cells (thirteen age 20 to 30 counts and two council tax band counts) and one national row, the SPI's savings interest in its £15,000 income band. Eleven expired on 16 November and five expire on 23 or 24 November. The local release of 16 November still breaches each, so each now cites that build, with the renewal's approval, ahead of the local build paired with microcosm#1687's national. Their wording and local-line scope are unchanged.
1 change: 1 addition & 0 deletions changelog.d/1301-uk-dense-signoff-2026-11-23.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sign dense build 1's gate-only failures for the local line (microcosm#1301, attempt uk-local-candidate-f100-s42-20261123T000219Z-b2c44b35): 0 national target-fit rows, 11 local target-fit cells and 0 areas below the support floor, approved 2026-11-23; 12 entries that build 2 would fail are retired. Every signed row stays bound in the solve, each entry suppresses only the local line's release fence, and a build in which a signed row passes fails its entry as stale.
1 change: 1 addition & 0 deletions changelog.d/uk-policyengine-uk-2-179-2.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The UK lock moves from policyengine-uk 2.177.7 to 2.179.2 (microcosm#1095), the newest release; the UK side's policyengine-core stays at 3.34.10 and the US side at 3.32.5. 2.179.2's stored-draw check names only policyengine-core 3.34.9 as qualified (`QUALIFIED_CORE_VERSIONS`, which policyengine-uk does not enforce at runtime): its own qualification tests pass on 3.34.10 except two, both for a simulation whose data supplies no draw, where 3.34.10 no longer caches the default it returns and so never reaches the refusal the tests expect. 2.179.2 adds 25 engine inputs. The build writes 15 of them, each in its own fragment: the new `uc_new_claimant_draw` stage writes `uc_new_claimant_health_element_draw`, and the release boundary writes the fourteen `uk_total_*` UK totals of 2.178.0. The other 10 stay at their defaults and are signed, each with the error it can make, in `UK_ENGINE_DEFAULT_INPUTS`, or for `would_claim_student_loan` in the take-up register `UK_ENGINE_DEFAULT_TAKE_UP_INPUTS`: the three routes that keep a young person who has left education a Child Benefit or Child Tax Credit qualifying young person (2.178.3) and the four adoption, fostering and overnight-care inputs of the size criteria (2.178.7) at false; the other two stored draws of 2.179.0, `pip_phase_in_draw` and `would_claim_student_loan`, so the engine keeps its own draws; and `housing_benefit_report_is_rate_rebate_only` (2.179.2) at false. What the build's engine reads return changes at 2024 and 2025: a carer's Universal Credit award with the carer element counts against the severe disability premium, Pension Credit's severe disability addition and Scotland's working-age Council Tax Reduction carer premium (2.177.9); the pensioner Council Tax Reduction schemes add the disabled child and enhanced disability premiums for each qualifying child (2.178.1) and deduct only the tax and National Insurance each scheme allows, as does Scotland's working-age scheme (2.178.8); Child Benefit and Child Tax Credit count a 16-year-old who has left education until the 31 August after their birthday, Child Benefit stops counting a young person on their own Universal Credit, ESA, income-based JSA or Income Support, and Child Tax Credit one on their own Income Support, and the Housing Benefit, legacy benefit and Council Tax Reduction young persons follow Child Benefit's (2.178.3); the LHA size criteria count other families' children, give a foster child no bedroom of their own and add the foster parent's bedroom, a Universal Credit renter whose claim counts a non-dependant from another family loses the shared accommodation rate, and Housing Benefit counts a child placed with a non-dependant, boarder or lodger (2.178.7); Marriage Allowance's least-tax search applies the rate test at the statutory limits (2.179.1); and the Universal Credit qualifying young person test leaves out a person reporting their own legacy benefit while the model pays it, which the education condition reads on the first day of a claimant's award and Scotland's working-age Council Tax Reduction reads too (2.179.2). 2.177.8, 2.178.0, 2.178.2, 2.178.4 to 2.178.6 and 2.179.0 change nothing the build reads at those years: citations and Scottish income tax for 2018-19 to 2021-22, the UK totals, tests, a fuel duty reform's VAT and the stored draws' reads. No economic pin moves: the vendored uprating pins and the bonus-sacrifice anchor change only their version stamps. The concept coverage (378 to 403 inputs), the texts that describe the engine, the cited versions, the coverage manifest, the H2 fixture and `APPROVED_UV_LOCK_SHA256` follow.
Loading
Loading