Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
1dbb05f
Say in the PIP points receipt which weights its country counts use
juaristi22 Nov 10, 2026
1b6d17b
Put each disability benefit on the household member it is for
juaristi22 Nov 10, 2026
5ef3723
Read the FRS care tab into each carer's main care recipients
juaristi22 Nov 10, 2026
de1a21a
Write the carer link, cares_for_severely_disabled_person, in frs_disa…
juaristi22 Nov 10, 2026
2e11f9e
Key the carer link's household members by FRS person number
juaristi22 Nov 10, 2026
c4bad93
Cite María's ruling on the even split of a disability benefit between…
juaristi22 Nov 10, 2026
3ec7bab
Take the carer link again on the SPI channel's households
juaristi22 Nov 10, 2026
849824c
Read the carer link for the Carer's Allowance pool
juaristi22 Nov 10, 2026
dbce15c
Export the carer link and describe A3 in the changelog
juaristi22 Nov 10, 2026
6521496
Record María's signature on the Carer's Allowance take-up notes
juaristi22 Nov 11, 2026
e19cc67
Leave the tax credit severe disability flag to the engine (A4)
juaristi22 Nov 11, 2026
a0d2a1e
Test that the engine pays a carer only where the carer link holds (A3)
juaristi22 Nov 11, 2026
017bef9
Check the carer link against DWP's UC carer element record (A3 (f))
juaristi22 Nov 11, 2026
b4819c5
Record María's signature on A4's formula-owned entries and P1's wording
juaristi22 Nov 11, 2026
d1105ab
Regenerate the release input coverage manifest for A3 and A4
juaristi22 Nov 11, 2026
3d634af
Give the carer link engine test person inputs only
juaristi22 Nov 11, 2026
994e6b5
Name the carer link's route counts "carers", not "records"
juaristi22 Nov 11, 2026
851dbf3
Measure S4's Scottish NSND rows at 2024, the outturn year (B4)
juaristi22 Nov 11, 2026
9cb78b8
Measure PAYE RTI payrolled employees by age beside the NICs relief (B1)
juaristi22 Nov 11, 2026
19d4052
Keep S1's PRIS rows held out after their bound-variant solve (B7)
juaristi22 Nov 11, 2026
e847a49
Record María's signature on S4's and B1's exclusion texts
juaristi22 Nov 11, 2026
7059362
Take carer status from DWP's UC carer element on linked claims (B3)
juaristi22 Nov 11, 2026
936e5bf
Fit LCWRA households jointly with the age fit in the take-up redraw (B3)
juaristi22 Nov 11, 2026
d300a2b
Net Scotland's second homes and empty homes out of the council tax le…
juaristi22 Nov 11, 2026
368afbb
Test that uc_take_up's LCWRA units are those the engine pays (B3)
juaristi22 Nov 11, 2026
06eeb28
Bind England's PIP cases in five broad age bands (B2)
juaristi22 Nov 11, 2026
274ff7d
Sign B11's restated council tax notes (María, 2026-11-11)
juaristi22 Nov 11, 2026
bbf6915
Sign the thirteen England PIP fine bands' restated exclusion (María, …
juaristi22 Nov 11, 2026
a79327d
Declare B1's PAYE RTI months once, and count B1's exclusions
juaristi22 Nov 11, 2026
4d8e017
Measure UC people by conditionality group and Scotland's social secur…
juaristi22 Nov 12, 2026
31ad988
Count A3 (f)'s carrier in the H2 fixture's string audit
juaristi22 Nov 12, 2026
2bda988
Count PR3's new rows in the reference and contract tests
juaristi22 Nov 12, 2026
7a2f9d7
Re-pin the UK Chronicle feed to 81caed75 (PolicyEngine/chronicle#436)
juaristi22 Nov 12, 2026
e09b373
List the FRS care tab among the UK country's raw sources (A3)
juaristi22 Nov 12, 2026
fe1d22a
Review B5's and B10's plain-column reads at the calibration period
juaristi22 Nov 12, 2026
ef1af06
Move the UK gate-battery pins with PR3's gates.json (A3, A4)
juaristi22 Nov 12, 2026
8eb97f9
Count B5's and B2's new rows in the UC and PIP source-period test
juaristi22 Nov 12, 2026
80f2457
Stub the Carer's Allowance hours reader in the disability survey-year…
juaristi22 Nov 12, 2026
489fe32
Restore main's declarations of S4's two NSND rows (drop B4)
juaristi22 Nov 12, 2026
f6c9045
Record the 81caed75 re-pin and the carer link's release boundary
juaristi22 Nov 12, 2026
e8689bd
Give the carer link 35 hours per person, and raise the partner who cares
juaristi22 Nov 12, 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-uk-carer-link-admin-check.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`frs_disability`'s receipt now checks the carer link against DWP's record of the Universal Credit carer element (A3 (f) of the November event-data plan's PR3, microcosm#1095; María's choices of 2026-11-10). `frs_spine` reads BENEFITS.UCCAREEL on the claim's UC row into `frs_uc_carer_element`, NONE or CARER on a claim with a linked record (UCSTART present) and NOT_LINKED elsewhere, a stage-internal carrier the release drops. SN 9563's dictionary labels the column the weekly carer element amount and gives no value labels; the 2024-25 file codes it 0 or 1 on every linked claim, read as whether the award holds a carer element. On each benefit unit with a linked claim, the receipt sets that record against whether the stage holds a claimant or partner a carer for Universal Credit (care hours at the minimum with the link true, or Carer's Allowance reported), in rounded counts and support bands, and gives each side's share the other holds. It changes no value.
3 changes: 3 additions & 0 deletions changelog.d/1095-uk-carer-link.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The UK build now writes `cares_for_severely_disabled_person`, the input policyengine-uk reads from 2.177.3 wherever a carer's hours reach Carer's Allowance's 35-hour line, from the FRS care tab (A3 of the November event-data plan's PR3, microcosm#1095; María's choices of 2026-11-10). `frs_spine` reads the care tab into the people each carer gives at least 35 hours a week, by the band the tab gives each person cared for, as a stage-internal carrier the release drops. The line is per person: the Social Security (Invalid Care Allowance) Regulations 1976 reg. 4(1) need 35 hours a week caring for the severely disabled person, and reg. 4(1A) counts care for two or more people only where one of them gets 35 hours on their own; UC Regs 2013 reg. 30(1)(a) and SSI 2023/302 reg. 5(2) read the same conditions into the carer element and Carer Support Payment (Vahid's review of microcosm#1583, Should 1; María's decision of 2026-11-12). `frs_disability` sets the link true where those people include a household member with Attendance Allowance, DLA or Child Disability Payment care at the middle or highest rate, or PIP or Adult Disability Payment daily living, and false where they include only members without one, or nobody, as for care spread over several people. It draws a carer who gives someone outside the household the line, with no qualifying member, at the share of carers giving only household members the line whose recipient qualifies (María's decision (a) of 2026-10-28). It refuses an engine minimum other than 35 hours, which the care tab's bands mark exactly. A carer with care hours and no link in the care tab keeps the engine's default, true. The SPI channel takes the link again on its households from the benefits it re-imputes, and `carers_allowance_take_up` reads it for its pool in place of its own draw (its restated notes signed by María on 2026-11-11), so the claims the stage opens and the Carer's Allowance and Carer Support Payment the engine pays follow one rule. The engine default the build signed for the input is retired, and the release exports the column.

Who each carer cares for stays inside the build: the release drops `frs_care_recipients`. So policyengine-uk's `is_cared_for_by_carer_benefit_recipient` still guesses the legacy severe disability premium's carer condition (IS Regs 1987 Sch 2 para 13(2)(a)(iii), HB Regs 2006 Sch 3 para 14(2)(a)(iii)), giving a carer to a claimant or partner in their own benefit unit first. With the carers of someone outside the household that A3 draws, that guess can take the premium off a member whom the care tab says nobody cares for.
1 change: 1 addition & 0 deletions changelog.d/1095-uk-disability-benefit-recipients.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The UK spine now puts each disability benefit on the household member it is received for (A3a of the November event-data plan's PR3, microcosm#1095). The FRS records Scotland's Child Disability Payment on a parent's BENEFITS row, with WHOREC1 to WHOREC5 naming the child, and the spine summed each row by its own person, so a Scottish child's payment counted as a parent's: the parent took the DLA categories and disability flags, and the child lost the disabled child elements. Attendance Allowance, DLA and Child Disability Payment, PIP and Adult Disability Payment rows now move to the household members WHOREC names when it names anyone other than the row's own person, split evenly between two or more (María's ruling of 2026-11-10). Rows naming nobody, only their own person or someone outside the household stay where they are. DLA for children in England and Wales already sits on the child's own row. The stage's checkpoint evidence counts the moved rows in rounded counts and support bands.
1 change: 1 addition & 0 deletions changelog.d/1095-uk-dwp-carer-element.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DWP's record of the Universal Credit carer element now decides carer status on linked claims (B3 of the November event-data plan's PR3, microcosm#1095; María's ruling of 2026-11-11). On the FRS's linked UC claims, the build held a carer on about seven in ten claims whose award DWP records with a carer element; of those it missed, about four in five recorded no care at all and most others care below 35 hours. DWP pays the element only for caring at least 35 hours a week for a severely disabled person, so where no claimant or partner of such a claim reports 35 or more care hours or Carer's Allowance, `frs_spine` gives 35 care hours, the lower edge of the first band at that line, to the claimant or partner who reports more care hours, or to the UC row's person on a tie. On a claim DWP also records with the LCWRA element, a carer with LCWRA gets only that element (UC Regs 2013 reg. 29(4)), so the carer isn't the claimant who holds it: one whom the LCWRA proxy flags (`is_disabled_for_benefits`, unless their own ESA award lacks the support component, as policyengine-uk's formula reads it, and as Y1 keeps it on such a claim) is passed over while another isn't (Vahid's review of microcosm#1583, Should 2; María's decision of 2026-11-12). Then `frs_disability` holds the claim's carers at the line caring for a severely disabled person whatever the care tab says. Claims without a linked record, and every other person, keep the survey's answers. Both stages' receipts count the people moved in rounded counts and support bands, with the raises that go to the partner of the UC row's person and the LCWRA claims where the proxy moves the raise or flags every claimant.
10 changes: 10 additions & 0 deletions changelog.d/1095-uk-feed-repin-81caed75.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
The UK Chronicle feed is re-pinned to 81caed75, Chronicle main after PolicyEngine/chronicle#436 (2,094,003 rows; 8045b13: 2,091,616), for PR3 of the November event-data plan (microcosm#1095).

**What it adds.** PolicyEngine/chronicle#436 adds Scotland's second homes and empty dwellings, QEP payment methods, council tax Bands I and J and £1m sales. PR3 reads:
- the Scottish Government's counts at September 2024 of Scotland's chargeable dwellings (2,602,545), second homes (21,606) and empty homes liable for council tax (43,538), which B11's main-residence share reads from the vendored `scotgov_band_d_liability_facts.json`;
- Great Britain's paid and nil LCWRA households for each month of 2025, which B3's joint fit reads from the new vendored `dwp_uc_lcwra_households_facts.json`.

**What moves.**
- Those two are the only vendored resources whose content moves. Every other resource changes only its pin stamps, and the DESNZ constituency resource keeps the same 2,526 values.
- The national references and membership gain the 13 rows PR3 adds: 1,710 active references for 591 contract targets. The national compile-parity receipt lists them as ledger-only, and no other target's compiled value moves.
- The local references and membership change only their feed label, and the local census and the release input coverage manifest only their source digests.
1 change: 1 addition & 0 deletions changelog.d/1095-uk-paye-rti-employees-by-age.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Two measured diagnostics follow the employee base of the employer NICs relief for employees under 21 (B1 of the November event-data plan's PR3, microcosm#1095): ONS and HMRC's PAYE Real Time Information payrolled employees aged 0 to 17 and 18 to 24, each month's average averaged over 2025 (PolicyEngine/chronicle#420 item 4), against the people of those ages with employment income in the year. At 2024-25 rules the build's under-21 relief sits within 4 percent of HMRC's outturn, so the base is not bound; the rows are held out of the solve, and read high by the turnover of young people's jobs. The table publishes no split at 21.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The UK national calibration now binds DWP's PIP cases with entitlement in England in five broad age bands (B2 of the November event-data plan's PR3, microcosm#1095; María's call of 11 November 2026): 16 to 24, 25 to 34, 35 to 49, 50 to 64, and 65 and over, each the sum of DWP's published bands at the four quarter-ends of 2025, averaged (Stat-Xplore PIP cases with entitlement, PolicyEngine/chronicle#420 item 6). The model counts people with a PIP award.

At the spine's design weights every band starts 7% to 26% short. In a measurement-only variant on the same spine, binding the five bands kept every gate passing and the weight fence within its limit, moved no other row by more than 2 points, and landed each band within 0.2%.

- DWP's thirteen published England bands stay held out, now as checks on the split within the broad bands: that split follows the survey's ages, which no weight can move without moving the broad band. Their restated exclusion reason carries María's signature of 11 November 2026. Wales's rows and every other PIP breakdown keep P3's reason.
- uk-data binds no PIP row by age, so the five rows are unmapped declarations in the registry parity.
1 change: 1 addition & 0 deletions changelog.d/1095-uk-pip-points-receipt-weights.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The `pip_points` stage receipt now says that `recipients_by_country` counts recipients at the spine's weights at that stage, before calibration (B12 of the November event-data plan's PR3, microcosm#1095, from Vahid's second review of microcosm#1550). To net Adult Disability Payment and Northern Ireland PIP recipients out of a release at its calibrated weights, filter the release on `region` rather than lift the receipt's counts.
9 changes: 9 additions & 0 deletions changelog.d/1095-uk-scottish-main-residence-share.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
`frs_council_tax` now nets Scotland's second homes and liable empty homes out of the level it scales the Scottish council tax bills to (B11 of the November event-data plan's PR3, microcosm#1095; Vahid's second review of microcosm#1550, Should 2; María's signature of 11 November 2026).

S2(a) levelled the bills to the 2024-25 liability of every chargeable dwelling: CTAXBASE 2025's Band D equivalents before council tax reduction at September 2024 times CTAS 2026's average Band D, about £3.39bn. That liability includes 21,606 second homes and 43,538 empty homes liable for council tax (empty more than 6 months) at September 2024, which no FRS household occupies (Scottish Government, Second Homes and Empty Properties in September 2025, from the councils' CTAXBASE returns, packaged in PolicyEngine/chronicle#436).

The level is now the liability times Scotland's main-residence share at September 2024: one less those 65,144 dwellings over CTAXBASE 2024's 2,602,545 chargeable dwellings, 97.5%. The level falls by 2.5%, to about £3.31bn, and the factor on every Scottish household's `council_tax` falls with it.

- The share is in dwellings, since no published table splits Band D equivalents by class. It nets out less than these dwellings' whole liability: councils can charge second homes and long-term empty homes a premium of up to double the rate, and homes empty 6 months or less, which are also liable, are not counted.
- The vendored `scotgov_band_d_liability_facts.json` gains Scotland's three counts, and the stage verifies them against the pin with its Band D facts. The stage receipt records the counts, the share, and the level before and after the netting.
- `obr.council_tax`'s netting (D14f) still applies England's share of main residences to the whole of Great Britain's line. Taking each nation's own share is a later option.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Two national rows from Social Security Scotland's caseload statistics (PolicyEngine/chronicle#420 item 7) join the contract as measured diagnostics (B10 of the November event-data plan's PR3, microcosm#1095; María's signature of 12 November 2026): `scotgov.adp.caseload_scotland`, against people in Scottish households with `pip` above zero (the spine reads Adult Disability Payment as PIP), and `scotgov.carer_support_payment.in_payment_scotland`, against carers with `carer_support_payment` above zero. Each takes the mean of the month-end caseloads from July to December 2025, after the case transfers from DWP finished. Two signed exclusions hold them out of the solve. Adult Disability Payment and Carer Support Payment are not calibrated to Social Security Scotland: the data hold about a third fewer Scottish recipients than its caseloads, and binding the spending would stretch those households' weights beyond the build's limit (P4 of the plan).
1 change: 1 addition & 0 deletions changelog.d/1095-uk-severe-disability-flag.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The UK build no longer stores `is_severely_disabled_for_benefits`, the tax credit severe disability condition, and leaves it to policyengine-uk's formula (A4 of the November event-data plan's PR3, microcosm#1095; María's signature of 2026-11-11). The formula reads the DLA care, PIP daily living and Attendance Allowance categories the build stores, and Armed Forces Independence Payment, which the build never writes, so on the stored categories it is the condition `frs_disability` used to store. A stored copy overrode the formula in every projected year, so a change to PIP's points thresholds never reached the tax credit severe disability elements or the working-age council tax reduction's child amounts. `frs_disability`, the SPI income chain and `spi_benefit_coherence` stop writing it, the release and calibration boundaries drop a stored copy should one appear, and the eFRS parity register, the release input coverage manifest and the export gate list it as formula-owned.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Four measured diagnostics split DWP's people on Universal Credit aged 16 to 21 and 22 to 24 by conditionality regime (B5 of the November event-data plan's PR3, microcosm#1095; María's signature of 12 November 2026), from Stat-Xplore's People on Universal Credit by age and conditionality regime (PolicyEngine/chronicle#420 item 3) at the four quarterly points of 2025. policyengine-uk's `uc_work_related_group_apart_from_earnings` leaves out the earnings rules that move earners into DWP's "Working – no requirements" regime, so the split has two groups: "No work requirements" against the model's NO_REQUIREMENTS, and every other regime against every other value. Each pair adds to its bound age row. The rows are held out of the solve: the model's NO_REQUIREMENTS group runs low, since the build writes none of the pregnancy, adoption, student and foster inputs and policyengine-uk models no students under regulation 14. No 16 to 17 row and no 18 to 21 or 18 to 24 regime row exists, so the 16 to 17 count is never shown alone or by difference.
13 changes: 13 additions & 0 deletions changelog.d/1095-uk-uc-take-up-lcwra-fit.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
The UK spine's Universal Credit take-up redraw (`uc_take_up`, microcosm#1334) now fits the households paid the limited capability for work and work-related activity (LCWRA) element, jointly with the age fit (B3 of the November event-data plan's PR3, microcosm#1095; María's choices of 11 November 2026).

At the spine's design weights the households paid the LCWRA element started about a quarter below DWP's count, and Y1 showed the gap is take-up, not the limited capability flags. The stage's one engine materialization now also returns `uc_LCWRA_element` on the temporary copy where every unit claims, so a unit has the element where its award would include it.

Within each pool, a drawn unit's claim odds are the pool's base odds times each ratio that applies: the age fit's for a unit with a claimant or partner aged 16 to 24, and a second ratio for a unit with the element. A young unit with the element takes both, and the four groups' rates together still realize the pool's count, each in the order of the uniform. The two ratios are solved in turn over Great Britain, at the stage's household weights, each with the other held, until neither ratio's log moves by more than 0.0001 (at most eight rounds). They aim at DWP's young people count and at DWP Stat-Xplore's Households on Universal Credit with the LCWRA element, paid (Payment Indicator Yes), January to December 2025 and averaged: 2,272,425, the value the bound `dwp.uc.households_lcwra_element` row compiles. Where no ratio reaches its count, it holds at the nearer end of its range and the receipt says so.

A shortfall that a pool passes to its neighbours now fills only drawn units with neither a young claimant or partner nor the element, so a passed shortfall moves neither count.

- The facts are vendored from the pinned feed into `dwp_uc_lcwra_households_facts.json`: Great Britain's LCWRA rows, paid and nil awards, of the twelve monthly record sets, which the stage verifies against the pin.
- The stage receipt's `lcwra_fit` block records the rule, DWP's count, the LCWRA households before and after the fit, the support bands and the ratio, withheld where fewer than three source households carry the drawn units with the element.
- The manifest declares the new artifact, its verify operation, `uc_LCWRA_element` among the materialized predictors, and three new keys on `assign_award_band_take_up_residual` (`lcwra_units`, `lcwra_targets`, `lcwra_fit`), which the sources schema now carries.
- Each pool's own count is unchanged. Fixed claims (units that report Universal Credit, and units moved off or kept on their legacy benefits) keep their claims whatever the ratios, so the LCWRA count can stay off DWP's at the spine's design weights. The calibration still binds `dwp.uc.households_lcwra_element`.
- The carer element has no ratio for now. B3's carer part takes carer status from DWP's record of the element on linked claims, and whether the carer element also needs a ratio is read on the combined arm.
20 changes: 20 additions & 0 deletions docs/uk-chronicle-feed-repin.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,3 +483,23 @@ consumer-artifact step, and the regeneration ran its Python steps the same way:
row in memory (about 50 GB footprint for the artifact), and the collector's passes over the
swapped heap stalled the first artifact run for an hour. The rows are acyclic, so the outputs are
the same.

The `81caed75` re-pin (PR3 of the November event-data plan, microcosm#1095) is Chronicle main
after PolicyEngine/chronicle#436, which adds Scotland's second homes and empty dwellings, QEP
payment methods, council tax Bands I and J and £1m sales (2,094,003 rows, under the same row
contract). Two vendored resources move content. `scotgov_band_d_liability_facts.json` gains the
Scottish Government's counts at September 2024 of Scotland's chargeable dwellings (2,602,545),
second homes (21,606) and empty homes liable for council tax (43,538), which B11's
main-residence share reads. The new `dwp_uc_lcwra_households_facts.json` holds Great Britain's
paid and nil LCWRA households for each month of 2025, which B3's joint fit reads, and the country
package declares it. Every other vendored resource changes only its pin stamps, and the DESNZ
constituency resource keeps the same 2,526 values, with new input digests.

The national references and membership gain the 13 rows PR3 adds (1,710 active references for
591 contract targets), and the national compile-parity receipt lists them as ledger-only. No
other target's compiled value moves, so the feed changes nothing outside PR3's items. The local
references and membership change only their feed label, and the local census and the release
input coverage manifest only their source digests. The charter-H2 fixture moves the stage
contract hashes of the stages that read A3's care tab, A3 (f)'s UC carer element column and B3's
resource, and regenerates byte-identically. The high-value home stock's feed inputs pass on the
new pin, so it was not rebuilt.
Original file line number Diff line number Diff line change
Expand Up @@ -7176,7 +7176,10 @@
"not_drawn",
"young_people",
"age_targets",
"age_fit"
"age_fit",
"lcwra_units",
"lcwra_targets",
"lcwra_fit"
],
"properties": {
"kind": {
Expand Down Expand Up @@ -7248,6 +7251,15 @@
},
"age_fit": {
"type": "string"
},
"lcwra_units": {
"type": "string"
},
"lcwra_targets": {
"type": "string"
},
"lcwra_fit": {
"type": "string"
}
}
},
Expand Down
Loading
Loading