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
9 changes: 9 additions & 0 deletions changelog.d/uk-centax-childcare-parent-targets.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The UK national line now calibrates parents of 3- and 4-year-olds to CenTax's HMRC tabulations of their incomes (microcosm#1399, for the £100k childcare costing in scorecard#207).

**A derived national target family, `centax_childcare_parents`.** `tools/build_uk_centax_childcare_parent_facts.py` checks CenTax's data for the charts of Advani, Flew, Pepin-Hall and Summers (2026), *Removing the £100,000 childcare cliff-edge*, against its Chronicle registration (`centax-childcare-cliff-edge-2026`, raw only), reads Figures 3.1, 3.6 and 3.7, and writes five counts at England grain to `uk/centax_childcare_parent_facts.json`: three adjusted net income bands that partition (£50k, £200k] in 2021-22 pounds, and two splits of (£80k, £150k] (women and London). Each count is CenTax's published share of the parents in (£50k, £200k] times the baseline build's own parents in that range, so the targets set the shape of the distribution above £50k and leave its level where the baseline put it. The edges are aged to the calibration year by the OBR average earnings index policyengine-uk carries. Five contract targets (`microcosm.centax_childcare_parents.*`) bind them on the national line only. CenTax's model outputs (bunching estimates, frictions, elasticities, marginal bunchers and costs) are never targets.

**Two person measures.** `centax_parent_of_eligible_3_4_year_old` marks the adults of a benefit unit with a dependent child in England of DfE age 3 to 5 who is before school in at least one of the year's terms, on the DfE age and term share `uk_runtime/dfe_spring_term.py` reads. `centax_employment_main_income_source`, which the diagnostic reads, marks people whose year's pay plus taxable benefits in kind is positive and at least every other component of the year's adjusted net income. The resolver also computes `adjusted_net_income_annual` on the annual-income simulation.

**The derived-facts loader.** `uk_runtime/derived_facts.py` reads the CenTax cells beside the high-value home stock and DESNZ's constituency energy at every compile site (the full and national target inputs, the release-cut certifier, the compile-parity receipts, the UC matrix diagnostic and the incumbent surface evaluation), and the target-input receipts name each resource. `tools/generate_uk_target_references.py` streams the feed line by line instead of holding its text.

**A diagnostic.** `tools/diagnose_uk_centax_parents.py` reports each cell's fit and support on a national H5; the cells kept as diagnostics (the band up to £50k, with its parents who have no pay, profit or private pension in the year; the region groups outside London with the East of England in either; and the parents whose main income source is not employment, too thinly supported to bind); the drift of the H5's parents in (£50k, £200k] from the resource's; and, from the registered workbook, CenTax's own figures for those cells, Table A.1's levels and Figure 3.12.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,11 @@
"kind": "legacy_json",
"schema_id": "legacy_json"
},
{
"path": "centax_childcare_parent_facts.json",
"kind": "legacy_json",
"schema_id": "legacy_json"
},
{
"path": "high_value_home_value_knots.json",
"kind": "legacy_json",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"compiled_count": 1714,
"compiled_count": 1719,
"counts_by_kind": {
"calibration_drift": 564,
"fixture_only": 44,
"ledger_only": 1121
"ledger_only": 1126
},
"difference_count": 1729,
"difference_count": 1734,
"differences": [
{
"fixture_value": 1608000.0,
Expand Down Expand Up @@ -6370,6 +6370,41 @@
"period": 2025,
"reason": "Ledger-compiled row has no fixture counterpart at this comparison period."
},
{
"kind": "ledger_only",
"ledger_value": 34514.959,
"name": "microcosm.centax_childcare_parents.ani_120k_to_200k",
"period": 2025,
"reason": "ledger_only by construction: the row is a Microcosm-derived count of parents of age-eligible 3- and 4-year-olds in England in one adjusted net income cell: CenTax's share of HMRC's 2021-22 tabulation (Advani, Flew, Pepin-Hall and Summers 2026, Figures 3.1, 3.3, 3.6 and 3.7) times the baseline build's own parents (uk/centax_childcare_parent_facts.json), compiled beside the Chronicle feed. The incumbent registry carries no such row, so the difference is the derived target itself. The rows bind on the national line only (calibration_lines; microcosm#1399)."
},
{
"kind": "ledger_only",
"ledger_value": 205212.584,
"name": "microcosm.centax_childcare_parents.ani_50k_to_80k",
"period": 2025,
"reason": "ledger_only by construction: the row is a Microcosm-derived count of parents of age-eligible 3- and 4-year-olds in England in one adjusted net income cell: CenTax's share of HMRC's 2021-22 tabulation (Advani, Flew, Pepin-Hall and Summers 2026, Figures 3.1, 3.3, 3.6 and 3.7) times the baseline build's own parents (uk/centax_childcare_parent_facts.json), compiled beside the Chronicle feed. The incumbent registry carries no such row, so the difference is the derived target itself. The rows bind on the national line only (calibration_lines; microcosm#1399)."
},
{
"kind": "ledger_only",
"ledger_value": 78751.175,
"name": "microcosm.centax_childcare_parents.ani_80k_to_120k",
"period": 2025,
"reason": "ledger_only by construction: the row is a Microcosm-derived count of parents of age-eligible 3- and 4-year-olds in England in one adjusted net income cell: CenTax's share of HMRC's 2021-22 tabulation (Advani, Flew, Pepin-Hall and Summers 2026, Figures 3.1, 3.3, 3.6 and 3.7) times the baseline build's own parents (uk/centax_childcare_parent_facts.json), compiled beside the Chronicle feed. The incumbent registry carries no such row, so the difference is the derived target itself. The rows bind on the national line only (calibration_lines; microcosm#1399)."
},
{
"kind": "ledger_only",
"ledger_value": 26055.201,
"name": "microcosm.centax_childcare_parents.female_ani_80k_to_150k",
"period": 2025,
"reason": "ledger_only by construction: the row is a Microcosm-derived count of parents of age-eligible 3- and 4-year-olds in England in one adjusted net income cell: CenTax's share of HMRC's 2021-22 tabulation (Advani, Flew, Pepin-Hall and Summers 2026, Figures 3.1, 3.3, 3.6 and 3.7) times the baseline build's own parents (uk/centax_childcare_parent_facts.json), compiled beside the Chronicle feed. The incumbent registry carries no such row, so the difference is the derived target itself. The rows bind on the national line only (calibration_lines; microcosm#1399)."
},
{
"kind": "ledger_only",
"ledger_value": 28047.888,
"name": "microcosm.centax_childcare_parents.london_ani_80k_to_150k",
"period": 2025,
"reason": "ledger_only by construction: the row is a Microcosm-derived count of parents of age-eligible 3- and 4-year-olds in England in one adjusted net income cell: CenTax's share of HMRC's 2021-22 tabulation (Advani, Flew, Pepin-Hall and Summers 2026, Figures 3.1, 3.3, 3.6 and 3.7) times the baseline build's own parents (uk/centax_childcare_parent_facts.json), compiled beside the Chronicle feed. The incumbent registry carries no such row, so the difference is the derived target itself. The rows bind on the national line only (calibration_lines; microcosm#1399)."
},
{
"kind": "ledger_only",
"ledger_value": 492.631,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"source_fact_feed": "chronicle-uk-15040ea-consumer-facts",
"target_period": 2025,
"candidate_count": 1751,
"contract_target_count": 595,
"active_reference_count": 1714,
"candidate_count": 1756,
"contract_target_count": 600,
"active_reference_count": 1719,
"status_counts": {
"active": 1714,
"active": 1719,
"signed_excluded": 37
},
"geography_pins": {
Expand Down Expand Up @@ -5874,6 +5874,26 @@
"ons.paye_rti.pay_aged_18_to_24": {
"geography_level": "country",
"geography_id": "K02000001"
},
"microcosm.centax_childcare_parents.ani_50k_to_80k": {
"geography_level": "country",
"geography_id": "E92000001"
},
"microcosm.centax_childcare_parents.ani_80k_to_120k": {
"geography_level": "country",
"geography_id": "E92000001"
},
"microcosm.centax_childcare_parents.ani_120k_to_200k": {
"geography_level": "country",
"geography_id": "E92000001"
},
"microcosm.centax_childcare_parents.female_ani_80k_to_150k": {
"geography_level": "country",
"geography_id": "E92000001"
},
"microcosm.centax_childcare_parents.london_ani_80k_to_150k": {
"geography_level": "country",
"geography_id": "E92000001"
}
},
"genuine_sum_residue": [
Expand Down Expand Up @@ -37984,6 +38004,81 @@
"resolved_fact_key": "ledger_aggregate_fact_v2_9e20bbd11c08e48d759e07de"
}
]
},
"microcosm.centax_childcare_parents.ani_50k_to_80k": {
"status": "active",
"candidates": [
{
"name": "microcosm.centax_childcare_parents.ani_50k_to_80k",
"status": "active",
"matched_fact_count_overall": 1,
"matched_fact_count_at_or_before_period": 1,
"resolved_period": 2025,
"resolved_value": 205212.584,
"resolved_fact_period": "2025",
"resolved_fact_key": "microcosm_derived_fact_centax_childcare_parents_v1_d0a4f4a79c439e3222f10172"
}
]
},
"microcosm.centax_childcare_parents.ani_80k_to_120k": {
"status": "active",
"candidates": [
{
"name": "microcosm.centax_childcare_parents.ani_80k_to_120k",
"status": "active",
"matched_fact_count_overall": 1,
"matched_fact_count_at_or_before_period": 1,
"resolved_period": 2025,
"resolved_value": 78751.175,
"resolved_fact_period": "2025",
"resolved_fact_key": "microcosm_derived_fact_centax_childcare_parents_v1_0bbe969a4232bd47960ab374"
}
]
},
"microcosm.centax_childcare_parents.ani_120k_to_200k": {
"status": "active",
"candidates": [
{
"name": "microcosm.centax_childcare_parents.ani_120k_to_200k",
"status": "active",
"matched_fact_count_overall": 1,
"matched_fact_count_at_or_before_period": 1,
"resolved_period": 2025,
"resolved_value": 34514.959,
"resolved_fact_period": "2025",
"resolved_fact_key": "microcosm_derived_fact_centax_childcare_parents_v1_c230adc0ce149f0b98da6684"
}
]
},
"microcosm.centax_childcare_parents.female_ani_80k_to_150k": {
"status": "active",
"candidates": [
{
"name": "microcosm.centax_childcare_parents.female_ani_80k_to_150k",
"status": "active",
"matched_fact_count_overall": 1,
"matched_fact_count_at_or_before_period": 1,
"resolved_period": 2025,
"resolved_value": 26055.201,
"resolved_fact_period": "2025",
"resolved_fact_key": "microcosm_derived_fact_centax_childcare_parents_v1_a46422479b671c651ef9950e"
}
]
},
"microcosm.centax_childcare_parents.london_ani_80k_to_150k": {
"status": "active",
"candidates": [
{
"name": "microcosm.centax_childcare_parents.london_ani_80k_to_150k",
"status": "active",
"matched_fact_count_overall": 1,
"matched_fact_count_at_or_before_period": 1,
"resolved_period": 2025,
"resolved_value": 28047.888,
"resolved_fact_period": "2025",
"resolved_fact_key": "microcosm_derived_fact_centax_childcare_parents_v1_a6af4be857b390dc38982965"
}
]
}
},
"fanout_family_outcomes": [
Expand Down Expand Up @@ -38126,6 +38221,12 @@
"rows": 5430,
"rows_sha256": "65e09bc52c4719cd58bc47fc98be9204d6bf9cabd5808cbbb17703f49c732262",
"inputs_sha256": "41c4f1595befe47a299aa03c803f8539e2406750ab8a312e469affdc7d4990fa"
},
{
"resource": "centax_childcare_parent_facts.json",
"rows": 5,
"rows_sha256": "97c7b47a5667b9e262bcb0e063b38b27cdd9699c94cb498e7e88fe8f0428333e",
"inputs_sha256": "f6539c0a353ad60d95874f453b7e66e062663010255aa21b1852f1ea4c6ec860"
}
]
}
109 changes: 109 additions & 0 deletions packages/microcosm-build/src/microcosm/build/uk/target_references.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@
"hmrc.benefits_in_kind": {
"provider_id": "hmrc",
"label": "Benefits in kind"
},
"microcosm.centax_childcare_parents": {
"provider_id": "microcosm",
"label": "Parents of 3- and 4-year-olds by income (CenTax)"
}
},
"target_categories": {
Expand Down Expand Up @@ -609,6 +613,11 @@
"mhclg.council_tax_stock.band_h": "mhclg.council_tax_stock",
"mhclg.council_tax_stock.single_adult_discount": "mhclg.council_tax_stock",
"mhclg.council_tax_stock.total": "mhclg.council_tax_stock",
"microcosm.centax_childcare_parents.ani_120k_to_200k": "microcosm.centax_childcare_parents",
"microcosm.centax_childcare_parents.ani_50k_to_80k": "microcosm.centax_childcare_parents",
"microcosm.centax_childcare_parents.ani_80k_to_120k": "microcosm.centax_childcare_parents",
"microcosm.centax_childcare_parents.female_ani_80k_to_150k": "microcosm.centax_childcare_parents",
"microcosm.centax_childcare_parents.london_ani_80k_to_150k": "microcosm.centax_childcare_parents",
"microcosm.high_value_homes.over_1_5m_by_region": "microcosm.high_value_homes",
"microcosm.high_value_homes.over_1m_by_region": "microcosm.high_value_homes",
"microcosm.high_value_homes.over_2m_by_region": "microcosm.high_value_homes",
Expand Down Expand Up @@ -1199,6 +1208,11 @@
"mhclg.council_tax_stock.band_h": "Band h",
"mhclg.council_tax_stock.single_adult_discount": "Single adult discount",
"mhclg.council_tax_stock.total": "Total",
"microcosm.centax_childcare_parents.ani_120k_to_200k": "Parents of age-eligible 3- and 4-year-olds, ANI over \u00a3120,000 to \u00a3200,000 (2021-22 pounds)",
"microcosm.centax_childcare_parents.ani_50k_to_80k": "Parents of age-eligible 3- and 4-year-olds, ANI over \u00a350,000 to \u00a380,000 (2021-22 pounds)",
"microcosm.centax_childcare_parents.ani_80k_to_120k": "Parents of age-eligible 3- and 4-year-olds, ANI over \u00a380,000 to \u00a3120,000 (2021-22 pounds)",
"microcosm.centax_childcare_parents.female_ani_80k_to_150k": "Parents of age-eligible 3- and 4-year-olds, women, ANI over \u00a380,000 to \u00a3150,000 (2021-22 pounds)",
"microcosm.centax_childcare_parents.london_ani_80k_to_150k": "Parents of age-eligible 3- and 4-year-olds, London, ANI over \u00a380,000 to \u00a3150,000 (2021-22 pounds)",
"microcosm.high_value_homes.over_1_5m_by_region": "Owner-occupied homes valued over \u00a31.5 million by region",
"microcosm.high_value_homes.over_1m_by_region": "Owner-occupied homes valued over \u00a31 million by region",
"microcosm.high_value_homes.over_2m_by_region": "Owner-occupied homes valued over \u00a32 million by region",
Expand Down Expand Up @@ -60935,6 +60949,101 @@
"period_factor": 12
}
]
},
{
"name": "microcosm.centax_childcare_parents.ani_50k_to_80k",
"ledger_selector": {
"source_name": "microcosm",
"source_measure_id": "parents_of_eligible_3_4_year_olds",
"record_set_spec_id": "uk.centax_childcare_parents.ani_50k_to_80k.v1",
"geography_level": "country",
"geography_id": "E92000001"
},
"entity": "person",
"measure": "microcosm/centax_childcare_parents/ani_50k_to_80k",
"family": "centax_childcare_parents",
"period": 2025,
"metadata": {
"contract_target_id": "microcosm.centax_childcare_parents.ani_50k_to_80k",
"measure_kind": "prepared_column",
"observation_basis": "fiscal_year_flow"
}
},
{
"name": "microcosm.centax_childcare_parents.ani_80k_to_120k",
"ledger_selector": {
"source_name": "microcosm",
"source_measure_id": "parents_of_eligible_3_4_year_olds",
"record_set_spec_id": "uk.centax_childcare_parents.ani_80k_to_120k.v1",
"geography_level": "country",
"geography_id": "E92000001"
},
"entity": "person",
"measure": "microcosm/centax_childcare_parents/ani_80k_to_120k",
"family": "centax_childcare_parents",
"period": 2025,
"metadata": {
"contract_target_id": "microcosm.centax_childcare_parents.ani_80k_to_120k",
"measure_kind": "prepared_column",
"observation_basis": "fiscal_year_flow"
}
},
{
"name": "microcosm.centax_childcare_parents.ani_120k_to_200k",
"ledger_selector": {
"source_name": "microcosm",
"source_measure_id": "parents_of_eligible_3_4_year_olds",
"record_set_spec_id": "uk.centax_childcare_parents.ani_120k_to_200k.v1",
"geography_level": "country",
"geography_id": "E92000001"
},
"entity": "person",
"measure": "microcosm/centax_childcare_parents/ani_120k_to_200k",
"family": "centax_childcare_parents",
"period": 2025,
"metadata": {
"contract_target_id": "microcosm.centax_childcare_parents.ani_120k_to_200k",
"measure_kind": "prepared_column",
"observation_basis": "fiscal_year_flow"
}
},
{
"name": "microcosm.centax_childcare_parents.female_ani_80k_to_150k",
"ledger_selector": {
"source_name": "microcosm",
"source_measure_id": "parents_of_eligible_3_4_year_olds",
"record_set_spec_id": "uk.centax_childcare_parents.female_ani_80k_to_150k.v1",
"geography_level": "country",
"geography_id": "E92000001"
},
"entity": "person",
"measure": "microcosm/centax_childcare_parents/female_ani_80k_to_150k",
"family": "centax_childcare_parents",
"period": 2025,
"metadata": {
"contract_target_id": "microcosm.centax_childcare_parents.female_ani_80k_to_150k",
"measure_kind": "prepared_column",
"observation_basis": "fiscal_year_flow"
}
},
{
"name": "microcosm.centax_childcare_parents.london_ani_80k_to_150k",
"ledger_selector": {
"source_name": "microcosm",
"source_measure_id": "parents_of_eligible_3_4_year_olds",
"record_set_spec_id": "uk.centax_childcare_parents.london_ani_80k_to_150k.v1",
"geography_level": "country",
"geography_id": "E92000001"
},
"entity": "person",
"measure": "microcosm/centax_childcare_parents/london_ani_80k_to_150k",
"family": "centax_childcare_parents",
"period": 2025,
"metadata": {
"contract_target_id": "microcosm.centax_childcare_parents.london_ani_80k_to_150k",
"measure_kind": "prepared_column",
"observation_basis": "fiscal_year_flow"
}
}
]
}
Loading
Loading