From 41c3ca417c823c2d4fbc9e7d3a182a7dbcb3c2bc Mon Sep 17 00:00:00 2001 From: Anthony Volk <14987227+anth-volk@users.noreply.github.com> Date: Fri, 4 Dec 2026 20:50:02 +0400 Subject: [PATCH 1/8] Add failing tests for removing the UK qualification pipeline New tests require that the modules, script, ledger helper and data files only certify-uk-release.yaml used are gone, that certification names the compatibility check instead of qualification, that certify-data no longer takes --qualified-pair-id, and that loading a bundle whose certificate is on the retired qualified_exact_pair basis is refused. tests/test_release_consumers.py requires scripts/release_consumers.py to build the policyengine-release dispatch and the scorecard's released-bundle request itself, printing exactly the documents the old builders printed (written to tests/fixtures/release_consumers/ by the unchanged code). Existing tests that used a qualified-pair certificate as their default now use the built_with_model_package certificate real bundles carry, or a compatibility-checked certificate with its record where they test the exact-pair refusals. Co-Authored-By: Claude Opus 5.5 --- .../release_consumers/expected_payload.json | 21 + .../expected_scorecard_request.json | 66 +++ .../microcosm_routed_bundle.json | 392 +++++++++++++ .../uk_data_line_bundle.json | 339 +++++++++++ tests/test_local_data_manifest.py | 107 +++- tests/test_release_build_folders.py | 21 +- tests/test_release_consumers.py | 547 ++++++++++++++++++ tests/test_retired_uk_qualification.py | 262 +++++++++ 8 files changed, 1722 insertions(+), 33 deletions(-) create mode 100644 tests/fixtures/release_consumers/expected_payload.json create mode 100644 tests/fixtures/release_consumers/expected_scorecard_request.json create mode 100644 tests/fixtures/release_consumers/microcosm_routed_bundle.json create mode 100644 tests/fixtures/release_consumers/uk_data_line_bundle.json create mode 100644 tests/test_release_consumers.py create mode 100644 tests/test_retired_uk_qualification.py diff --git a/tests/fixtures/release_consumers/expected_payload.json b/tests/fixtures/release_consumers/expected_payload.json new file mode 100644 index 000000000..bd29ce2da --- /dev/null +++ b/tests/fixtures/release_consumers/expected_payload.json @@ -0,0 +1,21 @@ +{ + "client_payload": { + "bundle": { + "uk": { + "certificate_sha256": "d6e1229d267a88dc70d8e00c9d45dd5de30b12605cbd6ef11935001afb3eba58", + "compatibility_basis": "built_with_model_package", + "core_version": "3.33.3", + "data_release_version": "0.1.0", + "dataset": "microcosm_uk_2024_25", + "dataset_sha256": "810ba980005a8b907cb51464279fa5e0125464b7af9a4871b7f6744c30951ece", + "model_package": "policyengine-uk", + "model_version": "2.132.6", + "model_wheel_sha256": "cc54025f2a3bc54be4f8d024d1e6f11ed29fed75ca513b214f2d2963c5bf4354" + } + }, + "qualification": null, + "release_url": "https://github.com/PolicyEngine/policyengine.py/releases/tag/6.9.0", + "version": "6.9.0" + }, + "event_type": "policyengine-release" +} diff --git a/tests/fixtures/release_consumers/expected_scorecard_request.json b/tests/fixtures/release_consumers/expected_scorecard_request.json new file mode 100644 index 000000000..274c377c2 --- /dev/null +++ b/tests/fixtures/release_consumers/expected_scorecard_request.json @@ -0,0 +1,66 @@ +{ + "client_payload": { + "request": { + "attempt": 1, + "candidate": { + "data": { + "build_id": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "dataset": "microcosm_uk_2024_25", + "path": "microcosm_uk_2024_25.h5", + "release_manifest_sha256": "71227eda4b3add04acc43e8d45df1360794c0e3ebb9ff53830259d9005fb0f71", + "repo_id": "policyengine/populace-uk-private", + "repo_type": "dataset", + "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "sha256": "810ba980005a8b907cb51464279fa5e0125464b7af9a4871b7f6744c30951ece", + "size_bytes": 321798995 + }, + "expected_release_bundle": { + "bundle_id": "uk-6.2.6", + "certified_by": "policyengine.py bundle certification", + "certified_data_artifact_sha256": "5ba399ea5ab9a6c7d4e9aaf6c623080beb34d9ad5f330f6244dbad72b8d960b6", + "certified_data_build_id": "policyengine-uk-data-1.58.0", + "compatibility_basis": "legacy_compatible_model_package", + "country_id": "uk", + "data_build_fingerprint": "sha256:c094d7006fdd81df220090284212f16bbffb15624643bc442c4bb3e1b1e5dac8", + "data_build_model_git_sha": "4cbedbecca352f52dffe47e849553c2759a00711", + "data_build_model_version": "2.122.2", + "data_package": "policyengine-uk-data", + "data_version": "1.58.0", + "default_dataset": "enhanced_frs_2024_25", + "default_dataset_uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.0", + "model_package": "policyengine-uk", + "model_version": "2.125.1", + "policyengine_version": "6.2.6" + }, + "policyengine": { + "packaged_bundle_manifest_sha256": "6bbbfdfb433a5d8de4b1110238311338fd0425d92d4b34f06e7f8d3db3001fad", + "source": { + "pypi": { + "wheel_sha256": "7777777777777777777777777777777777777777777777777777777777777777" + } + }, + "version": "6.9.0" + }, + "policyengine_core": { + "version": "3.33.3", + "wheel_sha256": "6666666666666666666666666666666666666666666666666666666666666666" + }, + "policyengine_uk": { + "version": "2.132.6", + "wheel_sha256": "cc54025f2a3bc54be4f8d024d1e6f11ed29fed75ca513b214f2d2963c5bf4354" + } + }, + "compare_to": "latest_certified", + "kind": "released_bundle", + "requested_by": { + "commit": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", + "repository": "PolicyEngine/policyengine.py", + "run_attempt": 2, + "run_url": "https://github.com/PolicyEngine/policyengine.py/actions/runs/5", + "workflow_run_id": 5 + }, + "schema": "policyengine.uk-replay-qualification-request/v1" + } + }, + "event_type": "uk-replay-qualification-request" +} diff --git a/tests/fixtures/release_consumers/microcosm_routed_bundle.json b/tests/fixtures/release_consumers/microcosm_routed_bundle.json new file mode 100644 index 000000000..c6a8eff3d --- /dev/null +++ b/tests/fixtures/release_consumers/microcosm_routed_bundle.json @@ -0,0 +1,392 @@ +{ + "bundle_version": "6.9.0", + "citation": { + "publisher": "PolicyEngine", + "title": "PolicyEngine bundle 6.9.0", + "type": "software-bundle", + "version": "6.9.0" + }, + "countries": { + "uk": { + "model_package": "policyengine-uk" + }, + "us": { + "model_package": "policyengine-us" + } + }, + "data_releases": { + "uk": { + "build_id": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "bundle_id": "uk-6.9.0", + "certification": { + "built_with_model_version": "2.132.6", + "certified_by": "policyengine.py bundle certification", + "certified_for_model_version": "2.132.6", + "compatibility_basis": "built_with_model_package", + "core_binding": "bundle_pin", + "data_build_id": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71" + }, + "certified_data_artifact": { + "build_id": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "data_package": { + "name": "microcosm-data", + "version": "0.1.0" + }, + "dataset": "microcosm_uk_2024_25", + "sha256": "810ba980005a8b907cb51464279fa5e0125464b7af9a4871b7f6744c30951ece", + "uri": "hf://policyengine/populace-uk-private/microcosm_uk_2024_25.h5@microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71" + }, + "country_id": "uk", + "data_package": { + "name": "microcosm-data", + "release_manifest_path": "releases/microcosm-uk-2024-25-national/release_manifest.json", + "release_manifest_revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "repo_id": "policyengine/populace-uk-private", + "repo_type": "dataset", + "version": "0.1.0" + }, + "data_producer": "populace", + "datasets": { + "calibration_diagnostics": { + "path": "releases/microcosm-uk-2024-25-national/calibration_diagnostics.json", + "repo_id": "policyengine/populace-uk-private", + "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "sha256": "34978e2bfde3f2641769c9c3a8f60455c59ecae5a50524b359d74388d7edc888" + }, + "microcosm_uk_2024_25": { + "path": "microcosm_uk_2024_25.h5", + "repo_id": "policyengine/populace-uk-private", + "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "sha256": "810ba980005a8b907cb51464279fa5e0125464b7af9a4871b7f6744c30951ece" + }, + "microcosm_uk_2024_25_calibration": { + "path": "microcosm_uk_2024_25_calibration.npz", + "repo_id": "policyengine/populace-uk-private", + "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "sha256": "104a8253bf1aebc91147c9bbb40e2603d1025317ba8c6b991383d5e4d91852c2" + }, + "microcosm_uk_2024_25_dense": { + "path": "microcosm_uk_2024_25_dense.h5", + "repo_id": "policyengine/populace-uk-private", + "repo_type": "dataset", + "revision": "microcosm-uk-2024-25-dense-20261019T000432Z-ee5c2dbe", + "sha256": "8e10e130d0260e0b52e2e29902f0502ebdff76a14a3e57d2c876bf4cd8db5872" + }, + "release_certification": { + "path": "releases/microcosm-uk-2024-25-national/release_certification.json", + "repo_id": "policyengine/populace-uk-private", + "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "sha256": "6a68cc93595fc5a7ad451d75a902523c25659de27014f50431dd5e19af5bd959" + }, + "release_cut_gates": { + "path": "releases/microcosm-uk-2024-25-national/release_cut_gates.json", + "repo_id": "policyengine/populace-uk-private", + "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "sha256": "c91c1364d9c3be98493039d4e1dd8c2256881a434c1f124dd2ed0701bfaf7751" + }, + "score_vs_enhanced_frs": { + "path": "releases/microcosm-uk-2024-25-national/score_vs_enhanced_frs.json", + "repo_id": "policyengine/populace-uk-private", + "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "sha256": "ba8a675f36e7c836bf5521e5933e21bb689442734b7340e05cabd3e0cc55323d" + }, + "spine_gates": { + "path": "releases/microcosm-uk-2024-25-national/spine_gates.json", + "repo_id": "policyengine/populace-uk-private", + "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "sha256": "6dbba976dd1304c07da531382cecb11c9cb69512de0ee65126b71f032a0f37d6" + }, + "terminal_gates": { + "path": "releases/microcosm-uk-2024-25-national/terminal_gates.json", + "repo_id": "policyengine/populace-uk-private", + "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "sha256": "e29439d5ce0ea098d32579284ac06f26f086feba2fb8d12d1e88ac9a54840808" + } + }, + "default_dataset": "microcosm_uk_2024_25", + "default_dataset_uri": "hf://policyengine/populace-uk-private/microcosm_uk_2024_25.h5@microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71", + "model_package": { + "name": "policyengine-uk", + "sha256": "cc54025f2a3bc54be4f8d024d1e6f11ed29fed75ca513b214f2d2963c5bf4354", + "version": "2.132.6", + "wheel_url": "https://files.pythonhosted.org/packages/11/f2/c003cd7a95cb499737a5b8af0d619ba4e759c8bc7e55a2bb5c7efa46abd1/policyengine_uk-2.132.6-py3-none-any.whl" + }, + "policyengine_version": "6.9.0", + "region_datasets": { + "constituency": { + "path_template": "microcosm_uk_2024_25_dense.h5" + }, + "local_authority": { + "path_template": "microcosm_uk_2024_25_dense.h5" + }, + "national": { + "path_template": "microcosm_uk_2024_25.h5" + } + }, + "regional_release_kind": "local_area", + "regional_release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-dense-20261019T000432Z-ee5c2dbe/releases/microcosm-uk-2024-25-dense/release_manifest.json", + "regional_source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@microcosm-uk-2024-25-dense-20261019T000432Z-ee5c2dbe/releases/microcosm-uk-2024-25-dense/release_manifest.json", + "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71/releases/microcosm-uk-2024-25-national/release_manifest.json", + "schema_version": 1, + "source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71/releases/microcosm-uk-2024-25-national/release_manifest.json", + "version": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71" + }, + "us": { + "build_id": "populace-us-2024-spm-20260915", + "bundle_id": "us-6.9.0", + "certification": { + "built_with_model_version": "2.2.1", + "certified_by": "policyengine.py bundle certification", + "certified_for_model_version": "2.2.1", + "compatibility_basis": "built_with_model_package", + "data_build_id": "populace-us-2024-spm-20260915" + }, + "certified_data_artifact": { + "build_id": "populace-us-2024-spm-20260915", + "data_package": { + "name": "microcosm-data", + "version": "0.1.0" + }, + "dataset": "populace_us_2024", + "sha256": "6496cc4393d4d3c6574f76eca231de5898c803b9067645591fd5c4d3e65aee84", + "uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-spm-20260915" + }, + "country_id": "us", + "data_package": { + "name": "microcosm-data", + "release_manifest_path": "releases/populace-us-2024-spm-20260915/release_manifest.json", + "release_manifest_revision": "populace-us-2024-spm-20260915", + "repo_id": "policyengine/populace-us", + "repo_type": "dataset", + "version": "0.1.0" + }, + "data_producer": "populace", + "datasets": { + "build_manifest": { + "path": "releases/populace-us-2024-spm-20260915/build_manifest.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "f3fd734867324bca7619f5f083a8115e32104bea3948d48723b345cfd39fa03b" + }, + "calibration_diagnostics": { + "path": "releases/populace-us-2024-spm-20260915/calibration_diagnostics.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "870449b44e86b13b25bcea1a57f0e7af37f4d4db18be815eea3acdf9fe6eb40e" + }, + "parent_build_manifest": { + "path": "releases/populace-us-2024-spm-20260915/parent_build_manifest.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "1990e8fd37ce66f499b8e6600c5896701bb07015be132a12de64e321a2edc67e" + }, + "parent_release_manifest": { + "path": "releases/populace-us-2024-spm-20260915/parent_release_manifest.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "dd949ba3c4c7a56aff8442c6db5a031d2c84c3da59f5d14832f468c358604506" + }, + "populace_us_2024": { + "path": "populace_us_2024.h5", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "6496cc4393d4d3c6574f76eca231de5898c803b9067645591fd5c4d3e65aee84" + }, + "populace_us_2024_acs_local": { + "path": "populace_us_2024_acs_local.h5", + "repo_id": "policyengine/populace-us", + "repo_type": "dataset", + "revision": "populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z", + "sha256": "3ce781c440a7f933b1d952ff4e9d9f65f4698c64b94d2fad165af0c662838d6c" + }, + "source_enrichment": { + "path": "releases/populace-us-2024-spm-20260915/source_enrichment.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "85329907b2b9c4299855b0970b1f24ede5819d3b16c312eb7400b4203bd71203" + }, + "source_enrichment_compatibility": { + "path": "releases/populace-us-2024-spm-20260915/source_enrichment_compatibility.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "63109acffd486453c99c476dece6b0154cc5388e5a430830a30744a2249444d1" + }, + "source_spm_independence_provenance": { + "path": "releases/populace-us-2024-spm-20260915/source_spm_independence_provenance.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "265e844178ed3856d68c1638820f3089e0e1e1363aa4677e33bebb37cbd5bff3" + }, + "source_spm_person_independence": { + "path": "releases/populace-us-2024-spm-20260915/source_spm_person_independence.csv", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "22b5968d90fecfeef7614583e493fe10cc16bda8b5be82e6f49a5bc2102d3ce5" + }, + "us_source_coverage": { + "path": "releases/populace-us-2024-spm-20260915/us_source_coverage.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "6406c8686c292015a5bc7265a42402f89935f9395a8b63510efdd4d9562e7ff5" + } + }, + "default_dataset": "populace_us_2024", + "default_dataset_uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-spm-20260915", + "model_package": { + "name": "policyengine-us", + "sha256": "0993a6c73fcdfbe171a796aca9d302741bd8e00ab83388ad81c15a08740318c6", + "version": "2.2.1", + "wheel_url": "https://files.pythonhosted.org/packages/5e/09/86ac3968d2a18e28fce3ba1186fc21728e9f299b96a806d6f204f1e0aaed/policyengine_us-2.2.1-py3-none-any.whl" + }, + "policyengine_version": "6.9.0", + "region_datasets": { + "congressional_district": { + "path_template": "populace_us_2024_acs_local.h5" + }, + "national": { + "path_template": "populace_us_2024.h5" + }, + "state": { + "path_template": "populace_us_2024_acs_local.h5" + } + }, + "regional_release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/releases/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/release_manifest.json", + "regional_source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/releases/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/release_manifest.json", + "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-spm-20260915/releases/populace-us-2024-spm-20260915/release_manifest.json", + "schema_version": 1, + "source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-spm-20260915/releases/populace-us-2024-spm-20260915/release_manifest.json", + "version": "populace-us-2024-spm-20260915" + } + }, + "dataset_overlays": { + "uk": { + "enhanced_frs_2023_24": { + "data_package_name": "policyengine-uk-data", + "path": "enhanced_frs_2023_24.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "repo_type": "model", + "revision": "655dd07e4bb9c777b00dac044949611f1feb824f", + "sha256": "584ae33d80ca0431254610a3f8254d132da73477d31966d6446282861ecae50d" + }, + "enhanced_frs_2024_25": { + "data_package_name": "policyengine-uk-data", + "path": "enhanced_frs_2024_25.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "repo_type": "model", + "revision": "1.58.1", + "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784" + }, + "enhanced_frs_2024_25_tiny": { + "data_package_name": "policyengine-uk-data", + "path": "enhanced_frs_2024_25_tiny.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "repo_type": "model", + "revision": "1.58.1", + "sha256": "d5d2bde80f1f028fec98391ea31bb5a0cf8449e3867fc3c1bfe23693b9faecf8" + }, + "frs_2023_24": { + "data_package_name": "policyengine-uk-data", + "path": "frs_2023_24.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "repo_type": "model", + "revision": "655dd07e4bb9c777b00dac044949611f1feb824f", + "sha256": "df26d4d7af9d164aa2d064181b39290292d2f62bb26fee6126fc095fc06da292" + }, + "frs_2024_25": { + "data_package_name": "policyengine-uk-data", + "path": "frs_2024_25.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "repo_type": "model", + "revision": "1.58.1", + "sha256": "97af00b2cd2739957f40dcc4de8e0383a6a91d47952c90d4b4921a6007bd2021" + }, + "frs_2024_25_tiny": { + "data_package_name": "policyengine-uk-data", + "path": "frs_2024_25_tiny.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "repo_type": "model", + "revision": "1.58.1", + "sha256": "e4d7662cd3f053620224b7ceff17266783f09407002a72633b043b844cec3f5a" + }, + "populace_uk_2023": { + "data_package_name": "populace-data", + "path": "populace_uk_2023.h5", + "repo_id": "policyengine/populace-uk-private", + "repo_type": "dataset", + "revision": "populace-uk-2023-dd68c73-4aa4b14-20260619T023711Z", + "sha256": "f17306ccb2aad7ff0130be3589b560afb2e2a12a943570911cd0c77f07934833" + } + } + }, + "extras": { + "models": [ + "policyengine-core", + "policyengine-us", + "policyengine-uk", + "spm-calculator" + ], + "uk": [ + "policyengine-core", + "policyengine-uk" + ], + "us": [ + "policyengine-core", + "policyengine-us", + "spm-calculator" + ] + }, + "measurements": { + "spm": { + "as_of": null, + "county_vintage": "2020", + "forecast_content_sha256": "3d86d5c4c0423480e6b69b75d222ffa4a7a2639e4094df5ba2504af01be17173", + "geography_id": null, + "geography_kind": "county", + "scenario": "ce_trend" + } + }, + "packages": { + "policyengine": { + "import_name": "policyengine", + "install_requirement": "policyengine==6.9.0", + "name": "policyengine", + "role": "bundle_carrier", + "version": "6.9.0" + }, + "policyengine-core": { + "import_name": "policyengine_core", + "install_requirement": "policyengine-core==3.33.3", + "name": "policyengine-core", + "role": "runtime_dependency", + "version": "3.33.3" + }, + "policyengine-uk": { + "country": "uk", + "import_name": "policyengine_uk", + "install_requirement": "policyengine-uk==2.132.6", + "name": "policyengine-uk", + "role": "country_model", + "version": "2.132.6" + }, + "policyengine-us": { + "country": "us", + "import_name": "policyengine_us", + "install_requirement": "policyengine-us==2.2.1", + "name": "policyengine-us", + "role": "country_model", + "version": "2.2.1" + }, + "spm-calculator": { + "country": "us", + "import_name": "spm_calculator", + "install_requirement": "spm-calculator==1.0.0", + "name": "spm-calculator", + "role": "runtime_dependency", + "sha256": "e354937a5e1a4045d4966ed594a528d8b02866fabaac9bb5672017004b627305", + "version": "1.0.0", + "wheel_url": "https://files.pythonhosted.org/packages/19/a0/c484f69a0ebf88a9b9fd0ac28176f8df66550f46714f1b0c5ec0b360824e/spm_calculator-1.0.0-py3-none-any.whl" + } + }, + "policyengine_version": "6.9.0", + "schema_version": 2 +} diff --git a/tests/fixtures/release_consumers/uk_data_line_bundle.json b/tests/fixtures/release_consumers/uk_data_line_bundle.json new file mode 100644 index 000000000..cc56a3ebc --- /dev/null +++ b/tests/fixtures/release_consumers/uk_data_line_bundle.json @@ -0,0 +1,339 @@ +{ + "bundle_version": "6.9.0", + "citation": { + "publisher": "PolicyEngine", + "title": "PolicyEngine bundle 6.9.0", + "type": "software-bundle", + "version": "6.9.0" + }, + "countries": { + "uk": { + "model_package": "policyengine-uk" + }, + "us": { + "model_package": "policyengine-us" + } + }, + "data_releases": { + "uk": { + "build_id": "policyengine-uk-data-1.58.1", + "bundle_id": "uk-6.9.0", + "certification": { + "built_with_model_git_sha": "daad71cd26c107f1b784ff600d1464ba59c70e4a", + "built_with_model_version": "2.122.2", + "certified_by": "policyengine.py bundle certification", + "certified_for_model_version": "2.130.1", + "compatibility_basis": "legacy_compatible_model_package", + "data_build_fingerprint": "sha256:c094d7006fdd81df220090284212f16bbffb15624643bc442c4bb3e1b1e5dac8", + "data_build_id": "policyengine-uk-data-1.58.1" + }, + "certified_data_artifact": { + "build_id": "policyengine-uk-data-1.58.1", + "data_package": { + "name": "policyengine-uk-data", + "version": "1.58.1" + }, + "dataset": "enhanced_frs_2024_25", + "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784", + "uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.1" + }, + "country_id": "uk", + "data_package": { + "name": "policyengine-uk-data", + "release_manifest_path": "releases/1.58.1/release_manifest.json", + "release_manifest_revision": "89be6b73fc1e6eeba6dae2f9400676d8510bcd51", + "repo_id": "policyengine/policyengine-uk-data-private", + "repo_type": "model", + "version": "1.58.1" + }, + "data_producer": "populace", + "datasets": { + "enhanced_frs_2024_25": { + "path": "enhanced_frs_2024_25.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "revision": "1.58.1", + "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784" + }, + "enhanced_frs_2024_25_tiny": { + "path": "enhanced_frs_2024_25_tiny.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "revision": "1.58.1", + "sha256": "d5d2bde80f1f028fec98391ea31bb5a0cf8449e3867fc3c1bfe23693b9faecf8" + }, + "frs_2024_25": { + "path": "frs_2024_25.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "revision": "1.58.1", + "sha256": "97af00b2cd2739957f40dcc4de8e0383a6a91d47952c90d4b4921a6007bd2021" + }, + "frs_2024_25_tiny": { + "path": "frs_2024_25_tiny.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "revision": "1.58.1", + "sha256": "e4d7662cd3f053620224b7ceff17266783f09407002a72633b043b844cec3f5a" + }, + "local_authority_weights": { + "path": "local_authority_weights.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "revision": "1.58.1", + "sha256": "2b7a2f7f9e7081a394b37cb84e909fd3c01d22e421808141684e7c3be59f2089" + }, + "local_geography_weights": { + "path": "local_geography_weights.csv.gz", + "repo_id": "policyengine/policyengine-uk-data-private", + "revision": "1.58.1", + "sha256": "97c6e3542543baf737a713bb918ebc3d3dbc3f3765be9bf3414375c322d0e3d1" + }, + "parliamentary_constituency_weights": { + "path": "parliamentary_constituency_weights.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "revision": "1.58.1", + "sha256": "8c696e4d65a22033deb4c4f69a767fdb46e0a4f5580f36b7fb47ee4722629b11" + } + }, + "default_dataset": "enhanced_frs_2024_25", + "default_dataset_uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.1", + "model_package": { + "name": "policyengine-uk", + "sha256": "f8b1b8b917c9297ff66937811dbebd9a62d3b1796ce894c326e98051cac4c873", + "version": "2.130.1", + "wheel_url": "https://files.pythonhosted.org/packages/1a/21/88e8addba0eabd9a7d3a29fa5293e141feb405baf0432209387f9a1f467a/policyengine_uk-2.130.1-py3-none-any.whl" + }, + "policyengine_version": "6.9.0", + "region_datasets": { + "national": { + "path_template": "enhanced_frs_2024_25.h5" + } + }, + "release_manifest_uri": "https://huggingface.co/policyengine/policyengine-uk-data-private/resolve/89be6b73fc1e6eeba6dae2f9400676d8510bcd51/releases/1.58.1/release_manifest.json", + "schema_version": 1, + "source_manifest_uri": "hf://model/policyengine/policyengine-uk-data-private@89be6b73fc1e6eeba6dae2f9400676d8510bcd51/releases/1.58.1/release_manifest.json", + "version": "policyengine-uk-data-1.58.1" + }, + "us": { + "build_id": "populace-us-2024-spm-20260915", + "bundle_id": "us-6.9.0", + "certification": { + "built_with_model_version": "2.2.1", + "certified_by": "policyengine.py bundle certification", + "certified_for_model_version": "2.2.1", + "compatibility_basis": "built_with_model_package", + "data_build_id": "populace-us-2024-spm-20260915" + }, + "certified_data_artifact": { + "build_id": "populace-us-2024-spm-20260915", + "data_package": { + "name": "microcosm-data", + "version": "0.1.0" + }, + "dataset": "populace_us_2024", + "sha256": "6496cc4393d4d3c6574f76eca231de5898c803b9067645591fd5c4d3e65aee84", + "uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-spm-20260915" + }, + "country_id": "us", + "data_package": { + "name": "microcosm-data", + "release_manifest_path": "releases/populace-us-2024-spm-20260915/release_manifest.json", + "release_manifest_revision": "populace-us-2024-spm-20260915", + "repo_id": "policyengine/populace-us", + "repo_type": "dataset", + "version": "0.1.0" + }, + "data_producer": "populace", + "datasets": { + "build_manifest": { + "path": "releases/populace-us-2024-spm-20260915/build_manifest.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "f3fd734867324bca7619f5f083a8115e32104bea3948d48723b345cfd39fa03b" + }, + "calibration_diagnostics": { + "path": "releases/populace-us-2024-spm-20260915/calibration_diagnostics.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "870449b44e86b13b25bcea1a57f0e7af37f4d4db18be815eea3acdf9fe6eb40e" + }, + "parent_build_manifest": { + "path": "releases/populace-us-2024-spm-20260915/parent_build_manifest.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "1990e8fd37ce66f499b8e6600c5896701bb07015be132a12de64e321a2edc67e" + }, + "parent_release_manifest": { + "path": "releases/populace-us-2024-spm-20260915/parent_release_manifest.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "dd949ba3c4c7a56aff8442c6db5a031d2c84c3da59f5d14832f468c358604506" + }, + "populace_us_2024": { + "path": "populace_us_2024.h5", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "6496cc4393d4d3c6574f76eca231de5898c803b9067645591fd5c4d3e65aee84" + }, + "populace_us_2024_acs_local": { + "path": "populace_us_2024_acs_local.h5", + "repo_id": "policyengine/populace-us", + "repo_type": "dataset", + "revision": "populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z", + "sha256": "3ce781c440a7f933b1d952ff4e9d9f65f4698c64b94d2fad165af0c662838d6c" + }, + "source_enrichment": { + "path": "releases/populace-us-2024-spm-20260915/source_enrichment.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "85329907b2b9c4299855b0970b1f24ede5819d3b16c312eb7400b4203bd71203" + }, + "source_enrichment_compatibility": { + "path": "releases/populace-us-2024-spm-20260915/source_enrichment_compatibility.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "63109acffd486453c99c476dece6b0154cc5388e5a430830a30744a2249444d1" + }, + "source_spm_independence_provenance": { + "path": "releases/populace-us-2024-spm-20260915/source_spm_independence_provenance.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "265e844178ed3856d68c1638820f3089e0e1e1363aa4677e33bebb37cbd5bff3" + }, + "source_spm_person_independence": { + "path": "releases/populace-us-2024-spm-20260915/source_spm_person_independence.csv", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "22b5968d90fecfeef7614583e493fe10cc16bda8b5be82e6f49a5bc2102d3ce5" + }, + "us_source_coverage": { + "path": "releases/populace-us-2024-spm-20260915/us_source_coverage.json", + "repo_id": "policyengine/populace-us", + "revision": "populace-us-2024-spm-20260915", + "sha256": "6406c8686c292015a5bc7265a42402f89935f9395a8b63510efdd4d9562e7ff5" + } + }, + "default_dataset": "populace_us_2024", + "default_dataset_uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-spm-20260915", + "model_package": { + "name": "policyengine-us", + "sha256": "0993a6c73fcdfbe171a796aca9d302741bd8e00ab83388ad81c15a08740318c6", + "version": "2.2.1", + "wheel_url": "https://files.pythonhosted.org/packages/5e/09/86ac3968d2a18e28fce3ba1186fc21728e9f299b96a806d6f204f1e0aaed/policyengine_us-2.2.1-py3-none-any.whl" + }, + "policyengine_version": "6.9.0", + "region_datasets": { + "congressional_district": { + "path_template": "populace_us_2024_acs_local.h5" + }, + "national": { + "path_template": "populace_us_2024.h5" + }, + "state": { + "path_template": "populace_us_2024_acs_local.h5" + } + }, + "regional_release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/releases/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/release_manifest.json", + "regional_source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/releases/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/release_manifest.json", + "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-spm-20260915/releases/populace-us-2024-spm-20260915/release_manifest.json", + "schema_version": 1, + "source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-spm-20260915/releases/populace-us-2024-spm-20260915/release_manifest.json", + "version": "populace-us-2024-spm-20260915" + } + }, + "dataset_overlays": { + "uk": { + "enhanced_frs_2023_24": { + "data_package_name": "policyengine-uk-data", + "path": "enhanced_frs_2023_24.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "repo_type": "model", + "revision": "655dd07e4bb9c777b00dac044949611f1feb824f", + "sha256": "584ae33d80ca0431254610a3f8254d132da73477d31966d6446282861ecae50d" + }, + "frs_2023_24": { + "data_package_name": "policyengine-uk-data", + "path": "frs_2023_24.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "repo_type": "model", + "revision": "655dd07e4bb9c777b00dac044949611f1feb824f", + "sha256": "df26d4d7af9d164aa2d064181b39290292d2f62bb26fee6126fc095fc06da292" + }, + "populace_uk_2023": { + "data_package_name": "populace-data", + "path": "populace_uk_2023.h5", + "repo_id": "policyengine/populace-uk-private", + "repo_type": "dataset", + "revision": "populace-uk-2023-dd68c73-4aa4b14-20260619T023711Z", + "sha256": "f17306ccb2aad7ff0130be3589b560afb2e2a12a943570911cd0c77f07934833" + } + } + }, + "extras": { + "models": [ + "policyengine-core", + "policyengine-us", + "policyengine-uk", + "spm-calculator" + ], + "uk": [ + "policyengine-core", + "policyengine-uk" + ], + "us": [ + "policyengine-core", + "policyengine-us", + "spm-calculator" + ] + }, + "measurements": { + "spm": { + "as_of": null, + "county_vintage": "2020", + "forecast_content_sha256": "3d86d5c4c0423480e6b69b75d222ffa4a7a2639e4094df5ba2504af01be17173", + "geography_id": null, + "geography_kind": "county", + "scenario": "ce_trend" + } + }, + "packages": { + "policyengine": { + "import_name": "policyengine", + "install_requirement": "policyengine==6.9.0", + "name": "policyengine", + "role": "bundle_carrier", + "version": "6.9.0" + }, + "policyengine-core": { + "import_name": "policyengine_core", + "install_requirement": "policyengine-core==3.33.0", + "name": "policyengine-core", + "role": "runtime_dependency", + "version": "3.33.0" + }, + "policyengine-uk": { + "country": "uk", + "import_name": "policyengine_uk", + "install_requirement": "policyengine-uk==2.130.1", + "name": "policyengine-uk", + "role": "country_model", + "version": "2.130.1" + }, + "policyengine-us": { + "country": "us", + "import_name": "policyengine_us", + "install_requirement": "policyengine-us==2.2.1", + "name": "policyengine-us", + "role": "country_model", + "version": "2.2.1" + }, + "spm-calculator": { + "country": "us", + "import_name": "spm_calculator", + "install_requirement": "spm-calculator==1.0.0", + "name": "spm-calculator", + "role": "runtime_dependency", + "sha256": "e354937a5e1a4045d4966ed594a528d8b02866fabaac9bb5672017004b627305", + "version": "1.0.0", + "wheel_url": "https://files.pythonhosted.org/packages/19/a0/c484f69a0ebf88a9b9fd0ac28176f8df66550f46714f1b0c5ec0b360824e/spm_calculator-1.0.0-py3-none-any.whl" + } + }, + "policyengine_version": "6.9.0", + "schema_version": 2 +} diff --git a/tests/test_local_data_manifest.py b/tests/test_local_data_manifest.py index b63cbdf14..1a6c39479 100644 --- a/tests/test_local_data_manifest.py +++ b/tests/test_local_data_manifest.py @@ -18,6 +18,7 @@ from hypothesis import strategies as st from policyengine.provenance import manifest as manifests +from policyengine.provenance.compatibility_record import CompatibilityRecord ENVIRONMENT_VARIABLE = "POLICYENGINE_UK_DATA_MANIFEST_FILE" MODEL = "2.130.1" @@ -25,6 +26,7 @@ CORE = "3.33.0" BUILD = "test-data-build" FINGERPRINT = "sha256:test-build" +WHEEL_SHA256 = "c" * 64 _DEFAULT = object() @@ -60,20 +62,71 @@ def _manifest_bytes(payload): return (json.dumps(payload, indent=2) + "\n").encode("utf-8") -def _qualified_certification(): +def _bundled_certification(): + """The certificate a bundle carries when its model is the build's model.""" return { - "compatibility_basis": "qualified_exact_pair", + "compatibility_basis": "built_with_model_package", "certified_for_model_version": MODEL, "certified_for_core_version": CORE, "data_build_id": BUILD, "built_with_model_version": MODEL, "built_with_model_git_sha": "abc123", "data_build_fingerprint": FINGERPRINT, - "qualification_pair_id": "a" * 64, "certified_by": "test-bundle", } +def _checked_certification(): + """A certificate of one build, model and core on a compatibility check.""" + return { + **_bundled_certification(), + "compatibility_basis": "compatibility_checked_exact_pair", + "core_binding": "certified", + } + + +def _install_compatibility_record(monkeypatch, raw_bytes): + """Install the record of a check of the build whose manifest is ``raw_bytes``.""" + record = CompatibilityRecord.model_validate( + { + "country": "uk", + "manifest_uri": "hf://policyengine/test-data/release_manifest.json", + "manifest_sha256": hashlib.sha256(raw_bytes).hexdigest(), + "build": BUILD, + "built_with_model_version": MODEL, + "built_with_core_version": CORE, + "model_package": { + "name": "policyengine-uk", + "version": MODEL, + "wheel_sha256": WHEEL_SHA256, + "wheel_url": "https://example.invalid/policyengine_uk.whl", + }, + "core_version": CORE, + "policyengine_version": "6.10.1", + "sample": {"method": "sha256_rank_v1", "salt": "test", "size": 10}, + "headline_variables": ["household_net_income"], + "artifacts": { + "test_dataset": { + "path": "test_dataset.h5", + "revision": "f" * 40, + "sha256": "d" * 64, + "year": 2024, + "households": 10, + "sample_households": 10, + "sample_household_ids_sha256": "9" * 64, + "totals": {"household_net_income": 1.0}, + } + }, + "never_modelled_columns": [], + "defaulted_inputs": [], + "checked_at": "2026-12-04T00:00:00Z", + } + ) + monkeypatch.setattr( + manifests, "bundled_compatibility_records", lambda country: [record] + ) + + def _install_bundle(tmp_path, monkeypatch, payload=None, certification=_DEFAULT): """Install synthetic package resources, exercising the real TRO pin reader.""" manifests.get_data_release_manifest.cache_clear() @@ -89,7 +142,11 @@ def _install_bundle(tmp_path, monkeypatch, payload=None, certification=_DEFAULT) "schema_version": 1, "country_id": "uk", "policyengine_version": "6.10.1", - "model_package": {"name": "policyengine-uk", "version": MODEL}, + "model_package": { + "name": "policyengine-uk", + "version": MODEL, + "sha256": WHEEL_SHA256, + }, "data_package": { "name": "policyengine-uk-data", "version": "test-release", @@ -110,7 +167,7 @@ def _install_bundle(tmp_path, monkeypatch, payload=None, certification=_DEFAULT) } }, "certification": ( - _qualified_certification() if certification is _DEFAULT else certification + _bundled_certification() if certification is _DEFAULT else certification ), } (bundle_dir / "manifest.json").write_text( @@ -356,7 +413,11 @@ def test_a_valid_digest_cannot_widen_exact_pair_certification( payload["build"]["build_id"] = "another-build" else: payload["build"]["built_with_model_package"]["name"] = "another-model" - local_path, _, _ = _install_bundle(tmp_path, monkeypatch, payload) + local_path, _, _ = _install_bundle( + tmp_path, monkeypatch, payload, certification=_checked_certification() + ) + # The check's record names the build it ran: the unchanged manifest. + _install_compatibility_record(monkeypatch, _manifest_bytes(_payload())) monkeypatch.setenv(ENVIRONMENT_VARIABLE, str(local_path)) with pytest.raises(ValueError, match="not certified|different model package"): @@ -368,7 +429,7 @@ def test_a_valid_digest_cannot_widen_exact_pair_certification( [ ("fingerprint", "matching_data_build_fingerprint_local_manifest"), ("publisher-claim", "legacy_compatible_model_package_local_manifest"), - ("qualified", "qualified_exact_pair_local_manifest"), + ("compatibility-check", "compatibility_checked_exact_pair_local_manifest"), ], ) def test_local_transport_retains_existing_certification_bases( @@ -383,7 +444,16 @@ def test_local_transport_retains_existing_certification_bases( payload["compatible_model_packages"] = [ {"name": "policyengine-uk", "specifier": f"=={MODEL}"} ] - local_path, _, _ = _install_bundle(tmp_path, monkeypatch, payload) + local_path, _, raw_bytes = _install_bundle( + tmp_path, + monkeypatch, + payload, + certification=( + _checked_certification() if mode == "compatibility-check" else _DEFAULT + ), + ) + if mode == "compatibility-check": + _install_compatibility_record(monkeypatch, raw_bytes) monkeypatch.setenv(ENVIRONMENT_VARIABLE, str(local_path)) assert _certify(**runtime).compatibility_basis == expected_basis @@ -691,10 +761,7 @@ def main_certification(): "fetched-exact", "fetched-fingerprint", "fetched-claim", - "fetched-qualified", "fetched-model-mismatch", - "fetched-core-mismatch", - "fetched-build-mismatch", "offline-bundled", "offline-model-mismatch", "offline-fingerprint-mismatch", @@ -703,14 +770,16 @@ def main_certification(): def test_unset_setting_matches_main_certification_cases( tmp_path, monkeypatch, main_certification, case ): - """Golden differential of existing release/qualified-pair test scenarios. + """Golden differential of existing release test scenarios. Compare complete results or exact exception types/messages with an unchanged main 485dc2330 implementation, then check the characterized expected result. Synthetic resources isolate the comparison from future country release pins. + The cases that relied on a ``qualified_exact_pair`` certificate left when + that basis was retired; main still accepts it, and this package refuses it. """ payload = _payload() - bundled = _qualified_certification() + bundled = _bundled_certification() runtime = {} expected_error = None expected = manifests.DataCertification( @@ -721,7 +790,7 @@ def test_unset_setting_matches_main_certification_cases( built_with_model_git_sha="abc123", data_build_fingerprint=FINGERPRINT, ) - if case in {"fetched-fingerprint", "fetched-claim", "fetched-qualified"}: + if case in {"fetched-fingerprint", "fetched-claim"}: payload["build"]["built_with_model_package"]["version"] = OTHER_MODEL expected.built_with_model_version = OTHER_MODEL if case == "fetched-fingerprint": @@ -732,19 +801,11 @@ def test_unset_setting_matches_main_certification_cases( {"name": "policyengine-uk", "specifier": f">={MODEL},<3.0.0"} ] expected.compatibility_basis = "legacy_compatible_model_package" - elif case in {"fetched-qualified", "offline-bundled"}: + elif case == "offline-bundled": expected = manifests.DataCertification.model_validate(bundled) elif case == "fetched-model-mismatch": runtime["runtime_model_version"] = OTHER_MODEL expected_error = "Data release manifest is not certified for the runtime model" - elif case == "fetched-core-mismatch": - runtime["runtime_core_version"] = "99.0.0" - expected_error = "Data release manifest is not certified for the runtime core" - elif case == "fetched-build-mismatch": - payload["build"]["build_id"] = "another-build" - expected_error = ( - "Data release manifest is not certified for the remote data build" - ) elif case == "offline-model-mismatch": runtime["runtime_model_version"] = OTHER_MODEL expected = manifests.DataCertification( diff --git a/tests/test_release_build_folders.py b/tests/test_release_build_folders.py index 8731ff201..82d805deb 100644 --- a/tests/test_release_build_folders.py +++ b/tests/test_release_build_folders.py @@ -994,9 +994,6 @@ def test__given_tagged_release_and_unreadable_releases_record__then_refuses( ) -PAIR_ID = "a" * 64 - - def folder_layout_country_manifest( certification: dict | None = None, ) -> CountryReleaseManifest: @@ -1173,25 +1170,29 @@ def test__given_publisher_claim_on_folder_build__then_build_names_it(self): assert certification.compatibility_basis == "legacy_compatible_model_package" assert certification.data_build_id == NATIONAL_BUILD - def test__given_qualified_folder_build__then_import_check_honours_its_build( + def test__given_retired_qualified_certificate__then_import_check_refuses_it( self, ): + """The UK qualification pipeline and its ``qualified_exact_pair`` + basis are retired; a bundle still carrying such a certificate, even + one naming exactly this build, model and core, fails to load.""" qualified = { "compatibility_basis": "qualified_exact_pair", "certified_for_model_version": "2.130.1", "certified_for_core_version": "3.33.0", "data_build_id": NATIONAL_BUILD, - "qualification_pair_id": PAIR_ID, + "qualification_pair_id": "a" * 64, } remote = folder_layout_manifest_payload() remote["compatible_model_packages"] = [] bundle_patch, request_patch = self._patched( remote, folder_layout_country_manifest(certification=qualified) ) - with bundle_patch, request_patch: - certification = certify_data_release_compatibility( + with ( + bundle_patch, + request_patch, + pytest.raises(ValueError, match="qualified_exact_pair"), + ): + certify_data_release_compatibility( "uk", runtime_model_version="2.130.1", runtime_core_version="3.33.0" ) - - assert certification.compatibility_basis == "qualified_exact_pair" - assert certification.data_build_id == NATIONAL_BUILD diff --git a/tests/test_release_consumers.py b/tests/test_release_consumers.py new file mode 100644 index 000000000..695526f23 --- /dev/null +++ b/tests/test_release_consumers.py @@ -0,0 +1,547 @@ +"""What ``scripts/release_consumers.py`` sends after each release. + +``push.yaml``'s consumer-notification job runs it twice: + +- ``payload``: the ``policyengine-release`` repository dispatch to API v1, + API v2's simulation service and the UK Budget dashboard; +- ``scorecard-request``: the released-bundle replay request to + policyengine-scorecard. + +The expected documents in ``tests/fixtures/release_consumers/`` were written +by the builders the retired UK qualification pipeline held +(``uk_qualification.release_dispatch_payload`` and +``released_bundle_request``). Each command must still print exactly that +document, as one line of JSON with sorted keys, so moving the builders into +the script does not change a byte of what any consumer receives. +""" + +from __future__ import annotations + +import ast +import hashlib +import importlib.util +import json +import shutil +from pathlib import Path +from unittest.mock import MagicMock + +import jsonschema +import pytest + +from policyengine.provenance.receipt import certificate_sha256 + +REPO_ROOT = Path(__file__).resolve().parents[1] +SCRIPT = REPO_ROOT / "scripts" / "release_consumers.py" +FIXTURES = Path(__file__).parent / "fixtures" / "release_consumers" +GOLDEN_REQUEST = ( + Path(__file__).parent + / "fixtures" + / "uk_replay" + / "qualification_request_golden.json" +) +REQUEST_SCHEMA = ( + REPO_ROOT + / "src" + / "policyengine" + / "data" + / "schemas" + / "vendor" + / "policyengine-scorecard" + / "qualification_request.v1.json" +) +#: Built with the policyengine-uk-data releases, its data in a model repository. +UK_DATA_BUNDLE = json.loads((FIXTURES / "uk_data_line_bundle.json").read_text()) +#: Built with a Microcosm national build in a dataset repository whose release +#: manifest records no sizes, its regions routed to a local-area build. +MICROCOSM_BUNDLE_PATH = FIXTURES / "microcosm_routed_bundle.json" +MICROCOSM_BUNDLE = json.loads(MICROCOSM_BUNDLE_PATH.read_text()) +RETIRED_MODULES = ( + "policyengine.provenance.qualification", + "policyengine.provenance.qualification_ledger", + "policyengine.provenance.replay_probe", + "policyengine.provenance.uk_candidate", + "policyengine.provenance.uk_qualification", +) +#: ``bundle.uk`` fields the UK Budget dashboard requires +#: (``uk_budget_data.bundle_adoption.REQUIRED_FIELDS``); it refuses a release +#: whose dispatch omits one. +DASHBOARD_FIELDS = ( + "model_version", + "core_version", + "data_release_version", + "dataset", + "dataset_sha256", + "certificate_sha256", + "compatibility_basis", +) +#: ``bundle.uk`` fields API v2's simulation service compares with the +#: installed bundle (``update_policyengine_package.DISPATCH_CHECKS``). +SIMULATION_SERVICE_FIELDS = ( + "model_version", + "core_version", + "data_release_version", + "dataset_sha256", + "certificate_sha256", +) + + +def sha(character: str) -> str: + return character * 64 + + +def _wheel(name, version, digest): + return { + "packagetype": "bdist_wheel", + "filename": f"{name.replace('-', '_')}-{version}-py3-none-any.whl", + "url": f"https://files.pythonhosted.org/packages/{name}-{version}.whl", + "digests": {"sha256": digest}, + } + + +def _golden_release_bundle() -> dict: + golden = json.loads(GOLDEN_REQUEST.read_text(encoding="utf-8")) + return golden["candidate"]["expected_release_bundle"] + + +@pytest.fixture +def consumers(monkeypatch): + monkeypatch.setenv("POLICYENGINE_SKIP_COUNTRY_IMPORTS", "1") + spec = importlib.util.spec_from_file_location( + "release_consumers_under_test", SCRIPT + ) + module = importlib.util.module_from_spec(spec) + assert spec.loader is not None + spec.loader.exec_module(module) + return module + + +def _builder(module, name: str): + builder = getattr(module, name, None) + assert callable(builder), f"scripts/release_consumers.py defines no {name}" + return builder + + +def test_the_script_imports_none_of_the_retired_modules(): + tree = ast.parse(SCRIPT.read_text()) + imported = set() + for node in ast.walk(tree): + if isinstance(node, ast.Import): + imported.update(alias.name for alias in node.names) + elif isinstance(node, ast.ImportFrom) and node.module: + imported.add(node.module) + imported.update(f"{node.module}.{alias.name}" for alias in node.names) + + assert not imported & set(RETIRED_MODULES) + + +def _expected_output(name: str) -> str: + """The line a command printed before the builders moved.""" + expected = json.loads((FIXTURES / name).read_text()) + return json.dumps(expected, sort_keys=True) + "\n" + + +def _payload_output(consumers, monkeypatch, tmp_path, capsys, version) -> str: + bundle_path = tmp_path / "manifest.json" + shutil.copy(MICROCOSM_BUNDLE_PATH, bundle_path) + monkeypatch.setattr(consumers, "BUNDLE_PATH", bundle_path) + assert consumers.main(["payload", "--version", version]) == 0 + return capsys.readouterr().out + + +def _payload(consumers, monkeypatch, tmp_path, capsys, version): + return json.loads( + _payload_output(consumers, monkeypatch, tmp_path, capsys, version) + ) + + +def test_the_payload_is_the_document_consumers_receive( + consumers, monkeypatch, tmp_path, capsys +): + printed = _payload_output( + consumers, + monkeypatch, + tmp_path, + capsys, + MICROCOSM_BUNDLE["policyengine_version"], + ) + + assert printed == _expected_output("expected_payload.json") + body = json.loads(printed)["client_payload"] + # A repository dispatch allows at most 10 top-level keys. + assert len(body) <= 10 + + +def test_the_payload_carries_what_the_consumers_compare( + consumers, monkeypatch, tmp_path, capsys +): + payload = _payload( + consumers, + monkeypatch, + tmp_path, + capsys, + MICROCOSM_BUNDLE["policyengine_version"], + ) + + body = payload["client_payload"] + uk = body["bundle"]["uk"] + record = MICROCOSM_BUNDLE["data_releases"]["uk"] + for field in (*DASHBOARD_FIELDS, *SIMULATION_SERVICE_FIELDS): + assert uk.get(field), field + assert ( + uk["model_version"] + == MICROCOSM_BUNDLE["packages"]["policyengine-uk"]["version"] + ) + assert ( + uk["core_version"] + == MICROCOSM_BUNDLE["packages"]["policyengine-core"]["version"] + ) + assert uk["dataset_sha256"] == record["certified_data_artifact"]["sha256"] + assert uk["certificate_sha256"] == certificate_sha256(record) + # Kept, always null, only so that API v2's simulation service and the UK + # Budget dashboard, which read the field, need no change. + assert "qualification" in body and body["qualification"] is None + + +def test_the_payload_refuses_another_version(consumers, monkeypatch, tmp_path): + bundle_path = tmp_path / "manifest.json" + shutil.copy(MICROCOSM_BUNDLE_PATH, bundle_path) + monkeypatch.setattr(consumers, "BUNDLE_PATH", bundle_path) + + with pytest.raises(ValueError, match="0.0.0"): + consumers.main(["payload", "--version", "0.0.0"]) + + +def test_the_scorecard_request_is_the_document_the_scorecard_receives( + consumers, monkeypatch, tmp_path, capsys +): + bundle_path = tmp_path / "manifest.json" + shutil.copy(MICROCOSM_BUNDLE_PATH, bundle_path) + version = MICROCOSM_BUNDLE["policyengine_version"] + core = MICROCOSM_BUNDLE["packages"]["policyengine-core"]["version"] + record = MICROCOSM_BUNDLE["data_releases"]["uk"] + dataset = record["default_dataset"] + reference = record["datasets"][dataset] + release_manifest = json.dumps( + { + "schema_version": 1, + "data_package": {"name": "microcosm-data", "version": "0.1.0"}, + "default_datasets": {"national": dataset}, + "artifacts": { + dataset: { + "kind": "microdata", + "path": reference["path"], + "repo_id": reference["repo_id"], + "revision": reference["revision"], + "sha256": reference["sha256"], + } + }, + } + ).encode() + + def installed(code, *, strip_tokens): + if "version('policyengine')" in code: + return version + if "files('policyengine')" in code: + return str(bundle_path) + assert "release_bundle" in code and strip_tokens + return json.dumps(_golden_release_bundle()) + + def pypi(path): + if path == f"policyengine/{version}": + return {"urls": [_wheel("policyengine", version, sha("7"))]} + assert path == "policyengine-core" + return {"releases": {core: [_wheel("policyengine-core", core, sha("6"))]}} + + monkeypatch.setattr(consumers, "_installed", installed) + monkeypatch.setattr(consumers, "_pypi", pypi) + monkeypatch.setattr(consumers, "_hf_file", lambda *request: release_manifest) + monkeypatch.setattr(consumers, "_hf_size", lambda *request: 321798995) + for name, value in { + "GITHUB_SERVER_URL": "https://github.com", + "GITHUB_REPOSITORY": "PolicyEngine/policyengine.py", + "GITHUB_RUN_ID": "5", + "GITHUB_RUN_ATTEMPT": "2", + "GITHUB_SHA": "e" * 40, + }.items(): + monkeypatch.setenv(name, value) + + assert consumers.main(["scorecard-request", "--version", version]) == 0 + + printed = capsys.readouterr().out + assert printed == _expected_output("expected_scorecard_request.json") + dispatch = json.loads(printed) + assert dispatch["event_type"] == "uk-replay-qualification-request" + jsonschema.Draft202012Validator(json.loads(REQUEST_SCHEMA.read_text())).validate( + dispatch["client_payload"]["request"] + ) + + +def _released_bundle_request(consumers, bundle, *, hf_file, hf_size=None, **overrides): + core = bundle["packages"]["policyengine-core"]["version"] + arguments = { + "version": bundle["policyengine_version"], + "wheel_sha256": sha("7"), + "packaged_manifest_sha256": sha("8"), + "release_bundle": _golden_release_bundle(), + "hf_file": hf_file, + "hf_size": hf_size, + "pypi_project": lambda name: { + "releases": {core: [_wheel("policyengine-core", core, sha("6"))]} + }, + "requested_by": { + "repository": "PolicyEngine/policyengine.py", + "workflow_run_id": 5, + "commit": "e" * 40, + }, + **overrides, + } + request = _builder(consumers, "released_bundle_request")(bundle, **arguments) + assert isinstance(request, dict), "the builder returns the request document" + return request + + +@pytest.mark.parametrize( + ("bundle", "manifest_size"), + [(UK_DATA_BUNDLE, 128369110), (MICROCOSM_BUNDLE, None)], + ids=["uk-data model repo", "Microcosm dataset repo without sizes"], +) +def test_the_released_bundle_request_reads_the_size_from_the_manifest_or_the_file( + consumers, bundle, manifest_size +): + record = bundle["data_releases"]["uk"] + dataset = record["default_dataset"] + reference = record["datasets"][dataset] + artifact = { + "kind": "microdata", + "path": reference["path"], + "repo_id": reference.get("repo_id") or record["data_package"]["repo_id"], + "revision": reference["revision"], + "sha256": reference["sha256"], + } + if manifest_size is not None: + artifact["size_bytes"] = manifest_size + manifest = { + "schema_version": 1, + "data_package": { + "name": record["data_package"]["name"], + "version": record["data_package"]["version"], + }, + "default_datasets": {"national": dataset}, + "artifacts": {dataset: artifact}, + } + data_package = record["data_package"] + repo_type = data_package["repo_type"] + fetched = [] + + def hf_file(*request): + fetched.append(("file", *request)) + return json.dumps(manifest).encode() + + def hf_size(*request): + fetched.append(("size", *request)) + return 321798995 + + request = _released_bundle_request( + consumers, bundle, hf_file=hf_file, hf_size=hf_size + ) + + jsonschema.Draft202012Validator(json.loads(REQUEST_SCHEMA.read_text())).validate( + request + ) + assert request["kind"] == "released_bundle" + assert request["candidate"]["policyengine"]["source"] == { + "pypi": {"wheel_sha256": sha("7")} + } + data = request["candidate"]["data"] + assert data["repo_type"] == repo_type + # The manifest's size when it records one, else the file's own size. + assert data["size_bytes"] == (manifest_size or 321798995) + manifest_request = ( + "file", + data_package["repo_id"], + data_package["release_manifest_revision"], + data_package["release_manifest_path"], + repo_type, + ) + size_request = ( + "size", + reference.get("repo_id") or data_package["repo_id"], + reference["revision"], + reference["path"], + reference.get("repo_type") or repo_type, + ) + assert fetched == ( + [manifest_request] + if manifest_size is not None + else [manifest_request, size_request] + ) + + +def test_the_released_bundle_request_uses_the_datasets_own_location(consumers): + bundle = json.loads(json.dumps(MICROCOSM_BUNDLE)) + record = bundle["data_releases"]["uk"] + reference = record["datasets"]["microcosm_uk_2024_25"] + reference.update( + repo_id="policyengine/other-repo", revision="other-revision", repo_type="model" + ) + manifest = { + "schema_version": 1, + "data_package": {"name": "microcosm-data", "version": "0.1.0"}, + "default_datasets": {"national": "microcosm_uk_2024_25"}, + "artifacts": { + "microcosm_uk_2024_25": { + "kind": "microdata", + "path": "microcosm_uk_2024_25.h5", + "repo_id": "policyengine/other-repo", + "revision": "other-revision", + "sha256": reference["sha256"], + } + }, + } + manifest_bytes = json.dumps(manifest).encode() + fetched = [] + + def hf_file(*request): + fetched.append(("file", *request)) + return manifest_bytes + + def hf_size(*request): + fetched.append(("size", *request)) + return 1234 + + request = _released_bundle_request( + consumers, bundle, hf_file=hf_file, hf_size=hf_size + ) + + build = "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71" + assert fetched == [ + ( + "file", + "policyengine/populace-uk-private", + build, + "releases/microcosm-uk-2024-25-national/release_manifest.json", + "dataset", + ), + ( + "size", + "policyengine/other-repo", + "other-revision", + "microcosm_uk_2024_25.h5", + "model", + ), + ] + assert request["candidate"]["data"] == { + "build_id": build, + "dataset": "microcosm_uk_2024_25", + "repo_id": "policyengine/other-repo", + "repo_type": "model", + "revision": "other-revision", + "path": "microcosm_uk_2024_25.h5", + "sha256": reference["sha256"], + "size_bytes": 1234, + "release_manifest_sha256": hashlib.sha256(manifest_bytes).hexdigest(), + } + + +def _microcosm_manifest_without_sizes() -> bytes: + record = MICROCOSM_BUNDLE["data_releases"]["uk"] + dataset = record["default_dataset"] + reference = record["datasets"][dataset] + return json.dumps( + { + "schema_version": 1, + "data_package": {"name": "microcosm-data", "version": "0.1.0"}, + "default_datasets": {"national": dataset}, + "artifacts": { + dataset: { + "kind": "microdata", + "path": reference["path"], + "repo_id": reference["repo_id"], + "revision": reference["revision"], + "sha256": reference["sha256"], + } + }, + } + ).encode() + + +def test_the_released_bundle_request_needs_a_size_source(consumers): + with pytest.raises(ValueError, match="records no size"): + _released_bundle_request( + consumers, + MICROCOSM_BUNDLE, + hf_file=lambda *request: _microcosm_manifest_without_sizes(), + hf_size=None, + ) + + +def test_the_released_bundle_request_is_checked_against_the_scorecard_schema( + consumers, +): + with pytest.raises(ValueError, match="qualification_request.v1.json"): + _released_bundle_request( + consumers, + MICROCOSM_BUNDLE, + hf_file=lambda *request: _microcosm_manifest_without_sizes(), + hf_size=lambda *request: 0, + ) + + +def test_release_consumers_address_dataset_repositories(consumers, monkeypatch): + for name in ("HUGGING_FACE_TOKEN", "HF_TOKEN"): + monkeypatch.delenv(name, raising=False) + # The shared helper reads every token variable the script lists. + monkeypatch.setenv("HUGGINGFACE_HUB_TOKEN", "hub-token") + url = "https://huggingface.co/datasets/org/data/resolve/v1/releases/a%20b.h5" + authorized = {"Authorization": "Bearer hub-token"} + # A compressed answer carries no Content-Length. + sized = {**authorized, "Accept-Encoding": "identity"} + calls = [] + + def response(status, headers, content=b""): + answer = MagicMock(status_code=status, headers=headers, content=content) + answer.raise_for_status = lambda: None + return answer + + def get(target, **kwargs): + calls.append(("get", target, kwargs["headers"])) + return response(200, {}, b"manifest") + + answers = [] + + def head(target, **kwargs): + calls.append(("head", target, kwargs["headers"], kwargs["allow_redirects"])) + return answers.pop(0) + + monkeypatch.setattr(consumers.requests, "get", get) + monkeypatch.setattr(consumers.requests, "head", head) + + assert consumers._hf_file("org/data", "v1", "releases/a b.h5", "dataset") == ( + b"manifest" + ) + assert calls.pop() == ("get", url, authorized) + + # A large file's redirect carries its size. + answers.append(response(302, {"X-Linked-Size": "321", "Content-Length": "1152"})) + assert consumers._hf_size("org/data", "v1", "releases/a b.h5", "dataset") == 321 + assert calls == [("head", url, sized, False)] + calls.clear() + + # A small file answers with its own length, or with a redirect to it. + answers.append(response(200, {"Content-Length": "4288"})) + assert consumers._hf_size("org/data", "v1", "releases/a b.h5", "dataset") == 4288 + answers.extend( + [ + response(307, {"Content-Length": "0"}), + response(200, {"Content-Length": "77"}), + ] + ) + assert consumers._hf_size("org/data", "v1", "releases/a b.h5", "dataset") == 77 + assert calls[-2:] == [ + ("head", url, sized, False), + ("head", url, sized, True), + ] + + model_url = "https://huggingface.co/org/model/resolve/v1/a.h5" + consumers._hf_file("org/model", "v1", "a.h5", "model") + assert calls.pop() == ("get", model_url, authorized) diff --git a/tests/test_retired_uk_qualification.py b/tests/test_retired_uk_qualification.py new file mode 100644 index 000000000..52416c73f --- /dev/null +++ b/tests/test_retired_uk_qualification.py @@ -0,0 +1,262 @@ +"""The retired UK qualification pipeline stays removed. + +``certify-uk-release.yaml`` qualified UK model and data pairs automatically, +kept its receipts on the ``uk-qualification-ledger`` branch and certified a +qualified pair on the basis ``qualified_exact_pair``. It read only the +retired policyengine-uk-data releases, so it never promoted a Microcosm +build. The workflow was removed first; its code, data files and basis +followed. A model that neither the build nor a publisher claim covers is now +certified on a compatibility check (``bundle.py check-compatibility``, basis +``compatibility_checked_exact_pair``). + +These tests keep the pipeline from returning and keep what other code still +reads from the same folders. +""" + +from __future__ import annotations + +import importlib.util +from pathlib import Path +from unittest.mock import MagicMock, patch + +import pytest + +from policyengine.provenance.certification import ( + CertificationError, + validate_release_manifest, +) +from policyengine.provenance.manifest import ( + CLAIM_BASED_COMPATIBILITY, + EXACT_PAIR_COMPATIBILITY, + DataCertification, + DataReleaseManifest, + DataReleaseManifestUnavailableError, + certify_data_release_compatibility, + get_data_release_manifest, +) + +REPO_ROOT = Path(__file__).resolve().parents[1] +RETIRED_BASIS = "qualified_exact_pair" +BUILD_MODEL = "2.122.2" +UNCOVERED_MODEL = "2.126.8" +BUILD_CORE = "3.32.13" +RUNTIME_CORE = "3.33.0" +BUILD_ID = "policyengine-uk-data-1.58.0" + +REMOVED_MODULES = ( + "policyengine.provenance.qualification", + "policyengine.provenance.qualification_ledger", + "policyengine.provenance.replay_probe", + "policyengine.provenance.uk_candidate", + "policyengine.provenance.uk_qualification", +) +REMOVED_FILES = ( + ".github/qualification-ledger.sh", + "scripts/check_uk_candidate.py", + "src/policyengine/data/qualification/replay_policy.md", + "src/policyengine/data/qualification/uk.json", + "src/policyengine/data/qualification/uk_budget_critical_inputs.json", + "src/policyengine/data/qualification/uk_replay_exceptions.json", + "src/policyengine/data/qualification/uk_review_bounds.json", + "src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_receipt.v1.json", + "src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_status.v1.json", +) +#: Files in the same folders that other code still reads: certification's +#: Universal Credit floor check, the schema of the replay request each +#: release sends policyengine-scorecard, the UK Budget reform contract that +#: API v2's simulation service imports, and the receipt module the UK Budget +#: dashboard recomputes certificate digests with. +KEPT_FILES = ( + "scripts/check_uk_uc_floor.py", + "src/policyengine/data/qualification/uk_uc_floor.json", + "src/policyengine/data/schemas/vendor/policyengine-scorecard/qualification_request.v1.json", + "src/policyengine/provenance/receipt.py", + "src/policyengine/provenance/uk_uc_floor.py", + "src/policyengine/tax_benefit_models/uk/budget_reform_contract.py", + "src/policyengine/tax_benefit_models/uk/budget_reform_population.py", +) + + +@pytest.mark.parametrize("module_name", REMOVED_MODULES) +def test_the_pipeline_modules_are_gone(module_name): + assert importlib.util.find_spec(module_name) is None + + +@pytest.mark.parametrize("relative_path", REMOVED_FILES) +def test_the_pipeline_files_are_gone(relative_path): + assert not (REPO_ROOT / relative_path).exists() + + +@pytest.mark.parametrize("relative_path", KEPT_FILES) +def test_files_other_code_reads_stay(relative_path): + assert (REPO_ROOT / relative_path).is_file() + + +def test_the_runtime_knows_no_qualified_pair_basis(): + retired = {RETIRED_BASIS, f"{RETIRED_BASIS}_local_manifest"} + assert not retired & CLAIM_BASED_COMPATIBILITY + assert not retired & EXACT_PAIR_COMPATIBILITY + + +def _uk_manifest(model_claims=(f"=={BUILD_MODEL}",)) -> DataReleaseManifest: + return DataReleaseManifest.model_validate( + { + "schema_version": 1, + "data_package": {"name": "policyengine-uk-data", "version": "1.58.0"}, + "compatible_model_packages": [ + {"name": "policyengine-uk", "specifier": specifier} + for specifier in model_claims + ], + "compatible_core_packages": [ + {"name": "policyengine-core", "specifier": f"=={BUILD_CORE}"} + ], + "default_datasets": {"national": "enhanced_frs_2024_25"}, + "build": { + "build_id": BUILD_ID, + "built_with_core_package": { + "name": "policyengine-core", + "version": BUILD_CORE, + }, + "built_with_model_package": { + "name": "policyengine-uk", + "version": BUILD_MODEL, + "data_build_fingerprint": "sha256:build", + }, + }, + "artifacts": { + "enhanced_frs_2024_25": { + "kind": "microdata", + "path": "enhanced_frs_2024_25.h5", + "repo_id": "policyengine/policyengine-uk-data-private", + "revision": "1.58.0", + "sha256": "d" * 64, + "size_bytes": 10, + } + }, + } + ) + + +class TestCertification: + def test_an_uncovered_model_is_refused_with_the_compatibility_check_named(self): + with pytest.raises(CertificationError) as refusal: + validate_release_manifest( + _uk_manifest(), + "policyengine-uk", + UNCOVERED_MODEL, + core_version=BUILD_CORE, + ) + + message = str(refusal.value) + assert "compatibility check" in message + assert "qualification" not in message + + def test_a_core_outside_the_build_and_its_claims_is_refused(self): + with pytest.raises(CertificationError, match="policyengine-core 3.34.0"): + validate_release_manifest( + _uk_manifest(model_claims=(f"=={UNCOVERED_MODEL}",)), + "policyengine-uk", + UNCOVERED_MODEL, + core_version="3.34.0", + ) + + def test_the_build_model_and_core_are_certified_on_the_build(self): + basis, _ = validate_release_manifest( + _uk_manifest(), "policyengine-uk", BUILD_MODEL, core_version=BUILD_CORE + ) + + assert basis == "built_with_model_package" + + +def _load_script(monkeypatch, name: str): + scripts_dir = REPO_ROOT / "scripts" + monkeypatch.syspath_prepend(str(scripts_dir)) + spec = importlib.util.spec_from_file_location( + f"{name}_under_test", scripts_dir / f"{name}.py" + ) + module = importlib.util.module_from_spec(spec) + assert spec.loader is not None + spec.loader.exec_module(module) + return module + + +def test_certify_data_takes_no_qualified_pair_id(monkeypatch, capsys): + certify_script = _load_script(monkeypatch, "certify_data_release") + calls = [] + + def certify(**kwargs): + calls.append(kwargs) + raise SystemExit(0) + + monkeypatch.setattr(certify_script, "certify_data_release", certify) + + with pytest.raises(SystemExit) as stopped: + certify_script.main( + [ + "--country", + "uk", + "--manifest-uri", + "hf://policyengine/policyengine-uk-data-private@1.58.0/release_manifest.json", + "--core-version", + RUNTIME_CORE, + "--qualified-pair-id", + "a" * 64, + ] + ) + + assert stopped.value.code == 2 + assert "--qualified-pair-id" in capsys.readouterr().err + assert calls == [] + + +class TestRuntimeRefusesTheRetiredBasis: + """A bundle that still carries a qualified-pair certificate, such as an + old candidate branch merged by mistake, fails to load instead of being + taken as some other basis.""" + + def setup_method(self): + get_data_release_manifest.cache_clear() + + def _load(self, *, remote): + certificate = DataCertification.model_validate( + { + "compatibility_basis": RETIRED_BASIS, + "certified_for_model_version": UNCOVERED_MODEL, + "certified_for_core_version": RUNTIME_CORE, + "data_build_id": BUILD_ID, + "qualification_pair_id": "a" * 64, + } + ) + country_manifest = MagicMock(certification=certificate) + country_manifest.model_package.name = "policyengine-uk" + country_manifest.regional_compatibility_basis = None + if remote is None: + data_patch = patch( + "policyengine.provenance.manifest.get_data_release_manifest", + side_effect=DataReleaseManifestUnavailableError("private"), + ) + else: + data_patch = patch( + "policyengine.provenance.manifest.get_data_release_manifest", + return_value=remote, + ) + with ( + patch( + "policyengine.provenance.manifest.get_release_manifest", + return_value=country_manifest, + ), + data_patch, + ): + return certify_data_release_compatibility( + "uk", + runtime_model_version=UNCOVERED_MODEL, + runtime_core_version=RUNTIME_CORE, + ) + + def test_online(self): + with pytest.raises(ValueError, match=RETIRED_BASIS): + self._load(remote=_uk_manifest()) + + def test_offline(self): + with pytest.raises(ValueError, match=RETIRED_BASIS): + self._load(remote=None) From ca0e70eea67c79316d0bbd074af8a3d286a2ae1a Mon Sep 17 00:00:00 2001 From: Anthony Volk <14987227+anth-volk@users.noreply.github.com> Date: Fri, 4 Dec 2026 20:55:57 +0400 Subject: [PATCH 2/8] Remove the UK qualification pipeline certify-uk-release.yaml, which ran it, was removed earlier. This removes the rest: scripts/check_uk_candidate.py, the replay probe, the UK candidate, qualification and ledger modules, .github/qualification-ledger.sh, the data files and vendored scorecard receipt and status schemas only the pipeline read, and their tests and fixtures. The qualified_exact_pair basis goes with it. Certification no longer takes --qualified-pair-id, a model that neither the build nor a publisher claim covers is now pointed to the compatibility check, and a model refuses to load a bundle whose certificate names the retired basis. scripts/release_consumers.py now builds the policyengine-release dispatch and the scorecard's released-bundle request itself, and checks the request against the vendored qualification_request.v1.json. Both documents are unchanged. The dispatch keeps its qualification member, always null, only so that API v2's simulation service and the UK Budget dashboard, which read it, need no change. Co-Authored-By: Claude Opus 5.5 --- .github/qualification-ledger.sh | 116 - .github/workflows/push.yaml | 12 +- docs/engineering/skills/data-certification.md | 15 +- docs/receipts.md | 4 +- scripts/bundle.py | 6 - scripts/certify_data_release.py | 9 - scripts/check_uk_candidate.py | 1391 - scripts/generate_trace_tros.py | 23 +- scripts/release_consumers.py | 204 +- .../data/qualification/replay_policy.md | 171 - src/policyengine/data/qualification/uk.json | 40 - .../uk_budget_critical_inputs.json | 58 - .../qualification/uk_replay_exceptions.json | 42 - .../data/qualification/uk_review_bounds.json | 79 - .../vendor/policyengine-scorecard/README.md | 12 +- .../replay_receipt.v1.json | 695 - .../replay_status.v1.json | 36 - src/policyengine/provenance/certification.py | 125 +- src/policyengine/provenance/manifest.py | 73 +- src/policyengine/provenance/qualification.py | 1891 -- .../provenance/qualification_ledger.py | 356 - src/policyengine/provenance/replay_probe.py | 157 - src/policyengine/provenance/uk_candidate.py | 3515 --- .../provenance/uk_qualification.py | 1934 -- .../uk/budget_reform_contract.py | 9 +- .../uk/budget_reform_population.py | 5 +- tests/fixtures/replay_exceptions/README.md | 21 - .../main_policy_metadata.json | 5 - .../main_replay_policy.py.txt | 502 - .../replay_receipt_uk2.134.7_failed.json | 2994 --- .../uk2.134.7_budget_inputs.json | 179 - .../uk2.134.7_budget_inputs.result.json | 16 - .../uk2.134.7_qualification_receipt.json | 334 - tests/fixtures/uk_contract/README.md | 29 +- .../uk_contract/full_released_uk_2.135.0.json | 17374 ------------- .../pinned_uk_2.125.1_defects.json | 2050 -- .../population_pass_max_examples_0.json | 161 - tests/fixtures/uk_metrics/README.md | 31 - .../uk_metrics/budget_metrics_report.json | 21199 ---------------- .../fixtures/uk_metrics/standard_reforms.yaml | 150 - .../microcosm_routed_bundle.json | 392 - .../uk_qualification/uk_data_line_bundle.json | 339 - tests/fixtures/uk_replay/README.md | 21 +- .../REPLAY_RECEIPT.json | 4480 ---- .../receipt_6.4.1_attempt1/REQUEST.json | 59 - .../receipt_6.5.0/REPLAY_RECEIPT.json | 560 - .../uk_replay/receipt_6.5.0/REQUEST.json | 59 - .../uk_replay/receipt_6.5.0/STATUS.json | 24 - tests/qualification_fixtures.py | 252 - tests/test_certify_data_release.py | 8 +- tests/test_compatibility_certification.py | 12 - tests/test_qualification_contracts.py | 2505 -- .../test_qualification_ledger_concurrency.py | 521 - tests/test_qualification_ledger_script.py | 111 - tests/test_qualified_pair_certification.py | 616 - .../test_replay_exception_coherence_round3.py | 141 - .../test_replay_exception_finalize_review.py | 319 - .../test_replay_exception_hardening_round3.py | 247 - tests/test_replay_exception_lineage.py | 86 - tests/test_replay_exception_lineage_round3.py | 501 - tests/test_replay_exception_policy_review.py | 149 - tests/test_replay_exception_probe.py | 161 - tests/test_replay_exception_probe_round3.py | 214 - tests/test_replay_exceptions.py | 1123 - tests/test_uk_budget_reform_contract.py | 14 +- tests/test_uk_candidate_gates.py | 4047 --- tests/test_uk_candidate_metric_baselines.py | 743 - tests/test_uk_qualification_pipeline.py | 3564 --- tests/test_uk_qualification_replay_inputs.py | 619 - tests/test_uk_qualification_workflow.py | 371 - 70 files changed, 296 insertions(+), 77985 deletions(-) delete mode 100755 .github/qualification-ledger.sh delete mode 100644 scripts/check_uk_candidate.py delete mode 100644 src/policyengine/data/qualification/replay_policy.md delete mode 100644 src/policyengine/data/qualification/uk.json delete mode 100644 src/policyengine/data/qualification/uk_budget_critical_inputs.json delete mode 100644 src/policyengine/data/qualification/uk_replay_exceptions.json delete mode 100644 src/policyengine/data/qualification/uk_review_bounds.json delete mode 100644 src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_receipt.v1.json delete mode 100644 src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_status.v1.json delete mode 100644 src/policyengine/provenance/qualification.py delete mode 100644 src/policyengine/provenance/qualification_ledger.py delete mode 100644 src/policyengine/provenance/replay_probe.py delete mode 100644 src/policyengine/provenance/uk_candidate.py delete mode 100644 src/policyengine/provenance/uk_qualification.py delete mode 100644 tests/fixtures/replay_exceptions/README.md delete mode 100644 tests/fixtures/replay_exceptions/main_policy_metadata.json delete mode 100644 tests/fixtures/replay_exceptions/main_replay_policy.py.txt delete mode 100644 tests/fixtures/replay_exceptions/replay_receipt_uk2.134.7_failed.json delete mode 100644 tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.json delete mode 100644 tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.result.json delete mode 100644 tests/fixtures/replay_exceptions/uk2.134.7_qualification_receipt.json delete mode 100644 tests/fixtures/uk_contract/full_released_uk_2.135.0.json delete mode 100644 tests/fixtures/uk_contract/pinned_uk_2.125.1_defects.json delete mode 100644 tests/fixtures/uk_contract/population_pass_max_examples_0.json delete mode 100644 tests/fixtures/uk_metrics/README.md delete mode 100644 tests/fixtures/uk_metrics/budget_metrics_report.json delete mode 100644 tests/fixtures/uk_metrics/standard_reforms.yaml delete mode 100644 tests/fixtures/uk_qualification/microcosm_routed_bundle.json delete mode 100644 tests/fixtures/uk_qualification/uk_data_line_bundle.json delete mode 100644 tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REPLAY_RECEIPT.json delete mode 100644 tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REQUEST.json delete mode 100644 tests/fixtures/uk_replay/receipt_6.5.0/REPLAY_RECEIPT.json delete mode 100644 tests/fixtures/uk_replay/receipt_6.5.0/REQUEST.json delete mode 100644 tests/fixtures/uk_replay/receipt_6.5.0/STATUS.json delete mode 100644 tests/qualification_fixtures.py delete mode 100644 tests/test_qualification_contracts.py delete mode 100644 tests/test_qualification_ledger_concurrency.py delete mode 100644 tests/test_qualification_ledger_script.py delete mode 100644 tests/test_qualified_pair_certification.py delete mode 100644 tests/test_replay_exception_coherence_round3.py delete mode 100644 tests/test_replay_exception_finalize_review.py delete mode 100644 tests/test_replay_exception_hardening_round3.py delete mode 100644 tests/test_replay_exception_lineage.py delete mode 100644 tests/test_replay_exception_lineage_round3.py delete mode 100644 tests/test_replay_exception_policy_review.py delete mode 100644 tests/test_replay_exception_probe.py delete mode 100644 tests/test_replay_exception_probe_round3.py delete mode 100644 tests/test_replay_exceptions.py delete mode 100644 tests/test_uk_candidate_gates.py delete mode 100644 tests/test_uk_candidate_metric_baselines.py delete mode 100644 tests/test_uk_qualification_pipeline.py delete mode 100644 tests/test_uk_qualification_replay_inputs.py delete mode 100644 tests/test_uk_qualification_workflow.py diff --git a/.github/qualification-ledger.sh b/.github/qualification-ledger.sh deleted file mode 100755 index 5906ce647..000000000 --- a/.github/qualification-ledger.sh +++ /dev/null @@ -1,116 +0,0 @@ -#!/usr/bin/env bash -# -# Check out, or publish to, the qualification ledger branch. -# -# .github/qualification-ledger.sh checkout -# .github/qualification-ledger.sh publish "" -# -# The ledger is an orphan branch that only grows. Each attempt writes its own -# directory (uk//attempts//), which concurrent publishes never -# share. A rejected push is retried by replaying the single new commit on the -# latest tip; the new commit may be the branch's first (two runs can both find -# no ledger yet), so it is replayed with cherry-pick, which needs no parent. -# -# Two attempts of one pair do share that pair's published files -# (qualification_receipt.json, latest_attempt.json and pair.json). Git must -# never merge those line by line: a textual merge of two receipts can produce -# a valid-looking receipt that is neither (one attempt's harness with another's -# replay). They are replayed as binary, so a concurrent change to them -# conflicts. When those are the only conflicts and LEDGER_REDERIVE is set, the -# tip's copies are kept and "$LEDGER_REDERIVE " recomputes every pair's -# published files from its immutable attempts; otherwise the publish fails. -set -euo pipefail - -BRANCH="${LEDGER_BRANCH:-uk-qualification-ledger}" -command="${1:?usage: qualification-ledger.sh checkout|publish [message]}" -dir="${2:?ledger directory required}" - -case "$command" in - checkout) - if git ls-remote --exit-code --heads origin "$BRANCH" >/dev/null 2>&1; then - git fetch --quiet origin "$BRANCH" - git worktree add --quiet --force -B "$BRANCH" "$dir" FETCH_HEAD - else - git worktree add --quiet --detach "$dir" - ( - cd "$dir" - git switch --quiet --orphan "$BRANCH" - cat > README.md <<'README' -# UK candidate qualification ledger - -Written by `.github/workflows/certify-uk-release.yaml` in PolicyEngine/policyengine.py. -Each `uk//` directory holds a candidate pair, every qualification -attempt's gate evidence, the replay request and receipt, and the latest -qualification receipt. Nothing is deleted. -README - ) - fi - ;; - publish) - message="${3:?commit message required}" - cd "$dir" - git add -A - if git diff --cached --quiet; then - echo "Ledger unchanged." - exit 0 - fi - identity=(-c user.name="policyengine-qualification[bot]" - -c user.email="qualification@policyengine.org") - git "${identity[@]}" commit --quiet -m "$message" - new_commit="$(git rev-parse HEAD)" - delay="${LEDGER_RETRY_DELAY:-5}" - attributes="$(mktemp)" - trap 'rm -f "$attributes"' EXIT - printf '%s\n' \ - 'qualification_receipt.json merge=binary' \ - 'latest_attempt.json merge=binary' \ - 'pair.json merge=binary' > "$attributes" - for attempt in 1 2 3 4 5 6; do - if git push --quiet origin "HEAD:refs/heads/$BRANCH"; then - echo "Published ledger: $message" - exit 0 - fi - # Someone else published first: replay this one commit on their tip. - if ! git fetch --quiet origin "$BRANCH"; then - sleep $((attempt * delay)) - continue - fi - git reset --quiet --hard FETCH_HEAD - if ! git "${identity[@]}" -c core.attributesFile="$attributes" \ - cherry-pick --allow-empty "$new_commit" >/dev/null 2>&1; then - conflicted="$(git diff --name-only --diff-filter=U)" - shared_only=true - while IFS= read -r path; do - [ -z "$path" ] && continue - case "$path" in - uk/*/qualification_receipt.json|uk/*/latest_attempt.json|uk/*/pair.json) - # Only a pair's published files, never an attempt's own. - case "$path" in uk/*/*/*) shared_only=false ;; esac ;; - *) shared_only=false ;; - esac - done <<< "$conflicted" - if [ -z "$conflicted" ] || [ "$shared_only" != true ] \ - || [ -z "${LEDGER_REDERIVE:-}" ]; then - git cherry-pick --abort || true - echo "::error::The ledger commit conflicts with a concurrent publish." - exit 1 - fi - while IFS= read -r path; do - git checkout --ours -- "$path" - done <<< "$conflicted" - # Recompute published files from the attempts, the tip's and this one's. - $LEDGER_REDERIVE "$PWD" - git add -A - # Completes the cherry-pick, keeping its message, even if empty. - git "${identity[@]}" commit --quiet --allow-empty --no-edit - fi - sleep $((attempt * delay)) - done - echo "::error::Could not publish the qualification ledger after 6 attempts." - exit 1 - ;; - *) - echo "Unknown command: $command" >&2 - exit 2 - ;; -esac diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 9a50e0a39..c96c0d946 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -8,9 +8,9 @@ # Skips Lint + Test since the code is identical to Phase 1. # After Publish, NotifyConsumers waits for the release to be visible on # PyPI and sends a policyengine-release repository dispatch (version plus -# the certified UK bundle identity and qualification digests) to consumer -# repos so they open version-bump PRs, then a released-bundle replay -# request to policyengine-scorecard. New consumers are dispatched in +# the certified UK bundle identity) to consumer repos so they open +# version-bump PRs, then a released-bundle replay request to +# policyengine-scorecard. New consumers are dispatched in # separate, non-blocking steps. name: Push to main @@ -275,9 +275,9 @@ jobs: version: "0.13.4" - name: Install policyengine without country models run: uv pip install -e . --system - # The payload carries the certified UK bundle identity and, for an - # automatically qualified pair, the qualification receipt digest. - # client_payload.version stays first, as existing updaters read only it. + # The payload carries the version and the certified UK bundle identity. + # Its qualification member is always null and is kept only so the + # consumers that read it need no change. - name: Build the release dispatch payload env: VERSION: ${{ needs.Publish.outputs.version }} diff --git a/docs/engineering/skills/data-certification.md b/docs/engineering/skills/data-certification.md index 60a580029..f38b2b8c3 100644 --- a/docs/engineering/skills/data-certification.md +++ b/docs/engineering/skills/data-certification.md @@ -119,7 +119,7 @@ pinned model version. Certification refuses a build that has none of them: the certificate at load time only when that file holds a matching record for the running model and core. The certificate names the core it ran with. Certification refuses a record for other manifest bytes, another - build, model, wheel or core, and a record given with `--qualified-pair-id`. + build, model, wheel or core. Commit the records file with the bundle. `certify-build` uses this basis whenever the model is not the build's own. Such a certificate always binds its core (`core_binding: certified`), and @@ -130,9 +130,10 @@ pinned model version. Certification refuses a build that has none of them: with a warning; the claim is made good only by this repository's test suite passing on the pinned pair. A compatibility record replaces it when both apply. -- **`qualified_exact_pair`.** A receipt of the retired UK qualification - workflow (`--qualified-pair-id`). No .py release has pinned a certificate - on it, and no new certification uses it. +- **`qualified_exact_pair` (removed).** The basis of the retired UK + qualification workflow. No .py release pinned a certificate on it. + Certification no longer offers it, and a model refuses to load a bundle + whose certificate names it. ### The compatibility check @@ -527,9 +528,11 @@ certification uses this route. **The UK qualification workflow.** `certify-uk-release.yaml` qualified each new policyengine-uk wheel or uk-data release before promotion and recorded a -receipt in the `uk-qualification-ledger` branch, the basis +receipt for each pair it accepted, certified on the basis `qualified_exact_pair`. The compatibility check and the scheduled workflow -replace it. +replace it. The workflow was removed first, and its code, data files, tests +and basis afterwards. Its receipts are kept at the tag +`uk-qualification-ledger-final`. **The UK default switch (policyengine.py#685, October 2026).** diff --git a/docs/receipts.md b/docs/receipts.md index fbcfaf7c9..599b3efd2 100644 --- a/docs/receipts.md +++ b/docs/receipts.md @@ -15,7 +15,7 @@ Schema v1 covers UK results and is defined by `policyengine.provenance.receipt.E | `reform`, `baseline` | Both are required. Each is `current_law` or a digest of the reform bound to its representation (see below). | | `fiscal_year` | What a year label means: year 2027 is the fiscal year from 6 April 2027 to 5 April 2028, shown as `2027-28`. v1 allows only this convention. | | `years` | The reported years, sorted and unique. | -| `supported_years` | The years the installed model projects the dataset to, from the dataset's own year (policyengine-uk's `extend_single_year_dataset`, without running a formula; the same rule as the qualification `supported_years` gate). A reported year outside them is unsupported: policyengine-core fills it by carrying or uprating the latest inputs, so its results are not evidence. `unsupported_years` lists them. The certified 1.58.0 dataset projects to 2024โ€“2030, so a 2031-32 figure on it is unsupported. | +| `supported_years` | The years the installed model projects the dataset to, from the dataset's own year (policyengine-uk's `extend_single_year_dataset`, without running a formula). A reported year outside them is unsupported: policyengine-core fills it by carrying or uprating the latest inputs, so its results are not evidence. `unsupported_years` lists them. The certified 1.58.0 dataset projects to 2024โ€“2030, so a 2031-32 figure on it is unsupported. | | `outputs_sha256` | Optional digest of the output payload the receipt binds. | | `runtime` | Python version, platform and CI run URL. It is for diagnosis and is part of no digest. | @@ -182,7 +182,7 @@ const digest = (value) => createHash("sha256").update(canonicalize(dropNulls(val Reform digests are the exception: a reform payload is digested with its nulls kept, because there a null can mean something. `Scenario.from_reform({"p": {"2027": None}})` removes a value that `{"p": {}}` keeps, so the two must not share a digest. Reform payloads may also hold infinite numbers, which PolicyEngine parameters use for an uncapped threshold and JSON cannot hold. `inf` is digested as the object `{"$nonfinite": "Infinity"}` and `-inf` as `{"$nonfinite": "-Infinity"}`, and a payload that uses the key `$nonfinite` itself is refused, so no other payload digests like an infinity. The encoding happens inside strict conversion, so a payload it refuses without infinities, such as one with colliding keys, is refused with them too. NaN is refused, and a payload without infinities digests as before, except one whose strings, keys or dates are subclasses that override how `str` or `date` render: those now digest by their characters and their date, as content digests do. The JavaScript above covers content digests only: a JavaScript verifier of reform digests must keep nulls, replace `Infinity` and `-Infinity` with the reserved objects before canonicalizing, and refuse a payload with a `$nonfinite` key. -The pre-promotion replay interface with policyengine-scorecard follows a different rule, set by its own schemas: plain RFC 8785 over the document as sent, nulls included. `policyengine.provenance.canonical.canonical_sha256` computes that. +The replay request each release sends policyengine-scorecard (`scripts/release_consumers.py scorecard-request`) follows a different rule, set by the scorecard's own schemas: plain RFC 8785 over the document as sent, nulls included. `policyengine.provenance.canonical.canonical_sha256` computes that. | Digest | Value hashed | |---|---| diff --git a/scripts/bundle.py b/scripts/bundle.py index 8cd602121..c6c129c47 100644 --- a/scripts/bundle.py +++ b/scripts/bundle.py @@ -69,8 +69,6 @@ def _certify_data(args: argparse.Namespace) -> int: argv.append("--skip-artifact-check") if args.core_version: argv.extend(["--core-version", args.core_version]) - if args.qualified_pair_id: - argv.extend(["--qualified-pair-id", args.qualified_pair_id]) if args.compatibility_record: argv.extend(["--compatibility-record", args.compatibility_record]) if args.regional_compatibility_record: @@ -332,10 +330,6 @@ def _parser() -> argparse.ArgumentParser: "--core-version", help="policyengine-core version to check against core claims and pin.", ) - certify.add_argument( - "--qualified-pair-id", - help="Admit the exact pair on automated qualification (needs --core-version).", - ) certify.add_argument( "--compatibility-record", help=( diff --git a/scripts/certify_data_release.py b/scripts/certify_data_release.py index 71ba8a045..07c74532f 100644 --- a/scripts/certify_data_release.py +++ b/scripts/certify_data_release.py @@ -117,14 +117,6 @@ def main(argv=None) -> int: "claims and pin in the bundle." ), ) - parser.add_argument( - "--qualified-pair-id", - default=None, - help=( - "Admit the exact model, core and data release on automated " - "qualification of this pair (requires --core-version)." - ), - ) parser.add_argument( "--accept-regional-model-mismatch", metavar="REASON", @@ -194,7 +186,6 @@ def main(argv=None) -> int: regional_release_kind=args.regional_release_kind, drop_regional_release=args.drop_regional_release, core_version=args.core_version, - qualified_pair_id=args.qualified_pair_id, regional_model_mismatch_reason=args.accept_regional_model_mismatch, regional_input_surface_evidence=( json.loads(args.regional_input_surface_evidence.read_text()) diff --git a/scripts/check_uk_candidate.py b/scripts/check_uk_candidate.py deleted file mode 100644 index 32235bf25..000000000 --- a/scripts/check_uk_candidate.py +++ /dev/null @@ -1,1391 +0,0 @@ -"""Qualify a UK model/data candidate before it can be promoted. - -``.github/workflows/certify-uk-release.yaml`` ran it until that workflow was -removed; every step still runs locally. Network access: PyPI, Hugging Face (``HUGGING_FACE_TOKEN``) and, for -the replay and promotion steps, GitHub (``GH_TOKEN``). - -Each attempt lives in one ledger directory, ``/uk//attempts/ -/``, which every step after ``resolve`` reads and writes:: - - python scripts/check_uk_candidate.py resolve --out candidate.json \\ - [--model-version 2.126.8] [--data-version 1.58.0] [--ledger ledger/] [--force] - python scripts/check_uk_candidate.py prepare --candidate candidate.json --skip-snapshots - python scripts/check_uk_candidate.py stage --candidate candidate.json --ledger ledger/ - python scripts/check_uk_candidate.py gates --attempt - python scripts/check_uk_candidate.py request-replay --attempt [--dispatch] - python scripts/check_uk_candidate.py poll-replay --attempt [--wait-minutes 340] - python scripts/check_uk_candidate.py finalize --attempt --ledger ledger/ - python scripts/check_uk_candidate.py waiting --ledger ledger/ - python scripts/check_uk_candidate.py refresh-pr-checks --ledger ledger/ - python scripts/check_uk_candidate.py promote --ledger ledger/ [--apply] - python scripts/check_uk_candidate.py accept --ledger ledger/ --pair-id ... \\ - --receipt-sha256 ... --explanation "..." [--reviewer login] - -Steps that the workflow branched on also write ``key=value`` lines to -``$GITHUB_OUTPUT`` when it is set. -""" - -from __future__ import annotations - -import argparse -import datetime -import json -import os -import subprocess -import sys -import time -from collections.abc import Sequence -from functools import lru_cache -from pathlib import Path -from typing import Any, Optional - -REPO_ROOT = Path(__file__).resolve().parents[1] -sys.path.insert(0, str(REPO_ROOT / "src")) -os.environ.setdefault("POLICYENGINE_SKIP_COUNTRY_IMPORTS", "1") - -import requests # noqa: E402 - -from policyengine.provenance.qualification import ( # noqa: E402 - CandidatePair, - IssuedBy, - QualificationHarness, - ReplayQualificationRequest, -) -from policyengine.provenance.qualification_ledger import ( # noqa: E402 - LEDGER_BRANCH, - LEDGER_REPOSITORY, - LedgerInconsistency, - attempt_directory, - latest_receipts, - pair_directory, - published_receipt, - read_json, - rederive_publication, - write_json, -) -from policyengine.provenance.uk_qualification import ( # noqa: E402 - ResolvedCandidate, - WheelFile, - accept_review, - attempt_evidence_id, - attempt_is_recoverable, - attempt_is_waiting_for_replay, - attempt_key, - attempt_supersedes_receipt, - build_replay_request, - candidate_action, - candidate_branch, - candidate_pr_body, - certified_data_line, - data_line, - expected_release_bundle, - finalize_attempt, - load_attempt_budget_inputs, - load_attempt_replay_probe, - packaged_manifest_sha256, - plan_promotion, - prepare_candidate_commit, - previous_certificate, - read_replay, - replay_dispatch_payload, - requalification_target, - resolve_candidate, - stage_attempt, - write_gate_results, -) - -BUNDLE_PATH = REPO_ROOT / "src" / "policyengine" / "data" / "bundle" / "manifest.json" -CONFIG_PATH = REPO_ROOT / "src" / "policyengine" / "data" / "qualification" / "uk.json" -TIMEOUT = 60 -#: The pull request workflow that runs the test suite on a candidate. -CODE_CHANGES_WORKFLOW = ".github/workflows/pr_code_changes.yaml" - - -def utc_now() -> str: - return datetime.datetime.now(datetime.UTC).strftime("%Y-%m-%dT%H:%M:%SZ") - - -def config() -> dict[str, Any]: - return json.loads(CONFIG_PATH.read_text()) - - -def hf_headers() -> dict[str, str]: - token = os.environ.get("HUGGING_FACE_TOKEN") or os.environ.get("HF_TOKEN") - return {"Authorization": f"Bearer {token}"} if token else {} - - -def pypi_project(path: str) -> dict[str, Any]: - response = requests.get(f"https://pypi.org/pypi/{path}/json", timeout=TIMEOUT) - response.raise_for_status() - return response.json() - - -def hf_revision_sha(repo_id: str, revision: str) -> str: - response = requests.get( - f"https://huggingface.co/api/models/{repo_id}/revision/{revision}", - headers=hf_headers(), - timeout=TIMEOUT, - ) - response.raise_for_status() - return str(response.json()["sha"]) - - -def hf_tags(repo_id: str) -> list[str]: - response = requests.get( - f"https://huggingface.co/api/models/{repo_id}/refs", - headers=hf_headers(), - timeout=TIMEOUT, - ) - response.raise_for_status() - return [tag["name"] for tag in response.json().get("tags", [])] - - -def hf_file(repo_id: str, revision: str, path: str) -> bytes: - response = requests.get( - f"https://huggingface.co/{repo_id}/resolve/{revision}/{path}", - headers=hf_headers(), - timeout=TIMEOUT, - ) - response.raise_for_status() - return response.content - - -def scorecard_file(repository: str): - token = os.environ.get("GH_TOKEN") or os.environ.get("GITHUB_TOKEN") - headers = {"Accept": "application/vnd.github.raw+json"} - if token: - headers["Authorization"] = f"Bearer {token}" - - def fetch(ref: str, path: str) -> Optional[bytes]: - response = requests.get( - f"https://api.github.com/repos/{repository}/contents/{path}", - params={"ref": ref}, - headers=headers, - timeout=TIMEOUT, - ) - if response.status_code == 404: - return None - response.raise_for_status() - return response.content - - return fetch - - -def issued_by() -> IssuedBy: - server = os.environ.get("GITHUB_SERVER_URL", "https://github.com") - repository = os.environ.get("GITHUB_REPOSITORY", LEDGER_REPOSITORY) - run_id = int(os.environ.get("GITHUB_RUN_ID", "1")) - return IssuedBy( - repository=repository, - workflow_run_id=run_id, - run_attempt=int(os.environ.get("GITHUB_RUN_ATTEMPT", "1")), - run_url=f"{server}/{repository}/actions/runs/{run_id}", - ) - - -def git(*args: str, cwd: Path = REPO_ROOT) -> str: - return subprocess.run( - ["git", *args], cwd=cwd, check=True, capture_output=True, text=True - ).stdout.strip() - - -def set_output(**values: str) -> None: - path = os.environ.get("GITHUB_OUTPUT") - if not path: - return - with open(path, "a") as stream: - for key, value in values.items(): - stream.write(f"{key}={value}\n") - - -def resolved_from(payload: dict[str, Any]) -> ResolvedCandidate: - return ResolvedCandidate( - pair=CandidatePair.model_validate(payload["pair"]), - model_wheel=WheelFile(**payload["model_wheel"]), - core_wheel=WheelFile(**payload["core_wheel"]), - manifest_uri=payload["manifest_uri"], - model_requires_core=payload["model_requires_core"], - ) - - -def ledger_url(pair_id: str) -> str: - return f"https://github.com/{LEDGER_REPOSITORY}/tree/{LEDGER_BRANCH}/uk/{pair_id}" - - -# --- Commands ----------------------------------------------------------------- - - -def cmd_resolve(args: argparse.Namespace) -> int: - bundle = json.loads(BUNDLE_PATH.read_text()) - resolved = resolve_candidate( - current_core=bundle["packages"]["policyengine-core"]["version"], - pypi_project=pypi_project, - hf_revision_sha=hf_revision_sha, - hf_tags=hf_tags, - hf_file=hf_file, - model_version=args.model_version or None, - data_version=args.data_version or None, - core_version=args.core_version or None, - ) - if args.pair_id and resolved.pair.pair_id != args.pair_id: - # A requalification or recovery names one exact pair. Resolving any - # other (a moved data tag, another core) must not qualify it instead. - print( - f"::error::resolved pair {resolved.pair.pair_id[:12]} " - f"({resolved.pair.order_key}), not the requested {args.pair_id[:12]}" - ) - set_output(action="mismatch", pair_id=resolved.pair.pair_id) - return 1 - base_commit = git("rev-parse", "HEAD") - resolved_at = utc_now() - action, reason = candidate_action( - resolved.pair, - bundle, - Path(args.ledger) if args.ledger else None, - base_commit=base_commit, - force=args.force, - now=resolved_at, - owner_is_failed=owner_run_failed, - ) - key = attempt_key( - resolved.pair, - Path(args.ledger) if args.ledger else None, - base_commit=base_commit, - force=args.force, - now=resolved_at, - owner_is_failed=owner_run_failed, - ) - payload = { - "pair": resolved.pair.canonical_payload(), - "pair_id": resolved.pair.pair_id, - "model_wheel": resolved.model_wheel.__dict__, - "core_wheel": resolved.core_wheel.__dict__, - "manifest_uri": resolved.manifest_uri, - "model_requires_core": resolved.model_requires_core, - "base_commit": base_commit, - "attempt_key": key, - "branch": candidate_branch(resolved.pair), - "action": action, - "reason": reason, - "force": bool(args.force), - "previous_certificate": previous_certificate(bundle).canonical_payload(), - } - if action == "qualify" and args.ledger: - pair_dir = pair_directory(Path(args.ledger), "uk", resolved.pair.pair_id) - if (pair_dir / "qualification_receipt.json").exists(): - receipt = published_receipt(pair_dir) - if receipt.verdict != "incomplete": - # Forced work, or recovery of work already bound to this receipt. - payload["supersedes_receipt_sha256"] = receipt.unreviewed_sha256 - write_json(Path(args.out), payload) - print( - f"{action}: {reason} (pair {resolved.pair.pair_id[:12]}, {resolved.pair.order_key})" - ) - set_output( - action=action, - pair_id=resolved.pair.pair_id, - branch=candidate_branch(resolved.pair), - base_commit=base_commit, - attempt_key=key, - ) - return 0 - - -def cmd_still_eligible(args: argparse.Namespace) -> int: - """Whether a resolved candidate should still be qualified, against the - ledger as it is now: run under the preparation lock, so two runs that - resolved on different main commits never both stage an attempt.""" - - payload = json.loads(Path(args.candidate).read_text()) - action, reason = candidate_action( - CandidatePair.model_validate(payload["pair"]), - json.loads(BUNDLE_PATH.read_text()), - Path(args.ledger), - base_commit=payload["base_commit"], - force=bool(payload.get("force")), - now=utc_now(), - owner_is_failed=owner_run_failed, - ) - print(f"{action}: {reason}") - set_output(duplicate="false" if action == "qualify" else "true") - return 0 - - -def cmd_prepare(args: argparse.Namespace) -> int: - payload = json.loads(Path(args.candidate).read_text()) - prepared = prepare_candidate_commit( - REPO_ROOT, - resolved_from(payload), - python=sys.executable, - refresh_snapshots=not args.skip_snapshots, - ) - write_json(Path(args.out), prepared) - print(json.dumps(prepared, indent=2)) - return 0 - - -def cmd_stage(args: argparse.Namespace) -> int: - from importlib.metadata import version - - payload = json.loads(Path(args.candidate).read_text()) - harness = QualificationHarness( - policyengine_version=version("policyengine"), - git_commit=git("rev-parse", "HEAD"), - packaged_bundle_manifest_sha256=packaged_manifest_sha256(REPO_ROOT), - ) - attempt = attempt_directory( - Path(args.ledger), "uk", payload["pair_id"], payload["attempt_key"] - ) - stage_attempt( - attempt, - payload, - harness, - owner_run_id=os.environ.get("GITHUB_RUN_ID"), - staged_at=utc_now(), - ) - print(f"staged {attempt} at {harness.git_commit}") - set_output(attempt=str(attempt), candidate_commit=harness.git_commit) - return 0 - - -def _attempt( - args: argparse.Namespace, -) -> tuple[Path, dict[str, Any], QualificationHarness]: - attempt = Path(args.attempt) - payload = read_json(attempt / "candidate.json") - harness = QualificationHarness.model_validate(read_json(attempt / "harness.json")) - return attempt, payload, harness - - -def cmd_gates(args: argparse.Namespace) -> int: - from policyengine.provenance import uk_candidate - - attempt, payload, harness = _attempt(args) - if git("rev-parse", "HEAD") != harness.git_commit: - raise SystemExit( - "Gates must run on the candidate commit named in harness.json." - ) - ledger_root = attempt.parents[3] - results, evidence = uk_candidate.run_candidate_gates( - resolved_from(payload), - harness, - config=config(), - work_dir=Path(args.work_dir), - previous_certificate=payload.get("previous_certificate"), - ledger_root=ledger_root, - ) - write_gate_results(attempt, results, evidence) - from policyengine.provenance.replay_probe import run_replay_probes - - probe_result, probe_evidence = run_replay_probes( - attempt_id=attempt_evidence_id(attempt), - candidate_model_version=payload["pair"]["model"]["version"], - ) - write_gate_results(attempt, [probe_result], {"replay_probe": probe_evidence}) - print( - f"{probe_result.gate_id:20s} {probe_result.status:13s} {probe_result.summary}" - ) - for result in results: - print(f"{result.gate_id:20s} {result.status:13s} {result.summary}") - return 0 - - -def cmd_request_replay(args: argparse.Namespace) -> int: - attempt, payload, harness = _attempt(args) - request = build_replay_request( - CandidatePair.model_validate(payload["pair"]), - harness, - release_bundle=expected_release_bundle(sys.executable, cwd=REPO_ROOT), - issued_by=issued_by(), - attempt=args.replay_attempt, - compare_to=config()["replay"]["compare_to"], - ) - print(f"request_id {request.request_id}") - if args.dispatch: - settings = config()["replay"] - subprocess.run( - [ - "gh", - "api", - f"repos/{settings['repository']}/dispatches", - "--method", - "POST", - "--input", - "-", - ], - input=json.dumps( - replay_dispatch_payload(request, event_type=settings["event_type"]) - ), - text=True, - check=True, - ) - print(f"dispatched {settings['event_type']} to {settings['repository']}") - # Recorded only once sent: an attempt with a request waits for its replay. - write_json(attempt / "replay" / "request.json", request.document()) - set_output(request_id=request.request_id) - return 0 - - -def cmd_poll_replay(args: argparse.Namespace) -> int: - attempt = Path(args.attempt) - settings = config()["replay"] - request = ReplayQualificationRequest.model_validate( - read_json(attempt / "replay" / "request.json") - ) - fetch = scorecard_file(settings["repository"]) - budget_result, budget_evidence = load_attempt_budget_inputs(attempt) - probe_result, probe_evidence = load_attempt_replay_probe(attempt) - deadline = time.monotonic() + 60 * args.wait_minutes - while True: - gate, status, receipt = read_replay( - request, - fetch=fetch, - state_ref=settings["state_ref"], - budget_inputs_result=budget_result, - budget_inputs_evidence=budget_evidence, - probe_result=probe_result, - probe_evidence=probe_evidence, - attempt_id=attempt_evidence_id(attempt), - ) - if (status is not None and status.terminal) or time.monotonic() >= deadline: - break - time.sleep(args.interval_seconds) - write_json(attempt / "replay" / "replay.result.json", gate.canonical_payload()) - if status is not None: - write_json(attempt / "replay" / "status.json", status.document()) - if receipt is not None: - write_json(attempt / "replay" / "receipt.json", receipt.document()) - terminal = status is not None and status.terminal - print(f"replay {gate.status}: {gate.summary}") - set_output(replay_terminal="true" if terminal else "false") - return 0 - - -def cmd_finalize(args: argparse.Namespace) -> int: - attempt = Path(args.attempt) - receipt = finalize_attempt( - attempt, Path(args.ledger), issued_by=issued_by(), completed_at=utc_now() - ) - payload = read_json(attempt / "candidate.json") - if args.pr_body: - line = certified_data_line(json.loads(BUNDLE_PATH.read_text())) - body = candidate_pr_body( - receipt, - receipt.pair, - ledger_url=ledger_url(receipt.pair_id), - on_main_line=data_line(receipt.pair) == line, - ) - Path(args.pr_body).write_text(body) - print(f"verdict {receipt.verdict}; receipt {receipt.receipt_sha256}") - set_output( - verdict=receipt.verdict, - receipt_sha256=receipt.receipt_sha256, - branch=payload["branch"], - ) - return 0 - - -def cmd_waiting(args: argparse.Namespace) -> int: - base = Path(args.ledger) / "uk" - waiting = sorted( - str(path) - for path in base.glob("*/attempts/*") - if path.is_dir() and attempt_is_waiting_for_replay(path) - ) - for path in waiting: - print(path) - set_output(waiting=json.dumps(waiting)) - return 0 - - -@lru_cache(maxsize=256) -def owner_run_failed(run_id: str) -> bool: - """Only a confirmed failed terminal run relinquishes its unexpired stage.""" - - result = subprocess.run( - [ - "gh", - "run", - "view", - run_id, - "--repo", - LEDGER_REPOSITORY, - "--json", - "status,conclusion", - ], - text=True, - capture_output=True, - check=False, - ) - if result.returncode: - return False - try: - state = json.loads(result.stdout) - except json.JSONDecodeError: - return False - return state.get("status") == "completed" and state.get("conclusion") in { - "failure", - "cancelled", - "timed_out", - "startup_failure", - "action_required", - "stale", - } - - -def cmd_recoverable(args: argparse.Namespace) -> int: - now = utc_now() - line = certified_data_line(json.loads(BUNDLE_PATH.read_text())) - for pair_dir in sorted((Path(args.ledger) / "uk").glob("*")): - receipt = pair_dir / "qualification_receipt.json" - stages = list((pair_dir / "attempts").glob("*/staging.json")) - if not stages: - continue - attempt = max(stages, key=lambda path: int(read_json(path)["sequence"])).parent - if receipt.exists(): - try: - terminal = published_receipt(pair_dir) - except LedgerInconsistency as error: - print(f"::warning::{error}", file=sys.stderr) - continue - if terminal.verdict != "incomplete" and not attempt_supersedes_receipt( - attempt, terminal - ): - continue - if not attempt_is_recoverable( - attempt, now=now, owner_is_failed=owner_run_failed - ): - continue - candidate = read_json(attempt / "candidate.json") - # The catch-up re-dispatches without force, and a pair from another - # data line then resolves as other_line before any recovery, so the - # dispatch would clear nothing. A forced run is re-run by hand. - if data_line(CandidatePair.model_validate(candidate["pair"])) != line: - print( - f"::notice::not recovering {pair_dir.name}: its pair is not on " - "main's data line; re-run it by hand with force", - file=sys.stderr, - ) - continue - print(json.dumps(candidate)) - return 0 - - -def cmd_requalify(args: argparse.Namespace) -> int: - """Print the promotion target's pair when it must be requalified: its - qualification compared against an earlier certificate, or was built on - an earlier main commit than the one checked out.""" - - bundle = json.loads(BUNDLE_PATH.read_text()) - problems: list[str] = [] - receipts = latest_receipts(Path(args.ledger), problems=problems) - for problem in problems: - print(f"::warning::{problem}", file=sys.stderr) - pair = requalification_target( - receipts, bundle, Path(args.ledger), git("rev-parse", "HEAD") - ) - if pair is not None: - print(json.dumps({"pair": pair.canonical_payload(), "pair_id": pair.pair_id})) - return 0 - - -#: The most open candidate pull requests the listing reads; gh stops a search -#: at its limit (30 by default), so reaching this one is an error. -PULL_REQUEST_LIMIT = 1000 - - -def _candidate_pull_requests() -> list[dict[str, Any]]: - """Open candidate pull requests to main from this repository's own branches. - - ``head:candidate/uk/`` matches by prefix, and a fork's pull request can - carry the same branch name, so only same-repository ones are candidates - (a listing without the field counts as a fork's). Only pull requests to - main are (round 6 of #635): GitHub allows one open pull request per head - and base, so each candidate branch then has at most one. The search reads - up to ``PULL_REQUEST_LIMIT`` pull requests, forks included, and refuses - to go on if it reaches the limit, since one it did not read could be the - target. - """ - - listing = json.loads( - subprocess.run( - [ - "gh", - "pr", - "list", - "--repo", - LEDGER_REPOSITORY, - "--state", - "open", - "--base", - "main", - "--search", - "head:candidate/uk/", - "--limit", - str(PULL_REQUEST_LIMIT), - "--json", - "number,baseRefName,headRefName,headRefOid,isDraft,isCrossRepository", - ], - check=True, - capture_output=True, - text=True, - ).stdout - ) - if len(listing) >= PULL_REQUEST_LIMIT: - raise SystemExit( - f"::error::{len(listing)} open pull requests match candidate/uk/; " - "one beyond the listing could be the target" - ) - return [ - item - for item in listing - if item.get("isCrossRepository") is False and item.get("baseRefName") == "main" - ] - - -#: Whether a pull request's base was ever changed: GraphQL records a change -#: a person makes as a BaseRefChangedEvent and one GitHub makes when the base -#: branch is merged and deleted as an AutomaticBaseChangeSucceededEvent -#: (round 8 of #635). Its timeline's totalCount ignores the type filter, so -#: the nodes are read. -BASE_CHANGES_QUERY = ( - "query($owner: String!, $name: String!, $number: Int!) { repository(owner:" - " $owner, name: $name) { pullRequest(number: $number) { timelineItems(" - "itemTypes: [BASE_REF_CHANGED_EVENT, AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT]," - " first: 1) { nodes { __typename } pageInfo { hasNextPage } } } } }" -) - - -def _base_changed(number: Any) -> Optional[bool]: - """Whether pull request ``number``'s base was ever changed; None if that - cannot be read.""" - - owner, name = LEDGER_REPOSITORY.split("/") - result = subprocess.run( - [ - "gh", - "api", - "graphql", - "-f", - f"query={BASE_CHANGES_QUERY}", - "-F", - f"owner={owner}", - "-F", - f"name={name}", - "-F", - f"number={number}", - "--jq", - ".data.repository.pullRequest.timelineItems" - " | (.nodes | length > 0) or .pageInfo.hasNextPage", - ], - check=False, - capture_output=True, - text=True, - ) - answer = result.stdout.strip() if result.returncode == 0 else "" - return {"true": True, "false": False}.get(answer) - - -def _shared_branch_pull_requests( - branch: str, commit: str, pull_request: str -) -> Optional[list[str]]: - """Why runs at ``commit`` may not all be the candidate's own pull - request's, against main: the pull requests from this repository's - ``branch`` that make them ambiguous; None if they cannot all be read. - - Any other pull request from the candidate branch runs the same workflows - with the same commit, branch and repository as the candidate's own, - ``pull_request`` (round 6 of #635), and GitHub's run records say neither - which pull request started a run nor which base it tested. A pull - request's current base does not settle it either: a base change keeps - the earlier runs (round 7), and a base branch renamed into main records - no event at all (round 9). So every other pull request from the branch - that is open, or was closed or merged at this commit, counts, whatever - its base, and so does the candidate's own if its base was ever changed. - - What it cannot see: a base renamed into main after running at the - commit on the candidate's own pull request, including one prepare's - lookup adopted as the candidate's after the rename (round 10). Renaming - a branch into main is an admin's deliberate act, outside what promotion - guards against (``_promote``). The REST listing filtered by - ``head=:`` holds only this repository's pull requests, - all of them (paginated), so a fork's with the same branch name can - neither shadow nor crowd them out. - """ - - owner = LEDGER_REPOSITORY.split("/")[0] - result = subprocess.run( - [ - "gh", - "api", - "-X", - "GET", - f"repos/{LEDGER_REPOSITORY}/pulls", - "-f", - f"head={owner}:{branch}", - "-f", - "state=all", - "-f", - "per_page=100", - "--paginate", - "--jq", - ".[] | {number, state, merged: (.merged_at != null), base: .base.ref," - " head_sha: .head.sha} | tojson", - ], - check=False, - capture_output=True, - text=True, - ) - if result.returncode != 0: - return None - try: - listing = [json.loads(line) for line in result.stdout.splitlines() if line] - except json.JSONDecodeError: - return None - shared = sorted( - f"#{pr.get('number')} (to {pr.get('base')}, " - f"{'merged' if pr.get('merged') else pr.get('state')})" - for pr in listing - if str(pr.get("number")) != pull_request - and (pr.get("state") == "open" or pr.get("head_sha") == commit) - ) - changed = _base_changed(pull_request) - if changed is None: - return None - if changed: - shared.append(f"#{pull_request} (the candidate's own, after a base change)") - return shared - - -#: A run is re-run until it has made this many attempts in all, so a genuine -#: failure is not retried until a flaky test happens to pass. The first -#: attempt of a qualified_exact_pair candidate's runs fails by design (its -#: ledger receipt is published after they start), so this leaves the re-run -#: that sees the receipt and two more for flakes. A candidate whose newest -#: run is still unsuccessful at the cap fails the promote run visibly. -MAX_RUN_ATTEMPTS = 4 - - -def _newest_runs(runs: list[dict[str, Any]]) -> dict[tuple[Any, Any], dict[str, Any]]: - """The newest run of each workflow (``path``) and event.""" - - newest: dict[tuple[Any, Any], dict[str, Any]] = {} - for run in runs: - key = (run.get("path"), run.get("event")) - if key not in newest or run.get("id", 0) > newest[key].get("id", 0): - newest[key] = run - return newest - - -#: The results refresh re-runs. GitHub re-runs a run only within 30 days of -#: its first attempt. -RERUN_CONCLUSIONS = frozenset({"failure", "timed_out", "cancelled"}) -RERUN_WINDOW = datetime.timedelta(days=30) - - -def _now() -> datetime.datetime: - return datetime.datetime.now(datetime.UTC) - - -def _commit_runs(commit: str) -> Optional[list[dict[str, Any]]]: - """Every workflow run GitHub lists at ``commit``; None if unreadable.""" - - result = subprocess.run( - [ - "gh", - "api", - f"repos/{LEDGER_REPOSITORY}/actions/runs?head_sha={commit}&per_page=100", - "--paginate", - "--jq", - ".workflow_runs[] | {id, head_sha, head_branch," - " head_repository: .head_repository.full_name, path, event, status," - " conclusion, check_suite_id, run_attempt, created_at} | tojson", - ], - check=False, - capture_output=True, - text=True, - ) - if result.returncode != 0: - return None - try: - return [json.loads(line) for line in result.stdout.splitlines() if line] - except json.JSONDecodeError: - return None - - -def _own_runs( - runs: list[dict[str, Any]], commit: str, branch: str -) -> list[dict[str, Any]]: - """The runs of this repository's candidate branch at ``commit``. - - The runs listing for a commit also holds runs of any other pull request - at that commit, a fork's included (round 5 of #635); only runs from this - repository on the candidate branch are the candidate's. Runs of another - pull request from the candidate branch itself look the same, so refresh - and promotion first check there is none - (``_shared_branch_pull_requests``). - """ - - return [ - run - for run in runs - if run.get("head_sha") == commit - and run.get("head_branch") == branch - and run.get("head_repository") == LEDGER_REPOSITORY - ] - - -def _candidate_runs(commit: str, branch: str) -> Optional[list[dict[str, Any]]]: - """``_own_runs`` of the runs listed at ``commit``; None if unreadable.""" - - runs = _commit_runs(commit) - return None if runs is None else _own_runs(runs, commit, branch) - - -def _rerun_due(run: dict[str, Any], now: datetime.datetime) -> bool: - """Whether refresh re-runs this finished run: it failed, timed out or was - cancelled, has attempts left, and GitHub will still re-run it.""" - - if run.get("status") != "completed" or run.get("conclusion") not in ( - RERUN_CONCLUSIONS - ): - return False - if int(run.get("run_attempt") or 1) >= MAX_RUN_ATTEMPTS: - return False - created = run.get("created_at") - if isinstance(created, str) and created: - started = datetime.datetime.fromisoformat(created.replace("Z", "+00:00")) - if now - started > RERUN_WINDOW: - return False - return True - - -def cmd_refresh_pr_checks(args: argparse.Namespace) -> int: - """Re-run a candidate's unsuccessful newest runs once its receipt is out. - - The PR workflow does not subscribe to edits or ready_for_review events, - and the run of the code-changes workflow on the candidate's own tree is - dispatched once, by ``prepare``. So for each workflow and event the - newest of the candidate's own runs (``_candidate_runs``) is re-run when - ``_rerun_due``: a failed or timed-out one by its failed jobs, a - cancelled one (a job timeout cancels the run) in full. Older runs a - newer one replaced are left alone, and so is every run of a candidate - whose runs may have tested another base (``_shared_branch_pull_requests``): - promotion refuses it anyway, and re-runs would retest that base and - spend the attempts. GITHUB_TOKEN may - re-run existing runs with actions: write. - """ - - pull_requests = {pr["headRefName"]: pr for pr in _candidate_pull_requests()} - now = _now() - line = certified_data_line(json.loads(BUNDLE_PATH.read_text())) - for receipt in latest_receipts(Path(args.ledger)): - if data_line(receipt.pair) != line: - # Promotion never takes a pair from another line, so its runs - # are not worth re-running. - continue - branch = candidate_branch(receipt.pair) - head = receipt.harness.git_commit - pull_request = pull_requests.get(branch) - if ( - not receipt.promotable - or pull_request is None - or pull_request["headRefOid"] != head - ): - continue - shared = _shared_branch_pull_requests(branch, head, str(pull_request["number"])) - if shared is None: - print(f"::warning::could not read the pull requests from {branch}") - continue - if shared: - print( - f"::warning::not re-running {branch}'s runs: they may have " - f"tested another base, from pull requests {', '.join(shared)}" - ) - continue - listed = _candidate_runs(head, branch) - if listed is None: - print(f"::warning::could not read the runs of {branch} at {head}") - continue - runs = [ - run - for run in listed - if run["event"] in ("pull_request", "workflow_dispatch") - ] - for run in _newest_runs(runs).values(): - if not _rerun_due(run, now): - continue - rerun = subprocess.run( - ["gh", "run", "rerun", str(run["id"]), "--repo", LEDGER_REPOSITORY] - + ([] if run["conclusion"] == "cancelled" else ["--failed"]), - check=False, - ) - if rerun.returncode != 0: - # GitHub refuses some re-runs (a run older than 30 days, one - # cancelled before it had jobs); the steps after refresh must - # still run, so this one is reported and the rest go on. - print( - f"::warning::GitHub did not re-run {run['conclusion']} run " - f"{run['id']} ({run.get('path')}, {run['event']}) at {head}" - ) - continue - print( - f"Re-running {run['conclusion']} run {run['id']} " - f"({run.get('path')}, {run['event']}) at {head}" - ) - return 0 - - -def _close_pull_requests(closes: Sequence[tuple[str, str]]) -> set[str]: - """Close each ``(number, comment)``; return the numbers GitHub closed. - - A failed close is reported, and the pull request stays open for the next - run to close. - """ - - closed = set() - for number, comment in closes: - result = subprocess.run( - [ - "gh", - "pr", - "close", - number, - "--repo", - LEDGER_REPOSITORY, - "--comment", - comment, - ], - check=False, - ) - if result.returncode == 0: - closed.add(number) - else: - print(f"::warning::could not close pull request {number}") - return closed - - -def cmd_promote(args: argparse.Namespace) -> int: - bundle = json.loads(BUNDLE_PATH.read_text()) - problems: list[str] = [] - receipts = latest_receipts(Path(args.ledger), problems=problems) - for problem in problems: - # Such a pair is left out of the plan until its files are rederived. - print(f"::warning::{problem}") - pull_requests = _candidate_pull_requests() if args.apply else [] - branches = {pr["headRefName"]: pr["headRefOid"] for pr in pull_requests} - # Every write to a pull request goes by number: gh looks a branch name up - # among a limited listing, which a fork's pull request can shadow. - numbers = {pr["headRefName"]: str(pr["number"]) for pr in pull_requests} - plan = plan_promotion(receipts, bundle, branches) - print(f"promotion: {plan.reason}") - if plan.target is not None: - print( - f"target {plan.ready_branch or 'not promotable now'} " - f"(pair {plan.target.pair_id[:12]}, commit {plan.ready_commit})" - ) - for branch in plan.close_branches: - print(f"superseded {branch}") - for branch in plan.close_off_line: - print(f"off main's data line {branch}") - if not args.apply: - return 0 - closed = _close_pull_requests( - [ - ( - numbers[branch], - f"Superseded: {plan.reason}. The ledger keeps this candidate's " - "evidence.", - ) - for branch in plan.close_branches - ] - + [ - ( - numbers[branch], - "This pair is not on main's data line, so it is never promoted. " - "The ledger keeps this candidate's evidence.", - ) - for branch in plan.close_off_line - ] - ) - # Only the plan's target may be ready, and only while _promote finds it - # on current main: any other ready candidate (left by a run that could - # not undo it, or by older code) goes back to draft. - returned = [ - _set_ready(str(pr["number"]), False) - for pr in sorted(pull_requests, key=lambda pr: pr["number"]) - if not pr["isDraft"] - and pr["headRefName"] != plan.ready_branch - and str(pr["number"]) not in closed - ] - safe = True - if plan.ready_branch is not None and plan.ready_commit is not None: - safe = _promote( - plan.ready_branch, - plan.ready_commit, - automatic=config()["promotion"]["automatic"], - pull_request=numbers.get(plan.ready_branch, plan.ready_branch), - ) - return 0 if all(returned) and safe else 1 - - -def _set_ready(pull_request: str, ready: bool) -> bool: - """Mark a candidate's pull request (a branch or a number) ready or draft; - whether that worked. - - A draft that stays ready could be merged onto a moved main, so a failed - return to draft is reported as an error for the run to fail on. - """ - - done = ( - subprocess.run( - ["gh", "pr", "ready", pull_request, "--repo", LEDGER_REPOSITORY] - + ([] if ready else ["--undo"]), - check=False, - ).returncode - == 0 - ) - if not done and not ready: - print(f"::error::could not return {pull_request} to draft") - return done - - -def _promote( - branch: str, commit: str, *, automatic: bool, pull_request: Optional[str] = None -) -> bool: - """Make main exactly the qualified commit, or change nothing. - - The qualified commit's parent is the main commit it was built on. Only - while main is still that commit does a merge of the candidate equal the - qualified tree, so only then is its pull request readied; otherwise it - is kept draft (no merge can combine it with other code) and the catch-up - requalifies it on current main. With automatic promotion the pull - request stays draft until every check on the commit's own tree has - passed, and main is then moved to the commit by a push leased on that - parent: if main is anything else at that instant, nothing changes. - GitHub then records the pull request as merged. - - Returns False when a return to draft failed, which leaves a ready pull - request that a merge could combine with other code, when the candidate - waits on runs refresh will not re-run again, or when its runs may have - tested another base (``_shared_branch_pull_requests``); either way the - promote run fails so someone sees it. ``pull_request`` names the - candidate's pull request for readiness changes (its number; the branch - by default). - - What it guards against: mistakes by people who can write to this - repository, and anything people who cannot can do (forks' pull requests, - whatever branch names they use, and other pull requests opened from the - candidate branch, which make promotion refuse; one to main that - prepare's lookup adopts is the candidate's own, and promotion refuses it - if its base was ever changed). Whatever else happens, main - only ever becomes the exact qualified commit, built on main as it is at - the push, after the dispatched run on that commit's own tree passed. - It does not try to resist deliberate disguise by people who can write - here, such as renaming another branch into main or retargeting pull - requests so that a run against another base looks like the candidate's: - main is not protected, so they could push it directly. The pull request - checks it also requires are as trustworthy as those people. - """ - - target = pull_request or branch - - fetched = subprocess.run( - ["git", "fetch", "origin", f"refs/heads/{branch}"], - check=False, - capture_output=True, - text=True, - ) - head = _git_out("rev-parse", "FETCH_HEAD") if fetched.returncode == 0 else "" - parent = _git_out("rev-parse", f"{commit}^") if head == commit else "" - listed = _git_out("ls-remote", "origin", "refs/heads/main").split() - main = listed[0] if listed else "" - if head != commit or not parent or parent != main: - print( - f"not promotable now: {branch} is not the qualified commit " - f"{commit[:12]} built on current main; it is requalified on current main" - ) - return _set_ready(target, False) - if not automatic: - _set_ready(target, True) - return True - shared = _shared_branch_pull_requests(branch, commit, target) - if shared is None: - print( - f"automatic promotion waits for {branch}: the pull requests from it " - "could not be read" - ) - return _set_ready(target, False) - if shared: - # Their runs and the candidate's cannot be told apart, and they stay - # at this commit after the pull requests close: only a new candidate - # commit (and, if the candidate's own was one, a new pull request to - # main, which prepare opens) leaves them behind. - print( - f"::error::{branch} is not promoted: runs at its commit may have " - f"tested another base, from pull requests {', '.join(shared)}, and " - "GitHub does not record which pull request or base a run is for; " - "close them and requalify the pair" - ) - _set_ready(target, False) - return False - waiting, stranded = _unfinished_checks(commit, branch) - if waiting: - print(f"automatic promotion waits for {branch}: " + "; ".join(waiting)) - if stranded: - # Refresh will not re-run these again, and nothing else moves - # the candidate while main stays put: say so in the run's result. - print( - f"::error::{branch} waits on runs refresh will not re-run; re-run " - "or re-dispatch them by hand, or requalify the pair: " - + "; ".join(stranded) - ) - # A pull request a person or an interrupted run left ready goes back - # to draft until every check on its own tree has passed. - return _set_ready(target, False) and not stranded - _set_ready(target, True) - pushed = subprocess.run( - [ - "git", - "push", - f"--force-with-lease=refs/heads/main:{parent}", - "origin", - f"{commit}:refs/heads/main", - ], - check=False, - capture_output=True, - text=True, - ) - if pushed.returncode != 0: - print( - f"automatic promotion skipped: main is no longer {parent[:12]}; " - "the pair is requalified on current main" - ) - return _set_ready(target, False) - print(f"promoted {branch} at {commit[:12]} to main") - return True - - -def _git_out(*args: str) -> str: - result = subprocess.run(["git", *args], check=False, capture_output=True, text=True) - return result.stdout.strip() if result.returncode == 0 else "" - - -def _unfinished_checks(commit: str, branch: str) -> tuple[list[str], list[str]]: - """Why the qualified commit's checks do not yet show its own tree passing, - and which of the runs it waits on refresh will not re-run. - - Pull request runs test the candidate merged with main as it was then; - the run of the code-changes workflow that the qualification dispatches on - the candidate branch tests the commit's own tree, and must exist. Only - the candidate's own runs count (``_own_runs``): a run of a pull request - from another branch or a fork at the same commit neither blocks nor - passes it (``_promote`` has already refused a candidate whose branch has - another pull request sharing its runs). For each workflow and event, - the newest own run must have - finished successfully, and for each check name the newest check must - have finished as success, skipped or neutral. Checks of any run that is - not a newest own run (one a newer run replaced, or another pull - request's) are not counted at all; checks outside any workflow run (an - app's) are. A run still registering its jobs, no checks, or an - unreadable list waits. A finished, unsuccessful newest own run that - refresh will not re-run (``_rerun_due``) is stranded. - """ - - result = subprocess.run( - [ - "gh", - "api", - f"repos/{LEDGER_REPOSITORY}/commits/{commit}/check-runs?per_page=100", - "--paginate", - "--jq", - ".check_runs[] | {id, name, status, conclusion," - " check_suite_id: .check_suite.id} | tojson", - ], - check=False, - capture_output=True, - text=True, - ) - checks: Optional[list[dict[str, Any]]] = None - if result.returncode == 0: - try: - checks = [json.loads(line) for line in result.stdout.splitlines() if line] - except json.JSONDecodeError: - checks = None - runs = _commit_runs(commit) - if checks is None or runs is None: - return ["the checks could not be read"], [] - newest_runs = _newest_runs(_own_runs(runs, commit, branch)) - excluded_suites = {run.get("check_suite_id") for run in runs} - { - run.get("check_suite_id") for run in newest_runs.values() - } - counted = [ - check for check in checks if check.get("check_suite_id") not in excluded_suites - ] - newest_checks: dict[Any, dict[str, Any]] = {} - for check in counted: - name = check.get("name") - if name not in newest_checks or check.get("id", 0) > newest_checks[name].get( - "id", 0 - ): - newest_checks[name] = check - problems = [ - f"workflow {path} ({event}) is {run.get('conclusion') or run.get('status')}" - for (path, event), run in newest_runs.items() - if run.get("status") != "completed" or run.get("conclusion") != "success" - ] - problems += [ - f"check {name} is {check.get('conclusion') or check.get('status')}" - for name, check in newest_checks.items() - if check.get("status") != "completed" - or check.get("conclusion") not in ("success", "skipped", "neutral") - ] - if (CODE_CHANGES_WORKFLOW, "workflow_dispatch") not in newest_runs: - problems.append( - f"no {CODE_CHANGES_WORKFLOW} run on the candidate's own tree yet" - ) - if not counted: - problems.append("no checks reported yet") - now = _now() - stranded = sorted( - f"workflow {path} ({event}) is {run.get('conclusion')} after " - f"{run.get('run_attempt') or 1} attempt(s)" - for (path, event), run in newest_runs.items() - if run.get("status") == "completed" - and run.get("conclusion") != "success" - and not _rerun_due(run, now) - ) - return sorted(problems), stranded - - -def cmd_accept(args: argparse.Namespace) -> int: - pair_dir = pair_directory(Path(args.ledger), "uk", args.pair_id) - path = pair_dir / "qualification_receipt.json" - # Accept only a receipt that is an attempt's own, never a merged one. - receipt = published_receipt(pair_dir) - reviewed = accept_review( - receipt, - reviewer=args.reviewer or os.environ.get("GITHUB_ACTOR", ""), - accepted_receipt_sha256=args.receipt_sha256, - explanation=args.explanation, - accepted_at=utc_now(), - ) - write_json(path, reviewed.canonical_payload()) - write_json( - path.parent / "reviews" / f"{reviewed.receipt_sha256}.json", - reviewed.canonical_payload(), - ) - print( - f"accepted {args.pair_id[:12]} by {reviewed.review.reviewer}; promotable={reviewed.promotable}" - ) - return 0 - - -def parser() -> argparse.ArgumentParser: - parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) - commands = parser.add_subparsers(dest="command", required=True) - - resolve = commands.add_parser("resolve") - resolve.add_argument("--model-version") - resolve.add_argument("--data-version") - resolve.add_argument("--core-version") - resolve.add_argument("--pair-id") - resolve.add_argument("--ledger") - resolve.add_argument("--force", action="store_true") - resolve.add_argument("--out", required=True) - resolve.set_defaults(func=cmd_resolve) - - still_eligible = commands.add_parser("still-eligible") - still_eligible.add_argument("--candidate", required=True) - still_eligible.add_argument("--ledger", required=True) - still_eligible.set_defaults(func=cmd_still_eligible) - - prepare = commands.add_parser("prepare") - prepare.add_argument("--candidate", required=True) - prepare.add_argument("--out", default="prepared.json") - prepare.add_argument("--skip-snapshots", action="store_true") - prepare.set_defaults(func=cmd_prepare) - - stage = commands.add_parser("stage") - stage.add_argument("--candidate", required=True) - stage.add_argument("--ledger", required=True) - stage.set_defaults(func=cmd_stage) - - gates = commands.add_parser("gates") - gates.add_argument("--attempt", required=True) - gates.add_argument("--work-dir", default="qualification-work") - gates.set_defaults(func=cmd_gates) - - request = commands.add_parser("request-replay") - request.add_argument("--attempt", required=True) - request.add_argument("--replay-attempt", type=int, default=1) - request.add_argument("--dispatch", action="store_true") - request.set_defaults(func=cmd_request_replay) - - poll = commands.add_parser("poll-replay") - poll.add_argument("--attempt", required=True) - poll.add_argument("--wait-minutes", type=float, default=0) - poll.add_argument("--interval-seconds", type=float, default=300) - poll.set_defaults(func=cmd_poll_replay) - - finalize = commands.add_parser("finalize") - finalize.add_argument("--attempt", required=True) - finalize.add_argument("--ledger", required=True) - finalize.add_argument("--pr-body") - finalize.set_defaults(func=cmd_finalize) - - waiting = commands.add_parser("waiting") - waiting.add_argument("--ledger", required=True) - waiting.set_defaults(func=cmd_waiting) - - refresh = commands.add_parser("refresh-pr-checks") - refresh.add_argument("--ledger", required=True) - refresh.set_defaults(func=cmd_refresh_pr_checks) - - recoverable = commands.add_parser("recoverable") - recoverable.add_argument("--ledger", required=True) - recoverable.set_defaults(func=cmd_recoverable) - - requalify = commands.add_parser("requalify") - requalify.add_argument("--ledger", required=True) - requalify.set_defaults(func=cmd_requalify) - - promote = commands.add_parser("promote") - promote.add_argument("--ledger", required=True) - promote.add_argument("--apply", action="store_true") - promote.set_defaults(func=cmd_promote) - - accept = commands.add_parser("accept") - accept.add_argument("--ledger", required=True) - accept.add_argument("--pair-id", required=True) - accept.add_argument("--receipt-sha256", required=True) - accept.add_argument("--explanation", required=True) - accept.add_argument("--reviewer") - accept.set_defaults(func=cmd_accept) - - rederive = commands.add_parser("rederive-ledger") - rederive.add_argument("ledger") - rederive.set_defaults(func=cmd_rederive_ledger) - return parser - - -def cmd_rederive_ledger(args: argparse.Namespace) -> int: - """Recompute every pair's published files from its attempts. - - Called by .github/qualification-ledger.sh after a concurrent publish - changed a pair's published files on both sides. - """ - - for pair_dir in sorted((Path(args.ledger) / "uk").glob("*")): - if pair_dir.is_dir(): - rederive_publication(pair_dir) - return 0 - - -def main(argv: Optional[list[str]] = None) -> int: - args = parser().parse_args(argv) - return int(args.func(args) or 0) - - -if __name__ == "__main__": - raise SystemExit(main()) diff --git a/scripts/generate_trace_tros.py b/scripts/generate_trace_tros.py index fe3ec79cc..77e3d8671 100644 --- a/scripts/generate_trace_tros.py +++ b/scripts/generate_trace_tros.py @@ -106,14 +106,9 @@ def _validate_reviewed_inputs( data, country.model_package.name, country.model_package.version, - # Revalidate the certificate's exact qualification context, including - # qualification-only models/cores. Never substitute a publisher range. + # Revalidate the certificate's exact model, core and record. Never + # substitute a publisher range. core_version=country.certification.certified_for_core_version, - qualified_pair_id=( - country.certification.qualification_pair_id - if country.certification.compatibility_basis == "qualified_exact_pair" - else None - ), compatibility_record=compatibility_record, ) certified = country.certified_data_artifact @@ -167,16 +162,6 @@ def _validate_runtime_model(bundle: dict, country: CountryReleaseManifest) -> No prefix = f"{country.country_id}: strict TRACE release" certification = country.certification core = bundle.get("packages", {}).get("policyengine-core", {}) - exact_pair = ( - certification is not None - and certification.compatibility_basis == "qualified_exact_pair" - ) - if exact_pair and not ( - certification.qualification_pair_id and certification.certified_for_core_version - ): - raise ValueError( - f"{prefix}: a qualified exact pair must name its pair and core" - ) if ( certification is not None and certification.compatibility_basis == BASIS_COMPATIBILITY_CHECKED @@ -203,9 +188,7 @@ def _validate_runtime_model(bundle: dict, country: CountryReleaseManifest) -> No # Receipts certify the core the certificate names, not the pin, so a # core-only pin change would leave every receipt uncertified. remedy = ( - "requalify the pair for the new core" - if exact_pair - else "re-certify the data release for the new core, or without " + "re-certify the data release for the new core, or without " "--core-version so that the certificate follows the core pin" ) raise ValueError( diff --git a/scripts/release_consumers.py b/scripts/release_consumers.py index 9c96a06a5..cb4b6fe21 100644 --- a/scripts/release_consumers.py +++ b/scripts/release_consumers.py @@ -6,11 +6,15 @@ python scripts/release_consumers.py payload --version 6.2.7 > payload.json python scripts/release_consumers.py scorecard-request --version 6.2.7 > request.json -``payload`` is the ``policyengine-release`` repository dispatch (version, -certified UK bundle identity, qualification digests). ``scorecard-request`` -is the scorecard's ``released_bundle`` replay request; it needs the release +``payload`` is the ``policyengine-release`` repository dispatch: the +version and the certified UK bundle identity, which API v1, API v2's +simulation service and the UK Budget dashboard read. ``scorecard-request`` is +policyengine-scorecard's ``released_bundle`` replay request, checked against +the vendored ``qualification_request.v1.json``; it needs the release installed (``pip install "policyengine[uk]=="``) and ``HUGGING_FACE_TOKEN``. + +Each command prints one line of JSON with sorted keys. """ from __future__ import annotations @@ -21,27 +25,37 @@ import os import subprocess import sys +from collections.abc import Callable, Mapping, Sequence from pathlib import Path +from typing import Any, Optional REPO_ROOT = Path(__file__).resolve().parents[1] sys.path.insert(0, str(REPO_ROOT / "src")) os.environ.setdefault("POLICYENGINE_SKIP_COUNTRY_IMPORTS", "1") +import jsonschema # noqa: E402 import requests # noqa: E402 from policyengine.provenance.manifest import ( # noqa: E402 + DataReleaseManifest, https_dataset_uri, hugging_face_auth_headers, ) -from policyengine.provenance.qualification_ledger import ( # noqa: E402 - fetch_ledger_receipt, -) -from policyengine.provenance.uk_qualification import ( # noqa: E402 - release_dispatch_payload, - released_bundle_request, -) +from policyengine.provenance.receipt import certificate_sha256 # noqa: E402 BUNDLE_PATH = REPO_ROOT / "src" / "policyengine" / "data" / "bundle" / "manifest.json" +#: policyengine-scorecard's schema of the replay request, vendored unchanged. +REQUEST_SCHEMA_PATH = ( + REPO_ROOT + / "src" + / "policyengine" + / "data" + / "schemas" + / "vendor" + / "policyengine-scorecard" + / "qualification_request.v1.json" +) +CORE_PACKAGE = "policyengine-core" TIMEOUT = 60 TOKEN_VARIABLES = ("HF_TOKEN", "HUGGING_FACE_TOKEN", "HUGGINGFACE_HUB_TOKEN") @@ -98,10 +112,172 @@ def _hf_size(repo_id: str, revision: str, path: str, repo_type: str = "model") - return int(size) -def cmd_payload(args: argparse.Namespace) -> int: - payload = release_dispatch_payload( - _bundle(), version=args.version, fetch_receipt=fetch_ledger_receipt +def release_bundle_identity( + bundle: Mapping[str, Any], country_id: str = "uk" +) -> dict[str, Any]: + """The certified pair a release carries, as consumers verify it.""" + + record = bundle["data_releases"][country_id] + certification = record.get("certification") or {} + model_package = bundle["countries"][country_id]["model_package"] + return { + "model_version": record["model_package"]["version"], + "model_wheel_sha256": record["model_package"].get("sha256"), + "core_version": bundle["packages"][CORE_PACKAGE]["version"], + "data_release_version": record["data_package"]["version"], + "dataset": record["default_dataset"], + "dataset_sha256": record["certified_data_artifact"].get("sha256"), + "certificate_sha256": certificate_sha256(record), + "compatibility_basis": certification.get("compatibility_basis"), + "model_package": model_package, + } + + +def release_dispatch_payload( + bundle: Mapping[str, Any], + *, + version: str, + repository: str = "PolicyEngine/policyengine.py", +) -> dict[str, Any]: + """The ``policyengine-release`` repository dispatch for consumers.""" + + if bundle.get("policyengine_version") != version: + raise ValueError( + f"The bundle manifest is for {bundle.get('policyengine_version')}, not {version}." + ) + return { + "event_type": "policyengine-release", + "client_payload": { + "version": version, + "bundle": {"uk": release_bundle_identity(bundle)}, + # Always null: it carried the receipt of the retired UK + # qualification pipeline. It is kept purely to avoid the + # challenges of changing other apps: API v2's simulation service + # and the UK Budget dashboard read it. + "qualification": None, + "release_url": f"https://github.com/{repository}/releases/tag/{version}", + }, + } + + +def _wheel_sha256(files: Sequence[Mapping[str, Any]], name: str, version: str) -> str: + wheels = [ + item + for item in files + if item.get("packagetype") == "bdist_wheel" and not item.get("yanked") + ] + if len(wheels) != 1: + raise ValueError( + f"{name} {version} must publish exactly one wheel; found {len(wheels)}." + ) + return wheels[0]["digests"]["sha256"] + + +def released_bundle_request( + bundle: Mapping[str, Any], + *, + version: str, + wheel_sha256: str, + packaged_manifest_sha256: str, + release_bundle: Mapping[str, Optional[str]], + hf_file: Callable[[str, str, str, str], bytes], + pypi_project: Callable[[str], Mapping[str, Any]], + requested_by: Mapping[str, Any], + hf_size: Optional[Callable[[str, str, str, str], int]] = None, +) -> dict[str, Any]: + """The ``released_bundle`` replay request for a published release. + + ``hf_file`` and ``hf_size`` take a repository id, revision, path and + repository type. The dataset's size comes from the release manifest, or + from ``hf_size`` when the manifest records none, as Microcosm's do not. + The request is checked against the scorecard's schema before it is + returned. + """ + + record = bundle["data_releases"]["uk"] + data_package = record["data_package"] + repo_type = data_package.get("repo_type", "model") + manifest_bytes = hf_file( + data_package["repo_id"], + data_package["release_manifest_revision"], + data_package["release_manifest_path"], + repo_type, ) + manifest = DataReleaseManifest.model_validate_json(manifest_bytes) + dataset = record["default_dataset"] + artifact = manifest.artifacts[dataset] + reference = record["datasets"][dataset] + if reference.get("sha256") != artifact.sha256: + raise ValueError( + "The release manifest's dataset hash differs from the bundle's." + ) + data_repo_id = reference.get("repo_id") or data_package["repo_id"] + data_repo_type = reference.get("repo_type") or repo_type + size_bytes = artifact.size_bytes + if size_bytes is None: + if hf_size is None: + raise ValueError( + f"The release manifest records no size for {dataset!r}; pass " + "hf_size to read it from Hugging Face." + ) + size_bytes = hf_size( + data_repo_id, reference["revision"], reference["path"], data_repo_type + ) + core_version = bundle["packages"][CORE_PACKAGE]["version"] + core_wheel_sha256 = _wheel_sha256( + pypi_project(CORE_PACKAGE)["releases"][core_version], CORE_PACKAGE, core_version + ) + request = { + "schema": "policyengine.uk-replay-qualification-request/v1", + "kind": "released_bundle", + "attempt": 1, + "candidate": { + "policyengine": { + "version": version, + "source": {"pypi": {"wheel_sha256": wheel_sha256}}, + "packaged_bundle_manifest_sha256": packaged_manifest_sha256, + }, + "policyengine_uk": { + "version": record["model_package"]["version"], + "wheel_sha256": record["model_package"]["sha256"], + }, + "policyengine_core": { + "version": core_version, + "wheel_sha256": core_wheel_sha256, + }, + "data": { + "build_id": record["certified_data_artifact"].get("build_id") + or record["build_id"], + "dataset": dataset, + "repo_id": data_repo_id, + "repo_type": data_repo_type, + "revision": reference["revision"], + "path": reference["path"], + "sha256": reference["sha256"], + "size_bytes": size_bytes, + "release_manifest_sha256": hashlib.sha256(manifest_bytes).hexdigest(), + }, + "expected_release_bundle": dict(release_bundle), + }, + "compare_to": "latest_certified", + # As before the builder moved here, a null member is left out. + "requested_by": { + key: value for key, value in requested_by.items() if value is not None + }, + } + schema = json.loads(REQUEST_SCHEMA_PATH.read_text()) + try: + jsonschema.Draft202012Validator(schema).validate(request) + except jsonschema.ValidationError as error: + raise ValueError( + "The released-bundle request does not match the scorecard's " + f"{REQUEST_SCHEMA_PATH.name}: {error.message}" + ) from error + return request + + +def cmd_payload(args: argparse.Namespace) -> int: + payload = release_dispatch_payload(_bundle(), version=args.version) print(json.dumps(payload, sort_keys=True)) return 0 @@ -175,7 +351,7 @@ def cmd_scorecard_request(args: argparse.Namespace) -> int: json.dumps( { "event_type": "uk-replay-qualification-request", - "client_payload": {"request": request.document()}, + "client_payload": {"request": request}, }, sort_keys=True, ) diff --git a/src/policyengine/data/qualification/replay_policy.md b/src/policyengine/data/qualification/replay_policy.md deleted file mode 100644 index 87c55e168..000000000 --- a/src/policyengine/data/qualification/replay_policy.md +++ /dev/null @@ -1,171 +0,0 @@ -# Replay gate policy d1344-replay-regressions-v2 - -Decided under cos d1344 by workstream W4 on 15 October 2026, after two -independent reviews. The pull request that added this file records the -decision, the reviews and the alternatives considered. Revised on 16 -October 2026, before first use, after the third to fifth reviews of -policyengine.py#637: scorecard's own record of a mixed known gap no longer -blocks, flag counters must equal the flags the rows carry, and any -candidate value other than ยฃ0 at a known gap is a contradiction. -The data-limited exception amendment below was adopted by the Budget -coordinator following independent review agreement under cos d1344: -RULE AGREE (GPT-6.1 Sol, round 2, 17 October 2026, head 7f518ff61) and -CODE AGREE WITH NITS (round 3, head dbc1806df), with the P3 nit fixed in -this commit. The registry records this adopted decision and review status. -`evaluate_replay_receipt` in `policyengine.provenance.qualification` -applies this text. Each qualification receipt records the policy id and -this file's SHA-256 in its `replay` gate details. - -The replay gate fails on the regressions a scorecard replay receipt -identifies. It calls a gap known only on positive evidence from the -comparison base, and passes the rows that record a known gap. It sends -every other flagged move to a named reviewer. - -## Fail - -- A rejected request, `no_supported_years`, integrity `failed` (a crash or - missing outputs, persistent or not), or a receipt not bound to the - request. Only the narrow data-limited exceptions below can make a failed - integrity reviewable. -- A mapping flag. -- A lost result: a coverage row with a base value and no candidate value, - unless it is the record of a known gap (below). -- A lost response: - - a measure-year the candidate lists as inert, unless it is a known gap - or a data-limited exception applies; - - a measure-year total at exactly ยฃ0 where the base's absolute value is - at least the diff's bound, max(ยฃ1m, 1% of the base's absolute value), - whether the base was positive or negative, unless a data-limited - exception applies. A known gap never excuses this: a base whose record - lists the measure-year as a gap cannot also hold a material value for - it, and a data-limited exception never excuses that contradiction. -- An event whose supported grid is incomplete, unless every inert or - missing and supported measure-year in it is a known gap or is accounted - for by a data-limited exception. An incomplete event whose receipt does - not list its missing measure-years fails, and so does one with no inert - and no missing and supported measure-year at all. A receipt whose - integrity is `incomplete` with no incomplete event also fails. -- A receipt that contradicts itself, including a complete event that lists - an inert, or missing and supported, measure-year; flag counters that - differ, either way, from the flags its rows carry; and a candidate value - other than ยฃ0 for a measure-year that is a known gap. - -## Known gaps - -A candidate measure-year that is inert, or missing and supported (in the -event's missing list and not its unsupported list), is a known gap only -when the receipt's base-side record for the same event (`diff.base_events`, -taken from the base's verified staging and run manifests) lists the same -measure and year as inert, or as missing and supported, in the base. The -gate records each known gap with the base's staging manifest SHA-256. A -legacy-layout base, or an event the base did not replay, has no record, so -none of its gaps are known. - -A known gap does not block. Where one side is inert and the other missing, -scorecard records the gap as a coverage row with exactly ยฃ0 on the inert -side and no value on the other, and an inertness flag on the inert side -only, on a row with no values. Those flags are the gap itself and neither -fail nor send the row to review. (Where the candidate is the inert side, its -inert list already decides that flag.) The gate records every row a known -gap accounts for, in whole or in part, beside the known gaps; the rest of a -partly excused row's flags are judged as usual. Any other row at a known gap -is judged as usual: a coverage row with a base value and no candidate value, -even ยฃ0, is still a lost result, and any candidate value other than ยฃ0 at a -known gap contradicts the candidate's own record, which lists the -measure-year as inert (exactly ยฃ0) or missing (no value). - -## Data-limited exceptions - -`uk_replay_exceptions.json` lists narrowly scoped exceptions for regressions -caused by inputs absent from the candidate's data. Missingness alone does -not establish cause. The registry is reviewed like code. Each entry records -an id, failure codes, event, measure key, years, required missing inputs, -cause, tracking issue, approved lineage, positive-input probe specification, -publication designation, governing decision and review status. - -An exception applies only when its code, event, measure key and year all -match, and the same qualification attempt's `budget_inputs` gate result -and its evidence report every required input as missing from the -candidate's data. A degenerate but present input cannot satisfy that -condition. The same evidence must carry the cumulative `ever_usable_inputs` -set from the previous certified pair, adding inputs usable in that pair and -in the candidate. Removing an input or making it formula-backed never erases -this history. An exception requires that the input has never been usable in -this chain and is not usable now. For evidence predating the cumulative field, -recompute the exact direct predecessor's usable inputs and record -`ever_usable_inputs_basis: "seeded from direct predecessor"`; the registry's -approved lineage records the human-verified history before that base. -A previous pair with both the variable -and column present requires a fresh reviewed registry decision and fails, -including when the previous column was degenerate. The approved -SDLT lineage is that no certified uk-data release through 1.58.2 supplied -the input. When the data gains an input, or the measure-year falls outside -the entry's years, the exception stops applying automatically. - -Every reported fiscal effect for an excepted measure-year must be exactly ยฃ0, -including fiscal heads, measure totals, source rows and any other reported -level. Any nonzero candidate effect is a contradiction and fails, -independently of any base known gap. This checks reported rows only. - -The gates job also runs the registry's positive-input probe directly on the -exact installed candidate model, using one synthetic household and no -survey data. For the SDLT exception, an England household buys an additional -residential property for ยฃ300,000 in 2026. The reform adds 0.02 to every -band of `gov.hmrc.stamp_duty.residential.purchase.additional.rate`. Its -`sdlt_on_residential_property_transactions` output must increase by ยฃ6,000 -within ยฃ0.10, and must be exactly unchanged when the purchase input is ยฃ0. -An import error, missing variable or parameter, or any other inability to -run the probe records failure. An exception requires a passing probe from -the same attempt (identified by both pair id and attempt key), bound to the -candidate model version and probe specification by digests. Finalization -re-reads the evidence and verifies its digest, as it does for `budget_inputs`. -The consumer also checks the installed model version and verifies that the -recorded baseline/reform outputs yield the claimed positive and zero deltas. -Budget-input evidence embeds and checks both pair and attempt identity; its -candidate status map must agree with the missing list, and its previous -status flags and cumulative history must be internally consistent. - -Matching `construction_inert` integrity failures and `lost_response` -regressions (candidate inertness or a measure-year total of ยฃ0 against a -material base value) become review items. Each names the exception, cause -and required missing inputs. A failed receipt proceeds to the ordinary -corpus and diff checks only if every integrity failure matches an -exception. Every unmatched failure, mapping flag, lost result and -contradiction retains its ordinary treatment. An exception accounts only -for its matched inert measure-years when checking grid completeness; it -does not excuse a missing result. - -An applied exception always requires review and can never qualify a -candidate automatically. Promotion requires a named reviewer to accept -the exact qualification receipt. Applied-exception review items carry the -registry's publication designation, and the named reviewer's acceptance -explanation must restate it. For SDLT the designation is: not computable, -in PolicyEngine/uk-autumn-budget-dashboard-2026 (data-limited handling, -PR #51; Budget-day runbook, PR #14). - -The gate records every applied exception's id, event, measure key, year -and matched codes, the registry's SHA-256, and the digests of the same -attempt's `budget_inputs` and probe results it relied on. Every result -that reads the registry records its digest. - -## Review - -A needs-review verdict blocks automatic promotion. It stays blocked until a -named reviewer accepts that exact qualification receipt. These go to -review: - -- numerical flags; -- structural flags other than a lost response, including sign reversals - and moves from zero to non-zero; -- construction flags; -- support flags (the separate `supported_years` gate fails a candidate that - loses a year the previous certificate supported); -- coverage gains, coverage rows with no value on either side, and any other - coverage row that is not a lost result or the record of a known gap; -- inertness flags on a measure-year the candidate does not list as inert, - other than the record of a known gap; -- a receipt with no diff against a certified variant. - -Unsupported years alone never fail. A move below the diff's bound raises -no numerical flag; it is reviewed only if another flag, such as a structural -one, fires on it. diff --git a/src/policyengine/data/qualification/uk.json b/src/policyengine/data/qualification/uk.json deleted file mode 100644 index 0bcb7f038..000000000 --- a/src/policyengine/data/qualification/uk.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "schema_version": 1, - "country_id": "uk", - "required_years": [2025, 2026, 2027, 2028, 2029, 2030], - "budget_horizon_years": [2026, 2027, 2028, 2029, 2030, 2031], - "reform_contract": { - "entrypoint": "policyengine.tax_benefit_models.uk.budget_reform_contract:run_budget_reform_contract", - "seed": 0, - "max_examples": 20, - "_comment": "W1's runner (policyengine.py#577); its pass also needs policyengine-uk#2305 and policyengine.py#575, so certified 2.125.1 fails the dated cases by design." - }, - "metrics": { - "tool": { - "repository": "PolicyEngine/policyengine-uk", - "commit": "1191ac5a473419f48e0c0643f83d31719da788e1", - "path": "policyengine_uk/utils/aggregate_impact", - "_comment": "W3's aggregate-impact tool, pinned so both pairs use the same definitions: the approved head of draft policyengine-uk#2335. It suppresses figures from fewer than 10 records and gives each total's excluded figures with their signs (exclude_signs), which the metrics review requires. #2335 merges after cos d1601; move the pin to the merged commit when it lands, and never to a commit without suppression." - }, - "years": [2025, 2026, 2027, 2028, 2029, 2030, 2031], - "bounds": "uk_review_bounds.json" - }, - "budget_inputs": { - "critical": "uk_budget_critical_inputs.json" - }, - "replay": { - "repository": "PolicyEngine/policyengine-scorecard", - "event_type": "uk-replay-qualification-request", - "state_ref": "replay-state", - "compare_to": "latest_certified", - "poll_timeout_minutes": 360 - }, - "reform_responsiveness": { - "_comment": "Plan invariant 'Reform responsiveness' (11 Oct 2026): a reform the model silently ignores must fail qualification. The standard set, each reform's target variable, direction and yearly minimum are the metrics tool's own (standard_reforms.yaml in the pinned tool; at 228a05a3e each minimum is a fifth of the reform's smallest yearly effect on the certified pair, adopted under cos d1344). The tool costs the set by default and emits reform_runs: and responsive: checks. This gate requires both checks to be present and passing for every standard reform in the candidate's report, and recomputes each responsive verdict from the report's reform_targets. values.", - "standard_reforms_file": "standard_reforms.yaml" - }, - "promotion": { - "automatic": true, - "decision": "cos d1344 (15 October 2026): automatic promotion is on once policyengine.py#574 lands on its gates. The promote job fast-forwards main to the newest promotable candidate's qualified commit once every check on it has passed, which succeeds only while main is still the commit the candidate was built on; otherwise the candidate is requalified on current main. A needs-review receipt is promoted only after a named reviewer accepts that exact receipt." - } -} diff --git a/src/policyengine/data/qualification/uk_budget_critical_inputs.json b/src/policyengine/data/qualification/uk_budget_critical_inputs.json deleted file mode 100644 index 90d2e4221..000000000 --- a/src/policyengine/data/qualification/uk_budget_critical_inputs.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "_comment": "Proposed Budget-critical input variables, pending review under cos d1344. Each name was checked on 11 October 2026 to be an input variable (Variable.is_input_variable()) in policyengine-uk 2.125.1 and a non-degenerate column of uk-data 1.58.0 enhanced_frs_2024_25.h5. A candidate fails the budget_inputs gate if any is missing or degenerate when it was usable in the previous certified pair; a gap present in both pairs needs review unless listed under accepted_gaps with an issue.", - "critical": [ - "accommodation_type", - "age", - "alcohol_and_tobacco_consumption", - "carers_allowance_reported", - "child_benefit_reported", - "child_tax_credit_reported", - "childcare_expenses", - "clothing_and_footwear_consumption", - "communication_consumption", - "corporate_wealth", - "council_tax", - "council_tax_band", - "diesel_spending", - "dividend_income", - "domestic_energy_consumption", - "education_consumption", - "employer_pension_contributions", - "food_and_non_alcoholic_beverages_consumption", - "gender", - "gross_financial_wealth", - "health_consumption", - "hours_worked", - "household_furnishings_consumption", - "household_owns_tv", - "household_weight", - "housing_benefit_reported", - "housing_water_and_electricity_consumption", - "is_disabled_for_benefits", - "main_residence_value", - "miscellaneous_consumption", - "net_financial_wealth", - "num_vehicles", - "other_residential_property_value", - "pension_credit_reported", - "personal_pension_contributions", - "petrol_spending", - "private_pension_income", - "property_income", - "property_purchased", - "recreation_consumption", - "region", - "rent", - "restaurants_and_hotels_consumption", - "savings", - "savings_interest_income", - "self_employment_income", - "tenure_type", - "transport_consumption", - "universal_credit_reported", - "working_tax_credit_reported", - "would_claim_child_benefit", - "would_claim_uc" - ], - "accepted_gaps": {} -} diff --git a/src/policyengine/data/qualification/uk_replay_exceptions.json b/src/policyengine/data/qualification/uk_replay_exceptions.json deleted file mode 100644 index 933064759..000000000 --- a/src/policyengine/data/qualification/uk_replay_exceptions.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "_comment": "Narrow data-limited exceptions for the UK replay qualification gate, reviewed like code under cos d1344. An entry requires coherent zero candidate effects, never-usable input lineage from budget_inputs, and a passing positive-input probe from the same attempt. It always requires a named reviewer's acceptance. The 17 October 2026 decision is adopted by the Budget coordinator following independent review agreement under cos d1344: RULE AGREE (GPT-6.1 Sol, round 2, 17 October 2026, head 7f518ff61) and CODE AGREE WITH NITS (round 3, head dbc1806df), with the P3 nit fixed in this commit.", - "exceptions": [ - { - "id": "ab2024-sdlt-hrad-purchase-input", - "codes": [ - "construction_inert", - "lost_response" - ], - "event": "autumn_budget_2024", - "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp", - "years": [ - 2025, - 2026, - 2027, - 2028, - 2029 - ], - "requires_missing_inputs": [ - "additional_residential_property_purchased" - ], - "cause": "policyengine-uk#2241 charges SDLT higher rates on purchases, which uk-data does not yet impute.", - "issue": "PolicyEngine/policyengine-uk-data#573 (cos d1354)", - "approved_lineage": "never supplied by any certified uk-data release up to and including 1.58.2.", - "publication": "not computable, in PolicyEngine/uk-autumn-budget-dashboard-2026 (data-limited handling, PR #51; Budget-day runbook, PR #14).", - "probe": { - "input_variable": "additional_residential_property_purchased", - "input_entity": "household", - "year": 2026, - "positive_input_gbp": 300000, - "output_variable": "sdlt_on_residential_property_transactions", - "parameter": "gov.hmrc.stamp_duty.residential.purchase.additional.rate", - "rate_increment": 0.02, - "expected_change_gbp": 6000, - "absolute_tolerance_gbp": 0.1, - "region": "LONDON" - }, - "decided_under": "cos d1344; Budget coordinator's data-limited exception proposal of 17 October 2026", - "review": "Adopted by the Budget coordinator following independent review agreement under cos d1344: RULE AGREE (GPT-6.1 Sol, round 2, 17 October 2026, head 7f518ff61) and CODE AGREE WITH NITS (round 3, head dbc1806df), with the P3 nit fixed in this commit." - } - ] -} diff --git a/src/policyengine/data/qualification/uk_review_bounds.json b/src/policyengine/data/qualification/uk_review_bounds.json deleted file mode 100644 index c1c7718b4..000000000 --- a/src/policyengine/data/qualification/uk_review_bounds.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "_comment": "Proposed per-kind review bounds for qualification metrics, pending cos d1344. A move needs review when |candidate - previous| exceeds max(relative * |previous|, absolute). Units follow the metric report: gbp (pounds), count (people or units), rate and share (fractions, so 0.005 is half a percentage point). They are review triggers, not acceptance criteria: a move inside the bounds is still in the evidence.", - "default": { - "relative": 0.02, - "absolute": 500000000.0 - }, - "kinds": { - "receipt": { - "relative": 0.02, - "absolute": 500000000.0, - "why": "2% or \u00a30.5bn: the Budget scorecard reports measures to \u00a30.1bn, and model fixes moving a head by more than 2% should be explained." - }, - "spending": { - "relative": 0.02, - "absolute": 500000000.0, - "why": "As receipts." - }, - "balance": { - "relative": 0.02, - "absolute": 500000000.0, - "why": "As receipts." - }, - "model_total": { - "relative": 0.02, - "absolute": 500000000.0, - "why": "As receipts." - }, - "household_total": { - "relative": 0.02, - "absolute": 500000000.0, - "why": "As receipts." - }, - "caseload": { - "relative": 0.03, - "absolute": 50000.0, - "why": "3% or 50,000 claimants: caseloads are calibrated targets; larger moves signal data or eligibility changes." - }, - "population": { - "relative": 0.01, - "absolute": 100000.0, - "why": "Population totals should barely move between pairs." - }, - "poverty": { - "relative": 0.0, - "absolute": 0.005, - "why": "Half a percentage point on a rate." - }, - "poverty_count": { - "relative": 0.03, - "absolute": 100000.0, - "why": "3% or 100,000 people." - }, - "inequality": { - "relative": 0.0, - "absolute": 0.005, - "why": "0.005 on a Gini-type index." - }, - "decile": { - "relative": 0.0, - "absolute": 0.005, - "why": "Half a point on a decile share." - }, - "double_count": { - "relative": 0.0, - "absolute": 1.0, - "why": "Any change in a counted-once check needs review." - }, - "reform": { - "relative": 0.05, - "absolute": 100000000.0, - "why": "5% or \u00a30.1bn on a reference reform costing." - }, - "reform_target": { - "relative": 0.05, - "absolute": 100000000.0, - "why": "5% or \u00a30.1bn on a standard reform's change in its target variable." - } - } -} diff --git a/src/policyengine/data/schemas/vendor/policyengine-scorecard/README.md b/src/policyengine/data/schemas/vendor/policyengine-scorecard/README.md index da25727c9..1c1eddd34 100644 --- a/src/policyengine/data/schemas/vendor/policyengine-scorecard/README.md +++ b/src/policyengine/data/schemas/vendor/policyengine-scorecard/README.md @@ -3,9 +3,9 @@ Copied unchanged from PolicyEngine/policyengine-scorecard, `main` at commit `71cad306f37f7f9bfb4b58497ff9ddd78b396e00` (the merge of scorecard#183, which added `diff.base_events` and the corpus grid lists; -`docs/uk_replay/schemas/`): the v1 -pre-promotion replay interface between policyengine.py qualification (W4) -and the replay corpus (W6). `policyengine.provenance.qualification` mirrors -them, and `tests/test_qualification_contracts.py` checks the mirrors and the -schemas accept and reject the same documents. Refresh by copying from a newer -scorecard commit and updating the commit above; never edit them by hand. +`docs/uk_replay/schemas/`). `qualification_request.v1.json` is the schema +of the replay request each release sends the scorecard: +`scripts/release_consumers.py` checks every request against it before +printing it. The receipt and status schemas were removed with the UK +qualification pipeline, which read them. Refresh by copying from a newer +scorecard commit and updating the commit above; never edit it by hand. diff --git a/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_receipt.v1.json b/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_receipt.v1.json deleted file mode 100644 index eb18cfa9a..000000000 --- a/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_receipt.v1.json +++ /dev/null @@ -1,695 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/PolicyEngine/policyengine-scorecard/blob/main/docs/uk_replay/schemas/replay_receipt.v1.json", - "title": "UK fiscal-event replay receipt, v1", - "description": "Returned by policyengine-scorecard for one qualification request. receipt_sha256 is the SHA-256 of the RFC 8785 (JCS) bytes of the receipt without that field. Flags describe movements against the base variant; they carry no verdict.", - "type": "object", - "additionalProperties": false, - "required": [ - "schema", - "request_id", - "status", - "rejection", - "variant_id", - "variant_identity_sha256", - "execution", - "corpus", - "integrity", - "diff", - "results", - "receipt_sha256" - ], - "properties": { - "schema": { - "const": "policyengine.uk-replay-receipt/v1" - }, - "request_id": { - "$ref": "#/$defs/sha256" - }, - "status": { - "enum": [ - "complete", - "rejected", - "failed" - ] - }, - "rejection": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "additionalProperties": false, - "required": [ - "code", - "detail" - ], - "properties": { - "code": { - "enum": [ - "schema_invalid", - "artifact_hash_mismatch", - "release_bundle_mismatch", - "incompatible_pair", - "data_access_failed", - "no_supported_years" - ] - }, - "detail": { - "type": "string", - "minLength": 1 - } - } - } - ] - }, - "variant_id": { - "type": [ - "string", - "null" - ], - "minLength": 1 - }, - "variant_identity_sha256": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/$defs/sha256" - } - ] - }, - "execution": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "additionalProperties": false, - "required": [ - "packages", - "packaged_bundle_manifest_sha256", - "release_bundle", - "dataset_sha256", - "requirements_sha256", - "python", - "platform", - "runner" - ], - "properties": { - "packages": { - "type": "object", - "additionalProperties": false, - "required": [ - "policyengine", - "policyengine-uk", - "policyengine-core" - ], - "properties": { - "policyengine": { - "$ref": "#/$defs/installed_package" - }, - "policyengine-uk": { - "$ref": "#/$defs/installed_package" - }, - "policyengine-core": { - "$ref": "#/$defs/installed_package" - } - } - }, - "packaged_bundle_manifest_sha256": { - "$ref": "#/$defs/sha256" - }, - "release_bundle": { - "type": "object", - "additionalProperties": { - "type": [ - "string", - "null" - ] - } - }, - "dataset_sha256": { - "$ref": "#/$defs/sha256" - }, - "requirements_sha256": { - "$ref": "#/$defs/sha256" - }, - "python": { - "type": "string", - "pattern": "^3\\.[0-9]+\\.[0-9]+$" - }, - "platform": { - "type": "string", - "minLength": 1 - }, - "runner": { - "type": "string", - "minLength": 1 - } - } - } - ] - }, - "corpus": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "additionalProperties": false, - "required": [ - "corpus_version", - "events" - ], - "properties": { - "corpus_version": { - "type": "string", - "minLength": 1 - }, - "events": { - "type": "object", - "minProperties": 1, - "additionalProperties": { - "$ref": "#/$defs/event_result" - } - } - } - } - ] - }, - "integrity": { - "type": "object", - "additionalProperties": false, - "required": [ - "status", - "failures" - ], - "properties": { - "status": { - "description": "complete: every supported measure-year ran and every receipt verified. incomplete: some supported pairs are missing. failed: a crash, a non-finite value, an identity mismatch after the run started, or a broken accounting identity.", - "enum": [ - "complete", - "incomplete", - "failed", - "not_run" - ] - }, - "failures": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "code", - "detail" - ], - "properties": { - "code": { - "type": "string", - "minLength": 1 - }, - "detail": { - "type": "string", - "minLength": 1 - }, - "event": { - "type": "string" - }, - "measure_key": { - "type": "string" - }, - "year": { - "type": "integer" - } - } - } - } - } - }, - "diff": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "additionalProperties": false, - "required": [ - "base_variant_id", - "diff_sha256", - "flag_counts", - "flagged_rows" - ], - "properties": { - "base_variant_id": { - "type": "string", - "minLength": 1 - }, - "diff_sha256": { - "$ref": "#/$defs/sha256" - }, - "flag_counts": { - "type": "object", - "additionalProperties": false, - "required": [ - "numerical", - "structural", - "coverage", - "mapping", - "support", - "inertness", - "construction" - ], - "properties": { - "numerical": { - "type": "integer", - "minimum": 0 - }, - "structural": { - "type": "integer", - "minimum": 0 - }, - "coverage": { - "type": "integer", - "minimum": 0 - }, - "mapping": { - "type": "integer", - "minimum": 0 - }, - "support": { - "type": "integer", - "minimum": 0 - }, - "inertness": { - "type": "integer", - "minimum": 0 - }, - "construction": { - "type": "integer", - "minimum": 0 - } - } - }, - "flagged_rows": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "event", - "measure_key", - "year", - "level", - "key", - "flags", - "base_gbp", - "head_gbp" - ], - "properties": { - "event": { - "type": "string", - "minLength": 1 - }, - "measure_key": { - "type": "string", - "minLength": 1 - }, - "year": { - "type": "integer" - }, - "level": { - "enum": [ - "source_row", - "measure_year", - "head" - ] - }, - "key": { - "type": "string", - "minLength": 1 - }, - "flags": { - "type": "array", - "minItems": 1, - "uniqueItems": true, - "items": { - "enum": [ - "numerical", - "structural", - "coverage", - "mapping", - "support", - "inertness", - "construction" - ] - } - }, - "base_gbp": { - "type": [ - "number", - "null" - ] - }, - "head_gbp": { - "type": [ - "number", - "null" - ] - } - } - } - }, - "base_events": { - "type": "object", - "additionalProperties": { - "$ref": "#/$defs/base_event" - } - } - } - } - ] - }, - "results": { - "type": "object", - "additionalProperties": false, - "required": [ - "repository", - "ref", - "path" - ], - "properties": { - "repository": { - "const": "PolicyEngine/policyengine-scorecard" - }, - "ref": { - "type": "string", - "minLength": 1 - }, - "commit": { - "$ref": "#/$defs/sha1" - }, - "path": { - "type": "string", - "minLength": 1 - }, - "manifest_sha256": { - "description": "SHA-256 of NAMESPACE_MANIFEST.json, which lists the SHA-256 of every file in the sealed result namespace except itself and the receipt.", - "$ref": "#/$defs/sha256" - } - } - }, - "receipt_sha256": { - "$ref": "#/$defs/sha256" - } - }, - "allOf": [ - { - "if": { - "properties": { - "status": { - "const": "rejected" - } - } - }, - "then": { - "properties": { - "rejection": { - "type": "object" - }, - "corpus": { - "type": "null" - }, - "diff": { - "type": "null" - }, - "variant_id": { - "type": "null" - }, - "variant_identity_sha256": { - "type": "null" - }, - "execution": { - "type": "null" - }, - "integrity": { - "properties": { - "status": { - "const": "not_run" - } - } - } - } - } - }, - { - "if": { - "properties": { - "status": { - "const": "complete" - } - } - }, - "then": { - "properties": { - "rejection": { - "type": "null" - }, - "variant_id": { - "type": "string" - }, - "execution": { - "type": "object" - }, - "variant_identity_sha256": { - "$ref": "#/$defs/sha256" - }, - "results": { - "required": [ - "manifest_sha256" - ] - } - } - } - }, - { - "if": { - "properties": { - "status": { - "const": "complete" - } - } - }, - "then": { - "properties": { - "integrity": { - "properties": { - "status": { - "enum": [ - "complete", - "incomplete" - ] - } - } - }, - "corpus": { - "type": "object" - } - } - } - }, - { - "if": { - "properties": { - "status": { - "const": "failed" - } - } - }, - "then": { - "properties": { - "rejection": { - "type": "null" - }, - "integrity": { - "properties": { - "status": { - "const": "failed" - } - } - } - } - } - } - ], - "$defs": { - "sha256": { - "type": "string", - "pattern": "^[0-9a-f]{64}$" - }, - "sha1": { - "type": "string", - "pattern": "^[0-9a-f]{40}$" - }, - "installed_package": { - "type": "object", - "additionalProperties": false, - "required": [ - "version", - "record_sha256" - ], - "properties": { - "version": { - "type": "string", - "minLength": 1 - }, - "record_sha256": { - "$ref": "#/$defs/sha256" - }, - "wheel_sha256": { - "$ref": "#/$defs/sha256" - } - } - }, - "event_result": { - "type": "object", - "additionalProperties": false, - "required": [ - "registry_sha256", - "supported_years", - "unsupported_years", - "run_manifest_sha256", - "staging_manifest_sha256", - "comparison_provenance_sha256", - "artifacts", - "full_supported_grid_complete", - "inert_measure_years" - ], - "properties": { - "registry_sha256": { - "$ref": "#/$defs/sha256" - }, - "supported_years": { - "type": "array", - "items": { - "type": "integer" - }, - "uniqueItems": true - }, - "unsupported_years": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "year", - "reason" - ], - "properties": { - "year": { - "type": "integer" - }, - "reason": { - "enum": [ - "before_data_year", - "after_extension_end" - ] - } - } - } - }, - "run_manifest_sha256": { - "$ref": "#/$defs/sha256" - }, - "staging_manifest_sha256": { - "$ref": "#/$defs/sha256" - }, - "comparison_provenance_sha256": { - "$ref": "#/$defs/sha256" - }, - "artifacts": { - "type": "integer", - "minimum": 0 - }, - "full_supported_grid_complete": { - "type": "boolean" - }, - "inert_measure_years": { - "$ref": "#/$defs/measure_years" - }, - "missing_measure_years": { - "$ref": "#/$defs/measure_years" - }, - "unsupported_measure_years": { - "$ref": "#/$defs/measure_years" - } - } - }, - "measure_years": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "measure_key", - "year" - ], - "properties": { - "measure_key": { - "type": "string", - "minLength": 1 - }, - "year": { - "type": "integer" - } - } - }, - "uniqueItems": true - }, - "base_event": { - "type": "object", - "additionalProperties": false, - "required": [ - "staging_manifest_sha256", - "run_manifest_sha256", - "supported_years", - "full_supported_grid_complete", - "inert_measure_years", - "missing_measure_years", - "unsupported_measure_years" - ], - "properties": { - "staging_manifest_sha256": { - "$ref": "#/$defs/sha256" - }, - "run_manifest_sha256": { - "$ref": "#/$defs/sha256" - }, - "supported_years": { - "type": "array", - "items": { - "type": "integer" - }, - "uniqueItems": true - }, - "full_supported_grid_complete": { - "type": "boolean" - }, - "inert_measure_years": { - "$ref": "#/$defs/measure_years" - }, - "missing_measure_years": { - "$ref": "#/$defs/measure_years" - }, - "unsupported_measure_years": { - "$ref": "#/$defs/measure_years" - } - } - } - } -} diff --git a/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_status.v1.json b/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_status.v1.json deleted file mode 100644 index 3694ca4e2..000000000 --- a/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_status.v1.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/PolicyEngine/policyengine-scorecard/blob/main/docs/uk_replay/schemas/replay_status.v1.json", - "title": "UK fiscal-event replay request status, v1", - "description": "replay-state:requests//STATUS.json. A terminal status names the receipt's digest and the replay-state commit that added REPLAY_RECEIPT.json, so one contents read binds the status to the receipt bytes.", - "type": "object", - "additionalProperties": false, - "required": ["schema", "request_id", "status", "history"], - "properties": { - "schema": {"const": "policyengine.uk-replay-status/v1"}, - "request_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"}, - "status": {"enum": ["queued", "running", "complete", "rejected", "failed"]}, - "history": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "additionalProperties": false, - "required": ["status", "at", "run_url"], - "properties": { - "status": {"enum": ["queued", "running", "complete", "rejected", "failed"]}, - "at": {"type": "string", "format": "date-time"}, - "run_url": {"type": "string", "pattern": "^https://github\\.com/PolicyEngine/policyengine-scorecard/actions/runs/[0-9]+"} - } - } - }, - "receipt_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}, - "receipt_commit": {"type": "string", "pattern": "^[0-9a-f]{40}$"} - }, - "allOf": [ - { - "if": {"properties": {"status": {"enum": ["complete", "rejected", "failed"]}}}, - "then": {"required": ["receipt_sha256", "receipt_commit"]} - } - ] -} diff --git a/src/policyengine/provenance/certification.py b/src/policyengine/provenance/certification.py index 6c81b2512..7f73d2e09 100644 --- a/src/policyengine/provenance/certification.py +++ b/src/policyengine/provenance/certification.py @@ -108,14 +108,6 @@ # fallback there exempts exactly this string from the fingerprint identity # check, so a claims-certified bundle stays importable without network access. BASIS_PUBLISHER_CLAIM = "legacy_compatible_model_package" -# The pair passed policyengine.py's automated candidate qualification. The -# claim is exact (``==`` model and core versions, one data release) and is -# valid only with a promotable qualification receipt for ``qualification_pair_id`` -# in the ledger; ``tests/test_certification_evidence.py`` refuses it otherwise. -BASIS_QUALIFIED_PAIR = "qualified_exact_pair" -QUALIFICATION_LEDGER_URL = ( - "https://github.com/PolicyEngine/policyengine.py/tree/uk-qualification-ledger" -) MICROCOSM_US_SOURCE_COVERAGE_FILE = "us_source_coverage.json" # The Microcosm US producer publishes under `microcosm-data` since the # source-enrichment releases; both published package names below denote @@ -412,32 +404,27 @@ def validate_release_manifest( model_version: str, *, core_version: Optional[str] = None, - qualified_pair_id: Optional[str] = None, compatibility_record: Optional[CompatibilityRecord] = None, ) -> tuple[str, list[str]]: """Hard checks raise; returns ``(compatibility_basis, warnings)``. - The certification gate (docs/release-bundles.md): a data release may - be certified for a model version only when the model exactly matches + The certification requirements (docs/release-bundles.md): a data release + may be certified for a model version only when the model exactly matches the build-time model, the publisher's ``compatible_model_packages`` - covers it, or (``qualified_pair_id``) policyengine.py's automated - qualification tested exactly this model, core and data release. The - publisher-claim basis is recorded and warned about โ€” it is the data - publisher's assertion, made good only by this repo's test suite passing - on the pinned pair. A qualified pair is never widened into a range. + covers it, or a compatibility check ran exactly this model, core and + build. The publisher-claim basis is recorded and warned about โ€” it is the + data publisher's assertion, made good only by this repo's test suite + passing on the pinned pair. When ``core_version`` is given, the core must also be the build-time - core, be covered by ``compatible_core_packages``, or be part of the - qualified pair. A core admitted only by the qualification makes the - basis ``qualified_exact_pair`` whatever the model's own claim, so the - certificate names the pair and its ledger evidence is enforced. + core or be covered by ``compatible_core_packages``, unless the + compatibility check ran it. ``compatibility_record`` (``bundle.py check-compatibility``) admits exactly the model, core and build the check ran, on the basis ``compatibility_checked_exact_pair``. It replaces a publisher claim and covers a core outside the release's core claims, but never applies to - the build's own model, which is certified on its build. It cannot be - combined with a qualified pair. + the build's own model, which is certified on its build. """ warnings: list[str] = [] if "national" not in manifest.default_datasets: @@ -456,11 +443,6 @@ def validate_release_manifest( warnings.append(f"artifact {name!r} has no sha256") if compatibility_record is not None: - if qualified_pair_id is not None: - raise CertificationError( - "A compatibility record and a qualified pair are two different " - "bases; pass one of them." - ) return _compatibility_record_basis( manifest, model_package, @@ -474,40 +456,17 @@ def validate_release_manifest( manifest, model_package, model_version ) - core_rests_on_qualification = core_version is not None and ( - _check_core_compatibility(manifest, core_version, qualified_pair_id, warnings) - ) - if core_rests_on_qualification: - # The publisher never claimed this core, so the model's own claim - # cannot carry the certificate: it is the exact pair that was tested, - # and the certificate must name it so its evidence is checked. - warnings.append( - f"certifying exactly {model_package}=={model_version} with " - f"policyengine-core=={core_version} on automated qualification of " - f"pair {qualified_pair_id}; the certificate stands only with a " - "promotable qualification receipt for that pair in the ledger" - ) - return BASIS_QUALIFIED_PAIR, warnings + if core_version is not None: + _check_core_compatibility(manifest, core_version) if basis is not None: if basis_warning is not None: warnings.append(basis_warning) return basis, warnings - if qualified_pair_id is not None: - if core_version is None: - raise CertificationError( - "A qualified exact pair names its core version; pass core_version." - ) - warnings.append( - f"certifying exactly {model_package}=={model_version} with " - f"policyengine-core=={core_version} on automated qualification of " - f"pair {qualified_pair_id}; the certificate stands only with a " - "promotable qualification receipt for that pair in the ledger" - ) - return BASIS_QUALIFIED_PAIR, warnings raise CertificationError( - f"{refusal}; a new data build, a published compatibility claim or an " - "automated qualification of the exact pair is required." + f"{refusal}; a new data build, a published compatibility claim or a " + "compatibility check of the exact pair (`bundle.py " + "check-compatibility`) is required." ) @@ -607,8 +566,7 @@ def model_compatibility_basis( """Return the basis on which a release serves a model version by itself. The release must be built with ``model_version`` or claim compatibility - with it; automated qualification of a pair does not apply. Certification - uses this for a regional release, which no qualification names. A + with it. Certification uses this for a regional release. A ``compatibility_record`` of the release admits exactly the checked model and core (``core_version``, by default the record's). Returns ``(compatibility_basis, warnings)``. @@ -892,25 +850,12 @@ def accepted_regional_mismatch( def _check_core_compatibility( manifest: DataReleaseManifest, core_version: str, - qualified_pair_id: Optional[str], - warnings: list[str], -) -> bool: - """The core must be the build core, publisher-claimed, or qualified. - - Returns whether the core is admitted only by the qualification, in which - case the certificate's basis must be the qualified exact pair. - """ +) -> None: + """The core must be the build core or publisher-claimed.""" built_with_core, core_claims = _core_claims(manifest) if _core_is_claimed(manifest, core_version): - return False - if qualified_pair_id is not None: - warnings.append( - f"policyengine-core {core_version} is outside the publisher's core " - f"claims {core_claims or '(none declared)'}; covered by qualification " - f"of pair {qualified_pair_id}" - ) - return True + return raise CertificationError( f"policyengine-core {core_version} matches neither the build-time core " f"({built_with_core or 'unrecorded'}) nor any publisher core claim " @@ -1440,7 +1385,6 @@ def build_country_manifest_payload( model_wheel: dict, compatibility_basis: str = BASIS_BUILT_WITH, core_version: Optional[str] = None, - qualified_pair_id: Optional[str] = None, ) -> dict: """Map the data release manifest to the vendored country manifest.""" default_dataset = manifest.default_datasets["national"] @@ -1506,11 +1450,6 @@ def build_country_manifest_payload( certification["core_binding"] = "certified" else: certification["core_binding"] = "bundle_pin" - if qualified_pair_id is not None: - certification["qualification_pair_id"] = qualified_pair_id - certification["qualification_ledger_url"] = ( - f"{QUALIFICATION_LEDGER_URL}/{country}/{qualified_pair_id}" - ) certified_artifact: dict = { "data_package": { "name": manifest.data_package.name, @@ -1650,7 +1589,6 @@ def certify( regional_path_template: str = "states/{state_code}.h5", regional_release_kind: RegionalReleaseKind = "local_area", core_version: Optional[str] = None, - qualified_pair_id: Optional[str] = None, bundle_core_version: Optional[str] = None, regional_model_mismatch_reason: Optional[str] = None, regional_input_surface_evidence: Optional[RegionalInputSurfaceEvidence] = None, @@ -1677,7 +1615,6 @@ def certify( regional_path_template: str = "states/{state_code}.h5", regional_release_kind: RegionalReleaseKind = "local_area", core_version: Optional[str] = None, - qualified_pair_id: Optional[str] = None, bundle_core_version: Optional[str] = None, regional_model_mismatch_reason: Optional[str] = None, regional_input_surface_evidence: Optional[RegionalInputSurfaceEvidence] = None, @@ -1707,7 +1644,6 @@ def certify( regional_path_template: str = "states/{state_code}.h5", regional_release_kind: RegionalReleaseKind = "local_area", core_version: Optional[str] = None, - qualified_pair_id: Optional[str] = None, bundle_core_version: Optional[str] = None, regional_model_mismatch_reason: Optional[str] = None, regional_input_surface_evidence: Optional[RegionalInputSurfaceEvidence] = None, @@ -1760,8 +1696,7 @@ def certify( _regional_build_model_version(regional_manifest, model_package) # The regional release runs on the same model and core, so it must # cover the pinned versions by its own build or claims, or by a - # compatibility check of exactly this model and core. A qualified - # pair names the primary release only, so it does not extend here. + # compatibility check of exactly this model and core. try: if regional_compatibility_record is not None: _require_record_binds( @@ -1810,9 +1745,7 @@ def certify( try: # A compatibility record ran exactly this core. if core_version is not None and regional_compatibility_record is None: - _check_core_compatibility( - regional_manifest, core_version, None, regional_warnings - ) + _check_core_compatibility(regional_manifest, core_version) except CertificationError as exc: raise CertificationError( f"Regional release {regional_manifest_uri}: {exc}" @@ -1842,7 +1775,6 @@ def certify( model_package, model_version, core_version=core_version, - qualified_pair_id=qualified_pair_id, compatibility_record=compatibility_record, ) warnings = warnings + regional_warnings @@ -1904,11 +1836,6 @@ def certify( model_wheel=model_wheel or {}, compatibility_basis=compatibility_basis, core_version=core_version, - qualified_pair_id=( - qualified_pair_id - if compatibility_basis == BASIS_QUALIFIED_PAIR - else None - ), ) if check_artifacts and should_validate_vendored_artifacts( country, manifest, uri_parts @@ -1985,7 +1912,6 @@ def certify_data_release( regional_release_kind: RegionalReleaseKind = "local_area", drop_regional_release: bool = False, core_version: Optional[str] = None, - qualified_pair_id: Optional[str] = None, regional_model_mismatch_reason: Optional[str] = None, regional_input_surface_evidence: Optional[RegionalInputSurfaceEvidence] = None, compatibility_record: Optional[CompatibilityRecord | dict] = None, @@ -1995,16 +1921,14 @@ def certify_data_release( """Certify a data release into the bundle manifest. ``core_version`` adds the core compatibility check and pins the core in - the bundle's ``packages``. ``qualified_pair_id`` admits the exact model, - core and data release when neither the build-time model nor a publisher - claim covers them; the certificate then names the pair, whose promotable - qualification receipt must be in the ledger. + the bundle's ``packages``. ``regional_manifest_uri`` routes the country's local region types to a regional release, read as ``regional_release_kind``. That release must serve the pinned model, and the pinned core when ``core_version`` is - given, by its own build or claims: a qualified pair names the primary - release only. While the bundle routes regions, a run without + given, by its own build or claims, or by its own compatibility record + (``regional_compatibility_record``). While the bundle routes regions, a + run without ``regional_manifest_uri`` is refused unless ``drop_regional_release``. ``regional_model_mismatch_reason`` (UK or US) requires @@ -2092,7 +2016,6 @@ def certify_data_release( regional_path_template=regional_path_template, regional_release_kind=regional_release_kind, core_version=core_version, - qualified_pair_id=qualified_pair_id, bundle_core_version=( (bundle.get("packages") or {}).get("policyengine-core") or {} ).get("version"), diff --git a/src/policyengine/provenance/manifest.py b/src/policyengine/provenance/manifest.py index 34c8f5140..11f8ab99c 100644 --- a/src/policyengine/provenance/manifest.py +++ b/src/policyengine/provenance/manifest.py @@ -334,8 +334,6 @@ class DataCertification(BaseModel): #: outside them. Absent in certificates from before October 2026, which #: follow the pin the same way. core_binding: Optional[Literal["certified", "bundle_pin"]] = None - qualification_pair_id: Optional[str] = None - qualification_ledger_url: Optional[str] = None #: Bases whose runtime model legitimately differs from the data's build-time @@ -343,22 +341,22 @@ class DataCertification(BaseModel): CLAIM_BASED_COMPATIBILITY = frozenset( { "legacy_compatible_model_package", - "qualified_exact_pair", BASIS_COMPATIBILITY_CHECKED, "legacy_compatible_model_package_local_manifest", - "qualified_exact_pair_local_manifest", f"{BASIS_COMPATIBILITY_CHECKED}_local_manifest", } ) #: Bases that hold for one model, one core and one data build only. EXACT_PAIR_COMPATIBILITY = frozenset( { - "qualified_exact_pair", - "qualified_exact_pair_local_manifest", BASIS_COMPATIBILITY_CHECKED, f"{BASIS_COMPATIBILITY_CHECKED}_local_manifest", } ) +#: The basis the retired UK qualification pipeline certified a pair on. No +#: .py release pinned a certificate on it, and a bundle that carries one is +#: refused rather than read as some other basis. +RETIRED_QUALIFIED_PAIR_BASIS = "qualified_exact_pair" class CertifiedDataArtifact(BaseModel): @@ -1146,8 +1144,8 @@ def _runtime_core_is_certified( """Whether the running core is the one an exact-pair certificate tested. Other bases make no claim about the core at run time. An exact pair (a - qualified pair, or a compatibility check's record) was tested with one - core, so it holds only for that core. + compatibility check's record) was tested with one core, so it holds only + for that core. """ if certification.compatibility_basis not in EXACT_PAIR_COMPATIBILITY: @@ -1222,6 +1220,18 @@ def certify_data_release_compatibility( runtime_core_version: Optional[str] = None, ) -> DataCertification: country_manifest = get_release_manifest(country_id) + bundled_certification = country_manifest.certification + if ( + bundled_certification is not None + and bundled_certification.compatibility_basis == RETIRED_QUALIFIED_PAIR_BASIS + ): + raise ValueError( + f"The installed bundle certifies country '{country_id}''s data on " + f"the basis '{RETIRED_QUALIFIED_PAIR_BASIS}' of the retired UK " + "qualification pipeline, which this version of policyengine no " + "longer accepts. Certify the data release again with " + "`bundle.py certify-data`." + ) _require_regional_compatibility_record( country_id, country_manifest, runtime_model_version, runtime_core_version ) @@ -1305,41 +1315,12 @@ def _certify_available_data_release( runtime_data_build_fingerprint: Optional[str], runtime_core_version: Optional[str], ) -> DataCertification: - # A remote build-model, fingerprint or publisher claim cannot broaden an - # exact-pair certificate beyond the model, core and recorded data build - # that qualification tested. Check them before any acceptance path returns. bundled_certification = country_manifest.certification # Named as certification names it: the cut tag when the release has one. remote_build_id = release_build_id(data_release_manifest.build) - if ( - bundled_certification is not None - and bundled_certification.compatibility_basis == "qualified_exact_pair" - ): - if bundled_certification.certified_for_model_version != runtime_model_version: - raise ValueError( - "Data release manifest is not certified for the runtime model " - f"version {runtime_model_version} in country '{country_id}'; " - "the exact pair requires " - f"{bundled_certification.certified_for_model_version}." - ) - if not _runtime_core_is_certified(bundled_certification, runtime_core_version): - raise ValueError( - "Data release manifest is not certified for the runtime core " - f"version {runtime_core_version} in country '{country_id}'; " - "the exact pair requires " - f"{bundled_certification.certified_for_core_version}." - ) - if ( - bundled_certification.data_build_id is not None - and bundled_certification.data_build_id != remote_build_id - ): - raise ValueError( - "Data release manifest is not certified for the remote data " - f"build {remote_build_id} in country '{country_id}'; the exact " - f"pair requires {bundled_certification.data_build_id}." - ) # A compatibility check ran one build, model wheel and core; nothing else - # the remote manifest says can stand in for its record. + # the remote manifest says (a build model, fingerprint or publisher claim) + # can stand in for its record. Check before any other basis is accepted. if ( bundled_certification is not None and bundled_certification.compatibility_basis == BASIS_COMPATIBILITY_CHECKED @@ -1443,20 +1424,6 @@ def _certify_available_data_release( ), ) - # An automated qualification of exactly this model and data build: the - # bundled certificate names the pair, and the ledger evidence for it is - # enforced when the bundle is built (tests/test_certification_evidence.py). - bundled_certification = country_manifest.certification - if ( - bundled_certification is not None - and bundled_certification.compatibility_basis == "qualified_exact_pair" - and bundled_certification.certified_for_model_version == runtime_model_version - and bundled_certification.qualification_pair_id is not None - and bundled_certification.data_build_id == remote_build_id - and _runtime_core_is_certified(bundled_certification, runtime_core_version) - ): - return bundled_certification - raise ValueError( "Data release manifest is not certified for the runtime model version " f"{runtime_model_version} in country '{country_id}'." diff --git a/src/policyengine/provenance/qualification.py b/src/policyengine/provenance/qualification.py deleted file mode 100644 index 31fc93443..000000000 --- a/src/policyengine/provenance/qualification.py +++ /dev/null @@ -1,1891 +0,0 @@ -"""Candidate qualification contracts and pure decision rules. - -A *candidate* is a country model wheel, its core wheel and a data release -that are not yet certified together. Qualification: - -1. prepares a policyengine.py commit whose packaged manifest, pins, lock and - TRO certify the pair (the candidate commit, which is also what promotion - merges); -2. runs mandatory local gates on that commit (:data:`REQUIRED_GATES`); -3. sends the replay corpus owner (policyengine-scorecard) an immutable - :class:`ReplayQualificationRequest`, polls its :class:`ReplayStatus` and - checks the :class:`ReplayReceipt` against the request - (:func:`evaluate_replay_receipt`); -4. records a :class:`QualificationReceipt` whose verdict is a pure function of - the gate results (:func:`qualification_verdict`). - -Promotion then picks the newest promotable pair that strictly advances the -certified pair (:func:`select_promotion_target`), so a stale completion -cannot displace a newer accepted candidate. - -The replay request, status and receipt mirror the JSON Schemas published by -policyengine-scorecard (vendored, unchanged, in -``policyengine/data/schemas/vendor/policyengine-scorecard/``). Their digests -are plain RFC 8785 over the document as sent, nulls included, which is what -the scorecard computes. W4's own receipts use the receipt-v1 rule of -:func:`policyengine.provenance.receipt.content_sha256` (nulls dropped). -""" - -from __future__ import annotations - -import functools -import hashlib -import json -import math -from collections.abc import Iterable, Mapping, Sequence -from typing import Any, ClassVar, Literal, Optional - -from packaging.version import Version -from pydantic import ( - BaseModel, - ConfigDict, - Field, - PrivateAttr, - field_validator, - model_validator, -) - -from policyengine.provenance.canonical import canonical_sha256 -from policyengine.provenance.manifest import ArtifactPathReference -from policyengine.provenance.receipt import ( - GIT_SHA_PATTERN, - SHA256_PATTERN, - _Contract, - content_sha256, -) - -__all__ = [ - "BLOCKING_REPLAY_FLAGS", - "REPLAY_POLICY_ID", - "REQUIRED_GATES", - "REVIEW_REPLAY_FLAGS", - "CandidatePair", - "GateResult", - "QualificationHarness", - "QualificationReceipt", - "ReplayDataLimitedException", - "ReplayExceptionRegistry", - "ReplayExceptionProbe", - "ReplayQualificationRequest", - "ReplayReceipt", - "ReplayStatus", - "ReviewAcceptance", - "dominates", - "evaluate_replay_receipt", - "qualification_verdict", - "select_promotion_target", -] - -# --- Gate results and verdicts ------------------------------------------ - -GateStatus = Literal["pass", "needs_review", "unavailable", "fail", "error"] -Verdict = Literal["qualified", "needs_review", "incomplete", "rejected"] - -#: Every mandatory gate. A gate has no "skipped" status: a gate whose harness -#: is missing reports ``unavailable`` (the candidate is then incomplete, not -#: promotable), a gate that crashed while evaluating the candidate reports -#: ``error`` (the candidate is rejected), and a gate that never reported -#: leaves the qualification incomplete. -REQUIRED_GATES: tuple[str, ...] = ( - "installed_versions", - "wheel_hashes", - "core_compatibility", - "data_access", - "dataset_bytes", - "supported_years", - "budget_inputs", - "reform_contract", - "metrics_review", - "reform_responsiveness", - "replay", -) - -_SEVERITY: dict[str, int] = { - "pass": 0, - "needs_review": 1, - "unavailable": 2, - "fail": 3, - "error": 3, -} - -#: The replay gate's policy (cos d1344): fail on the regressions a receipt -#: identifies, call a gap known only on base-side evidence, and send every -#: other flagged move to a named reviewer. Its text ships as -#: ``data/qualification/replay_policy.md`` and each receipt records its digest. -REPLAY_POLICY_ID = "d1344-replay-regressions-v2" -REPLAY_POLICY_FILE = "replay_policy.md" -REPLAY_EXCEPTIONS_FILE = "uk_replay_exceptions.json" -#: Flags that fail whatever the row says. -BLOCKING_REPLAY_FLAGS: frozenset[str] = frozenset({"mapping"}) -#: Flags that need review unless the row is a lost result or lost response. -REVIEW_REPLAY_FLAGS: frozenset[str] = frozenset( - {"numerical", "structural", "coverage", "support", "inertness", "construction"} -) -#: The diff's numerical bound: a move needs at least max(this, 1% of the -#: base's absolute value) to be flagged. -REPLAY_ABSOLUTE_BOUND_GBP = 1_000_000.0 -REPLAY_RELATIVE_BOUND = 0.01 - - -@functools.cache -def _vendored_validator(name: str) -> Any: - """A validator for one vendored policyengine-scorecard schema.""" - - from importlib.resources import files - - import jsonschema - - schema = json.loads( - ( - files("policyengine") - / "data" - / "schemas" - / "vendor" - / "policyengine-scorecard" - / name - ).read_text(encoding="utf-8") - ) - validator = jsonschema.validators.validator_for(schema) - validator.check_schema(schema) - return validator(schema) - - -def conform_to_vendored_schema(document: Mapping[str, Any], name: str) -> None: - """Raise ``ValueError`` unless ``document`` is valid against the vendored - scorecard schema ``name``. The mirrors are a typed view; the schema decides - what a received document may contain (no nulls where it allows none, no - strings where it requires integers).""" - - error = next(iter(_vendored_validator(name).iter_errors(dict(document))), None) - if error is not None: - where = "/".join(str(part) for part in error.absolute_path) or "the document" - raise ValueError(f"{name}: {error.message} (at {where})") - - -def replay_policy_sha256() -> str: - """SHA-256 of the replay policy text this package applies.""" - - from importlib.resources import files - - data = files("policyengine.data.qualification") / REPLAY_POLICY_FILE - return hashlib.sha256(data.read_bytes()).hexdigest() - - -class GateResult(_Contract): - """One mandatory qualification gate.""" - - gate_id: str - status: GateStatus - summary: str = Field(min_length=1) - evidence_sha256: Optional[str] = Field( - default=None, - pattern=SHA256_PATTERN, - description="content_sha256 of the evidence JSON stored with the receipt.", - ) - details: dict[str, Any] = Field(default_factory=dict) - - -class ReplayExceptionProbe(_Contract): - """A survey-free causal check on the exact candidate model.""" - - input_variable: str = Field(min_length=1) - input_entity: Literal["household"] - year: int - positive_input_gbp: float = Field(gt=0, allow_inf_nan=False) - output_variable: str = Field(min_length=1) - parameter: str = Field(min_length=1) - rate_increment: float = Field(gt=0, allow_inf_nan=False) - expected_change_gbp: float = Field(gt=0, allow_inf_nan=False) - absolute_tolerance_gbp: float = Field(ge=0, allow_inf_nan=False) - region: str = Field(min_length=1) - - -class ReplayDataLimitedException(_Contract): - """A reviewed, finite set of data-limited replay losses, never a pass. - - Only construction inertness and lost responses can be excepted. Crashes, - lost results, mapping failures and contradictions cannot be registered. - """ - - id: str = Field(min_length=1) - codes: list[Literal["construction_inert", "lost_response"]] = Field(min_length=1) - event: str = Field(min_length=1) - measure_key: str = Field(min_length=1) - years: list[int] = Field(min_length=1) - requires_missing_inputs: list[str] = Field(min_length=1) - cause: str = Field(min_length=1) - issue: str = Field(min_length=1) - decided_under: str = Field(min_length=1) - review: str = Field(min_length=1) - approved_lineage: str = Field(min_length=1) - publication: str = Field(min_length=1) - probe: ReplayExceptionProbe - - @model_validator(mode="after") - def _unique_items(self) -> ReplayDataLimitedException: - for name in ("codes", "years", "requires_missing_inputs"): - _unique(getattr(self, name), name) - if any(not name for name in self.requires_missing_inputs): - raise ValueError("Required missing input names must not be empty.") - if self.probe.input_variable not in self.requires_missing_inputs: - raise ValueError("The probe must exercise a required missing input.") - return self - - def matches( - self, - code: str, - event: Optional[str], - measure_key: Optional[str], - year: Optional[int], - missing_inputs: set[str], - ) -> bool: - return ( - code in self.codes - and event == self.event - and measure_key == self.measure_key - and year in self.years - and set(self.requires_missing_inputs) <= missing_inputs - ) - - -class ReplayExceptionRegistry(_Contract): - """Code-reviewed replay exceptions shipped with the gate's policy.""" - - model_config = ConfigDict(populate_by_name=True) - - comment: Optional[str] = Field(default=None, alias="_comment") - exceptions: list[ReplayDataLimitedException] = Field(default_factory=list) - - @model_validator(mode="after") - def _unique_ids(self) -> ReplayExceptionRegistry: - _unique([entry.id for entry in self.exceptions], "exception ids") - return self - - def canonical_payload(self) -> dict[str, Any]: - return self.model_dump(mode="json", by_alias=True, exclude_none=True) - - -def _replay_exceptions() -> tuple[ReplayExceptionRegistry, str]: - from importlib.resources import files - - raw = ( - files("policyengine.data.qualification") / REPLAY_EXCEPTIONS_FILE - ).read_bytes() - return ReplayExceptionRegistry.model_validate_json(raw), hashlib.sha256( - raw - ).hexdigest() - - -def _consistent_input_status(state: Any) -> bool: - """Validate model membership and usability facts at the evidence boundary.""" - - return ( - isinstance(state, Mapping) - and all( - type(state.get(key)) is bool - for key in ("in_model", "is_input", "in_data", "usable") - ) - and (not state["is_input"] or state["in_model"]) - and (not state["usable"] or (state["in_model"] and state["in_data"])) - ) - - -def _input_name_set(value: Any) -> Optional[set[str]]: - if ( - not isinstance(value, list) - or any(not isinstance(name, str) or not name for name in value) - or len(value) != len(set(value)) - ): - return None - return set(value) - - -def _replay_budget_identity_matches( - evidence: Mapping[str, Any], attempt_id: Optional[str] -) -> bool: - """The caller supplies the exact pair/attempt identity from the ledger.""" - - if not attempt_id or "/" not in attempt_id: - return False - pair_id = attempt_id.partition("/")[0] - return ( - len(pair_id) == 64 - and all(character in "0123456789abcdef" for character in pair_id) - and evidence.get("pair_id") == pair_id - and evidence.get("attempt_id") == attempt_id - ) - - -def _replay_missing_inputs( - result: Optional[GateResult], - evidence: Optional[Mapping[str, Any]], - attempt_id: Optional[str] = None, -) -> set[str]: - """Absent candidate columns, bound to the same attempt's gate result. - - ``details.missing_inputs`` is a count, so persistent missing inputs must - come from the evidence it hashes. Degenerate columns are not missing. - The attempt loader is responsible for reading only its own gate files. - """ - - if ( - result is None - or result.gate_id != "budget_inputs" - or result.status in ("error", "unavailable") - or not isinstance(evidence, Mapping) - or not _replay_budget_identity_matches(evidence, attempt_id) - ): - return set() - try: - if result.evidence_sha256 != content_sha256(evidence): - return set() - except (TypeError, ValueError): - return set() - # Rehashing edited evidence must not erase the producer's history marker. - recorded_ever = _input_name_set(result.details.get("ever_usable_inputs")) - if recorded_ever is None or recorded_ever != _input_name_set( - evidence.get("ever_usable_inputs") - ): - return set() - missing = _input_name_set(evidence.get("missing_inputs")) - newly_missing = _input_name_set(evidence.get("newly_missing_inputs")) - states = evidence.get("input_status") - if ( - missing is None - or newly_missing is None - or not newly_missing <= missing - or type(result.details.get("missing_inputs")) is not int - or result.details.get("missing_inputs") != len(missing) - or result.details.get("newly_missing_inputs") - != evidence["newly_missing_inputs"] - ): - return set() - if ( - not isinstance(states, Mapping) - or any( - not isinstance(name, str) or not name or not _consistent_input_status(state) - for name, state in states.items() - ) - or missing - != { - name - for name, state in states.items() - if state["is_input"] and not state["in_data"] - } - ): - return set() - return missing - - -def _replay_lineage_problem( - entry: ReplayDataLimitedException, evidence: Optional[Mapping[str, Any]] -) -> Optional[str]: - """Require absence throughout the cumulative certified comparison chain. - - The caller first verifies the budget-input evidence's digest. These are - the previous certified pair's model and data facts, not an inference from - the candidate's missing column or from the registry's approval text. A - supplied but degenerate column also needs a fresh registry decision. - """ - - previous = evidence.get("previous_input_status") if evidence is not None else None - if not isinstance(previous, Mapping): - return "the previous certified pair's input usability is unknown" - if any(not _consistent_input_status(state) for state in previous.values()): - return ( - "the previous certified pair's input usability is unknown or inconsistent; " - "a fresh registry decision is required" - ) - previous_ever = _input_name_set(evidence.get("previous_ever_usable_inputs")) - ever_usable_inputs = _input_name_set(evidence.get("ever_usable_inputs")) - if previous_ever is None or ever_usable_inputs is None: - return "the certified chain's cumulative input usability is unknown" - current = evidence["input_status"] - if not { - name for name, state in previous.items() if state["usable"] - } <= previous_ever or ever_usable_inputs != previous_ever | { - name for name, state in current.items() if state["usable"] - }: - return ( - "the certified chain's cumulative input usability is inconsistent; " - "a fresh registry decision is required" - ) - for name in entry.requires_missing_inputs: - state = previous.get(name) - if state is None: - return f"the previous certified pair's usability of {name} is unknown" - if name in ever_usable_inputs: - return ( - f"{name} was previously usable; a fresh registry decision is required" - ) - if state["in_model"] and state["in_data"]: - return ( - f"{name} was supplied by the previous certified pair; " - "a fresh registry decision is required" - ) - return None - - -def _replay_probe_passes( - entry: ReplayDataLimitedException, - request: ReplayQualificationRequest, - result: Optional[GateResult], - evidence: Optional[Mapping[str, Any]], - attempt_id: Optional[str], -) -> bool: - """Validate the exact-attempt, exact-spec positive and zero-input checks.""" - - if ( - result is None - or result.gate_id != "replay_probe" - or result.status != "pass" - or evidence is None - or not attempt_id - or evidence.get("attempt_id") != attempt_id - or evidence.get("candidate_model_version") - != request.candidate.policyengine_uk.version - ): - return False - try: - if result.evidence_sha256 != content_sha256(evidence): - return False - except (TypeError, ValueError): - return False - probes = evidence.get("probes") - if not isinstance(probes, list) or any( - not isinstance(probe, Mapping) for probe in probes - ): - return False - matching = [probe for probe in probes if probe.get("exception_id") == entry.id] - if len(matching) != 1: - return False - probe = matching[0] - if ( - probe.get("status") != "pass" - or probe.get("installed_model_version") - != request.candidate.policyengine_uk.version - or probe.get("spec_sha256") - != content_sha256(entry.probe.model_dump(mode="json")) - ): - return False - output_fields = ( - "positive_baseline_gbp", - "positive_reform_gbp", - "positive_change_gbp", - "zero_baseline_gbp", - "zero_reform_gbp", - "zero_change_gbp", - ) - if any( - type(probe.get(field)) not in (int, float) or not math.isfinite(probe[field]) - for field in output_fields - ): - return False - positive, zero = probe.get("positive_change_gbp"), probe.get("zero_change_gbp") - # The producer subtracts these exact recorded outputs to obtain each delta. - return ( - positive == probe["positive_reform_gbp"] - probe["positive_baseline_gbp"] - and zero == probe["zero_reform_gbp"] - probe["zero_baseline_gbp"] - and positive > 0 - and abs(positive - entry.probe.expected_change_gbp) - <= entry.probe.absolute_tolerance_gbp - and zero == 0 - ) - - -def qualification_verdict(gates: Iterable[GateResult]) -> Verdict: - """The verdict a set of gate results determines. - - - ``rejected`` if any gate failed or errored; - - otherwise ``incomplete`` if any gate is unavailable or a required gate - did not report; - - otherwise ``needs_review`` if any gate needs review; - - otherwise ``qualified``. - - Making any gate worse never makes the verdict better. - """ - - gates = list(gates) - worst = max((_SEVERITY[gate.status] for gate in gates), default=0) - if worst >= _SEVERITY["fail"]: - return "rejected" - reported = {gate.gate_id for gate in gates} - if worst == _SEVERITY["unavailable"] or any( - gate_id not in reported for gate_id in REQUIRED_GATES - ): - return "incomplete" - if worst == _SEVERITY["needs_review"]: - return "needs_review" - return "qualified" - - -# --- What is qualified ---------------------------------------------------- - - -class PinnedWheel(_Contract): - name: str - version: str - wheel_sha256: str = Field(pattern=SHA256_PATTERN) - - -class PinnedData(_Contract): - data_package: str - release_version: str - build_id: str - repo_id: str - repo_type: Literal["model", "dataset"] - release_manifest_path: str - release_manifest_revision: str - release_manifest_sha256: str = Field(pattern=SHA256_PATTERN) - dataset: str - dataset_path: str - dataset_revision: str - dataset_sha256: str = Field(pattern=SHA256_PATTERN) - size_bytes: int = Field(ge=1) - - -class CandidatePair(_Contract): - """The model, core and data that would be certified together. - - ``pair_id`` (its receipt-v1 digest) does not depend on the policyengine.py - commit, so the candidate commit's manifest can name the pair it certifies. - """ - - country_id: Literal["uk"] - model: PinnedWheel - core: PinnedWheel - data: PinnedData - - @property - def pair_id(self) -> str: - return content_sha256(self.canonical_payload()) - - @property - def order_key(self) -> tuple[str, str, str]: - """(model version, data release, core version): what promotion orders.""" - - return (self.model.version, self.data.release_version, self.core.version) - - -class QualificationHarness(_Contract): - """The policyengine.py commit that carried and ran the qualification.""" - - policyengine_version: str - git_commit: str = Field(pattern=GIT_SHA_PATTERN) - packaged_bundle_manifest_sha256: str = Field(pattern=SHA256_PATTERN) - - -class IssuedBy(_Contract): - repository: str = Field(pattern=r"^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$") - workflow_run_id: int = Field(ge=1) - run_attempt: int = Field(default=1, ge=1) - run_url: str - - -class PreviousCertificate(_Contract): - """The certified pair a candidate would replace.""" - - bundle_version: str - model_version: str - core_version: str - data_release_version: str - dataset_sha256: str = Field(pattern=SHA256_PATTERN) - certificate_sha256: str = Field(pattern=SHA256_PATTERN) - qualification_pair_id: Optional[str] = Field(default=None, pattern=SHA256_PATTERN) - model_wheel_sha256: Optional[str] = Field(default=None, pattern=SHA256_PATTERN) - core_wheel_sha256: Optional[str] = Field(default=None, pattern=SHA256_PATTERN) - dataset_reference: Optional[ArtifactPathReference] = None - dataset_name: Optional[str] = None - release_manifest_reference: Optional[ArtifactPathReference] = None - - -class ReplayReference(_Contract): - request_id: str = Field(pattern=SHA256_PATTERN) - receipt_sha256: Optional[str] = Field(default=None, pattern=SHA256_PATTERN) - receipt_commit: Optional[str] = Field(default=None, pattern=GIT_SHA_PATTERN) - - -class ReviewAcceptance(_Contract): - """A reviewer's acceptance of one exact needs-review receipt.""" - - reviewer: str = Field(min_length=1) - accepted_at: str - accepted_receipt_sha256: str = Field( - pattern=SHA256_PATTERN, - description="unreviewed_sha256 of the receipt being accepted.", - ) - explanation: str = Field(min_length=1) - - -class QualificationReceipt(_Contract): - """The qualification outcome recorded in the ledger for one candidate.""" - - SCHEMA_ID: ClassVar[str] = ( - "https://policyengine.org/schemas/candidate_qualification_receipt.v1.json" - ) - - schema_version: Literal[1] - receipt_type: Literal["policyengine.candidate_qualification_receipt"] - pair_id: str = Field(pattern=SHA256_PATTERN) - pair: CandidatePair - harness: QualificationHarness - previous_certificate: Optional[PreviousCertificate] = None - replay: Optional[ReplayReference] = None - gates: list[GateResult] - verdict: Verdict - review: Optional[ReviewAcceptance] = None - issued_by: IssuedBy - completed_at: str = Field(description="ISO 8601 UTC, e.g. 2026-10-15T09:30:00Z.") - - @model_validator(mode="after") - def _consistent(self) -> QualificationReceipt: - if self.pair_id != self.pair.pair_id: - raise ValueError("pair_id is not the digest of pair.") - ids = [gate.gate_id for gate in self.gates] - if len(ids) != len(set(ids)): - raise ValueError("Each gate reports at most once.") - expected = qualification_verdict(self.gates) - if self.verdict != expected: - raise ValueError( - f"verdict {self.verdict!r} does not follow from the gates ({expected!r})." - ) - if self.review is not None and self.verdict != "needs_review": - raise ValueError("Only a needs-review verdict can be accepted on review.") - return self - - @property - def unreviewed_sha256(self) -> str: - """Digest of the receipt without ``review``: what a review accepts.""" - - payload = self.canonical_payload() - payload.pop("review", None) - return content_sha256(payload) - - @property - def receipt_sha256(self) -> str: - return content_sha256(self.canonical_payload()) - - @property - def promotable(self) -> bool: - """Qualified, or needs review with an acceptance of exactly this receipt.""" - - if self.verdict == "qualified": - return True - return ( - self.verdict == "needs_review" - and self.review is not None - and self.review.accepted_receipt_sha256 == self.unreviewed_sha256 - ) - - -# --- Promotion order ------------------------------------------------------ - - -def _versions(key: Sequence[str]) -> tuple[Version, ...]: - return tuple(Version(part) for part in key) - - -def dominates(newer: Sequence[str], older: Sequence[str]) -> bool: - """``newer`` is at least ``older`` in every component and differs from it.""" - - a, b = _versions(newer), _versions(older) - if len(a) != len(b): - raise ValueError("Order keys must have the same length.") - return a != b and all(x >= y for x, y in zip(a, b)) - - -def select_promotion_target( - receipts: Iterable[QualificationReceipt], - current: Optional[Sequence[str]], -) -> Optional[QualificationReceipt]: - """The promotable candidate to promote next, or ``None``. - - Eligible receipts are promotable and strictly advance ``current`` (model - version, data release, core version). Among them the target is the one - whose pair dominates every other eligible pair. If eligible pairs have no - single newest member (a newer model with an older data release, say), - nothing is promoted automatically. The result depends only on the set of - receipts, never on the order they arrive in. - """ - - eligible: dict[tuple[str, ...], QualificationReceipt] = {} - for receipt in receipts: - if not receipt.promotable: - continue - key = tuple(receipt.pair.order_key) - if current is not None and not dominates(key, current): - continue - incumbent = eligible.get(key) - if incumbent is None or (receipt.completed_at, receipt.receipt_sha256) > ( - incumbent.completed_at, - incumbent.receipt_sha256, - ): - eligible[key] = receipt - keys = list(eligible) - for key in keys: - if all(other == key or dominates(key, other) for other in keys): - return eligible[key] - return None - - -# --- Replay interface (mirrors policyengine-scorecard schemas v1) --------- - - -class _Mirror(BaseModel): - """Closed, immutable mirror of a scorecard JSON Schema object.""" - - model_config = ConfigDict(frozen=True, extra="forbid", populate_by_name=True) - - def document(self) -> dict[str, Any]: - """The JSON document exactly as the scorecard schema spells it.""" - - return self.model_dump(mode="json", by_alias=True, exclude_none=True) - - -class _Open(_Mirror): - model_config = ConfigDict(frozen=True, extra="allow", populate_by_name=True) - - -_SHA1 = GIT_SHA_PATTERN -_VERSION = r"^[0-9]+(\.[0-9]+)*([a-z0-9.+-]*)$" - - -class GitSource(_Mirror): - repository: Literal["PolicyEngine/policyengine.py"] - commit: str = Field(pattern=_SHA1) - - -class PypiSource(_Mirror): - wheel_sha256: str = Field(pattern=SHA256_PATTERN) - - -class WrapperSource(_Mirror): - git: Optional[GitSource] = None - pypi: Optional[PypiSource] = None - - @model_validator(mode="after") - def _one_source(self) -> WrapperSource: - if (self.git is None) == (self.pypi is None): - raise ValueError("The wrapper source is exactly one of git or pypi.") - return self - - -class RequestWrapper(_Mirror): - version: str = Field(pattern=_VERSION) - source: WrapperSource - packaged_bundle_manifest_sha256: str = Field(pattern=SHA256_PATTERN) - - -class RequestPackage(_Mirror): - version: str = Field(pattern=_VERSION) - wheel_sha256: str = Field(pattern=SHA256_PATTERN) - - -class RequestData(_Mirror): - build_id: str = Field(min_length=1) - dataset: str = Field(min_length=1) - repo_id: str = Field(pattern=r"^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$") - repo_type: Literal["model", "dataset"] - revision: str = Field(min_length=1) - path: str = Field(min_length=1, pattern=r"^[^/][^\\]*$") - sha256: str = Field(pattern=SHA256_PATTERN) - size_bytes: int = Field(ge=1) - release_manifest_sha256: str = Field(pattern=SHA256_PATTERN) - - @field_validator("path") - @classmethod - def _no_parent_segments(cls, path: str) -> str: - # The schema says ^(?!.*(^|/)\.\.(/|$))[^/][^\\]*$; pydantic's regex - # engine has no look-ahead, so the '..' rule is checked here. - if ".." in path.split("/"): - raise ValueError("data.path must not contain '..' segments.") - return path - - -class RequestCandidate(_Mirror): - policyengine: RequestWrapper - policyengine_uk: RequestPackage - policyengine_core: RequestPackage - data: RequestData - expected_release_bundle: dict[str, Optional[str]] - - @field_validator("expected_release_bundle") - @classmethod - def _required_bundle_fields( - cls, bundle: dict[str, Optional[str]] - ) -> dict[str, Optional[str]]: - for key in ( - "policyengine_version", - "model_version", - "certified_data_build_id", - "certified_data_artifact_sha256", - "default_dataset_uri", - ): - if not bundle.get(key): - raise ValueError(f"expected_release_bundle needs {key}.") - return bundle - - -class RequestedBy(_Open): - repository: str = Field(pattern=r"^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$") - workflow_run_id: Optional[int] = Field(default=None, ge=1) - run_attempt: Optional[int] = Field(default=None, ge=1) - commit: str = Field(pattern=_SHA1) - - -class ReplayQualificationRequest(_Mirror): - """``policyengine.uk-replay-qualification-request/v1``.""" - - schema_id: Literal["policyengine.uk-replay-qualification-request/v1"] = Field( - alias="schema" - ) - kind: Literal["candidate", "released_bundle"] - attempt: int = Field(ge=1) - candidate: RequestCandidate - compare_to: str = Field(min_length=1) - requested_by: RequestedBy - - @model_validator(mode="after") - def _released_bundles_come_from_pypi(self) -> ReplayQualificationRequest: - if ( - self.kind == "released_bundle" - and self.candidate.policyengine.source.pypi is None - ): - raise ValueError("A released_bundle request names the PyPI wheel.") - return self - - @property - def request_id(self) -> str: - """Plain RFC 8785 SHA-256 of the request document, as the scorecard computes.""" - - return canonical_sha256(self.document()) - - -class StatusEvent(_Mirror): - status: Literal["queued", "running", "complete", "rejected", "failed"] - at: str - run_url: str = Field( - pattern=r"^https://github\.com/PolicyEngine/policyengine-scorecard/actions/runs/[0-9]+" - ) - - -class ReplayStatus(_Mirror): - """``policyengine.uk-replay-status/v1`` (``requests//STATUS.json``).""" - - schema_id: Literal["policyengine.uk-replay-status/v1"] = Field(alias="schema") - request_id: str = Field(pattern=SHA256_PATTERN) - status: Literal["queued", "running", "complete", "rejected", "failed"] - history: list[StatusEvent] = Field(min_length=1) - receipt_sha256: Optional[str] = Field(default=None, pattern=SHA256_PATTERN) - receipt_commit: Optional[str] = Field(default=None, pattern=_SHA1) - - @model_validator(mode="after") - def _terminal_names_receipt(self) -> ReplayStatus: - if self.terminal and ( - self.receipt_sha256 is None or self.receipt_commit is None - ): - raise ValueError("A terminal status names its receipt digest and commit.") - return self - - @property - def terminal(self) -> bool: - return self.status in ("complete", "rejected", "failed") - - -class Rejection(_Mirror): - code: Literal[ - "schema_invalid", - "artifact_hash_mismatch", - "release_bundle_mismatch", - "incompatible_pair", - "data_access_failed", - "no_supported_years", - ] - detail: str = Field(min_length=1) - - -class InstalledPackage(_Mirror): - version: str = Field(min_length=1) - record_sha256: str = Field(pattern=SHA256_PATTERN) - wheel_sha256: Optional[str] = Field(default=None, pattern=SHA256_PATTERN) - - -class ExecutedPackages(_Mirror): - policyengine: InstalledPackage - policyengine_uk: InstalledPackage = Field(alias="policyengine-uk") - policyengine_core: InstalledPackage = Field(alias="policyengine-core") - - -class Execution(_Mirror): - packages: ExecutedPackages - packaged_bundle_manifest_sha256: str = Field(pattern=SHA256_PATTERN) - release_bundle: dict[str, Optional[str]] - dataset_sha256: str = Field(pattern=SHA256_PATTERN) - requirements_sha256: str = Field(pattern=SHA256_PATTERN) - python: str = Field(pattern=r"^3\.[0-9]+\.[0-9]+$") - platform: str = Field(min_length=1) - runner: str = Field(min_length=1) - - -class UnsupportedYear(_Mirror): - year: int - reason: Literal["before_data_year", "after_extension_end"] - - -class MeasureYear(_Mirror): - measure_key: str = Field(min_length=1) - year: int - - -#: The name the inert lists used before scorecard#183 shared the definition. -InertMeasureYear = MeasureYear - - -def _unique(values: Optional[Sequence[Any]], name: str) -> None: - """The schema's ``uniqueItems``.""" - - if values is None: - return - keys = [ - value.model_dump_json() if isinstance(value, BaseModel) else repr(value) - for value in values - ] - if len(keys) != len(set(keys)): - raise ValueError(f"{name} lists an item twice.") - - -class EventResult(_Mirror): - registry_sha256: str = Field(pattern=SHA256_PATTERN) - supported_years: list[int] - unsupported_years: list[UnsupportedYear] - run_manifest_sha256: str = Field(pattern=SHA256_PATTERN) - staging_manifest_sha256: str = Field(pattern=SHA256_PATTERN) - comparison_provenance_sha256: str = Field(pattern=SHA256_PATTERN) - artifacts: int = Field(ge=0) - full_supported_grid_complete: bool - inert_measure_years: list[MeasureYear] - #: Staging's lists (scorecard#183): the full event grid less what was - #: computed, and the full grid less the supported years. Older receipts - #: omit them. - missing_measure_years: Optional[list[MeasureYear]] = None - unsupported_measure_years: Optional[list[MeasureYear]] = None - - @model_validator(mode="after") - def _unique_items(self) -> EventResult: - for name in ( - "supported_years", - "inert_measure_years", - "missing_measure_years", - "unsupported_measure_years", - ): - _unique(getattr(self, name), name) - return self - - -class BaseEvent(_Mirror): - """The comparison base's own grid record for one event (scorecard#183), - read from the base's staging and run manifests that the diff verified.""" - - staging_manifest_sha256: str = Field(pattern=SHA256_PATTERN) - run_manifest_sha256: str = Field(pattern=SHA256_PATTERN) - supported_years: list[int] - full_supported_grid_complete: bool - inert_measure_years: list[MeasureYear] - missing_measure_years: list[MeasureYear] - unsupported_measure_years: list[MeasureYear] - - @model_validator(mode="after") - def _unique_items(self) -> BaseEvent: - for name in ( - "supported_years", - "inert_measure_years", - "missing_measure_years", - "unsupported_measure_years", - ): - _unique(getattr(self, name), name) - return self - - -class Corpus(_Mirror): - corpus_version: str = Field(min_length=1) - events: dict[str, EventResult] = Field(min_length=1) - - -class IntegrityFailure(_Mirror): - code: str = Field(min_length=1) - detail: str = Field(min_length=1) - event: Optional[str] = None - measure_key: Optional[str] = None - year: Optional[int] = None - - -class Integrity(_Mirror): - status: Literal["complete", "incomplete", "failed", "not_run"] - failures: list[IntegrityFailure] - - -FlagKind = Literal[ - "numerical", - "structural", - "coverage", - "mapping", - "support", - "inertness", - "construction", -] - - -class FlagCounts(_Mirror): - numerical: int = Field(ge=0) - structural: int = Field(ge=0) - coverage: int = Field(ge=0) - mapping: int = Field(ge=0) - support: int = Field(ge=0) - inertness: int = Field(ge=0) - construction: int = Field(ge=0) - - -class FlaggedRow(_Mirror): - event: str = Field(min_length=1) - measure_key: str = Field(min_length=1) - year: int - level: Literal["source_row", "measure_year", "head"] - key: str = Field(min_length=1) - flags: list[FlagKind] = Field(min_length=1) - base_gbp: Optional[float] = None - head_gbp: Optional[float] = None - - -class Diff(_Mirror): - base_variant_id: str = Field(min_length=1) - diff_sha256: str = Field(pattern=SHA256_PATTERN) - flag_counts: FlagCounts - flagged_rows: list[FlaggedRow] - #: Per event the base replayed in the current layout (scorecard#183). A - #: legacy-layout base, or an event the base did not replay, has no entry. - base_events: Optional[dict[str, BaseEvent]] = None - - -class ResultsLocation(_Mirror): - repository: Literal["PolicyEngine/policyengine-scorecard"] - ref: str = Field(min_length=1) - commit: Optional[str] = Field(default=None, pattern=_SHA1) - path: str = Field(min_length=1) - manifest_sha256: Optional[str] = Field( - default=None, - pattern=SHA256_PATTERN, - description="Digest of NAMESPACE_MANIFEST.json for the sealed result namespace.", - ) - - -class ReplayReceipt(_Mirror): - """``policyengine.uk-replay-receipt/v1`` (``requests//REPLAY_RECEIPT.json``). - - Nullable members are kept as ``null`` in :meth:`document`, because the - scorecard's ``receipt_sha256`` covers them. - """ - - schema_id: Literal["policyengine.uk-replay-receipt/v1"] = Field(alias="schema") - request_id: str = Field(pattern=SHA256_PATTERN) - status: Literal["complete", "rejected", "failed"] - rejection: Optional[Rejection] - variant_id: Optional[str] - variant_identity_sha256: Optional[str] = Field(pattern=SHA256_PATTERN) - execution: Optional[Execution] - corpus: Optional[Corpus] - integrity: Integrity - diff: Optional[Diff] - results: ResultsLocation - receipt_sha256: str = Field(pattern=SHA256_PATTERN) - - _received: Optional[dict[str, Any]] = PrivateAttr(default=None) - - @classmethod - def from_document(cls, document: Mapping[str, Any]) -> ReplayReceipt: - """Parse a received receipt, keeping its bytes for digest checks. - - It must satisfy both the mirror and the vendored schema. - """ - - receipt = cls.model_validate(dict(document)) - conform_to_vendored_schema(document, "replay_receipt.v1.json") - receipt._received = dict(document) - return receipt - - def document(self) -> dict[str, Any]: - """The received document if there is one, else this model's spelling.""" - - if self._received is not None: - return dict(self._received) - top = self.model_dump(mode="json", by_alias=True, exclude_none=False) - for key in ("rejection", "execution", "corpus", "diff", "results", "integrity"): - value = getattr(self, key) - top[key] = value.document() if value is not None else None - return top - - @property - def computed_receipt_sha256(self) -> str: - """Plain RFC 8785 SHA-256 of the receipt without ``receipt_sha256``.""" - - document = self.document() - document.pop("receipt_sha256", None) - return canonical_sha256(document) - - @model_validator(mode="after") - def _status_shape(self) -> ReplayReceipt: - if self.status == "rejected": - if ( - self.rejection is None - or self.corpus is not None - or self.diff is not None - or self.variant_id is not None - or self.variant_identity_sha256 is not None - or self.execution is not None - or self.integrity.status != "not_run" - ): - raise ValueError( - "A rejected receipt has a rejection, no variant, execution, " - "corpus or diff, and integrity not_run." - ) - elif self.status == "complete": - if ( - self.rejection is not None - or self.variant_id is None - or self.variant_identity_sha256 is None - or self.execution is None - or self.results.manifest_sha256 is None - ): - raise ValueError( - "A complete receipt has a variant and its identity, an " - "execution and a sealed results manifest." - ) - # A failed receipt can come from a step before the candidate's - # identity was known (for example a download error). - elif self.rejection is not None or self.integrity.status != "failed": - raise ValueError( - "A failed receipt has no rejection and a failed integrity." - ) - if self.status == "complete" and ( - self.integrity.status not in ("complete", "incomplete") - or self.corpus is None - ): - raise ValueError("A complete receipt has a corpus and a run integrity.") - return self - - -def _is_the_gap(row: FlaggedRow, gap: Mapping[str, Any]) -> bool: - """Whether a coverage row is scorecard's own record of a mixed known gap. - - Where one side is inert and the other missing, scorecard compares an - inert artifact (identical worlds, a total of exactly ยฃ0) with none, and - writes a coverage row with ยฃ0 on the inert side and nothing on the - other. Any other shape at a known gap is judged as usual. - """ - - if gap["candidate"] == "inert" and gap["why"] == "missing in the base": - return row.base_gbp is None and row.head_gbp == 0 - if gap["candidate"] == "missing" and gap["why"] == "inert in the base": - return row.head_gbp is None and row.base_gbp == 0 - return False - - -def evaluate_replay_receipt( - request: ReplayQualificationRequest, - status: ReplayStatus, - receipt: ReplayReceipt, - *, - budget_inputs_result: Optional[GateResult] = None, - budget_inputs_evidence: Optional[Mapping[str, Any]] = None, - probe_result: Optional[GateResult] = None, - probe_evidence: Optional[Mapping[str, Any]] = None, - attempt_id: Optional[str] = None, - exception_registry: Optional[ReplayExceptionRegistry] = None, -) -> GateResult: - """The ``replay`` gate for a terminal replay status and its receipt. - - The receipt must answer this exact request, be the bytes the status - names, and report an execution of exactly the requested artifacts. Its - contents are then judged by policy ``d1344-replay-regressions-v2`` - (``data/qualification/replay_policy.md``): - - - fail on rejected or failed replays, mapping flags, lost results - (a coverage row with a base value and no candidate value), lost - responses (a measure-year total of exactly ยฃ0 against a base at least - the diff's bound away, which a known gap never excuses, or a - measure-year the candidate lists as inert, unless it is a known gap) - and incomplete grids (unless every gap in them is known). A gap is - known when the base's own record (``diff.base_events``) lists the same - measure-year as inert, or missing and supported. A known gap does not - block, and neither do the rows by which scorecard records a mixed one - (``_is_the_gap``, and the base-only inertness on a valueless row where - the candidate is missing and the base inert); any candidate value - other than ยฃ0 at a known gap fails as a contradiction, and any other - coverage row with a base value and no candidate value, even ยฃ0, is a - lost result; - - send every other flagged move to review. A registered data-limited - construction failure or lost response also needs review, only while - the same attempt's digest-bound budget-input evidence reports every - required input missing and never previously usable, and an exact-model - positive-input probe demonstrates the reform's response. Excepted - measure-years must have zero effects at every reported fiscal level. - Every unmatched failure and contradiction retains its ordinary verdict. - - Unsupported years are reported, never failed on their own. The gate's - details record the policy id, the policy text's SHA-256, the known gaps - and the rows that record them, the regressions and the review items. - - The receipt is read as a whole: a receipt that contradicts itself fails - (failures listed under a complete integrity, ``flag_counts`` that differ - from its rows' flags, supported years with no artifacts, nothing - replayed at all) or contradicts the request (a comparison base other - than the ``compare_to`` asked for). - """ - - if exception_registry is None: - exception_registry, registry_sha256 = _replay_exceptions() - else: - registry_sha256 = content_sha256( - exception_registry.model_dump(mode="json", by_alias=True, exclude_none=True) - ) - missing_inputs = _replay_missing_inputs( - budget_inputs_result, budget_inputs_evidence, attempt_id - ) - exceptions = sorted(exception_registry.exceptions, key=lambda entry: entry.id) - applied: dict[tuple[str, str, str, int], dict[str, Any]] = {} - exception_reviews: list[dict[str, Any]] = [] - exception_rejections: dict[str, str] = {} - request_id = request.request_id - problems: list[str] = [] - if status.request_id != request_id or receipt.request_id != request_id: - problems.append("status or receipt answers a different request") - if not status.terminal: - problems.append(f"replay is still {status.status}") - if status.status != receipt.status and status.terminal: - problems.append("status and receipt disagree on the outcome") - if receipt.computed_receipt_sha256 != receipt.receipt_sha256: - problems.append("receipt_sha256 does not match the receipt bytes") - if status.receipt_sha256 != receipt.receipt_sha256: - problems.append("status names different receipt bytes") - - details: dict[str, Any] = { - "request_id": request_id, - "receipt_sha256": receipt.receipt_sha256, - "receipt_commit": status.receipt_commit, - "status": receipt.status, - "integrity": receipt.integrity.status, - "policy": REPLAY_POLICY_ID, - "policy_sha256": replay_policy_sha256(), - "known_gaps": [], - "regressions": [], - "review_items": [], - "exception_registry_sha256": registry_sha256, - "applied_exceptions": [], - "budget_inputs_result_sha256": None, - } - - def matching_exception( - code: str, event: Optional[str], measure_key: Optional[str], year: Optional[int] - ) -> Optional[ReplayDataLimitedException]: - for entry in exceptions: - if not entry.matches(code, event, measure_key, year, missing_inputs): - continue - lineage_problem = _replay_lineage_problem(entry, budget_inputs_evidence) - if lineage_problem is not None: - exception_rejections[entry.id] = lineage_problem - continue - if not _replay_probe_passes( - entry, request, probe_result, probe_evidence, attempt_id - ): - exception_rejections[entry.id] = ( - "a passing digest-bound probe from this attempt is required" - ) - continue - return entry - return None - - def except_regression(record: dict[str, Any], code: str) -> bool: - entry = matching_exception( - code, record.get("event"), record.get("measure_key"), record.get("year") - ) - if entry is None: - return False - where = (entry.id, record["event"], record["measure_key"], record["year"]) - if where not in applied: - applied[where] = { - "id": entry.id, - "event": record["event"], - "measure_key": record["measure_key"], - "year": record["year"], - "codes": [], - "cause": entry.cause, - "requires_missing_inputs": sorted(entry.requires_missing_inputs), - "issue": entry.issue, - "decided_under": entry.decided_under, - "review": entry.review, - "approved_lineage": entry.approved_lineage, - "publication": entry.publication, - "probe_evidence_sha256": ( - probe_result.evidence_sha256 if probe_result is not None else None - ), - } - applied[where]["codes"] = sorted(set(applied[where]["codes"]) | {code}) - details["applied_exceptions"] = [applied[key] for key in sorted(applied)] - assert budget_inputs_result is not None - details["budget_inputs_result_sha256"] = content_sha256( - budget_inputs_result.canonical_payload() - ) - assert probe_result is not None - details["probe_result_sha256"] = content_sha256( - probe_result.canonical_payload() - ) - details["probe_evidence_sha256"] = probe_result.evidence_sha256 - exception_reviews.append( - { - **record, - "kind": "data_limited_exception", - "code": code, - "exception_id": entry.id, - "cause": entry.cause, - "requires_missing_inputs": sorted(entry.requires_missing_inputs), - "approved_lineage": entry.approved_lineage, - "publication": entry.publication, - "probe_evidence_sha256": probe_result.evidence_sha256, - } - ) - details["review_items"] = exception_reviews - return True - - def fail_early(kind: str, summary: str, **extra: Any) -> GateResult: - """A failure decided before the receipt's contents are judged; the - policy record lists it as the regression.""" - - return GateResult( - gate_id="replay", - status="fail", - summary=summary, - details={ - **details, - **extra, - "regressions": [{"kind": kind, "why": summary}], - }, - ) - - if problems: - return fail_early( - "unbound", - "Replay receipt is not bound to this request: " + "; ".join(problems), - binding_problems=problems, - ) - if receipt.status == "rejected": - assert receipt.rejection is not None - return fail_early( - "rejected", - f"Replay rejected the candidate ({receipt.rejection.code}): " - f"{receipt.rejection.detail}", - rejection=receipt.rejection.document(), - ) - - execution = receipt.execution - if execution is None: - codes = sorted({failure.code for failure in receipt.integrity.failures}) - return fail_early( - "failed", - "Replay failed before the candidate was identified: " - + (", ".join(codes) or "no failure codes"), - integrity_failures=[ - failure.document() for failure in receipt.integrity.failures - ], - ) - candidate = request.candidate - mismatches: list[str] = [] - packages = { - "policyengine": ( - execution.packages.policyengine, - candidate.policyengine.version, - ( - candidate.policyengine.source.pypi.wheel_sha256 - if candidate.policyengine.source.pypi is not None - else None - ), - ), - "policyengine-uk": ( - execution.packages.policyengine_uk, - candidate.policyengine_uk.version, - candidate.policyengine_uk.wheel_sha256, - ), - "policyengine-core": ( - execution.packages.policyengine_core, - candidate.policyengine_core.version, - candidate.policyengine_core.wheel_sha256, - ), - } - for name, (installed, version, wheel) in packages.items(): - if installed.version != version: - mismatches.append(f"{name} {installed.version} ran, not {version}") - if wheel is not None and installed.wheel_sha256 != wheel: - mismatches.append( - f"{name} wheel hash is missing from the receipt" - if installed.wheel_sha256 is None - else f"{name} wheel hash differs from the request" - ) - if ( - execution.packaged_bundle_manifest_sha256 - != candidate.policyengine.packaged_bundle_manifest_sha256 - ): - mismatches.append("packaged bundle manifest differs from the request") - if execution.dataset_sha256 != candidate.data.sha256: - mismatches.append("dataset bytes differ from the request") - if execution.release_bundle != candidate.expected_release_bundle: - mismatches.append("release bundle differs from the expected release bundle") - if mismatches: - return fail_early( - "unbound", - "Replay ran something other than the candidate: " + "; ".join(mismatches), - execution_mismatches=mismatches, - ) - - # An inert construction has identical worlds: every reported fiscal-effect - # level must be zero. Check before granting any exception, - # including failures whose corpus omitted its inert list and known gaps. - exceptable_measure_years: set[tuple[str, str, int]] = set() - for failure in receipt.integrity.failures: - if ( - matching_exception( - failure.code, failure.event, failure.measure_key, failure.year - ) - is not None - ): - assert failure.event is not None - assert failure.measure_key is not None - assert failure.year is not None - exceptable_measure_years.add( - (failure.event, failure.measure_key, failure.year) - ) - if receipt.corpus is not None: - for event, grid in receipt.corpus.events.items(): - for inert_year in grid.inert_measure_years: - if ( - matching_exception( - "lost_response", event, inert_year.measure_key, inert_year.year - ) - is not None - ): - exceptable_measure_years.add( - (event, inert_year.measure_key, inert_year.year) - ) - for row in receipt.diff.flagged_rows if receipt.diff is not None else []: - if ( - row.level == "measure_year" - and row.head_gbp == 0 - and row.base_gbp is not None - and abs(row.base_gbp) - >= max(REPLAY_ABSOLUTE_BOUND_GBP, REPLAY_RELATIVE_BOUND * abs(row.base_gbp)) - and matching_exception( - "lost_response", row.event, row.measure_key, row.year - ) - is not None - ): - exceptable_measure_years.add((row.event, row.measure_key, row.year)) - incoherent_rows = [ - row - for row in (receipt.diff.flagged_rows if receipt.diff is not None else []) - if (row.event, row.measure_key, row.year) in exceptable_measure_years - and row.head_gbp not in (None, 0) - ] - if incoherent_rows: - return fail_early( - "contradiction", - "Replay receipt contradicts its inert construction: an excepted " - "measure-year has a nonzero candidate effect.", - contradictions=[row.document() for row in incoherent_rows], - ) - - if receipt.status == "failed" or receipt.integrity.status == "failed": - codes = sorted({failure.code for failure in receipt.integrity.failures}) - # Failed receipts may describe an early crash with no corpus or - # sealed result. Continue only with complete execution evidence and - # a nonempty failure list, all of whose members match exactly. - can_review = ( - receipt.status == "failed" - and receipt.integrity.status == "failed" - and receipt.corpus is not None - and receipt.variant_id is not None - and receipt.variant_identity_sha256 is not None - and receipt.results.manifest_sha256 is not None - and bool(receipt.integrity.failures) - and all( - f.code == "construction_inert" - and matching_exception(f.code, f.event, f.measure_key, f.year) - is not None - for f in receipt.integrity.failures - ) - ) - if not can_review: - rejected_exceptions = "; ".join( - f"{entry_id}: {reason}" - for entry_id, reason in sorted(exception_rejections.items()) - ) - return fail_early( - "failed", - "Replay integrity failed: " - + (", ".join(codes) or "no failure codes") - + (f"; {rejected_exceptions}" if rejected_exceptions else ""), - integrity_failures=[f.document() for f in receipt.integrity.failures], - ) - for failure in receipt.integrity.failures: - except_regression( - {"kind": failure.code, **failure.document()}, failure.code - ) - corpus = receipt.corpus - assert corpus is not None - incomplete_events = sorted( - name - for name, event in corpus.events.items() - if not event.full_supported_grid_complete - ) - unsupported = sorted( - (name, item.year, item.reason) - for name, event in corpus.events.items() - for item in event.unsupported_years - ) - inert = sorted( - (name, item.measure_key, item.year) - for name, event in corpus.events.items() - for item in event.inert_measure_years - ) - details.update( - { - "corpus_version": corpus.corpus_version, - "events": sorted(corpus.events), - "unsupported_years": [list(item) for item in unsupported], - "inert_measure_years": [list(item) for item in inert], - } - ) - # A receipt whose parts disagree is not evidence of anything. - contradictions: list[str] = [] - if receipt.integrity.failures and receipt.integrity.status != "failed": - codes = sorted({failure.code for failure in receipt.integrity.failures}) - contradictions.append( - f"integrity is complete but lists failures ({', '.join(codes)})" - ) - replayed = 0 - for name, event in sorted(corpus.events.items()): - replayed += event.artifacts - listed_missing = { - (item.measure_key, item.year) for item in event.missing_measure_years or () - } - { - (item.measure_key, item.year) - for item in event.unsupported_measure_years or () - } - if event.full_supported_grid_complete and ( - event.inert_measure_years or listed_missing - ): - contradictions.append( - f"{name} is complete but lists inert or missing measure-years" - ) - if event.supported_years and event.artifacts == 0: - contradictions.append(f"{name} has supported years but no artifacts") - if not event.supported_years and not event.unsupported_years: - contradictions.append(f"{name} names no years at all") - if replayed == 0: - contradictions.append("no measure-year was replayed") - counts = receipt.diff.flag_counts.document() if receipt.diff is not None else {} - rows = receipt.diff.flagged_rows if receipt.diff is not None else [] - row_counts: dict[str, int] = {} - for row in rows: - for kind in row.flags: - row_counts[kind] = row_counts.get(kind, 0) + 1 - # Scorecard's counters are tallies of its rows' flags, so any difference, - # either way, is a receipt that contradicts itself. - for kind in sorted(set(row_counts) | {kind for kind, n in counts.items() if n}): - seen, counted = row_counts.get(kind, 0), counts.get(kind, 0) - if seen != counted: - contradictions.append( - f"{seen} flagged row(s) carry {kind} but flag_counts says {counted}" - ) - details["flag_counts"] = counts - details["flagged_row_counts"] = row_counts - if receipt.diff is not None: - details["base_variant_id"] = receipt.diff.base_variant_id - details["diff_sha256"] = receipt.diff.diff_sha256 - if request.compare_to != "latest_certified": - base = receipt.diff.base_variant_id if receipt.diff is not None else None - if base != request.compare_to: - contradictions.append( - f"the request asked for a comparison with {request.compare_to}, " - f"but the receipt compares with {base}" - ) - if contradictions: - return fail_early( - "contradiction", - "Replay receipt contradicts itself or the request: " - + "; ".join(contradictions), - contradictions=contradictions, - ) - # A gap is known only where the base's own grid record (scorecard#183) - # lists the same measure-year as inert, or missing and supported, for the - # same event. A legacy-layout base, or an event the base did not replay, - # has no record, so none of its gaps are known. - base_events = (receipt.diff.base_events or {}) if receipt.diff is not None else {} - - def pairs(items: Optional[Sequence[MeasureYear]]) -> set[tuple[str, int]]: - return {(item.measure_key, item.year) for item in items or ()} - - def missing_supported(record: Any) -> Optional[set[tuple[str, int]]]: - if record.missing_measure_years is None: - return None - return pairs(record.missing_measure_years) - pairs( - record.unsupported_measure_years - ) - - known_gaps: list[dict[str, Any]] = [] - for name, event in sorted(corpus.events.items()): - base = base_events.get(name) - if base is None: - continue - base_inert = pairs(base.inert_measure_years) - base_missing = missing_supported(base) or set() - event_inert = pairs(event.inert_measure_years) - for measure_key, year in sorted( - event_inert | (missing_supported(event) or set()) - ): - if (measure_key, year) in base_inert: - why = "inert in the base" - elif (measure_key, year) in base_missing: - why = "missing in the base" - else: - continue - known_gaps.append( - { - "event": name, - "measure_key": measure_key, - "year": year, - "candidate": "inert" - if (measure_key, year) in event_inert - else "missing", - "why": why, - "base_staging_manifest_sha256": base.staging_manifest_sha256, - } - ) - gaps_at = { - (gap["event"], gap["measure_key"], gap["year"]): gap for gap in known_gaps - } - known = set(gaps_at) - listed_inert = set(inert) - candidate_inert = {where for where in listed_inert if where not in known} - regressions: list[dict[str, Any]] = [] - review_items: list[dict[str, Any]] = [] - - def item(kind: str, row: Any = None, **fields: Any) -> dict[str, Any]: - record: dict[str, Any] = {"kind": kind} - if row is not None: - record.update( - event=row.event, - measure_key=row.measure_key, - year=row.year, - level=row.level, - key=row.key, - flags=sorted(row.flags), - base_gbp=row.base_gbp, - head_gbp=row.head_gbp, - ) - record.update(fields) - return record - - excepted_inert: set[tuple[str, str, int]] = set() - for event, measure_key, year in sorted(candidate_inert): - record = item( - "lost_response", - event=event, - measure_key=measure_key, - year=year, - why="inert in the candidate", - ) - if except_regression(record, "lost_response"): - excepted_inert.add((event, measure_key, year)) - else: - regressions.append(record) - for name in incomplete_events: - event = corpus.events[name] - missing = missing_supported(event) - if missing is None: - regressions.append( - item( - "incomplete", - event=name, - why="the supported grid is incomplete and the receipt does " - "not list its missing measure-years", - ) - ) - continue - gaps = pairs(event.inert_measure_years) | missing - unknown = sorted( - gap - for gap in gaps - if (name, *gap) not in known - and (gap in missing or (name, *gap) not in excepted_inert) - ) - if not gaps or unknown: - regressions.append( - item( - "incomplete", - event=name, - why="the supported grid is incomplete and not every inert " - "or missing measure-year in it is a known gap", - measure_years=[list(gap) for gap in unknown], - ) - ) - if receipt.integrity.status == "incomplete" and not incomplete_events: - regressions.append( - item("incomplete", why="integrity is incomplete with no incomplete event") - ) - gap_rows: list[dict[str, Any]] = [] - for row in rows: - flags = set(row.flags) - where = (row.event, row.measure_key, row.year) - gap = gaps_at.get(where) - lost = False - if gap is not None and "coverage" in flags and _is_the_gap(row, gap): - # Scorecard's own expression of a mixed known gap: one side has no - # artifact and the other an inert one (identical worlds, ยฃ0). - flags.discard("coverage") - if flags & BLOCKING_REPLAY_FLAGS: - regressions.append(item("mapping", row)) - lost = True - if "coverage" in flags and row.base_gbp is not None and row.head_gbp is None: - regressions.append(item("lost_result", row)) - lost = True - if gap is not None and row.head_gbp not in (None, 0): - # The candidate's record lists the measure-year as inert or - # missing, so no row can hold a candidate value for it (an inert - # artifact's effects are exactly ยฃ0; a missing one has none). - regressions.append( - item( - "contradiction", - row, - why="a candidate value for a measure-year its record lists " - "as a gap", - ) - ) - lost = True - zero_total = ( - row.level == "measure_year" - and row.head_gbp == 0 - and row.base_gbp is not None - and abs(row.base_gbp) - >= max(REPLAY_ABSOLUTE_BOUND_GBP, REPLAY_RELATIVE_BOUND * abs(row.base_gbp)) - ) - if zero_total and where in known: - # A base whose own record lists the measure-year as a gap cannot - # also hold a material value for it: the receipt contradicts - # itself, so the gap does not excuse the loss. - regressions.append( - item( - "lost_response", - row, - why="ยฃ0 against a material base value, though the base's " - "record lists the measure-year as a gap", - ) - ) - lost = True - elif where in listed_inert and zero_total: - # The candidate's own inert list decides: a lost response above. - lost = True - elif zero_total: - record = item("lost_response", row, why="ยฃ0 against the base") - if not except_regression(record, "lost_response"): - regressions.append(record) - lost = True - if where in listed_inert or ( - gap is not None - and gap["candidate"] == "missing" - and gap["why"] == "inert in the base" - and row.base_gbp is None - and row.head_gbp is None - ): - # The candidate's inert list decides its inertness (a lost response - # above, or a known gap). Where the candidate is missing and the - # base inert, a base-only inertness flag on a row with no value on - # either side (as scorecard writes it) is the known gap itself. - # The row's other flags are judged as usual. - flags = flags - {"inertness"} - if gap is not None and flags != set(row.flags): - # A row the known gap accounts for, in whole or in part. - gap_rows.append(item("known_gap_row", row)) - if not lost and flags & REVIEW_REPLAY_FLAGS: - if "coverage" in flags and row.base_gbp is None: - kind = ( - "coverage_gain" - if row.head_gbp is not None - else "coverage_without_values" - ) - elif flags == {"inertness"}: - kind = "base_only_inertness" - else: - kind = "flagged_move" - review_items.append(item(kind, row)) - # Include exceptions found in corpus and diff evaluation as well as the - # integrity failures. A matched loss always blocks automatic promotion. - review_items = exception_reviews + review_items - details.update( - { - "policy": REPLAY_POLICY_ID, - "policy_sha256": replay_policy_sha256(), - "known_gaps": known_gaps, - "known_gap_rows": gap_rows, - "regressions": regressions, - "review_items": review_items, - } - ) - - def tally(records: Sequence[dict[str, Any]]) -> str: - kinds: dict[str, int] = {} - for record in records: - kinds[record["kind"]] = kinds.get(record["kind"], 0) + 1 - return ", ".join(f"{kind} {n}" for kind, n in sorted(kinds.items())) - - if regressions: - return GateResult( - gate_id="replay", - status="fail", - summary="Replay regressions: " + tally(regressions), - details=details, - ) - if review_items: - return GateResult( - gate_id="replay", - status="needs_review", - summary="Replay moves need review: " + tally(review_items), - details=details, - ) - if receipt.diff is None: - return GateResult( - gate_id="replay", - status="needs_review", - summary="Replay completed but reported no diff against a certified variant.", - details=details, - ) - return GateResult( - gate_id="replay", - status="pass", - summary=f"Replayed {len(corpus.events)} event(s) with no flags against {receipt.diff.base_variant_id}.", - details=details, - ) - - -def replay_gate_while_pending(status: Optional[ReplayStatus]) -> GateResult: - """Gate result for a replay that has not reached a terminal status.""" - - state = status.status if status is not None else "not yet queued" - return GateResult( - gate_id="replay", - status="unavailable", - summary=f"Replay is {state}; the candidate stays incomplete until it finishes.", - details={"status": state}, - ) - - -def mirror_from_document(model: type[_Mirror], document: Mapping[str, Any]) -> Any: - """Parse a scorecard document into its mirror model.""" - - return model.model_validate(dict(document)) diff --git a/src/policyengine/provenance/qualification_ledger.py b/src/policyengine/provenance/qualification_ledger.py deleted file mode 100644 index cb1aa6b6e..000000000 --- a/src/policyengine/provenance/qualification_ledger.py +++ /dev/null @@ -1,356 +0,0 @@ -"""The qualification ledger: durable evidence for every candidate attempt. - -The ledger is the orphan branch ``uk-qualification-ledger`` of -PolicyEngine/policyengine.py. Each candidate pair owns one directory, so -concurrent qualifications never write the same file:: - - // - pair.json the CandidatePair - qualification_receipt.json the latest terminal receipt for the pair - latest_attempt.json which attempt that receipt came from - attempts// - harness.json the candidate commit that ran it - gates/.json each gate's evidence - replay/request.json the request sent to the scorecard - replay/status.json the terminal status read back - replay/receipt.json the receipt bytes read back - qualification_receipt.json this attempt's receipt - -Failed and incomplete attempts are kept: the ledger never deletes evidence. -A pair's published files are derived from its attempts and are trusted only -when the published receipt is one attempt's own receipt -(:func:`published_receipt`): concurrent publishes must never yield a receipt -that mixes two attempts. -A bundle certificate with basis ``qualified_exact_pair`` must point at a pair -whose latest receipt is promotable and matches the certificate exactly -(:func:`verify_certification_evidence`). -""" - -from __future__ import annotations - -import json -from collections.abc import Callable, Iterable, Mapping -from pathlib import Path -from typing import Any, Optional - -from policyengine.provenance.qualification import QualificationReceipt - -LEDGER_REPOSITORY = "PolicyEngine/policyengine.py" -LEDGER_BRANCH = "uk-qualification-ledger" -RAW_LEDGER_URL = ( - f"https://raw.githubusercontent.com/{LEDGER_REPOSITORY}/{LEDGER_BRANCH}" -) - -__all__ = [ - "LEDGER_BRANCH", - "LEDGER_REPOSITORY", - "LedgerInconsistency", - "attempt_directory", - "fetch_ledger_receipt", - "latest_receipts", - "pair_directory", - "pending_attempts", - "latest_attempt_receipt", - "published_receipt", - "rederive_publication", - "verify_certification_evidence", - "write_json", -] - - -class LedgerInconsistency(ValueError): - """A pair's published receipt is not any one attempt's receipt.""" - - -def write_json(path: Path, value: Any) -> None: - """Write readable, deterministic JSON (digests are over the JSON value).""" - - path.parent.mkdir(parents=True, exist_ok=True) - path.write_text( - json.dumps(value, indent=2, sort_keys=True, ensure_ascii=False) + "\n", - encoding="utf-8", - ) - - -def read_json(path: Path) -> Any: - return json.loads(path.read_text(encoding="utf-8")) - - -def pair_directory(root: Path, country_id: str, pair_id: str) -> Path: - return root / country_id / pair_id - - -def attempt_directory( - root: Path, country_id: str, pair_id: str, attempt_key: str -) -> Path: - if "/" in attempt_key or attempt_key in ("", ".", ".."): - raise ValueError(f"Invalid attempt key {attempt_key!r}.") - return pair_directory(root, country_id, pair_id) / "attempts" / attempt_key - - -def _matches_an_attempt( - receipt: QualificationReceipt, attempt_receipts: Iterable[QualificationReceipt] -) -> bool: - """Whether ``receipt`` is one attempt's receipt, a review acceptance aside. - - ``unreviewed_sha256`` covers every field but ``review``, so a receipt that - joins one attempt's harness to another's replay or gates matches neither. - """ - - return any( - attempt.unreviewed_sha256 == receipt.unreviewed_sha256 - for attempt in attempt_receipts - ) - - -def latest_attempt_receipt( - pair_dir: Path, -) -> Optional[tuple[str, int, QualificationReceipt]]: - """The receipt a pair publishes: its latest-staged attempt's current receipt. - - Attempts are ordered by the ``sequence`` in their ``staging.json`` (0 when - absent); an attempt without a receipt yet does not count. Returns the - attempt key, its sequence and its receipt, or None if no attempt has one. - """ - - latest: Optional[tuple[int, str, Path]] = None - for path in pair_dir.glob("attempts/*/qualification_receipt.json"): - stage = path.parent / "staging.json" - sequence = int(read_json(stage)["sequence"]) if stage.exists() else 0 - candidate = (sequence, path.parent.name, path) - if latest is None or candidate[:2] > latest[:2]: - latest = candidate - if latest is None: - return None - sequence, key, path = latest - return key, sequence, QualificationReceipt.model_validate(read_json(path)) - - -def published_receipt(pair_dir: Path) -> QualificationReceipt: - """A pair's published receipt, verified against the attempts it derives from. - - It must be the current receipt of the pair's latest-staged attempt - (:func:`latest_attempt_receipt`), up to a review acceptance, which is added - afterwards. Raises :class:`LedgerInconsistency` otherwise, for instance - after a textual merge of two attempts' receipts. - """ - - receipt = QualificationReceipt.model_validate( - read_json(pair_dir / "qualification_receipt.json") - ) - latest = latest_attempt_receipt(pair_dir) - if latest is None: - raise LedgerInconsistency( - f"{pair_dir.name}: a qualification receipt is published but no " - "attempt has one" - ) - key, _, attempt = latest - if not _matches_an_attempt(receipt, [attempt]): - raise LedgerInconsistency( - f"{pair_dir.name}: the published qualification receipt " - f"({receipt.unreviewed_sha256}) is not the receipt of attempt {key}, " - "the latest staged" - ) - return receipt - - -def rederive_publication(pair_dir: Path) -> Optional[QualificationReceipt]: - """Rewrite a pair's published files from its attempts. - - Writes ``qualification_receipt.json`` (the latest-staged attempt's - receipt), ``latest_attempt.json`` and ``pair.json``. A review acceptance of - exactly that receipt is kept, from the published receipt if it validates or - from ``reviews/``, the latest acceptance first. Used after a concurrent - publish, so that git never decides these files by merging two attempts. - """ - - latest = latest_attempt_receipt(pair_dir) - if latest is None: - return None - key, sequence, receipt = latest - published = pair_dir / "qualification_receipt.json" - accepted: list[QualificationReceipt] = [] - for source in [published, *sorted(pair_dir.glob("reviews/*.json"))]: - if not source.exists(): - continue - try: - candidate = QualificationReceipt.model_validate(read_json(source)) - except ValueError: - continue - if ( - candidate.review is not None - and candidate.promotable - and candidate.unreviewed_sha256 == receipt.unreviewed_sha256 - ): - accepted.append(candidate) - if accepted: - receipt = max(accepted, key=lambda item: item.review.accepted_at) - write_json(published, receipt.canonical_payload()) - write_json( - pair_dir / "latest_attempt.json", {"attempt_key": key, "sequence": sequence} - ) - write_json(pair_dir / "pair.json", receipt.pair.canonical_payload()) - return receipt - - -def latest_receipts( - root: Path, - country_id: str = "uk", - *, - problems: Optional[list[str]] = None, -) -> list[QualificationReceipt]: - """Every pair's latest terminal receipt in a checked-out ledger. - - A pair whose published receipt is not one of its attempts' receipts is - left out, and the reason is appended to ``problems`` when given. - """ - - base = root / country_id - if not base.is_dir(): - return [] - receipts = [] - for path in sorted(base.glob("*/qualification_receipt.json")): - try: - receipts.append(published_receipt(path.parent)) - except LedgerInconsistency as error: - if problems is not None: - problems.append(str(error)) - return receipts - - -def pending_attempts(root: Path, country_id: str = "uk") -> list[Path]: - """Attempts that sent a replay request and have no receipt yet.""" - - base = root / country_id - if not base.is_dir(): - return [] - return sorted( - path.parent.parent - for path in base.glob("*/attempts/*/replay/request.json") - if not (path.parent.parent / "qualification_receipt.json").exists() - ) - - -def fetch_ledger_receipt( - country_id: str, - pair_id: str, - *, - get: Optional[Callable[..., Any]] = None, -) -> Optional[QualificationReceipt]: - """Read a pair's latest receipt from the published ledger branch. - - The receipt must be the receipt of the attempt ``latest_attempt.json`` - names (a review acceptance aside), as :func:`published_receipt` requires - of a checked-out ledger; otherwise :class:`LedgerInconsistency` is raised. - """ - - if get is None: - import requests - - get = requests.get - base = f"{RAW_LEDGER_URL}/{country_id}/{pair_id}" - response = get(f"{base}/qualification_receipt.json", timeout=30) - if response.status_code == 404: - return None - response.raise_for_status() - receipt = QualificationReceipt.model_validate_json(response.text) - pointer_response = get(f"{base}/latest_attempt.json", timeout=30) - if pointer_response.status_code == 404: - raise LedgerInconsistency( - f"{pair_id}: the published receipt names no attempt (no latest_attempt.json)" - ) - pointer_response.raise_for_status() - attempt_key = json.loads(pointer_response.text).get("attempt_key") - if not isinstance(attempt_key, str) or not attempt_key or "/" in attempt_key: - raise LedgerInconsistency(f"{pair_id}: latest_attempt.json is malformed") - attempt_response = get( - f"{base}/attempts/{attempt_key}/qualification_receipt.json", timeout=30 - ) - if attempt_response.status_code == 404: - raise LedgerInconsistency( - f"{pair_id}: attempt {attempt_key} has no qualification receipt" - ) - attempt_response.raise_for_status() - attempt = QualificationReceipt.model_validate_json(attempt_response.text) - if not _matches_an_attempt(receipt, [attempt]): - raise LedgerInconsistency( - f"{pair_id}: the published qualification receipt is not attempt " - f"{attempt_key}'s receipt" - ) - return receipt - - -def verify_certification_evidence( - record: Mapping[str, Any], - receipt: Optional[QualificationReceipt], -) -> list[str]: - """Problems with a bundle certification record's qualification evidence. - - Records on any basis other than ``qualified_exact_pair`` need no ledger - evidence and return no problems. A qualified exact pair needs a - promotable receipt for exactly the model wheel (its hash must be stated), - core, data release and dataset the record certifies, including the - default dataset's reference (repository, path, revision and bytes), which - is what the runtime resolves. - """ - - certification = record.get("certification") or {} - if certification.get("compatibility_basis") != "qualified_exact_pair": - return [] - pair_id = certification.get("qualification_pair_id") - if not pair_id: - return ["qualified_exact_pair certificate names no qualification_pair_id"] - if receipt is None: - return [f"no qualification receipt in the ledger for pair {pair_id}"] - - problems: list[str] = [] - if receipt.pair_id != pair_id: - problems.append("ledger receipt is for a different pair") - if not receipt.promotable: - problems.append( - f"ledger receipt verdict is {receipt.verdict} without an accepted review" - ) - pair = receipt.pair - model = record.get("model_package") or {} - data = record.get("data_package") or {} - artifact = record.get("certified_data_artifact") or {} - reference = (record.get("datasets") or {}).get(record.get("default_dataset")) or {} - expected: Iterable[tuple[str, Any, Any]] = ( - ( - "model version", - pair.model.version, - certification.get("certified_for_model_version"), - ), - ("model version in bundle", pair.model.version, model.get("version")), - ("model wheel sha256", pair.model.wheel_sha256, model.get("sha256")), - ( - "core version", - pair.core.version, - certification.get("certified_for_core_version"), - ), - ("data release", pair.data.release_version, data.get("version")), - ( - "release manifest revision", - pair.data.release_manifest_revision, - data.get("release_manifest_revision"), - ), - ("default dataset", pair.data.dataset, record.get("default_dataset")), - ("certified dataset", pair.data.dataset, artifact.get("dataset")), - ("dataset sha256", pair.data.dataset_sha256, artifact.get("sha256")), - # The reference the runtime actually resolves and downloads. - ("dataset reference repo", pair.data.repo_id, reference.get("repo_id")), - ("dataset reference path", pair.data.dataset_path, reference.get("path")), - ( - "dataset reference revision", - pair.data.dataset_revision, - reference.get("revision"), - ), - ("dataset reference sha256", pair.data.dataset_sha256, reference.get("sha256")), - ("data build id", pair.data.build_id, certification.get("data_build_id")), - ) - for label, qualified, certified in expected: - if qualified != certified: - problems.append( - f"{label}: qualified {qualified!r}, certified {certified!r}" - ) - return problems diff --git a/src/policyengine/provenance/replay_probe.py b/src/policyengine/provenance/replay_probe.py deleted file mode 100644 index 1936e9298..000000000 --- a/src/policyengine/provenance/replay_probe.py +++ /dev/null @@ -1,157 +0,0 @@ -"""Synthetic, survey-free evidence for data-limited replay exceptions. - -The country model is intentionally used directly: this probe establishes that -the exact installed candidate responds to a positive input, independently of -the survey data whose absence is under review. -""" - -from __future__ import annotations - -import math -from importlib.metadata import version -from typing import Any - -from policyengine.provenance.qualification import ( - GateResult, - ReplayExceptionProbe, - ReplayExceptionRegistry, - _replay_exceptions, -) -from policyengine.provenance.receipt import content_sha256 - - -def _run_probe(spec: ReplayExceptionProbe) -> dict[str, Any]: - from policyengine_uk import Simulation - from policyengine_uk.model_api import Reform - - period = str(spec.year) - reform_rates: list[dict[str, float]] = [] - - def modify_parameters(parameters): - scale = parameters - for name in spec.parameter.split("."): - scale = getattr(scale, name) - # SDLT uses a marginal rate scale; update every bracket, including - # those above the synthetic purchase price, against its actual value. - if not scale.brackets: - raise ValueError("Probe parameter has no rate brackets.") - rates = [] - for bracket in scale.brackets: - baseline = float(bracket.rate(period)) - changed = baseline + spec.rate_increment - bracket.rate.update(period=period, value=changed) - rates.append({"baseline": baseline, "reform": changed}) - if reform_rates and reform_rates != rates: - raise ValueError("Positive and zero probes used different reform rates.") - reform_rates[:] = rates - return parameters - - class ProbeReform(Reform): - def apply(self): - self.modify_parameters(modifier_function=modify_parameters) - - def output(price: float, reform=None) -> float: - situation = { - "people": {"person": {"age": {period: 40}}}, - "benunits": {"benunit": {"members": ["person"]}}, - "households": { - "household": { - "members": ["person"], - "region": {period: spec.region}, - spec.input_variable: {period: price}, - } - }, - } - simulation = Simulation(situation=situation, reform=reform) - values = simulation.calculate(spec.output_variable, period) - if len(values) != 1: - raise ValueError("Probe must produce exactly one household output.") - result = float(values[0]) - if not math.isfinite(result): - raise ValueError("Probe produced a non-finite output.") - return result - - positive_baseline = output(spec.positive_input_gbp) - positive_reform = output(spec.positive_input_gbp, ProbeReform) - zero_baseline = output(0) - zero_reform = output(0, ProbeReform) - positive_change = positive_reform - positive_baseline - zero_change = zero_reform - zero_baseline - passed = ( - positive_change > 0 - and abs(positive_change - spec.expected_change_gbp) - <= spec.absolute_tolerance_gbp - and zero_change == 0 - ) - return { - "status": "pass" if passed else "fail", - "positive_baseline_gbp": positive_baseline, - "positive_reform_gbp": positive_reform, - "positive_change_gbp": positive_change, - "zero_baseline_gbp": zero_baseline, - "zero_reform_gbp": zero_reform, - "zero_change_gbp": zero_change, - "rates": reform_rates, - } - - -def run_replay_probes( - *, - attempt_id: str, - candidate_model_version: str, - exception_registry: ReplayExceptionRegistry | None = None, -) -> tuple[GateResult, dict[str, Any]]: - """Run registry probes and seal their attempt-specific JSON evidence. - - Any import, version, variable, parameter or calculation failure becomes - failing evidence. The replay evaluator decides whether an exception needs - this evidence; this result is not an additional unconditional release gate. - """ - - if exception_registry is None: - registry, registry_sha256 = _replay_exceptions() - else: - registry = exception_registry - registry_sha256 = content_sha256(registry.canonical_payload()) - evidence: dict[str, Any] = { - "attempt_id": attempt_id, - "candidate_model_version": candidate_model_version, - "exception_registry_sha256": registry_sha256, - "probes": [], - } - for entry in registry.exceptions: - probe: dict[str, Any] = { - "exception_id": entry.id, - "spec_sha256": content_sha256(entry.probe.model_dump(mode="json")), - } - try: - installed_version = version("policyengine-uk") - probe["installed_model_version"] = installed_version - if installed_version != candidate_model_version: - raise ValueError( - f"Installed policyengine-uk {installed_version} does not match " - f"candidate {candidate_model_version}." - ) - probe.update(_run_probe(entry.probe)) - except Exception as error: - probe.update(status="fail", error=f"{type(error).__name__}: {error}") - evidence["probes"].append(probe) - failed = sum(probe["status"] != "pass" for probe in evidence["probes"]) - result = GateResult( - gate_id="replay_probe", - status="fail" if failed else "pass", - summary=( - f"{failed} of {len(evidence['probes'])} replay exception probes failed." - if failed - else f"All {len(evidence['probes'])} replay exception probes passed." - ), - evidence_sha256=content_sha256(evidence), - details={ - "attempt_id": attempt_id, - "candidate_model_version": candidate_model_version, - "exception_registry_sha256": registry_sha256, - "probe_count": len(evidence["probes"]), - "failed_probes": failed, - }, - ) - return result, evidence diff --git a/src/policyengine/provenance/uk_candidate.py b/src/policyengine/provenance/uk_candidate.py deleted file mode 100644 index 71c771b3b..000000000 --- a/src/policyengine/provenance/uk_candidate.py +++ /dev/null @@ -1,3515 +0,0 @@ -"""Mandatory local qualification gates for a UK model/data candidate. - -Each gate returns a :class:`~policyengine.provenance.qualification.GateResult` -and an evidence dict whose ``content_sha256`` the result records. No gate has -a skip path: a gate whose harness is missing reports ``unavailable`` (the -candidate is incomplete), a gate that crashes reports ``error`` (rejected), -and a failed check reports ``fail`` (rejected). The replay gate is evaluated -separately (:func:`policyengine.provenance.qualification.evaluate_replay_receipt`). - -I/O is injected (metadata readers, HTTP getters, importers, year projectors) -so every gate is testable offline. :func:`run_candidate_gates` wires the real -implementations for the qualification workflow. -""" - -from __future__ import annotations - -import hashlib -import importlib -import inspect -import io -import json -import math -import re -import sys -import traceback -from collections import Counter -from collections.abc import Callable, Iterable, Mapping, Sequence -from importlib import metadata as importlib_metadata -from pathlib import Path -from typing import Any, Optional - -from packaging.requirements import Requirement -from packaging.specifiers import SpecifierSet -from packaging.version import Version - -from policyengine.provenance.manifest import DataReleaseManifest, _specifier_matches -from policyengine.provenance.qualification import ( - CandidatePair, - GateResult, - QualificationHarness, - QualificationReceipt, -) -from policyengine.provenance.receipt import content_sha256 -from policyengine.provenance.wheels import ( - verify_installed_against_wheel, -) -from policyengine.utils.hashing import sha256_file - -Evidence = dict[str, Any] -GateOutcome = tuple[GateResult, Evidence] - -UK_SINGLE_YEAR_KEYS = ("time_period", "person", "benunit", "household") -ENTITY_TABLES = ("person", "benunit", "household") - - -def _json_safe(value: Any) -> Any: - """Evidence as strict JSON: NumPy scalars become the Python numbers they - hold (never their text), and non-finite numbers become their names.""" - - numpy = sys.modules.get("numpy") - if numpy is not None and isinstance( - value, numpy.bool_ | numpy.integer | numpy.floating - ): - value = value.item() - if isinstance(value, float) and not math.isfinite(value): - return ( - "NaN" if math.isnan(value) else ("Infinity" if value > 0 else "-Infinity") - ) - if isinstance(value, Mapping): - return {str(key): _json_safe(item) for key, item in value.items()} - if isinstance(value, list | tuple): - return [_json_safe(item) for item in value] - return value - - -def evidence_sha256(evidence: Any) -> str: - """Digest of evidence that may contain non-finite numbers.""" - - return content_sha256(_json_safe(evidence)) - - -def _result( - gate_id: str, - status: str, - summary: str, - evidence: Evidence, - details: Optional[Mapping[str, Any]] = None, -) -> GateOutcome: - result = GateResult( - gate_id=gate_id, - status=status, # type: ignore[arg-type] - summary=summary, - evidence_sha256=evidence_sha256(evidence), - details=_json_safe(dict(details or {})), - ) - return result, _json_safe(evidence) - - -# --- 1. Installed versions --------------------------------------------------- - - -def installed_versions( - pair: CandidatePair, - harness: QualificationHarness, - *, - metadata: Any = importlib_metadata, -) -> GateOutcome: - """Installed wrapper, model and core equal the candidate; requirements hold.""" - - expected = { - "policyengine": harness.policyengine_version, - pair.model.name: pair.model.version, - pair.core.name: pair.core.version, - } - installed: dict[str, Optional[str]] = {} - problems: list[str] = [] - for name, version in expected.items(): - try: - installed[name] = metadata.version(name) - except metadata.PackageNotFoundError: - installed[name] = None - problems.append(f"{name} is not installed") - continue - if installed[name] != version: - problems.append(f"{name} {installed[name]} is installed, not {version}") - - unmet: list[str] = [] - for name in expected: - if installed.get(name) is None: - continue - for line in metadata.requires(name) or []: - requirement = Requirement(line) - if requirement.marker is not None and not requirement.marker.evaluate( - {"extra": ""} - ): - continue - try: - found = metadata.version(requirement.name) - except metadata.PackageNotFoundError: - unmet.append(f"{name} needs {requirement}, which is not installed") - continue - if requirement.specifier and not requirement.specifier.contains( - found, prereleases=True - ): - unmet.append(f"{name} needs {requirement}; {found} is installed") - problems.extend(unmet) - evidence = { - "expected": expected, - "installed": installed, - "unmet_requirements": unmet, - } - if problems: - return _result("installed_versions", "fail", "; ".join(problems), evidence) - return _result( - "installed_versions", - "pass", - f"policyengine {harness.policyengine_version}, {pair.model.name} {pair.model.version} and {pair.core.name} {pair.core.version} are installed and " - "their requirements hold.", - evidence, - ) - - -# --- 2. Wheel hashes ----------------------------------------------------------- - - -def wheel_hashes( - pair: CandidatePair, - *, - wheel_paths: Mapping[str, Path], - pypi_digests: Mapping[str, str], - metadata: Any = importlib_metadata, -) -> GateOutcome: - """Downloaded wheels match PyPI and the pin; installed files match the wheels.""" - - evidence: Evidence = {} - problems: list[str] = [] - for package in (pair.model, pair.core): - path = wheel_paths.get(package.name) - if path is None or not Path(path).is_file(): - problems.append(f"no downloaded wheel for {package.name}") - continue - actual = sha256_file(path) - if actual != package.wheel_sha256: - problems.append( - f"{package.name} wheel is {actual}, pinned {package.wheel_sha256}" - ) - if pypi_digests.get(package.name) != package.wheel_sha256: - problems.append(f"PyPI publishes a different {package.name} wheel digest") - verification = verify_installed_against_wheel( - package.name, Path(path), metadata=metadata - ) - evidence[package.name] = verification - problems.extend(f"{package.name} {item}" for item in verification["problems"]) - if problems: - return _result("wheel_hashes", "fail", "; ".join(problems[:10]), evidence) - counts = ", ".join( - f"{name}: {item['archive_members_verified']} wheel members, " - f"{item['files_verified']} installed files" - for name, item in evidence.items() - ) - return _result( - "wheel_hashes", - "pass", - f"The pinned PyPI wheels match their RECORDs and the installed files ({counts}).", - evidence, - ) - - -def receipt_wheel_paths( - pair: CandidatePair, wheel_paths: Mapping[str, Path] -) -> dict[str, Path]: - """``wheel_paths`` for ``build_execution_receipt``, which re-verifies them.""" - - return { - package.name: Path(wheel_paths[package.name]) - for package in (pair.model, pair.core) - if package.name in wheel_paths - } - - -# --- 3. Core compatibility ----------------------------------------------------- - - -def core_compatibility( - pair: CandidatePair, - release_manifest: DataReleaseManifest, - *, - model_requires_core: str, -) -> GateOutcome: - """The core satisfies the model; publisher claims are recorded, not required.""" - - problems: list[str] = [] - if not SpecifierSet(model_requires_core).contains( - pair.core.version, prereleases=True - ): - problems.append( - f"{pair.model.name} {pair.model.version} requires policyengine-core" - f"{model_requires_core}; the candidate core is {pair.core.version}" - ) - build = release_manifest.build - built_with = build.built_with_model_package if build is not None else None - if built_with is not None and built_with.name != pair.model.name: - problems.append( - f"the data was built with {built_with.name}, not {pair.model.name}" - ) - model_claims = [ - package.specifier - for package in release_manifest.compatible_model_packages - if package.name == pair.model.name - ] - core_claims = [ - package.specifier - for package in release_manifest.compatible_core_packages - if package.name == pair.core.name - ] - evidence = { - "model_requires_core": model_requires_core, - "built_with_model_version": built_with.version if built_with else None, - "built_with_core_version": ( - build.built_with_core_package.version - if build is not None and build.built_with_core_package is not None - else None - ), - "publisher_model_claims": model_claims, - "publisher_core_claims": core_claims, - "publisher_claim_covers_model": any( - _specifier_matches(pair.model.version, item) for item in model_claims - ), - "publisher_claim_covers_core": any( - _specifier_matches(pair.core.version, item) for item in core_claims - ), - } - if problems: - return _result("core_compatibility", "fail", "; ".join(problems), evidence) - coverage = ( - "the publisher's claims cover both" - if evidence["publisher_claim_covers_model"] - and evidence["publisher_claim_covers_core"] - else "certification will record an exact qualified pair, since the publisher's claims do not cover both" - ) - return _result( - "core_compatibility", - "pass", - f"policyengine-core {pair.core.version} satisfies {pair.model.name}{model_requires_core}; {coverage}.", - evidence, - details={ - "publisher_claim_covers_model": evidence["publisher_claim_covers_model"], - "publisher_claim_covers_core": evidence["publisher_claim_covers_core"], - }, - ) - - -# --- 4. Data access ------------------------------------------------------------ - - -def _hf_url(repo_id: str, repo_type: str, revision: str, path: str) -> str: - prefix = "datasets/" if repo_type == "dataset" else "" - return f"https://huggingface.co/{prefix}{repo_id}/resolve/{revision}/{path}" - - -def data_access( - pair: CandidatePair, - *, - get: Callable[..., Any], - head: Callable[..., Any], - token: Optional[str], -) -> tuple[GateResult, Evidence, Optional[DataReleaseManifest]]: - """Authenticated access to the exact manifest and every artifact.""" - - data = pair.data - evidence: Evidence = {"artifacts": {}} - if not token: - result, evidence = _result( - "data_access", - "fail", - "No Hugging Face token is configured; the UK data is private.", - evidence, - ) - return result, evidence, None - headers = {"Authorization": f"Bearer {token}"} - manifest_url = _hf_url( - data.repo_id, - data.repo_type, - data.release_manifest_revision, - data.release_manifest_path, - ) - response = get(manifest_url, headers=headers, timeout=60) - evidence["manifest_status"] = response.status_code - if response.status_code != 200: - result, evidence = _result( - "data_access", - "fail", - f"The release manifest returned HTTP {response.status_code}.", - evidence, - ) - return result, evidence, None - manifest_sha256 = hashlib.sha256(response.content).hexdigest() - evidence["manifest_sha256"] = manifest_sha256 - problems = [] - if manifest_sha256 != data.release_manifest_sha256: - problems.append("the release manifest bytes differ from the candidate's") - manifest = DataReleaseManifest.model_validate_json(response.content) - for name, artifact in sorted(manifest.artifacts.items()): - url = _hf_url( - artifact.repo_id, - artifact.repo_type or data.repo_type, - artifact.revision, - artifact.path, - ) - status = head( - url, headers=headers, timeout=60, allow_redirects=True - ).status_code - evidence["artifacts"][name] = status - if status != 200: - problems.append(f"{name} returned HTTP {status}") - dataset_url = _hf_url( - data.repo_id, data.repo_type, data.dataset_revision, data.dataset_path - ) - anonymous = head(dataset_url, timeout=60, allow_redirects=True).status_code - evidence["anonymous_dataset_status"] = anonymous - if anonymous == 200: - problems.append( - "the dataset is readable without credentials, so the authenticated path was not tested" - ) - if problems: - result, evidence = _result("data_access", "fail", "; ".join(problems), evidence) - return result, evidence, manifest - result, evidence = _result( - "data_access", - "pass", - f"Read the release manifest and {len(manifest.artifacts)} artifacts with the " - f"configured credential; anonymous access returned HTTP {anonymous}.", - evidence, - ) - return result, evidence, manifest - - -# --- 5. Dataset bytes ---------------------------------------------------------- - - -def h5_keys(path: Path) -> list[str]: - import h5py - - with h5py.File(path, "r") as stream: - return sorted(stream.keys()) - - -def dataset_bytes(pair: CandidatePair, dataset_path: Path) -> GateOutcome: - """The simulated file is the candidate's bytes and has the UK layout.""" - - data = pair.data - actual = sha256_file(dataset_path) - size = dataset_path.stat().st_size - keys = h5_keys(dataset_path) - evidence = {"sha256": actual, "size_bytes": size, "h5_keys": keys} - problems = [] - if actual != data.dataset_sha256: - problems.append(f"sha256 {actual}, expected {data.dataset_sha256}") - if size != data.size_bytes: - problems.append(f"{size} bytes, expected {data.size_bytes}") - missing_keys = [key for key in UK_SINGLE_YEAR_KEYS if key not in keys] - if missing_keys: - problems.append(f"missing H5 keys {missing_keys}") - if problems: - return _result("dataset_bytes", "fail", "; ".join(problems), evidence) - return _result( - "dataset_bytes", - "pass", - f"{data.dataset} is the pinned {size:,} bytes with the UK single-year layout.", - evidence, - ) - - -# --- 6. Supported years -------------------------------------------------------- - - -def data_year(dataset_path: Path) -> int: - import pandas as pd - - with pd.HDFStore(dataset_path, mode="r") as store: - return int(str(store["time_period"].iloc[0])[:4]) - - -def projected_years_from_model(dataset_path: Path) -> list[int]: - """The years policyengine-uk projects a single-year dataset to. - - Builds the multi-year dataset exactly as ``policyengine_uk.Simulation`` - does for a single-year file (``extend_single_year_dataset`` with the - system's parameters), without running any formula. - """ - - from policyengine_uk.data.dataset_schema import UKSingleYearDataset - from policyengine_uk.data.economic_assumptions import extend_single_year_dataset - from policyengine_uk.system import system - - multi_year = extend_single_year_dataset( - UKSingleYearDataset(str(dataset_path)), system.parameters - ) - years = getattr(multi_year, "years", None) - if years is None: - years = list(multi_year.datasets) - return sorted(int(year) for year in years) - - -def supported_years( - pair: CandidatePair, - dataset_path: Path, - *, - required_years: Sequence[int], - budget_horizon_years: Sequence[int], - previous_supported_years: Optional[Sequence[int]], - projected_years: Callable[[Path], list[int]] = projected_years_from_model, -) -> GateOutcome: - """Required years are inside the data's projection; support never shrinks. - - Support comes from the data and the model's projection, never from a - calculation succeeding: policyengine-core fills years outside the - projection (carrying or uprating the latest inputs), so a result there - is not evidence of support. - """ - - first = data_year(dataset_path) - years = projected_years(dataset_path) - supported = sorted(year for year in years if year >= first) - missing_required = sorted(set(required_years) - set(supported)) - lost = sorted(set(previous_supported_years or []) - set(supported)) - outside_horizon = sorted(set(budget_horizon_years) - set(supported)) - evidence = { - "data_year": first, - "supported_years": supported, - "required_years": sorted(required_years), - "budget_horizon_years": sorted(budget_horizon_years), - "previous_supported_years": sorted(previous_supported_years or []), - "lost_years": lost, - "outside_projection": outside_horizon, - } - details = {"supported_years": supported, "outside_projection": outside_horizon} - if not supported: - return _result( - "supported_years", - "fail", - f"The dataset supports no year: its data year is {first} and the model " - f"projects only to {max(years) if years else 'nothing'}.", - evidence, - details, - ) - if missing_required or lost: - parts = [] - if missing_required: - parts.append( - f"required years {missing_required} are outside the projection" - ) - if lost: - parts.append(f"years {lost} were supported by the previous certificate") - return _result("supported_years", "fail", "; ".join(parts), evidence, details) - if outside_horizon: - return _result( - "supported_years", - "needs_review", - f"Budget horizon years {outside_horizon} are outside the dataset's projection " - f"({supported[0]}โ€“{supported[-1]}); results there are provisional.", - evidence, - details, - ) - return _result( - "supported_years", - "pass", - f"Supports {supported[0]}โ€“{supported[-1]}, covering the required and horizon years.", - evidence, - details, - ) - - -# --- 7. Budget inputs ---------------------------------------------------------- - - -def dataset_columns(dataset_path: Path) -> dict[str, Any]: - """``{entity: DataFrame}`` for the UK entity tables.""" - - import pandas as pd - - with pd.HDFStore(dataset_path, mode="r") as store: - return { - entity: store[entity] for entity in ENTITY_TABLES if f"/{entity}" in store - } - - -def _degenerate(series: Any) -> bool: - values = series.dropna() - if len(values) == 0 or values.nunique() <= 1: - return True - if values.dtype.kind in "biuf": - return bool((values.astype(float) == 0).all()) - return False - - -def budget_inputs( - pair: CandidatePair, - dataset_path: Path, - *, - model_input_variables: Iterable[str], - critical_inputs: Sequence[str], - accepted_gaps: Mapping[str, str], - previous_missing_inputs: Optional[Sequence[str]], - previous_unusable_critical: Optional[Sequence[str]], - model_variables: Optional[Iterable[str]] = None, - previous_input_status: Optional[Mapping[str, Mapping[str, bool]]] = None, - previous_ever_usable_inputs: Optional[Sequence[str]] = None, - tables: Optional[Mapping[str, Any]] = None, -) -> GateOutcome: - """Critical inputs are present and usable; no input goes newly missing.""" - - tables = dict(tables) if tables is not None else dataset_columns(dataset_path) - columns: dict[str, str] = {} - for entity, table in tables.items(): - for column in table.columns: - columns.setdefault(column, entity) - inputs = set(model_input_variables) - model_names = inputs | set(model_variables or []) - missing = sorted(inputs - set(columns)) - newly_missing = ( - sorted(set(missing) - set(previous_missing_inputs)) - if previous_missing_inputs is not None - else [] - ) - unusable = [] - for name in critical_inputs: - if name not in columns: - unusable.append((name, "missing")) - elif _degenerate(tables[columns[name]][name]): - unusable.append((name, "degenerate")) - previous_bad = set(previous_unusable_critical or []) - regressions = [(n, why) for n, why in unusable if n not in previous_bad] - standing = [(n, why) for n, why in unusable if n in previous_bad] - unaccepted_standing = [(n, why) for n, why in standing if n not in accepted_gaps] - input_status = { - name: { - "in_model": name in model_names, - "is_input": name in inputs, - "in_data": name in columns, - "usable": name in model_names - and name in columns - and not _degenerate(tables[columns[name]][name]), - } - for name in sorted(model_names | set(columns)) - } - # Keep the complete certified history even when an intermediate model - # removes a variable or turns it into a formula. Direct-predecessor - # coverage alone must never reactivate an expired exception. - previous_ever_usable = set(previous_ever_usable_inputs or []) | { - name - for name, status in (previous_input_status or {}).items() - if status.get("usable") is True - } - ever_usable = previous_ever_usable | { - name for name, status in input_status.items() if status["usable"] - } - if previous_ever_usable_inputs is not None: - lineage_basis = "carried from direct predecessor" - elif previous_input_status is not None: - lineage_basis = "seeded from direct predecessor" - else: - lineage_basis = "candidate inputs" - evidence = { - "pair_id": pair.pair_id, - "model_input_variables": len(inputs), - "model_variables": len(model_names), - "dataset_columns": len(columns), - "missing_inputs": missing, - "newly_missing_inputs": newly_missing, - "unusable_critical": [list(item) for item in unusable], - "accepted_gaps": dict(accepted_gaps), - "input_status": input_status, - "previous_input_status": dict(previous_input_status or {}), - "previous_ever_usable_inputs": sorted(previous_ever_usable), - "ever_usable_inputs": sorted(ever_usable), - "ever_usable_inputs_basis": lineage_basis, - } - details = { - "missing_inputs": len(missing), - "newly_missing_inputs": newly_missing, - "unusable_critical": [name for name, _ in unusable], - # This immutable receipt marker distinguishes legacy evidence from a - # damaged modern cache, which must never reset the comparison chain. - "ever_usable_inputs": sorted(ever_usable), - } - if regressions: - return _result( - "budget_inputs", - "fail", - "Budget-critical inputs became unusable: " - + ", ".join(f"{name} ({why})" for name, why in regressions), - evidence, - details, - ) - if unaccepted_standing or newly_missing: - parts = [] - if newly_missing: - parts.append( - f"{len(newly_missing)} model inputs are newly missing from the data " - f"({', '.join(newly_missing[:8])}{'โ€ฆ' if len(newly_missing) > 8 else ''})" - ) - if unaccepted_standing: - parts.append( - "critical inputs unusable in both pairs: " - + ", ".join(f"{name} ({why})" for name, why in unaccepted_standing) - ) - return _result( - "budget_inputs", "needs_review", "; ".join(parts), evidence, details - ) - return _result( - "budget_inputs", - "pass", - f"All {len(critical_inputs)} critical inputs are present and usable; " - f"no model input is newly missing ({len(missing)} optional inputs absent, as before).", - evidence, - details, - ) - - -# --- 8. Reform contract -------------------------------------------------------- - - -def _load_entrypoint( - entrypoint: str, importer: Callable[[str], Any] -) -> tuple[Callable[..., Any], Any]: - """The entrypoint's callable and the module that defines it.""" - - module_name, _, attribute = entrypoint.partition(":") - if not attribute: - module_name, _, attribute = entrypoint.rpartition(".") - module = importer(module_name) - function: Callable[..., Any] = getattr(module, attribute) - return function, module - - -def _contract_coverage(module: Any) -> Optional[dict[str, Any]]: - """What a full contract run covers, as the runner's own module declares it. - - ``ROUTES`` (route ids), ``CASES`` (objects with an ``id`` and optional - ``routes`` limiting where the case runs and ``checks`` describing each - expected value), ``UNSUPPORTED_ROUTES`` and ``PROPERTIES`` (keyed by - property id). ``None`` when the module does not declare the essentials. - """ - - try: - routes = [str(route) for route in module.ROUTES] - pairs = [ - (str(case.id), str(route)) - for case in module.CASES - for route in ( - case.routes if getattr(case, "routes", None) is not None else routes - ) - ] - checks: list[tuple[str, str, Optional[str]]] = [] - assertions: dict[tuple[str, str, str, str], dict[str, Any]] = {} - unsupported = getattr(module, "UNSUPPORTED_ROUTES", {}) - country_routes = set( - getattr( - module, - "COUNTRY_ROUTES", - [route for route in routes if route.startswith("country.")], - ) - ) - unsupported_checks = {} - for case in module.CASES: - for route in ( - case.routes if getattr(case, "routes", None) is not None else routes - ): - if route in unsupported: - key = (str(case.id), str(route), None) - checks.append(key) - unsupported_checks[key] = unsupported[route] - elif getattr(case, "expect_error", None) is not None: - checks.append((str(case.id), str(route), "rejected")) - else: - for index, check in enumerate(getattr(case, "checks", ())): - key = ( - str(case.id), - str(route), - f"{check.target}:{check.name}:{check.year}", - ) - checks.append(key) - assertion_id = f"{key[2]}:{index}" - assertions[(*key, assertion_id)] = { - "oracle": getattr(check, "oracle", None), - "pending": getattr(check, "pending", None), - } - # evaluate_case declares these per-check exemptions; - # route-wide exemptions above replace the entire case. - if check.target == "parameter" and route not in country_routes: - unsupported_checks[key] = ( - "this route exposes outputs, not parameter values" - ) - elif ( - check.target == "baseline_equals" - and route == "wrapper.policy" - ): - unsupported_checks[key] = ( - "the policy route's output dataset holds the reformed run only" - ) - - # The runner has no machine-readable isolation matrix. - # Derive its strongest coverage from _CountryRoute.run, - # _WrapperHouseholdRoute.run and _WrapperPolicyRoute.run: - # deduplicate requests; country baselines cover variable - # requests and after-runs cover parameters and variables; - # wrappers' after-runs cover exposed variables only. - # baseline_equals also requests its expected variable on - # country/household routes, but policy excludes that target. - # Rejected/error and whole-route unsupported cases emit no - # isolation rows. Every supported run also emits the shared - # module parameter check, required independently below. - requests = [] - for check in getattr(case, "checks", ()): - if route not in country_routes and ( - check.target == "parameter" - or ( - route == "wrapper.policy" - and check.target == "baseline_equals" - ) - ): - continue - kind = ( - "parameter" if check.target == "parameter" else "variable" - ) - requests.append((kind, str(check.name), check.year)) - if check.target == "baseline_equals": - requests.append( - ("variable", str(check.expected), check.year) - ) - for kind, name, year in dict.fromkeys(requests): - if route in country_routes and kind == "variable": - checks.append( - ( - str(case.id), - str(route), - f"baseline_isolation:{name}:{year}", - ) - ) - checks.append( - ( - str(case.id), - str(route), - f"unreformed_after_reform:{name}:{year}", - ) - ) - return { - "routes": routes, - "pairs": pairs, - "properties": [str(name) for name in module.PROPERTIES], - "checks": checks, - "isolation_checks": { - (case, route, check) - for case, route, check in checks - if isinstance(check, str) - and check.startswith( - ("baseline_isolation:", "unreformed_after_reform:") - ) - }, - "assertions": assertions, - "pending_decisions": { - str(decision) for decision in getattr(module, "PENDING_DECISIONS", ()) - }, - "unsupported_routes": unsupported, - "unsupported_checks": unsupported_checks, - "run_pairs": ( - [("module_parameters_unchanged", "all")] - if any(route not in unsupported for route in routes) - else [] - ), - "population": getattr(module, "POPULATION_CHECK_ROUTES", None), - } - except AttributeError: - return None - - -def _declared_population_checks( - module_name: str, importer: Callable[[str], Any], routes: Sequence[str] -) -> list[tuple[str, str]]: - """The runner's complete population check/route multiset.""" - - module = importer(module_name.rsplit(".", 1)[0] + ".budget_reform_population") - declared = getattr(module, "POPULATION_CHECK_ROUTES", None) - if declared is not None: - return [(str(check), str(route)) for check, route in declared] - coverage = getattr(module, "population_check_routes", None) - if callable(coverage): - return [(str(check), str(route)) for check, route in coverage(routes)] - # IDs alone cannot prove that every route ran. Retain their names in the - # diagnostic, while refusing a runner with no per-route declaration. - ids = getattr(module, "POPULATION_CHECKS", None) or re.findall( - r"^``([a-z][a-z0-9_]+)``$", inspect.getdoc(module) or "", re.MULTILINE - ) - raise AttributeError( - "the population runner declares no population check routes" - + (": " + ", ".join(str(check) for check in ids) if ids else "") - ) - - -def _reported_assertions( - rows: Sequence[Mapping[str, Any]], coverage: Mapping[str, Any] -) -> tuple[dict[int, tuple[str, str, str, str]], list[str]]: - """Resolve current assertion IDs and unambiguous historical oracle rows. - - Released reports predate assertion IDs. Their oracles distinguish checks - with the same label. Whole-route exemptions have no values or oracles; - their interchangeable rows are consumed in declaration order instead. - """ - resolved = {} - problems = [] - used: Counter[tuple[str, str, str, str]] = Counter() - by_label: dict[tuple[str, str, str], list[tuple[str, str, str, str]]] = {} - for key in coverage["assertions"]: - by_label.setdefault(key[:3], []).append(key) - for row in rows: - label = (str(row.get("case_id")), str(row.get("route")), row.get("check")) - matches = list(by_label.get(label, ())) - if not matches: - continue # Isolation, run-level and rejected-case rows are separate. - assertion_id = row.get("assertion_id") - if assertion_id is not None: - matches = [key for key in matches if key[3] == assertion_id] - if row.get("oracle") is not None: - matches = [ - key - for key in matches - if coverage["assertions"][key]["oracle"] == row["oracle"] - ] - elif len(matches) > 1: - if row.get("oracle") is not None: - matches = [ - key - for key in matches - if coverage["assertions"][key]["oracle"] == row["oracle"] - ] - elif ( - row.get("status") == "unsupported" - and label in coverage["unsupported_checks"] - ): - matches = [key for key in matches if not used[key]][:1] - else: - matches = [] - if len(matches) != 1: - problems.append( - f"case {label[0]}@{label[1]}:{label[2]} has no unique declared assertion identity" - ) - continue - resolved[id(row)] = matches[0] - used[matches[0]] += 1 - return resolved, problems - - -#: Report sections: the key that names each row, and what a row is called. -_CONTRACT_SECTIONS = ( - ("cases", "case_id", "case"), - ("properties", "property_id", "property"), - ("population", "check_id", "population check"), -) -_CONTRACT_STATUSES = ("pass", "fail", "error", "unsupported", "pending") -#: How the runner's run-level row names the shared parameter check. Contract -#: 1.0.0 continued "in ..."; 1.1.0 added node metadata and band order before -#: it, so only this stem is fixed. -RUN_LEVEL_CHECK_PREFIX = "every parameter's dated values and metadata" - - -def reform_contract( - *, - entrypoint: Optional[str], - dataset_path: Optional[Path], - seed: int, - max_examples: int, - expected_versions: Optional[Mapping[str, str]] = None, - expected_dataset_sha256: Optional[str] = None, - pending_decisions: Sequence[str] = (), - importer: Callable[[str], Any] = importlib.import_module, -) -> GateOutcome: - """Run the Budget reform contract (W1) on every route and gate on its report. - - ``fail`` when any case, sampled property or population check fails or - errors. ``error`` when the report cannot be trusted as a full run of this - candidate: - - it does not cover every declared case check on each route, the runner's - isolation checks and run-level shared-parameter check, every declared - population check and every sampled property, or a property passed on - fewer examples than requested; - - a property is pending, a pending row names no authorized decision, - or an unsupported case or population check has no runner-declared - exemption with the same ``reason``; - - a sampled property did not run; - - population checks are missing although a dataset was given; - - the report names other versions, another dataset, seed or sample size - than requested; - - its own ``holds`` or ``summary`` disagrees with its rows. - """ - - if not entrypoint: - return _result( - "reform_contract", - "unavailable", - "No reform contract runner is configured.", - {}, - ) - try: - runner, runner_module = _load_entrypoint(entrypoint, importer) - except (ImportError, AttributeError) as exc: - return _result( - "reform_contract", - "unavailable", - f"The reform contract runner {entrypoint} is not importable: {exc}", - {"entrypoint": entrypoint}, - ) - try: - report = runner( - routes=None, - dataset_path=str(dataset_path) if dataset_path else None, - seed=seed, - max_examples=max_examples, - ) - except Exception as exc: # the candidate made the contract crash - return _result( - "reform_contract", - "error", - f"The reform contract raised {type(exc).__name__}: {exc}", - {"entrypoint": entrypoint, "traceback": traceback.format_exc()}, - ) - report = json.loads(json.dumps(_json_safe(report), default=str)) - failures: list[str] = [] - malformed: list[str] = [] - pending: list[str] = [] - unsupported: list[str] = [] - counts = dict.fromkeys(_CONTRACT_STATUSES, 0) - coverage = _contract_coverage(runner_module) - reported_assertions = {} - if coverage is not None: - reported_assertions, assertion_problems = _reported_assertions( - report.get("cases") or [], coverage - ) - malformed.extend(assertion_problems) - population_exemptions = {} - population_module = None - if dataset_path is not None: - module_name = ( - entrypoint.partition(":")[0] - if ":" in entrypoint - else entrypoint.rpartition(".")[0] - ) - try: - population_module = importer( - module_name.rsplit(".", 1)[0] + ".budget_reform_population" - ) - population_exemptions = getattr(population_module, "UNSUPPORTED_CHECKS", {}) - except (ImportError, AttributeError): - pass - allowed_pending = set(pending_decisions) | ( - coverage["pending_decisions"] if coverage else set() - ) - for section, key, noun in _CONTRACT_SECTIONS: - for row in report.get(section) or []: - status = row.get("status") - label = f"{noun} {row.get(key)}" + ( - f"@{row['route']}" if row.get("route") else "" - ) - if status in counts: - counts[status] += 1 - if status in ("fail", "error"): - failures.append(label) - elif status == "pending": - decision = row.get("decision_id") - declared_decision = ( - coverage["assertions"] - .get(reported_assertions.get(id(row)), {}) - .get("pending") - if coverage and section == "cases" - else None - ) - if section == "properties": - malformed.append( - f"{label} did not run: properties cannot be pending" - ) - elif section == "population": - malformed.append( - f"{label} is a mandatory assertion: population checks cannot be pending" - ) - elif not decision: - malformed.append(f"{label} is pending without a decision_id") - elif section == "cases" and declared_decision is None: - malformed.append( - f"{label} is a mandatory assertion relabelled pending" - ) - elif section == "cases" and decision != declared_decision: - malformed.append( - f"{label} is pending for undeclared decision {decision}" - ) - elif decision != declared_decision and decision not in allowed_pending: - malformed.append( - f"{label} is pending for undeclared decision {decision}" - ) - pending.append(label) - elif status == "unsupported": - if section == "properties": - malformed.append( - f"{label} did not run: {row.get('reason') or 'no reason given'}" - ) - elif not row.get("reason"): - malformed.append(f"{label} is unsupported without a reason") - elif section == "cases": - declared_reason = ( - coverage["unsupported_checks"].get( - ( - str(row.get("case_id")), - str(row.get("route")), - row.get("check"), - ) - ) - if coverage - else None - ) - if declared_reason is None: - malformed.append(f"{label} is an undeclared unsupported check") - elif row["reason"] != declared_reason: - malformed.append( - f"{label} has a different reason than its declared exemption" - ) - elif section == "population": - # The population runner currently declares no per-check - # exemptions. Its no-country-route sentinel cannot arise - # in a full run; only explicit runner declarations exempt - # a check, never a reason supplied by the report itself. - declared_reason = population_exemptions.get( - (str(row.get("check_id")), str(row.get("route"))) - ) - if declared_reason is None: - malformed.append(f"{label} is an undeclared unsupported check") - elif row["reason"] != declared_reason: - malformed.append( - f"{label} has a different reason than its declared exemption" - ) - unsupported.append(label) - elif status != "pass": - malformed.append(f"{label} has unknown status {status!r}") - if not report.get("cases"): - malformed.append("the report has no cases") - # A full run covers what the runner itself declares: every route, every - # case on each route it runs on, and every sampled property with the - # examples asked for. A report that drops any of it does not qualify. - if coverage is None: - # Lead with the missing runner declarations rather than truncating - # that root cause behind individual rows whose exemptions are unknown. - malformed.insert( - 0, - "the runner declares no ROUTES, CASES and PROPERTIES, so the " - "report's coverage cannot be checked", - ) - else: - reported_routes = [str(route) for route in report.get("routes") or []] - if sorted(reported_routes) != sorted(coverage["routes"]): - malformed.append( - f"the report covers routes {sorted(reported_routes)}, not " - f"{sorted(coverage['routes'])}" - ) - covered = { - (str(row.get("case_id")), str(row.get("route"))) - for row in report.get("cases") or [] - } - absent = [ - f"{case}@{route}" - for case, route in coverage["pairs"] - if (case, route) not in covered - ] - if absent: - malformed.append( - f"{len(absent)} case-route pair(s) have no row: " - + ", ".join(absent[:4]) - ) - reported_checks = Counter( - (str(row.get("case_id")), str(row.get("route")), row.get("check")) - for row in report.get("cases") or [] - ) - # W1 replaces a case-route's checks with a single error row when - # constructing its simulation crashes. That is a complete attempted - # run and already fails the gate; it cannot exempt a passing report. - crashed = { - (str(row.get("case_id")), str(row.get("route"))) - for row in report.get("cases") or [] - if row.get("status") == "error" - and row.get("check") is None - and row.get("detail") - } - absent_checks = ( - Counter(key for key in coverage["checks"] if key[:2] not in crashed) - - reported_checks - ) - if absent_checks: - malformed.append( - f"{sum(absent_checks.values())} declared case check(s) have no row: " - + ", ".join( - f"{case}@{route}:{check}" - for case, route, check in list(absent_checks)[:4] - ) - ) - # A pending decision belongs to one declared assertion. Count each - # assertion separately and never let pending rows satisfy mandatory - # rows, even where the runner reads the same parameter twice. - for category in ("mandatory", "pending"): - expected = Counter( - key - for key, declaration in coverage["assertions"].items() - if key[:2] not in crashed - and ( - "pending" - if declaration["pending"] is not None - and key[:3] not in coverage["unsupported_checks"] - else "mandatory" - ) - == category - ) - actual = Counter( - reported_assertions[id(row)] - for row in report.get("cases") or [] - if id(row) in reported_assertions - and ("pending" if row.get("status") == "pending" else "mandatory") - == category - ) - absent_assertions = expected - actual - excess_assertions = actual - expected - if absent_assertions or excess_assertions: - malformed.append( - f"{category} assertion multiplicities differ: " - f"{sum(absent_assertions.values())} missing, " - f"{sum(excess_assertions.values())} extra; " - + ", ".join( - f"{case}@{route}:{assertion_id}" - for case, route, _, assertion_id in list( - absent_assertions or excess_assertions - )[:4] - ) - ) - for case, route in coverage["run_pairs"]: - rows = [ - row - for row in report.get("cases") or [] - if row.get("case_id") == case and row.get("route") == route - ] - if len(rows) != 1: - malformed.append( - f"run-level check {case}@{route} must have exactly one row" - ) - elif rows[0].get("status") not in ("pass", "fail", "error"): - malformed.append(f"run-level check {case}@{route} did not run") - elif not (rows[0].get("check") or "").startswith(RUN_LEVEL_CHECK_PREFIX): - malformed.append( - f"run-level check {case}@{route} does not identify the shared parameter check" - ) - for row in report.get("cases") or []: - key = (str(row.get("case_id")), str(row.get("route")), row.get("check")) - if key in coverage["isolation_checks"] and row.get("status") not in ( - "pass", - "fail", - "error", - ): - # The runner emits pass/fail for isolation, never a methodology - # exemption. An explicit pending-decision override must not - # excuse a missing executed isolation check. - malformed.append( - f"case {key[0]}@{key[1]} isolation check {key[2]} did not run" - ) - if row.get("route") in coverage["unsupported_routes"] and ( - row.get("check") is not None or row.get("status") != "unsupported" - ): - malformed.append( - f"case {row.get('case_id')}@{row.get('route')} is not the declared unsupported route row" - ) - if dataset_path is not None: - declared_population = coverage["population"] - if declared_population is None: - try: - module_name = ( - entrypoint.partition(":")[0] - if ":" in entrypoint - else entrypoint.rpartition(".")[0] - ) - declared_population = _declared_population_checks( - module_name, importer, coverage["routes"] - ) - except (ImportError, AttributeError) as exc: - malformed.append(str(exc)) - declared_population = [] - if not declared_population: - malformed.append( - "the runner declares no population checks, so population coverage cannot be checked" - ) - else: - population = Counter( - (str(row.get("check_id")), str(row.get("route"))) - for row in report.get("population") or [] - ) - expected_population = Counter(declared_population) - absent_population = expected_population - population - excess_population = population - expected_population - if absent_population or excess_population: - malformed.append( - "declared population check route multiplicities differ: " - f"{sum(absent_population.values())} missing, " - f"{sum(excess_population.values())} extra; " - + ", ".join( - f"{check}@{route}" - for check, route in list( - absent_population or excess_population - ) - ) - ) - properties = { - str(row.get("property_id")): row for row in report.get("properties") or [] - } - for name in coverage["properties"]: - row = properties.get(name) - if row is None: - malformed.append(f"property {name} has no row") - elif row.get("status") == "pass": - examples = row.get("examples_run") - if ( - isinstance(examples, bool) - or not isinstance(examples, int) - or examples < max_examples - or examples < 1 - ): - malformed.append( - f"property {name} passed on {examples} example(s), " - f"not the {max_examples} requested" - ) - if dataset_path is not None and not report.get("population"): - malformed.append("a dataset was given but no population checks ran") - for field, requested in (("seed", seed), ("max_examples", max_examples)): - if field in report and report[field] != requested: - malformed.append(f"the report ran {field}={report[field]}, not {requested}") - reported_versions = report.get("versions") or {} - for package, version in (expected_versions or {}).items(): - if reported_versions.get(package) != version: - malformed.append( - f"the report ran {package} {reported_versions.get(package)}, " - f"not the candidate's {version}" - ) - if expected_dataset_sha256 is not None: - reported = (report.get("dataset") or {}).get("sha256") - if reported != expected_dataset_sha256: - malformed.append( - f"the report ran dataset {reported}, not the candidate's " - f"{expected_dataset_sha256}" - ) - if "holds" in report and report["holds"] != ( - counts["fail"] == 0 and counts["error"] == 0 - ): - malformed.append("the report's holds disagrees with its rows") - summary = report.get("summary") - if ( - isinstance(summary, Mapping) - and {status: summary.get(status, 0) for status in _CONTRACT_STATUSES} != counts - ): - malformed.append("the report's summary disagrees with its rows") - published = publishable_contract_report(report) - details = { - "contract_id": report.get("contract_id"), - "contract_version": report.get("contract_version"), - # The digest of what is published: one of the full report would let - # anyone recover a suppressed count by trying the nine values. - "report_sha256": evidence_sha256(published), - "counts": counts, - "pending": pending, - "unsupported": unsupported, - "problems": malformed, - } - if failures: - return _result( - "reform_contract", - "fail", - f"{len(failures)} contract row(s) failed: {', '.join(failures[:8])}", - published, - details, - ) - if malformed: - return _result( - "reform_contract", "error", "; ".join(malformed[:8]), published, details - ) - return _result( - "reform_contract", - "pass", - f"Contract {details['contract_version']}: every case, property and " - f"population check passed ({counts['pass']})" - + (f"; {len(pending)} pending a methodology call" if pending else "") - + (f"; {len(unsupported)} unsupported by design" if unsupported else "") - + ".", - published, - details, - ) - - -#: Written in place of a value from the survey data that the ledger does -#: not publish. -WITHHELD_VALUE = "withheld" - - -#: The population row fields W1's runner writes that carry no survey value -#: (``budget_reform_population._row``, its identity fields and the run's -#: fixed subsample size); they are published as reported. ``detail`` goes -#: through ``_publishable_detail``; any other field is withheld. -POPULATION_ROW_FIELDS = frozenset( - { - "check_id", - "route", - "status", - "reason", - "seed", - "subsample_households", - "reform_identity", - "reform_identity_unavailable", - } -) - - -def _finding(value: Any) -> Any: - return value if isinstance(value, bool) or value is None else WITHHELD_VALUE - - -def _publishable_detail(detail: Any) -> Any: - """A population row's ``detail`` as the ledger may publish it: its - top-level true/false findings, with every other value withheld. - - Population rows are computed on the survey data, and their numbers - combine: rows of one check on different routes share a subsample, so - two routes' totals or counts differ by what a handful of records did - (supp-r4 on #574), and two candidates' differ in the same way (cos - d1601). No per-value rule can bound every combination, and no gate rule - reads ``detail``. So only ``True``, ``False`` and ``None`` at the top of - a mapping are published, under the runner's own keys: not counts, - totals, amounts or text, and no nested list or mapping, whose length or - keys could be a count or name records (supp-r5). - """ - - if not isinstance(detail, Mapping): - return _finding(detail) - return {key: _finding(value) for key, value in detail.items()} - - -def publishable_contract_report(report: Mapping[str, Any]) -> dict[str, Any]: - """The reform contract report as the qualification ledger publishes it. - - The ledger is a branch of a public repository. Case and property rows - come from synthetic households and are published as reported. Population - rows are computed on the survey data: the fields in - ``POPULATION_ROW_FIELDS`` (check, route and status, which the gate - judges, among them) are published as reported, ``detail`` keeps only its - top-level true/false findings (``_publishable_detail``), and any other - field is withheld. The gate judges the report as the runner returned it. - To see a failed population check's figures, rerun the contract with - access to the dataset. - """ - - published = dict(report) - if isinstance(report.get("population"), list): - published["population"] = [ - { - key: value - if key in POPULATION_ROW_FIELDS - else (_publishable_detail(value) if key == "detail" else WITHHELD_VALUE) - for key, value in row.items() - } - if isinstance(row, Mapping) - else row - for row in report["population"] - ] - return published - - -# --- 9. Metrics review --------------------------------------------------------- - - -def _metric_key(row: Mapping[str, Any]) -> tuple[str, Optional[int]]: - return (str(row["metric_id"]), row.get("year")) - - -def _bound(bounds: Mapping[str, Any], kind: Optional[str]) -> tuple[float, float]: - spec = (bounds.get("kinds") or {}).get(kind) or bounds.get("default") or {} - return float(spec.get("relative", 0.0)), float(spec.get("absolute", 0.0)) - - -#: Metric-report check prefixes (``identities[].identity_id``) that fail a -#: candidate whatever the previous pair did: none fail on main. -HARD_CHECK_PREFIXES = ( - "finite:", - "weights:", - "closure", - "identity:", - "determinism:", - "reform_runs:", - "responsive:", -) -#: Checks that already fail on main for known model defects (for example -#: ``counted_once:statutory_sick_pay``): they fail a candidate only when the -#: previous certified pair passed them. -REGRESSION_CHECK_PREFIXES = ( - "counted_once:", - "double_count_present:", - "overlap_guard:", - "sign:", - "bounds:", -) - - -#: The statuses the metrics tool gives a check. Anything else fails. -CHECK_STATUSES = frozenset({"pass", "warn", "fail", "skipped"}) - - -def classify_check(identity_id: str) -> str: - """``hard``, ``regression`` or ``hard`` for an unknown check (no skips).""" - - if identity_id.startswith(REGRESSION_CHECK_PREFIXES): - return "regression" - return "hard" - - -def _suppressed(row: Mapping[str, Any]) -> bool: - """Whether the tool published ``row`` as suppressed (fewer than 10 records).""" - - return row.get("suppressed") is True - - -def _excludes(row: Mapping[str, Any]) -> tuple[str, ...]: - """The suppressed figures a total is rebuilt without, in ``row``'s year.""" - - return tuple(sorted(str(metric_id) for metric_id in row.get("excludes") or ())) - - -#: The fields the pinned tool gives every metric row under its small-cell -#: rule (``api.to_report`` at policyengine-uk 1191ac5a4). A report without -#: them comes from a tool that predates suppression and may publish a figure -#: from fewer than 10 records, so it fails. -SMALL_CELL_FIELDS = ("suppressed", "excludes", "exclude_signs") - - -def _finite_number(value: Any) -> bool: - return ( - not isinstance(value, bool) - and isinstance(value, int | float) - and math.isfinite(value) - ) - - -def _valid_signs(row: Mapping[str, Any]) -> Optional[dict[str, int]]: - """``exclude_signs`` when it gives +1 or -1 for exactly the excluded ids.""" - - signs, excludes = row.get("exclude_signs"), row.get("excludes") - if not isinstance(signs, Mapping) or not isinstance(excludes, list): - return None - if set(signs) != set(excludes) or not all( - not isinstance(sign, bool) and sign in (1, -1) for sign in signs.values() - ): - return None - return {str(metric_id): int(sign) for metric_id, sign in signs.items()} - - -def _small_cell_problems(name: str, rows: Sequence[Mapping[str, Any]]) -> list[str]: - """Rows that break the tool's small-cell format, as problems. - - The tool publishes a figure from fewer than 10 records with ``value`` - null and ``suppressed`` true. A suppressed spending head's caseload is - suppressed with it; a published head's caseload counts only positive - records, so it can be suppressed on its own. Every total holding a - suppressed figure is rebuilt without it; the total lists the figure's - ``metric_id`` under ``excludes`` and the sign it enters with, +1 or -1, - under ``exclude_signs`` (``privacy.py``, ``measure.measure_year`` and - ``measure.rebuild_protected`` in the pinned tool). These are reports this - gate cannot read safely, so neither the gate's evidence nor the ledger - records any value from them: - - - a row without the small-cell fields, or whose year is not an integer; - - two rows for one figure and year (one could publish what the other - suppresses); - - a suppressed row with a value, or a ``suppressed`` that is not a - boolean; - - an ``excludes`` that is not a list of ids, or names a figure the same - report does not suppress in that year; - - ``exclude_signs`` that do not give +1 or -1 for exactly ``excludes``; - - a published caseload beside its suppressed spending head. - """ - - by_key = {(str(row.get("metric_id")), row.get("year")): row for row in rows} - hidden = {key for key, row in by_key.items() if _suppressed(row)} - repeated = sorted( - f"{key[0]} {key[1]}" - for key, count in Counter( - (str(row.get("metric_id")), row.get("year")) for row in rows - ).items() - if count > 1 - ) - missing_fields, bad_years, with_value, not_boolean = [], [], [], [] - malformed, bad_signs, unmatched, unpaired = [], [], [], [] - for row in rows: - metric_id, year = str(row.get("metric_id")), row.get("year") - label = f"{metric_id} {year}" - if any(field not in row for field in SMALL_CELL_FIELDS): - missing_fields.append(label) - if isinstance(year, bool) or not isinstance(year, int): - bad_years.append(label) - flag = row.get("suppressed", False) - if not isinstance(flag, bool): - not_boolean.append(label) - elif flag and row.get("value") is not None: - with_value.append(label) - if metric_id.startswith("caseloads.") and not _suppressed(row): - head = by_key.get((f"spending.{metric_id.split('.', 1)[1]}", year)) - if head is not None and _suppressed(head): - unpaired.append(label) - excludes = row.get("excludes", []) - if not isinstance(excludes, list) or not all( - isinstance(excluded, str) for excluded in excludes - ): - malformed.append(label) - continue - if "exclude_signs" in row and _valid_signs(row) is None: - bad_signs.append(label) - unmatched.extend( - f"{label} excludes {excluded}" - for excluded in excludes - if (excluded, year) not in hidden - ) - problems = [] - for found, what in ( - ( - missing_fields, - "rows without the small-cell fields (suppressed, excludes, " - "exclude_signs), so from a tool that predates suppression", - ), - (bad_years, "metric rows whose year is not an integer"), - (repeated, "duplicate metrics"), - (with_value, "suppressed figures with a value"), - (not_boolean, "a suppressed flag that is not true or false"), - (malformed, "excludes that are not a list of metric ids"), - (bad_signs, "exclude_signs that are not +1 or -1 for exactly its excludes"), - (unmatched, "totals excluding a figure it does not suppress"), - (unpaired, "caseloads published beside their suppressed spending head"), - ): - if found: - problems.append(f"the {name} report has {what}: {', '.join(found[:8])}") - return problems - - -#: Totals that are plain sums of heads in pounds, so a figure can be taken out -#: by subtraction: the pinned tool's ``compare._additive`` (sections -#: model_totals and balance, whose rows have kind ``model_total`` and -#: ``balance``, and household net income). Decile means and the HBAI total -#: (reset at zero) are not. -ADDITIVE_KINDS = frozenset({"model_total", "balance"}) -ADDITIVE_METRICS = frozenset({"household.household_net_income"}) - - -def _additive(row: Mapping[str, Any]) -> bool: - return ( - row.get("kind") in ADDITIVE_KINDS - or str(row.get("metric_id")) in ADDITIVE_METRICS - ) - - -def _aligned( - value: float, - own: Mapping[str, Any], - other_signs: Mapping[str, int], - metrics: Mapping[tuple[str, Optional[int]], Mapping[str, Any]], - year: Optional[int], -) -> Optional[float]: - """``own``'s total with every figure only the other side excludes taken out. - - As ``compare._aligned`` in the pinned tool: the figure's value is this - side's own published row for the year, and its sign is the one the side - that excludes it records. None when a needed figure is not published - here (missing, suppressed or not finite). - """ - - own_excludes = set(_excludes(own)) - for metric_id, sign in sorted(other_signs.items()): - if metric_id in own_excludes: - continue - published = metrics.get((metric_id, year)) - if ( - published is None - or _suppressed(published) - or not _finite_number(published.get("value")) - ): - return None - value -= sign * float(published["value"]) - return value - - -def _wider_failure(candidate: Mapping[str, Any], previous: Mapping[str, Any]) -> bool: - """Whether a check failing in both reports fails in a scope it did not before. - - Scopes are years, or ``""`` for a check with no year. Without - ``failing_scopes`` on both rows the two failures cannot be told apart, so - the failure counts as carried over. - """ - - now, before = candidate.get("failing_scopes"), previous.get("failing_scopes") - if not isinstance(now, list) or not isinstance(before, list): - return False - return not {str(scope) for scope in now} <= {str(scope) for scope in before} - - -def compare_metric_reports( - candidate: Mapping[str, Any], - previous: Mapping[str, Any], - bounds: Mapping[str, Any], -) -> tuple[str, str, Evidence]: - """``(status, summary, evidence)`` for a candidate against a previous report. - - Checks (``identities``) follow the metric tool's classification: hard - checks fail outright; known-defect checks fail only when they worsen - against the previous pair, meaning the previous pair did not fail them, - or failed them in fewer scopes (``failing_scopes``, when the tool reports - them); ``warn`` is recorded, and a check that newly warns (it did not - warn in the previous report, as the tool's ``new_warning``) needs - review. ``skipped`` means the check was not run, which is neither a pass - nor a failure: a skipped hard check, or a check skipped where the - previous pair ran it (pass, warn or fail), needs review. - - A report with a status other than ``ok``, no metrics or no checks fails, - as does a report that repeats a check, or any check, in either report, - with a status outside ``CHECK_STATUSES``. A hard check the previous pair - ran that is missing from the candidate fails (the two reports share one - tool and one set of definitions); other missing checks need review. - - Small cells (W3's tool publishes a figure from fewer than 10 records as - ``value`` null, ``suppressed`` true, and rebuilds every total that holds - one without it, listing it under ``excludes`` with its sign under - ``exclude_signs``): - - - a suppressed figure is present but never compared, and is not a - non-finite value; suppressed on both sides, there is nothing to compare; - - a figure suppressed on one side only is withheld: no change is - computed (it would come from fewer than 10 records) and the comparison - needs review; - - a total compares directly when both sides exclude the same figures - with the same signs; - - an additive total (``_additive``) whose sides exclude different - figures is lined up as the tool's ``compare._aligned`` does: each side - takes out, at its own published value and the excluding side's sign, - every figure only the other side excludes. The change between the - lined-up totals is held to the bound, whose relative part is taken on - the previous report's published total. Any other total with different - exclusions, or one that cannot be lined up (a needed figure not - published, or a figure both sides exclude with different signs), is - withheld for review; - - a report that breaks the format (``_small_cell_problems``) fails. - """ - - problems: list[str] = [] - review: list[str] = [] - # An empty or unfinished report measures nothing; it must never read as - # "no moves beyond the bounds". - for name, report in (("candidate", candidate), ("previous", previous)): - if report.get("status") != "ok": - problems.append(f"the {name} report status is {report.get('status')!r}") - if not report.get("metrics"): - problems.append(f"the {name} report has no metrics") - if not report.get("identities"): - problems.append(f"the {name} report has no checks") - # One row per check: a repeated id would let either copy decide. - check_counts = Counter( - str(row.get("identity_id")) for row in report.get("identities", []) - ) - repeated = sorted(check for check, count in check_counts.items() if count > 1) - if repeated: - problems.append( - f"the {name} report repeats checks: {', '.join(repeated[:8])}" - ) - # The previous report's statuses decide regressions and new warnings, so - # an unknown one there is no more a pass than in the candidate. - previous_unknown = [ - f"{row.get('identity_id')} ({row.get('status')!r})" - for row in previous.get("identities", []) - if row.get("status") not in CHECK_STATUSES - ] - if previous_unknown: - problems.append( - "the previous report has checks with an unknown status: " - + ", ".join(previous_unknown[:8]) - ) - previous_rows = { - str(row.get("identity_id")): row for row in previous.get("identities", []) - } - hard_failures: list[str] = [] - regressions: list[str] = [] - preexisting: list[str] = [] - new_warnings: list[str] = [] - warnings_: list[str] = [] - skipped: list[str] = [] - newly_skipped: list[str] = [] - hard_skipped: list[str] = [] - unknown_statuses: list[str] = [] - candidate_checks = set() - for row in candidate.get("identities", []): - check_id = str(row.get("identity_id")) - candidate_checks.add(check_id) - status = row.get("status") - earlier = previous_rows.get(check_id) or {} - before = earlier.get("status") - if status not in CHECK_STATUSES: - unknown_statuses.append(f"{check_id} ({status!r})") - elif status == "fail": - if classify_check(check_id) == "hard": - hard_failures.append(check_id) - elif before != "fail": - regressions.append(check_id) - elif _wider_failure(row, earlier): - regressions.append(f"{check_id} (fails in more scopes)") - else: - preexisting.append(check_id) - elif status == "warn": - warnings_.append(check_id) - if before != "warn": - new_warnings.append(check_id) - elif status == "skipped": - # Not run: never a pass, whatever the check's class. - skipped.append(check_id) - if classify_check(check_id) == "hard": - hard_skipped.append(check_id) - if before in ("pass", "warn", "fail"): - newly_skipped.append(check_id) - if unknown_statuses: - # A status this gate does not know is not a pass. - problems.append( - f"checks with an unknown status: {', '.join(unknown_statuses[:8])}" - ) - # A check the previous pair ran and the candidate did not: the tool and - # its definitions are the same (metrics_version), so coverage was lost. - lost_checks = sorted(set(previous_rows) - candidate_checks) - lost_hard = [ - check_id - for check_id in lost_checks - if classify_check(check_id) == "hard" - and candidate.get("partition_version") == previous.get("partition_version") - ] - if lost_hard: - problems.append(f"checks disappeared: {', '.join(lost_hard[:8])}") - elif lost_checks: - review.append(f"checks disappeared: {', '.join(lost_checks[:8])}") - if hard_failures: - problems.append(f"checks failed: {', '.join(hard_failures[:8])}") - if regressions: - problems.append( - f"checks the previous pair passed now fail: {', '.join(regressions[:8])}" - ) - if new_warnings: - review.append(f"checks newly warn: {', '.join(new_warnings[:8])}") - if newly_skipped: - review.append( - "checks the previous pair ran were not run: " + ", ".join(newly_skipped[:8]) - ) - if hard_skipped: - review.append(f"hard checks were not run: {', '.join(hard_skipped[:8])}") - if candidate.get("metrics_version") != previous.get("metrics_version"): - problems.append( - "metric definitions differ between the reports " - f"({previous.get('metrics_version')} โ†’ {candidate.get('metrics_version')})" - ) - if candidate.get("partition_version") != previous.get("partition_version"): - review.append("the model's fiscal partition changed") - current = {_metric_key(row): row for row in candidate.get("metrics", [])} - before_metrics = {_metric_key(row): row for row in previous.get("metrics", [])} - # Bounds are meaningful only when both sides contain usable values. - # In particular, NaN in the baseline must not silently skip a large move. - report_metric_rows = ( - ("candidate", candidate.get("metrics", [])), - ("previous", previous.get("metrics", [])), - ) - unsafe = False - for name, rows in report_metric_rows: - # A suppressed figure is published without a value by design. - nonfinite = [ - f"{row.get('metric_id')} {row.get('year')}" - for row in rows - if not _suppressed(row) and not _finite_number(row.get("value")) - ] - if nonfinite: - problems.append( - f"the {name} report has non-finite values: {', '.join(nonfinite[:8])}" - ) - format_problems = _small_cell_problems(name, rows) - problems.extend(format_problems) - unsafe = unsafe or bool(format_problems) - lost = sorted(f"{key[0]} {key[1]}" for key in set(before_metrics) - set(current)) - if lost: - problems.append(f"metrics disappeared: {', '.join(lost[:8])}") - without_baseline = sorted( - f"{key[0]} {key[1]}" for key in set(current) - set(before_metrics) - ) - if without_baseline: - review.append(f"metrics have no baseline: {', '.join(without_baseline[:8])}") - moves = [] - withheld: list[dict[str, Any]] = [] - aligned_totals: list[str] = [] - suppressed_on_both = 0 - # A report that breaks the small-cell format may carry a figure from - # fewer than 10 records: it fails above, and no value from either report - # enters the evidence, which the public ledger publishes. - comparable = {} if unsafe else current - # Years sort as text so a malformed year (failed above) cannot crash this. - for key, row in sorted( - comparable.items(), key=lambda item: (item[0][0], str(item[0][1])) - ): - old = before_metrics.get(key) - if old is None: - continue - if _suppressed(row) and _suppressed(old): - suppressed_on_both += 1 - continue - if _suppressed(row) or _suppressed(old): - # A figure from fewer than 10 records on one side: so is its change. - withheld.append( - { - "metric_id": key[0], - "year": key[1], - "reason": "suppressed in the " - + ("candidate" if _suppressed(row) else "previous") - + " report", - } - ) - continue - if not (_finite_number(row.get("value")) and _finite_number(old.get("value"))): - continue - new_value, old_value = float(row["value"]), float(old["value"]) - new_compared, old_compared = new_value, old_value - aligned_on: Optional[list[str]] = None - # Both reports passed the format check, so their signs are valid. - new_signs, old_signs = _valid_signs(row) or {}, _valid_signs(old) or {} - if new_signs != old_signs: - # Each side leaves out its own suppressed figures, each with its - # sign (the tool compares the signed maps, whose keys are the - # excluded ids). Subtracting the totals as published would mix - # definitions and could give an excluded figure back, so they are - # lined up first, from published figures only, or withheld. - reason = None - if any( - new_signs[metric_id] != old_signs[metric_id] - for metric_id in set(new_signs) & set(old_signs) - ): - reason = ( - "a figure both reports leave out enters their totals " - "with different signs" - ) - elif not (_additive(row) and _additive(old)): - reason = "the reports leave out different suppressed figures" - else: - lined_up = ( - _aligned(new_value, row, old_signs, current, key[1]), - _aligned(old_value, old, new_signs, before_metrics, key[1]), - ) - if lined_up[0] is None or lined_up[1] is None: - reason = ( - "the reports leave out different suppressed figures, " - "and one needed to line them up is not published" - ) - else: - new_compared, old_compared = lined_up - aligned_on = sorted(set(new_signs) | set(old_signs)) - aligned_totals.append(f"{key[0]} {key[1]}") - if reason is not None: - withheld.append( - { - "metric_id": key[0], - "year": key[1], - "reason": reason, - "candidate_excludes": list(_excludes(row)), - "previous_excludes": list(_excludes(old)), - } - ) - continue - relative, absolute = _bound(bounds, row.get("kind")) - # The relative part is taken on the previous published total, as the - # tool's flag threshold is. - threshold = max(relative * abs(old_value), absolute) - change = new_compared - old_compared - if abs(change) > threshold: - move = { - "metric_id": key[0], - "year": key[1], - "kind": row.get("kind"), - "previous": old_value, - "candidate": new_value, - "change": change, - "threshold": threshold, - } - if aligned_on is not None: - move["lined_up_without"] = aligned_on - moves.append(move) - if moves: - review.append(f"{len(moves)} metric move(s) exceed their review bounds") - if withheld: - review.append( - f"{len(withheld)} metric change(s) are withheld because a figure " - "from fewer than 10 records is suppressed on one side, or the two " - "sides leave out different ones and cannot be lined up" - ) - evidence = { - "metrics_version": candidate.get("metrics_version"), - "partition_version": candidate.get("partition_version"), - "previous_partition_version": previous.get("partition_version"), - "hard_check_failures": hard_failures, - "regressed_checks": regressions, - "preexisting_check_failures": preexisting, - "warn_identities": warnings_, - "new_warnings": new_warnings, - "skipped_checks": skipped, - "newly_skipped_checks": newly_skipped, - "hard_checks_not_run": hard_skipped, - "unknown_status_checks": unknown_statuses, - "lost_checks": lost_checks, - "metrics_without_baseline": without_baseline, - "suppressed_metrics": sorted( - f"{key[0]} {key[1]}" for key, row in current.items() if _suppressed(row) - ), - "suppressed_on_both_sides": suppressed_on_both, - "withheld_changes": withheld, - "lined_up_totals": aligned_totals, - # True when a report breaks the small-cell format: no value from - # either report was compared or recorded. - "values_withheld": unsafe, - "moves_beyond_bounds": moves, - "candidate_report_sha256": evidence_sha256(candidate), - "previous_report_sha256": evidence_sha256(previous), - } - if problems: - return "fail", "; ".join(problems), evidence - if review: - return "needs_review", "; ".join(review), evidence - notes = [] - if suppressed_on_both: - notes.append(f"{suppressed_on_both} suppressed on both sides, not compared") - if preexisting: - notes.append(f"{len(preexisting)} known check failures carried over") - note = f" ({'; '.join(notes)})" if notes else "" - compared = len(current) - suppressed_on_both - return "pass", f"{compared} metrics within their review bounds{note}.", evidence - - -def metrics_review( - *, - candidate_report: Optional[Mapping[str, Any]], - previous_report: Optional[Mapping[str, Any]], - bounds: Mapping[str, Any], - cross_report: Optional[Mapping[str, Any]] = None, - unavailable_reason: Optional[str] = None, -) -> GateOutcome: - """Compare metrics against the previous certificate under review bounds. - - With ``cross_report`` (the candidate model on the previous data), the - change splits into a model-only step (cross against previous) and a - data-only step (candidate against cross); the gate takes the worse. - """ - - if unavailable_reason or candidate_report is None or previous_report is None: - return _result( - "metrics_review", - "unavailable", - unavailable_reason or "Metric reports for both pairs are not available.", - {}, - ) - order = {"pass": 0, "needs_review": 1, "fail": 2} - steps: dict[str, tuple[str, str, Evidence]] = {} - if cross_report is not None: - steps["model_only"] = compare_metric_reports( - cross_report, previous_report, bounds - ) - steps["data_only"] = compare_metric_reports( - candidate_report, cross_report, bounds - ) - else: - steps["total"] = compare_metric_reports( - candidate_report, previous_report, bounds - ) - worst = max(steps.values(), key=lambda step: order[step[0]]) - evidence = {name: step[2] for name, step in steps.items()} - summary = "; ".join(f"{name}: {step[1]}" for name, step in steps.items()) - return _result( - "metrics_review", - worst[0], - summary, - evidence, - details={name: step[0] for name, step in steps.items()}, - ) - - -def publishable_metrics_report(report: Mapping[str, Any]) -> dict[str, Any]: - """A metrics report as it may be written to the qualification ledger. - - The ledger is a branch of a public repository. A report that breaks the - small-cell format (``_small_cell_problems``) may carry a figure from - fewer than 10 records, so only its digest and its problems, which name - figures but give no values, are kept. A report the tool could not finish - has no metrics to check and is kept as it is. - """ - - problems = _small_cell_problems("metrics", report.get("metrics") or []) - if not problems: - return dict(report) - return { - "withheld": ( - "This report breaks the metrics tool's small-cell format, so it " - "is not published." - ), - "report_sha256": evidence_sha256(report), - "problems": problems, - } - - -# --- Reform responsiveness ------------------------------------------------------- - - -def _fiscal_year(year: int) -> str: - return f"{year}-{(year + 1) % 100:02d}" - - -def reform_responsiveness( - *, - report: Optional[Mapping[str, Any]], - standard_reforms: Sequence[Mapping[str, Any]], - years: Sequence[int], - unavailable_reason: Optional[str] = None, -) -> GateOutcome: - """Every standard reform ran and moved its target as required, or fail. - - The metrics tool costs its standard reforms and, for each, checks that - the weighted total of the reform's target variable moved in the stated - direction by at least the stated minimum in every year - (``responsive:``), and that the reform ran (``reform_runs:``). - This gate holds the candidate's report to that: - - - both checks must be present and ``pass`` for every reform in - ``standard_reforms`` (the tool's own list); a missing check is a - failure, so a run that costed no reforms cannot pass; - - the report must cover exactly ``years``; - - the tool's verdict is recomputed here from the report's - ``reform_targets.`` values, and a disagreement is an error - (differential check of the check). - - Any reform that does not respond fails the gate: a reform the model - silently ignores is a defect, never a small number. The one review path - is a year the tool withholds (``reform_targets.`` published as - suppressed, because the change would come from fewer than 10 records): - there the tool's verdict, which it takes from the withheld value, cannot - be recomputed, so a passing ``responsive`` check needs review rather - than passing; a failing one still fails. The gate is monotone: shrinking - a reform's response toward zero or flipping its sign never turns a - failure into a pass. - """ - - if unavailable_reason or report is None: - return _result( - "reform_responsiveness", - "unavailable", - unavailable_reason or "No candidate metrics report is available.", - {}, - ) - if not standard_reforms: - return _result( - "reform_responsiveness", - "unavailable", - "The metrics tool defines no standard reforms.", - {}, - ) - checks = { - str(row.get("identity_id")): row for row in report.get("identities") or [] - } - rows = { - (str(row.get("metric_id")), row.get("year")): row - for row in report.get("metrics") or [] - } - problems: list[str] = [] - disagreements: list[str] = [] - unverifiable: list[str] = [] - table: list[dict[str, Any]] = [] - if report.get("status") not in (None, "ok"): - problems.append(f"the report status is {report.get('status')!r}") - if sorted(report.get("years") or []) != sorted(years): - disagreements.append( - f"the report covers {report.get('years')}, not the horizon {list(years)}" - ) - # A repeated target or check would let either copy decide. - repeated = sorted( - f"{key[0]} {key[1]}" - for key, count in Counter( - (str(row.get("metric_id")), row.get("year")) - for row in report.get("metrics") or [] - ).items() - if count > 1 and key[0].startswith("reform_targets.") - ) + sorted( - check - for check, count in Counter( - str(row.get("identity_id")) for row in report.get("identities") or [] - ).items() - if count > 1 and check.startswith(("reform_runs:", "responsive:")) - ) - if repeated: - disagreements.append(f"the report repeats {', '.join(repeated[:8])}") - # A report that breaks the small-cell format may carry a figure from - # fewer than 10 records: no value from it enters the evidence. - format_problems = _small_cell_problems("candidate", report.get("metrics") or []) - disagreements.extend(format_problems) - malformed: list[str] = [] - for reform in standard_reforms: - reform_id = reform["id"] - sign = 1.0 if reform["direction"] == "up" else -1.0 - changes: dict[str, Any] = {} - withheld_years: list[int] = [] - # True: every year meets the minimum; False: a published year does - # not; None: every published year does, but a year is withheld. - recomputed: Optional[bool] = True - for year in years: - target = rows.get((f"reform_targets.{reform_id}", year)) or {} - value = target.get("value") - if _suppressed(target): - # Never copied into evidence, whatever the row carries. - changes[str(year)] = None - if value is None: - withheld_years.append(year) - else: - malformed.append(f"reform_targets.{reform_id} {year}") - recomputed = False - continue - changes[str(year)] = None if format_problems else value - if ( - isinstance(value, bool) - or not isinstance(value, int | float) - or not math.isfinite(value) - or not sign * value >= reform["minimum"] - ): - recomputed = False - if recomputed and withheld_years: - recomputed = None - ran = (checks.get(f"reform_runs:{reform_id}") or {}).get("status") - responsive = checks.get(f"responsive:{reform_id}") or {} - row = { - **reform, - "target_changes": changes, - "withheld_years": withheld_years, - "reform_runs": ran, - "responsive": responsive.get("status"), - # The tool's text can quote amounts; none from an unsafe report. - "detail": None if format_problems else responsive.get("detail"), - } - table.append(row) - label = f"{reform['name']} ({reform_id})" - if ran != "pass": - problems.append(f"{label} did not run") - elif responsive.get("status") != "pass": - problems.append( - f"{label} did not respond: " - + ( - row["detail"] - or ( - "its detail is withheld" - if format_problems and responsive - else "no responsive check in the report" - ) - ) - ) - if ran == "pass" and responsive.get("status") in ("pass", "fail"): - passed = responsive["status"] == "pass" - if recomputed is None: - # A failing verdict may come from a withheld year; a passing - # one cannot be checked there. - if passed: - unverifiable.append( - f"{label}: the tool's responsive check passes but " - + ", ".join(_fiscal_year(year) for year in withheld_years) - + " are withheld (fewer than 10 records), so it cannot " - "be recomputed there" - ) - elif passed != recomputed: - disagreements.append( - f"{label}: the tool's responsive check is " - f"{responsive['status']} but its reform_targets values " - f"{'meet' if recomputed else 'do not meet'} the minimum" - ) - if malformed: - disagreements.append( - "suppressed reform targets carry a value: " + ", ".join(malformed[:8]) - ) - evidence = { - "years": list(years), - "reforms": table, - "candidate_report_sha256": evidence_sha256(report), - } - if problems: - return _result( - "reform_responsiveness", - "fail", - f"{len(problems)} responsiveness failure(s): " + "; ".join(problems[:6]), - evidence, - ) - if disagreements: - return _result( - "reform_responsiveness", "error", "; ".join(disagreements[:6]), evidence - ) - if unverifiable: - return _result( - "reform_responsiveness", - "needs_review", - "; ".join(unverifiable[:6]), - evidence, - ) - return _result( - "reform_responsiveness", - "pass", - f"All {len(table)} standard reforms ran and moved their targets by at " - f"least their minimums in every year from {_fiscal_year(years[0])} to " - f"{_fiscal_year(years[-1])}.", - evidence, - ) - - -# --- Metrics tool (W3's aggregate-impact report) --------------------------------- - -VENDORED_TOOL_PACKAGE = "pe_uk_aggregate_impact" -PARTITION_PATH_IN_REPO = "policyengine_uk/data/fiscal_partition.yaml" - -#: Self-contained runner, executed in any environment that has a policyengine -#: release installed (the candidate's, or the previous certified pair's -#: throwaway venv). Arguments: vendor root, JSON settings, output path. -METRICS_RUNNER = """ -import importlib, importlib.util, json, sys -from pathlib import Path -vendor, settings, out = sys.argv[1], json.loads(sys.argv[2]), Path(sys.argv[3]) -sys.path.insert(0, vendor) -api = importlib.import_module("pe_uk_aggregate_impact.api") -partition_module = importlib.import_module("pe_uk_aggregate_impact.partition") -installed = partition_module.default_partition_path() -if installed is not None: - partition_path, source = installed, "installed policyengine_uk" -else: - partition_path, source = Path(vendor) / "fiscal_partition.yaml", "vendored tool commit" -dataset = settings.get("dataset_path") -if not dataset: - from policyengine.provenance.dataset_materialization import materialize_dataset - dataset = materialize_dataset("uk", data_dir=Path(settings["data_dir"])).path -from policyengine_uk import Microsimulation -# No ``reforms`` argument: the tool then costs its own standard set and checks -# each reform's responsiveness (passing [] would cost none). -report = api.compute_budget_metrics( - Microsimulation(dataset=str(dataset)), - years=settings["years"], - partition=partition_module.load_partition(partition_path), - run_guard=settings.get("run_guard", True), - label=settings.get("label", "candidate"), -) -report["partition_source"] = source -report["dataset_path"] = str(dataset) -out.write_text(json.dumps(report)) -""" - - -#: Runner for a pair's input coverage and supported years, in its own -#: environment. It mirrors ``budget_inputs`` and ``supported_years``; a -#: differential test checks they agree. Arguments: JSON settings, output path. -INPUTS_RUNNER = """ -import json, sys -from pathlib import Path -import pandas as pd -settings, out = json.loads(sys.argv[1]), Path(sys.argv[2]) -path = settings.get("dataset_path") -if not path: - from policyengine.provenance.dataset_materialization import materialize_dataset - path = str(materialize_dataset("uk", data_dir=Path(settings["data_dir"])).path) -inputs = settings.get("model_input_variables") -model_names = settings.get("model_variables") -if inputs is None: - from policyengine_uk.system import system - inputs = [name for name, variable in system.variables.items() if variable.is_input_variable()] - model_names = list(system.variables) -inputs = set(inputs) -model_names = inputs | set(model_names or []) -with pd.HDFStore(path, mode="r") as store: - tables = {e: store[e] for e in ("person", "benunit", "household") if f"/{e}" in store} - first_year = int(str(store["time_period"].iloc[0])[:4]) -columns = {} -for entity, table in tables.items(): - for column in table.columns: - columns.setdefault(column, entity) -def degenerate(series): - values = series.dropna() - if len(values) == 0 or values.nunique() <= 1: - return True - if values.dtype.kind in "biuf": - return bool((values.astype(float) == 0).all()) - return False -unusable = [] -for name in settings["critical"]: - if name not in columns: - unusable.append([name, "missing"]) - elif degenerate(tables[columns[name]][name]): - unusable.append([name, "degenerate"]) -years = settings.get("projected_years") -if years is None: - from policyengine_uk.data.dataset_schema import UKSingleYearDataset - from policyengine_uk.data.economic_assumptions import extend_single_year_dataset - from policyengine_uk.system import system - multi_year = extend_single_year_dataset(UKSingleYearDataset(path), system.parameters) - years = getattr(multi_year, "years", None) - years = years if years is not None else list(multi_year.datasets) -years = sorted(int(y) for y in years) -out.write_text(json.dumps({ - "dataset_path": path, - "model_input_variables": len(inputs), - "model_variables": len(model_names), - "dataset_columns": len(columns), - "missing_inputs": sorted(inputs - set(columns)), - "unusable_critical": unusable, - "supported_years": [y for y in years if y >= first_year], - "input_status": { - name: { - "in_model": name in model_names, - "is_input": name in inputs, - "in_data": name in columns, - "usable": name in model_names and name in columns and not degenerate(tables[columns[name]][name]), - } - for name in sorted(model_names | set(columns)) - }, -})) -""" - - -def run_inputs_snapshot( - python: str, - *, - critical: Sequence[str], - out: Path, - dataset_path: Optional[Path] = None, - data_dir: Optional[Path] = None, - model_input_variables: Optional[Sequence[str]] = None, - model_variables: Optional[Sequence[str]] = None, - projected_years: Optional[Sequence[int]] = None, - run: Optional[Callable[..., Any]] = None, -) -> dict[str, Any]: - """Input coverage and supported years of a pair, via ``INPUTS_RUNNER``. - - ``model_input_variables`` and ``projected_years`` default to what the - environment's policyengine-uk reports; tests pass them explicitly. - """ - - import subprocess - - run = run if run is not None else subprocess.run - settings = { - "critical": list(critical), - "dataset_path": str(dataset_path) if dataset_path else None, - "data_dir": str(data_dir) if data_dir else None, - "model_input_variables": ( - list(model_input_variables) if model_input_variables is not None else None - ), - "model_variables": list(model_variables) - if model_variables is not None - else None, - "projected_years": list(projected_years) - if projected_years is not None - else None, - } - run( - [python, "-c", INPUTS_RUNNER, json.dumps(settings), str(out)], - check=True, - cwd=str(out.parent), - ) - snapshot: dict[str, Any] = json.loads(out.read_text()) - return snapshot - - -def vendor_metrics_tool( - tool: Mapping[str, Any], destination: Path, *, get: Callable[..., Any] -) -> Path: - """Copy the metrics tool and its partition from one policyengine-uk commit. - - Returns the directory to put on ``sys.path``; the tool imports as - ``pe_uk_aggregate_impact``. The commit is pinned in the qualification - config so both pairs are measured with the same definitions. - """ - - import tarfile - - repository = tool["repository"] - commit = tool["commit"] - tool_path = tool["path"].rstrip("/") - root = destination / f"metrics-tool-{commit[:12]}" - package = root / VENDORED_TOOL_PACKAGE - if (package / "api.py").exists(): - return root - response = get( - f"https://codeload.github.com/{repository}/tar.gz/{commit}", timeout=120 - ) - response.raise_for_status() - package.mkdir(parents=True, exist_ok=True) - with tarfile.open(fileobj=io.BytesIO(response.content), mode="r:gz") as archive: - for member in archive.getmembers(): - _, _, relative = member.name.partition("/") - if not member.isfile(): - continue - if relative.startswith(tool_path + "/"): - target = package / relative[len(tool_path) + 1 :] - elif relative == PARTITION_PATH_IN_REPO: - target = root / "fiscal_partition.yaml" - else: - continue - if ".." in Path(relative).parts: - raise ValueError(f"Unsafe path in the tool archive: {member.name}") - target.parent.mkdir(parents=True, exist_ok=True) - extracted = archive.extractfile(member) - assert extracted is not None - target.write_bytes(extracted.read()) - if not (package / "api.py").exists(): - raise ValueError(f"{repository}@{commit} has no {tool_path}/api.py.") - return root - - -def load_standard_reforms(vendor_root: Path, filename: str) -> list[dict[str, Any]]: - """The metrics tool's standard reform set, read from the vendored tool. - - Each entry must carry an ``id`` and a ``responds`` block (``variable``, - ``direction`` ``up`` or ``down``, positive ``minimum``): a standard reform - with no stated response cannot be held to one, so it is refused. - """ - - import yaml # type: ignore[import-untyped] - - path = vendor_root / VENDORED_TOOL_PACKAGE / filename - if not path.exists(): - raise ValueError(f"The metrics tool ships no {filename}.") - document = yaml.safe_load(path.read_text()) or {} - reforms: list[dict[str, Any]] = [] - for entry in document.get("reforms") or []: - responds = entry.get("responds") or {} - minimum = responds.get("minimum") - if ( - not entry.get("id") - or not responds.get("variable") - or responds.get("direction") not in ("up", "down") - or isinstance(minimum, bool) - or not isinstance(minimum, int | float) - or not minimum > 0 - ): - raise ValueError( - f"Standard reform {entry.get('id') or entry.get('name')!r} states " - "no id or no expected response." - ) - reforms.append( - { - "id": str(entry["id"]), - "name": str(entry.get("name") or entry["id"]), - "variable": str(responds["variable"]), - "direction": responds["direction"], - "minimum": float(minimum), - } - ) - ids = [reform["id"] for reform in reforms] - if len(set(ids)) != len(ids): - raise ValueError("The standard reform set repeats an id.") - return reforms - - -def run_metrics_report( - python: str, - vendor_root: Path, - *, - years: Sequence[int], - out: Path, - dataset_path: Optional[Path] = None, - data_dir: Optional[Path] = None, - run_guard: bool = True, - label: str = "candidate", - run: Optional[Callable[..., Any]] = None, -) -> dict[str, Any]: - """Compute a metrics report with ``python`` (any environment) via the runner. - - The tool also costs its standard reform set against the same baseline, - each reform as a full run over ``years``. - """ - - import subprocess - - run = run if run is not None else subprocess.run - settings = { - "years": list(years), - "dataset_path": str(dataset_path) if dataset_path else None, - "data_dir": str(data_dir) if data_dir else None, - "run_guard": run_guard, - "label": label, - } - run( - [ - python, - "-c", - METRICS_RUNNER, - str(vendor_root), - json.dumps(settings), - str(out), - ], - check=True, - cwd=str(out.parent), - ) - report: dict[str, Any] = json.loads(out.read_text()) - return report - - -class PreviousPairUnavailable(ValueError): - """The exact certified baseline cannot be constructed or verified.""" - - -def _previous_pair_pins( - previous: Mapping[str, Any], ledger_root: Optional[Path] = None -) -> dict[str, Any]: - """Certificate pins, completed by its exact ledger receipt when available.""" - - pins = dict(previous) - pair_id = previous.get("qualification_pair_id") - if ledger_root is not None and pair_id: - try: - receipt = QualificationReceipt.model_validate_json( - ( - ledger_root / "uk" / pair_id / "qualification_receipt.json" - ).read_text() - ) - except (OSError, ValueError) as exc: - raise PreviousPairUnavailable( - "The previous pair's ledger receipt is unavailable." - ) from exc - pair = receipt.pair - expected = { - "model_version": pair.model.version, - "core_version": pair.core.version, - "data_release_version": pair.data.release_version, - "dataset_sha256": pair.data.dataset_sha256, - "model_wheel_sha256": pair.model.wheel_sha256, - "core_wheel_sha256": pair.core.wheel_sha256, - } - if ( - not receipt.promotable - or receipt.pair_id != pair_id - or any( - previous.get(key) is not None and previous[key] != value - for key, value in expected.items() - ) - ): - raise PreviousPairUnavailable( - "The previous certificate and ledger name different pairs." - ) - reference = { - "repo_id": pair.data.repo_id, - "repo_type": pair.data.repo_type, - "path": pair.data.dataset_path, - "revision": pair.data.dataset_revision, - "sha256": pair.data.dataset_sha256, - } - recorded_reference = previous.get("dataset_reference") - if recorded_reference and any( - recorded_reference.get(key) != value for key, value in reference.items() - ): - raise PreviousPairUnavailable( - "The previous dataset reference differs from its ledger pair." - ) - pins.update( - expected, - dataset_reference=reference, - dataset_name=pair.data.dataset, - release_manifest_reference={ - "repo_id": pair.data.repo_id, - "repo_type": pair.data.repo_type, - "path": pair.data.release_manifest_path, - "revision": pair.data.release_manifest_revision, - "sha256": pair.data.release_manifest_sha256, - }, - ) - for key in ( - "bundle_version", - "model_version", - "core_version", - "data_release_version", - "dataset_sha256", - ): - if not isinstance(pins.get(key), str) or not pins[key]: - raise PreviousPairUnavailable(f"The previous certificate has no {key} pin.") - reference = pins.get("dataset_reference") - if ( - not isinstance(reference, Mapping) - or any( - not isinstance(reference.get(key), str) or not reference[key] - for key in ("repo_id", "path", "revision") - ) - or reference.get("repo_type") not in ("model", "dataset") - or reference.get("sha256") != pins["dataset_sha256"] - or not re.fullmatch(r"[a-f0-9]{64}", pins["dataset_sha256"]) - ): - raise PreviousPairUnavailable( - "The previous certificate has no exact dataset reference." - ) - return pins - - -# This verification subprocess uses the current verifier, independently of -# whether the older published wrapper included it. Its namespace is isolated -# from the later metrics subprocess, which uses the installed previous wrapper. -PREVIOUS_IDENTITY_RUNNER = """ -import importlib.metadata as metadata, json, sys, types -from pathlib import Path -settings, out = json.loads(sys.argv[1]), Path(sys.argv[2]) -package = types.ModuleType("policyengine") -package.__path__ = [settings["source"]] -sys.modules["policyengine"] = package -from policyengine.provenance.wheels import verify_installed_against_wheel -problems = [] -for wheel in settings["wheels"]: - name = wheel["name"] - try: - if metadata.version(name) != wheel["version"]: - problems.append(name + ": installed version differs from the previous certificate") - evidence = verify_installed_against_wheel(name, Path(wheel["path"])) - if evidence["wheel_sha256"] != wheel["sha256"]: - problems.append(name + ": wheel hash differs from the previous certificate") - problems.extend(evidence["problems"]) - except (metadata.PackageNotFoundError, OSError, ValueError) as exc: - problems.append(name + ": cannot verify installation: " + str(exc)) -out.write_text(json.dumps({"problems": problems})) -""" - - -def _construct_previous_pair_python( - previous: Mapping[str, Any], - work_dir: Path, - *, - ledger_root: Optional[Path] = None, - run: Optional[Callable[..., Any]] = None, -) -> str: - """Install and verify the certificate's wheels, independently of wrapper extras.""" - - import subprocess - - import requests - - from policyengine.provenance.uk_qualification import _wheel - - run = run if run is not None else subprocess.run - pins = _previous_pair_pins(previous, ledger_root) - wheels = [] - for name, kind in (("policyengine-uk", "model"), ("policyengine-core", "core")): - version = pins[f"{kind}_version"] - response = requests.get( - f"https://pypi.org/pypi/{name}/{version}/json", timeout=30 - ) - response.raise_for_status() - wheel = _wheel(response.json()["urls"], name, version) - expected_sha256 = pins.get(f"{kind}_wheel_sha256") or wheel.sha256 - if wheel.sha256 != expected_sha256: - raise PreviousPairUnavailable( - f"{name}: PyPI wheel differs from the previous certificate." - ) - path = _download( - wheel.url, - work_dir / "previous-wheels" / expected_sha256 / wheel.filename, - get=requests.get, - ) - if sha256_file(path) != expected_sha256: - raise PreviousPairUnavailable( - f"{name}: downloaded wheel differs from the previous certificate." - ) - wheels.append( - { - "name": name, - "version": version, - "sha256": expected_sha256, - "path": str(path), - } - ) - # Same wrapper version can certify several pairs during its publication window. - # The environment cache must include the resolved wheel and dataset pins. - venv = ( - work_dir / f"previous-{content_sha256({'pins': pins, 'wheels': wheels})[:24]}" - ) - python = venv / "bin" / "python" - if not python.exists(): - run(["uv", "venv", str(venv), "--python", "3.13"], check=True) - run( - [ - "uv", - "pip", - "install", - "--python", - str(python), - f"policyengine=={pins['bundle_version']}", - *(wheel["path"] for wheel in wheels), - ], - check=True, - ) - output = work_dir / "previous-identity.json" - output.unlink(missing_ok=True) - run( - [ - str(python), - "-c", - PREVIOUS_IDENTITY_RUNNER, - json.dumps( - { - "source": str(Path(__file__).resolve().parents[1]), - "wheels": wheels, - } - ), - str(output), - ], - check=True, - ) - identity = json.loads(output.read_text()) - if not isinstance(identity, Mapping) or identity.get("problems") != []: - raise PreviousPairUnavailable( - f"The installed previous pair does not match its pins: {identity}." - ) - return str(python) - - -def _materialize_previous_pair_dataset( - previous: Mapping[str, Any], work_dir: Path, *, ledger_root: Optional[Path] = None -) -> Path: - """Materialize the previous certificate's exact data, bypassing wrapper defaults.""" - - import os - - import requests - - pins = _previous_pair_pins(previous, ledger_root) - reference = pins["dataset_reference"] - path = ( - work_dir - / "previous-data" - / pins["dataset_sha256"] - / Path(reference["path"]).name - ) - if not path.exists(): - token = os.environ.get("HUGGING_FACE_TOKEN") or os.environ.get("HF_TOKEN") - url = _hf_url( - reference["repo_id"], - reference["repo_type"], - reference["revision"], - reference["path"], - ) - _download( - url, - path, - get=lambda *args, **kwargs: requests.get( - *args, - **kwargs, - headers={"Authorization": f"Bearer {token}"} if token else {}, - ), - ) - if sha256_file(path) != pins["dataset_sha256"]: - raise PreviousPairUnavailable( - "The previous dataset bytes differ from the certificate." - ) - manifest_reference = pins.get("release_manifest_reference") or {} - if ( - any( - not isinstance(manifest_reference.get(key), str) - or not manifest_reference[key] - for key in ("repo_id", "path", "revision") - ) - or manifest_reference.get("repo_type") not in ("model", "dataset") - or not pins.get("dataset_name") - ): - raise PreviousPairUnavailable( - "The previous data release has no pinned manifest reference." - ) - token = os.environ.get("HUGGING_FACE_TOKEN") or os.environ.get("HF_TOKEN") - response = requests.get( - _hf_url( - manifest_reference["repo_id"], - manifest_reference["repo_type"], - manifest_reference["revision"], - manifest_reference["path"], - ), - headers={"Authorization": f"Bearer {token}"} if token else {}, - timeout=30, - ) - response.raise_for_status() - if ( - manifest_reference.get("sha256") - and hashlib.sha256(response.content).hexdigest() != manifest_reference["sha256"] - ): - raise PreviousPairUnavailable( - "The previous release manifest bytes differ from the ledger." - ) - manifest = DataReleaseManifest.model_validate_json(response.content) - artifact = manifest.artifacts.get(pins["dataset_name"]) - if ( - manifest.data_package.version != pins["data_release_version"] - or manifest.default_datasets.get("national") != pins["dataset_name"] - or artifact is None - or artifact.sha256 != pins["dataset_sha256"] - or artifact.path != reference["path"] - or artifact.revision != reference["revision"] - or artifact.repo_id != reference["repo_id"] - or (artifact.repo_type or manifest_reference["repo_type"]) - != reference["repo_type"] - ): - raise PreviousPairUnavailable( - "The previous release manifest does not match the certified data pair." - ) - return path - - -def previous_pair_python( - previous: Mapping[str, Any], - work_dir: Path, - *, - ledger_root: Optional[Path] = None, - run: Optional[Callable[..., Any]] = None, -) -> str: - """Construct a verified baseline, or report that it is unavailable.""" - - import subprocess - - import requests - - try: - return _construct_previous_pair_python( - previous, work_dir, ledger_root=ledger_root, run=run - ) - except PreviousPairUnavailable: - raise - except ( - OSError, - ValueError, - KeyError, - TypeError, - subprocess.CalledProcessError, - requests.RequestException, - ) as exc: - raise PreviousPairUnavailable( - f"The exact previous environment could not be verified: {exc}" - ) from exc - - -def previous_pair_dataset( - previous: Mapping[str, Any], work_dir: Path, *, ledger_root: Optional[Path] = None -) -> Path: - """Materialize verified previous data, or report that it is unavailable.""" - - import requests - - try: - return _materialize_previous_pair_dataset( - previous, work_dir, ledger_root=ledger_root - ) - except PreviousPairUnavailable: - raise - except (OSError, ValueError, KeyError, TypeError, requests.RequestException) as exc: - raise PreviousPairUnavailable( - f"The exact previous data could not be verified: {exc}" - ) from exc - - -# --- Orchestration ------------------------------------------------------------- - - -def run_gate(gate_id: str, function: Callable[[], GateOutcome]) -> GateOutcome: - """Run one gate; an unexpected exception becomes an ``error`` result.""" - - try: - return function() - except PreviousPairUnavailable as exc: - return _result( - gate_id, "unavailable", str(exc), {"previous_pair_unavailable": str(exc)} - ) - except Exception as exc: - return _result( - gate_id, - "error", - f"The gate raised {type(exc).__name__}: {exc}", - {"traceback": traceback.format_exc()}, - ) - - -def run_gates( - gates: Sequence[tuple[str, Callable[[], GateOutcome]]], -) -> tuple[list[GateResult], dict[str, Evidence]]: - """Run gates in order; always one result per gate, never fewer.""" - - results: list[GateResult] = [] - evidence: dict[str, Evidence] = {} - for gate_id, function in gates: - result, item = run_gate(gate_id, function) - if result.gate_id != gate_id: - result = result.model_copy(update={"gate_id": gate_id}) - # Orchestration may append source/tool metadata to a gate's evidence. - # Bind the result to the complete JSON that will actually be stored. - item = _json_safe(item) - result = result.model_copy(update={"evidence_sha256": evidence_sha256(item)}) - results.append(result) - evidence[gate_id] = item - return results, evidence - - -def _download(url: str, destination: Path, *, get: Callable[..., Any]) -> Path: - destination.parent.mkdir(parents=True, exist_ok=True) - with get(url, stream=True, timeout=120) as response: - response.raise_for_status() - with destination.open("wb") as stream: - for chunk in response.iter_content(chunk_size=1 << 20): - stream.write(chunk) - return destination - - -def _previous_gate_evidence( - ledger_root: Optional[Path], previous: Optional[Mapping[str, Any]] -) -> dict[str, Any]: - """Verified evidence of the exact certified pair and receipt's attempt. - - Legacy certificates can fall back to recomputation. Once a certified - receipt records cumulative history, unavailable evidence fails closed. - """ - - if not previous: - return {} - pair_id = previous.get("qualification_pair_id") - if not isinstance(pair_id, str) or not re.fullmatch(r"[a-f0-9]{64}", pair_id): - return {} - if ledger_root is None: - raise PreviousPairUnavailable( - "The previous certified pair's receipt is unavailable; a fresh " - "registry decision is required." - ) - receipt_path = ledger_root / "uk" / pair_id / "qualification_receipt.json" - certified_history_recorded = False - receipt_loaded = False - try: - receipt = QualificationReceipt.model_validate_json(receipt_path.read_text()) - receipt_loaded = True - pair = receipt.pair - by_gate = {gate.gate_id: gate for gate in receipt.gates} - inputs_gate = by_gate.get("budget_inputs") - certified_history_recorded = ( - inputs_gate is not None and "ever_usable_inputs" in inputs_gate.details - ) - if not receipt.promotable or receipt.pair_id != pair_id: - if certified_history_recorded: - raise PreviousPairUnavailable( - "The cumulative input history does not identify the " - "previous certified pair; a fresh registry decision is required." - ) - return {} - expected = ( - (pair.model.version, previous.get("model_version")), - (pair.core.version, previous.get("core_version")), - (pair.data.release_version, previous.get("data_release_version")), - (pair.data.dataset_sha256, previous.get("dataset_sha256")), - ) - if any(actual != certified for actual, certified in expected): - if certified_history_recorded: - raise PreviousPairUnavailable( - "The cumulative input history does not match the " - "previous certified pair's pins; a fresh registry decision " - "is required." - ) - return {} - # The pair ID binds all wheels and data pins even for certificates - # whose bundle's package record does not repeat the core wheel hash. - for field, actual in ( - ("model_wheel_sha256", pair.model.wheel_sha256), - ("core_wheel_sha256", pair.core.wheel_sha256), - ): - if previous.get(field) is not None and previous[field] != actual: - if certified_history_recorded: - raise PreviousPairUnavailable( - "The cumulative input history does not match the " - "previous certified pair's wheel pins; a fresh registry " - "decision is required." - ) - return {} - for attempt_receipt in sorted( - (receipt_path.parent / "attempts").glob("*/qualification_receipt.json") - ): - attempt = QualificationReceipt.model_validate_json( - attempt_receipt.read_text() - ) - # Review acceptance can change the latest receipt without changing - # the immutable attempt's underlying qualification. - if attempt.unreviewed_sha256 != receipt.unreviewed_sha256: - continue - harness = json.loads((attempt_receipt.parent / "harness.json").read_text()) - if harness != receipt.harness.canonical_payload(): - continue - found = { - name: json.loads( - (attempt_receipt.parent / "gates" / f"{name}.json").read_text() - ) - for name in ("budget_inputs", "supported_years") - } - has_history = ( - certified_history_recorded - or "ever_usable_inputs" in found["budget_inputs"] - ) - for name in ("supported_years", "budget_inputs"): - gate = by_gate.get(name) - evidence = found[name] - if ( - not gate - or gate.status not in ("pass", "needs_review") - or gate.evidence_sha256 != evidence_sha256(evidence) - ): - if has_history: - raise PreviousPairUnavailable( - "The previous certified pair's cumulative input " - "history could not be verified; a fresh registry " - "decision is required." - ) - return {} - if certified_history_recorded and ( - found["budget_inputs"].get("ever_usable_inputs") - != inputs_gate.details["ever_usable_inputs"] - ): - raise PreviousPairUnavailable( - "The previous certified pair's cumulative input history " - "does not match its receipt; a fresh registry decision " - "is required." - ) - if has_history and ( - found["budget_inputs"].get("pair_id") != pair_id - or found["budget_inputs"].get("attempt_id") - != f"{pair_id}/{attempt_receipt.parent.name}" - ): - raise PreviousPairUnavailable( - "The previous certified pair's cumulative input history " - "belongs to another pair or attempt; a fresh registry " - "decision is required." - ) - if _valid_previous_snapshot_evidence(found): - return found - if "ever_usable_inputs" in found["budget_inputs"]: - # A certified cumulative history cannot be replaced by a - # fresh direct-predecessor seed when its evidence is damaged. - raise PreviousPairUnavailable( - "The previous certified pair's cumulative input history " - "is inconsistent; a fresh registry decision is required." - ) - return {} - except PreviousPairUnavailable: - raise - except (OSError, ValueError, TypeError, AttributeError) as exc: - if certified_history_recorded or not receipt_loaded: - raise PreviousPairUnavailable( - "The previous certified pair's cumulative input history " - "could not be read; a fresh registry decision is required." - ) from exc - # An unavailable cache is not qualification evidence; recompute it. - return {} - if certified_history_recorded: - raise PreviousPairUnavailable( - "The previous certified pair's cumulative input history has no " - "matching attempt; a fresh registry decision is required." - ) - return {} - - -def _valid_previous_snapshot_evidence(evidence: Mapping[str, Any]) -> bool: - years = evidence["supported_years"].get("supported_years") - inputs = evidence["budget_inputs"] - missing = inputs.get("missing_inputs") - unusable = inputs.get("unusable_critical") - input_status = inputs.get("input_status") - ever_usable = inputs.get("ever_usable_inputs") - return ( - isinstance(years, list) - and bool(years) - and all( - isinstance(year, int) and not isinstance(year, bool) and year > 0 - for year in years - ) - and len(years) == len(set(years)) - and isinstance(missing, list) - and all(isinstance(name, str) and bool(name) for name in missing) - and len(missing) == len(set(missing)) - and isinstance(unusable, list) - and all( - isinstance(row, list) - and len(row) == 2 - and all(isinstance(value, str) and bool(value) for value in row) - for row in unusable - ) - and ( - "ever_usable_inputs" not in inputs - or ( - isinstance(ever_usable, list) - and all(isinstance(name, str) and bool(name) for name in ever_usable) - and len(ever_usable) == len(set(ever_usable)) - and isinstance(input_status, dict) - and { - name - for name, state in input_status.items() - if isinstance(state, dict) and state.get("usable") is True - }.issubset(ever_usable) - ) - ) - and ( - input_status is None - or ( - isinstance(input_status, dict) - and all( - isinstance(name, str) - and bool(name) - and isinstance(state, dict) - and all( - type(state.get(key)) is bool - for key in ("in_model", "in_data", "usable", "is_input") - ) - and ( - not state["usable"] or (state["in_model"] and state["in_data"]) - ) - and (not state["is_input"] or state["in_model"]) - for name, state in input_status.items() - ) - and all( - type(inputs.get(key)) is int - for key in ( - "model_variables", - "model_input_variables", - "dataset_columns", - ) - ) - and inputs["model_variables"] - == sum(state["in_model"] for state in input_status.values()) - and inputs["model_input_variables"] - == sum(state["is_input"] for state in input_status.values()) - and inputs["dataset_columns"] - == sum(state["in_data"] for state in input_status.values()) - and set(missing) - == { - name - for name, state in input_status.items() - if state["is_input"] and not state["in_data"] - } - ) - ) - ) - - -def run_candidate_gates( - resolved: Any, - harness: QualificationHarness, - *, - config: Mapping[str, Any], - work_dir: Path, - previous_certificate: Optional[Mapping[str, Any]], - ledger_root: Optional[Path], -) -> tuple[list[GateResult], dict[str, Evidence]]: - """Run gates 1โ€“9 on the installed candidate, with real I/O.""" - - import os - - import requests - - from policyengine.provenance.dataset_materialization import materialize_dataset - - pair: CandidatePair = resolved.pair - work_dir.mkdir(parents=True, exist_ok=True) - data_dir = Path(config.get("data_dir") or work_dir / "data") - qualification_dir = Path(__file__).resolve().parents[1] / "data" / "qualification" - previous_evidence = _previous_gate_evidence(ledger_root, previous_certificate) - critical_spec = json.loads( - (qualification_dir / config["budget_inputs"]["critical"]).read_text() - ) - token = os.environ.get("HUGGING_FACE_TOKEN") or os.environ.get("HF_TOKEN") - state: dict[str, Any] = {} - - def dataset() -> Path: - if "dataset" not in state: - source = materialize_dataset("uk", data_dir=data_dir) - state["dataset"] = Path(source.path) - path: Path = state["dataset"] - return path - - def gate_wheels() -> GateOutcome: - paths = {} - for package, wheel in ( - (pair.model, resolved.model_wheel), - (pair.core, resolved.core_wheel), - ): - paths[package.name] = _download( - wheel.url, work_dir / "wheels" / wheel.filename, get=requests.get - ) - return wheel_hashes( - pair, - wheel_paths=paths, - pypi_digests={ - pair.model.name: resolved.model_wheel.sha256, - pair.core.name: resolved.core_wheel.sha256, - }, - ) - - def gate_core() -> GateOutcome: - if "manifest" not in state: - return _result( - "core_compatibility", - "error", - "The release manifest was not read (data_access did not succeed).", - {}, - ) - return core_compatibility( - pair, state["manifest"], model_requires_core=resolved.model_requires_core - ) - - def gate_data_access() -> GateOutcome: - result, evidence, manifest = data_access( - pair, get=requests.get, head=requests.head, token=token - ) - if manifest is not None: - state["manifest"] = manifest - return result, evidence - - def previous_environment() -> tuple[str, Path]: - if "previous_environment" not in state: - assert previous_certificate is not None - pins = _previous_pair_pins(previous_certificate, ledger_root) - state["previous_environment"] = ( - previous_pair_python(pins, work_dir), - previous_pair_dataset(pins, work_dir), - ) - return state["previous_environment"] - - def previous_snapshot() -> Optional[dict[str, Any]]: - """The previous pair's inputs and years: from the ledger, else computed.""" - - if "previous_snapshot" in state: - cached: Optional[dict[str, Any]] = state["previous_snapshot"] - return cached - snapshot: Optional[dict[str, Any]] = None - recorded_inputs = previous_evidence.get("budget_inputs") - recorded_years = previous_evidence.get("supported_years") - if ( - recorded_inputs - and recorded_years - and isinstance(recorded_inputs.get("input_status"), dict) - and "ever_usable_inputs" in recorded_inputs - ): - snapshot = { - "missing_inputs": recorded_inputs.get("missing_inputs"), - "unusable_critical": recorded_inputs.get("unusable_critical", []), - "supported_years": recorded_years.get("supported_years"), - "source": "ledger", - "input_status": recorded_inputs["input_status"], - "ever_usable_inputs": recorded_inputs["ever_usable_inputs"], - } - elif previous_certificate: - previous_python, previous_dataset = previous_environment() - snapshot = run_inputs_snapshot( - previous_python, - critical=critical_spec["critical"], - out=work_dir / "previous-inputs.json", - dataset_path=previous_dataset, - ) - snapshot["source"] = ( - f"computed with policyengine {previous_certificate['bundle_version']}" - ) - state["previous_snapshot"] = snapshot - return snapshot - - def gate_years() -> GateOutcome: - previous = previous_snapshot() - previous_years = previous.get("supported_years") if previous else None - return supported_years( - pair, - dataset(), - required_years=config["required_years"], - budget_horizon_years=config["budget_horizon_years"], - previous_supported_years=previous_years, - ) - - def gate_inputs() -> GateOutcome: - from policyengine_uk.system import system - - previous = previous_snapshot() - input_names = [ - name - for name, variable in system.variables.items() - if variable.is_input_variable() - ] - previous_status = previous.get("input_status") if previous else None - if isinstance(previous_status, dict): - # Do not project away variables removed or made formula-backed by - # the candidate: they may already have expired an exception. - previous_status = dict(previous_status) - for name in system.variables: - previous_status.setdefault( - name, - { - "in_model": False, - "is_input": False, - "in_data": False, - "usable": False, - }, - ) - result, evidence = budget_inputs( - pair, - dataset(), - model_input_variables=input_names, - model_variables=system.variables, - critical_inputs=critical_spec["critical"], - accepted_gaps=critical_spec.get("accepted_gaps", {}), - previous_missing_inputs=previous.get("missing_inputs") - if previous - else None, - previous_unusable_critical=( - [item[0] for item in previous.get("unusable_critical", [])] - if previous - else None - ), - previous_input_status=previous_status, - previous_ever_usable_inputs=previous.get("ever_usable_inputs") - if previous - else None, - ) - evidence["previous_source"] = previous.get("source") if previous else None - return result, evidence - - def gate_contract() -> GateOutcome: - settings = config["reform_contract"] - return reform_contract( - entrypoint=settings.get("entrypoint"), - dataset_path=dataset(), - seed=int(settings.get("seed", 0)), - max_examples=int(settings.get("max_examples", 50)), - expected_versions={ - pair.model.name: pair.model.version, - pair.core.name: pair.core.version, - }, - expected_dataset_sha256=pair.data.dataset_sha256, - pending_decisions=settings.get("pending_decisions", ()), - ) - - def metrics_tool() -> Path: - if "metrics_tool" not in state: - state["metrics_tool"] = vendor_metrics_tool( - config["metrics"]["tool"], work_dir, get=requests.get - ) - tool_root: Path = state["metrics_tool"] - return tool_root - - def standard_reforms() -> list[dict[str, Any]]: - if "standard_reforms" not in state: - state["standard_reforms"] = load_standard_reforms( - metrics_tool(), - config["reform_responsiveness"]["standard_reforms_file"], - ) - reforms: list[dict[str, Any]] = state["standard_reforms"] - return reforms - - def candidate_metrics() -> dict[str, Any]: - """The candidate's report, computed once for both metric gates.""" - - import sys - - if "candidate_metrics" not in state: - state["candidate_metrics"] = run_metrics_report( - sys.executable, - metrics_tool(), - years=config["metrics"]["years"], - out=work_dir / "metrics-candidate.json", - dataset_path=dataset(), - label="candidate", - ) - state.setdefault("metrics_reports", {})["candidate"] = state[ - "candidate_metrics" - ] - report: dict[str, Any] = state["candidate_metrics"] - return report - - def gate_responsiveness() -> GateOutcome: - settings = config.get("reform_responsiveness") - if not settings or not config["metrics"].get("tool"): - return reform_responsiveness( - report=None, - standard_reforms=[], - years=[], - unavailable_reason=( - "No reform responsiveness settings or metrics tool is configured." - ), - ) - result, evidence = reform_responsiveness( - report=candidate_metrics(), - standard_reforms=standard_reforms(), - years=config["metrics"]["years"], - ) - evidence["tool"] = dict(config["metrics"]["tool"]) - return result, evidence - - def gate_metrics() -> GateOutcome: - import sys - - settings = config["metrics"] - tool = settings.get("tool") - if not tool: - return metrics_review( - candidate_report=None, - previous_report=None, - bounds={}, - unavailable_reason="No metrics tool commit is configured (metrics.tool).", - ) - if not previous_certificate: - return metrics_review( - candidate_report=None, - previous_report=None, - bounds={}, - unavailable_reason="No previous certificate to compare against.", - ) - bounds = json.loads((qualification_dir / settings["bounds"]).read_text()) - previous_python, previous_dataset = previous_environment() - vendor_root = metrics_tool() - years = settings["years"] - candidate_report = candidate_metrics() - previous_report = run_metrics_report( - previous_python, - vendor_root, - years=years, - out=work_dir / "metrics-previous.json", - dataset_path=previous_dataset, - label="previous", - ) - cross_report = None - if previous_certificate.get("dataset_sha256") != pair.data.dataset_sha256: - cross_report = run_metrics_report( - sys.executable, - vendor_root, - years=years, - out=work_dir / "metrics-candidate-model-previous-data.json", - dataset_path=Path(previous_report["dataset_path"]), - label="candidate model, previous data", - ) - state.setdefault("metrics_reports", {}).update( - previous=previous_report, - candidate_model_previous_data=cross_report, - ) - result, evidence = metrics_review( - candidate_report=candidate_report, - previous_report=previous_report, - bounds=bounds, - cross_report=cross_report, - ) - evidence["tool"] = dict(tool) - evidence["partition_sources"] = { - "candidate": candidate_report.get("partition_source"), - "previous": previous_report.get("partition_source"), - } - return result, evidence - - gates = [ - ("installed_versions", lambda: installed_versions(pair, harness)), - ("wheel_hashes", gate_wheels), - ("data_access", gate_data_access), - ("core_compatibility", gate_core), - ("dataset_bytes", lambda: dataset_bytes(pair, dataset())), - ("supported_years", gate_years), - ("budget_inputs", gate_inputs), - ("reform_contract", gate_contract), - ("metrics_review", gate_metrics), - ("reform_responsiveness", gate_responsiveness), - ] - results, evidence = run_gates(gates) - for name, report in (state.get("metrics_reports") or {}).items(): - if report is not None: - evidence[f"metrics_report_{name}"] = publishable_metrics_report(report) - return results, evidence - - -def version_sort_key(version: str) -> Version: - return Version(version) diff --git a/src/policyengine/provenance/uk_qualification.py b/src/policyengine/provenance/uk_qualification.py deleted file mode 100644 index ef23f5556..000000000 --- a/src/policyengine/provenance/uk_qualification.py +++ /dev/null @@ -1,1934 +0,0 @@ -"""Orchestration for qualifying a UK model/data candidate. - -``scripts/check_uk_candidate.py`` is the command-line front end. The removed -``.github/workflows/certify-uk-release.yaml`` workflow ran it. The steps are: - -``resolve`` - Find the candidate pair: the newest (or requested) policyengine-uk wheel - from PyPI, the core it needs, and the newest (or requested) uk-data - release at the data repository's current manifest revision. Decide - whether to qualify it, or whether it is already certified, stale, a - duplicate of an attempt in the ledger, or from another data line than - main's certificate (``other_line``: versions are compared only within - one line, so a uk-data pair is never ordered against a Microcosm one). -``prepare`` - On a checkout of ``main``, certify the pair into the bundle manifest - (exact ``==`` claim backed by the pair id when no publisher claim covers - it), regenerate pins, ``uv.lock``, TROs and household snapshots - together, and the certified-version test constants for a pair on main's - data line, and commit that as the candidate commit on - ``candidate/uk/-``. On a main routed to a local-area release, - a pair from another line drops the routing, and a pair on main's own line - is refused: it needs a local-area cut certified by hand. -``gates`` - Run the mandatory local gates on the candidate commit - (:mod:`policyengine.provenance.uk_candidate`). -``request-replay`` / ``poll-replay`` - Send the scorecard an immutable replay request naming the candidate - commit, and read back its terminal status and receipt. -``finalize`` - Record the qualification receipt in the ledger. -``promote`` - Pick the newest promotable pair that advances ``main`` and mark its - candidate PR ready, closing superseded candidates, and closing the PRs - of pairs from another data line at the commit their receipt qualified. - -Network, git and GitHub access are injected so every decision can be tested -offline. -""" - -from __future__ import annotations - -import hashlib -import json -import os -import re -import subprocess -from collections.abc import Callable, Iterable, Mapping, Sequence -from dataclasses import dataclass, field -from datetime import UTC, datetime, timedelta -from pathlib import Path -from typing import Any, Literal, Optional - -from packaging.requirements import Requirement -from packaging.specifiers import SpecifierSet -from packaging.version import InvalidVersion, Version - -from policyengine.provenance.manifest import DataReleaseManifest, release_build_id -from policyengine.provenance.qualification import ( - REQUIRED_GATES, - CandidatePair, - GateResult, - IssuedBy, - PinnedData, - PinnedWheel, - PreviousCertificate, - QualificationHarness, - QualificationReceipt, - ReplayQualificationRequest, - ReplayReceipt, - ReplayReference, - ReplayStatus, - ReviewAcceptance, - conform_to_vendored_schema, - dominates, - evaluate_replay_receipt, - qualification_verdict, - replay_gate_while_pending, - select_promotion_target, -) -from policyengine.provenance.qualification_ledger import ( - attempt_directory, - pair_directory, - read_json, - write_json, -) -from policyengine.provenance.receipt import certificate_sha256, content_sha256 - -UK_MODEL_PACKAGE = "policyengine-uk" -CORE_PACKAGE = "policyengine-core" -UK_DATA_REPO_ID = "policyengine/policyengine-uk-data-private" -UK_DATA_REPO_TYPE: Literal["model"] = "model" -TOKEN_VARIABLES = ("HF_TOKEN", "HUGGING_FACE_TOKEN", "HUGGINGFACE_HUB_TOKEN") -#: The scorecard's certification recipe (policyengine-scorecard -#: pipeline/uk_replay_variants.py, isolate_certification_environment), which -#: expected_release_bundle must reproduce exactly. policyengine.py 6.x fetches -#: the data release manifest with requests, which ignores HF_HUB_OFFLINE; with -#: these proxies the fetch fails at once for a private or public data repo and -#: certify_data_release_compatibility falls back to the packaged certification. -PROXY_EXCEPTIONS = ("NO_PROXY", "no_proxy") -OFFLINE_VARIABLES = { - "HF_HUB_OFFLINE": "1", - "HF_DATASETS_OFFLINE": "1", - "TRANSFORMERS_OFFLINE": "1", - "HF_HUB_DISABLE_TELEMETRY": "1", - "HF_HUB_DISABLE_IMPLICIT_TOKEN": "1", -} -NO_NETWORK = { - name: "http://127.0.0.1:9" - for name in ( - "HTTP_PROXY", - "HTTPS_PROXY", - "ALL_PROXY", - "http_proxy", - "https_proxy", - "all_proxy", - ) -} - - -def certification_environment(environ: Mapping[str, str]) -> dict[str, str]: - """``environ`` as the scorecard isolates it before reading release_bundle.""" - - env = { - key: value - for key, value in environ.items() - if key not in TOKEN_VARIABLES and key not in PROXY_EXCEPTIONS - } - env.update(OFFLINE_VARIABLES) - env.update(NO_NETWORK) - return env - - -REPO_ROOT = Path(__file__).resolve().parents[3] - -Action = Literal["qualify", "already_certified", "stale", "duplicate", "other_line"] - - -# --- Resolution ------------------------------------------------------------ - - -@dataclass(frozen=True) -class WheelFile: - filename: str - url: str - sha256: str - - -@dataclass(frozen=True) -class ResolvedCandidate: - """A candidate pair plus what is needed to fetch and certify it.""" - - pair: CandidatePair - model_wheel: WheelFile - core_wheel: WheelFile - manifest_uri: str - model_requires_core: str - - -def _stable_versions( - releases: Mapping[str, Sequence[Mapping[str, Any]]], -) -> list[Version]: - versions = [] - for text, files in releases.items(): - try: - version = Version(text) - except InvalidVersion: - continue - if version.is_prerelease or version.is_devrelease: - continue - if not files or all(item.get("yanked") for item in files): - continue - versions.append(version) - return sorted(versions) - - -def _wheel(files: Sequence[Mapping[str, Any]], name: str, version: str) -> WheelFile: - wheels = [ - item - for item in files - if item.get("packagetype") == "bdist_wheel" and not item.get("yanked") - ] - if len(wheels) != 1: - raise ValueError( - f"{name} {version} must publish exactly one wheel; found {len(wheels)}." - ) - entry = wheels[0] - return WheelFile( - filename=entry["filename"], url=entry["url"], sha256=entry["digests"]["sha256"] - ) - - -def core_requirement(requires_dist: Iterable[str]) -> str: - """The model's ``policyengine-core`` specifier (unconditional requirements).""" - - for line in requires_dist or (): - requirement = Requirement(line) - if requirement.name.lower().replace("_", "-") != CORE_PACKAGE: - continue - if requirement.marker is not None and not requirement.marker.evaluate(): - continue - return str(requirement.specifier) - raise ValueError("policyengine-uk declares no policyengine-core requirement.") - - -def choose_core_version( - current_core: str, - specifier: str, - available: Sequence[Version], -) -> str: - """Keep the certified core if the model accepts it; else the newest accepted.""" - - spec = SpecifierSet(specifier) - if Version(current_core) in spec: - return current_core - accepted = [version for version in available if version in spec] - if not accepted: - raise ValueError( - f"No published policyengine-core release satisfies {specifier}." - ) - return str(max(accepted)) - - -def latest_data_release(tags: Iterable[str]) -> str: - """The newest release tag that is a plain version (``1.58.0``).""" - - versions = [] - for tag in tags: - if not re.fullmatch(r"\d+(\.\d+)*", tag): - continue - versions.append(Version(tag)) - if not versions: - raise ValueError("The data repository has no version tags.") - return str(max(versions)) - - -def resolve_candidate( - *, - current_core: str, - pypi_project: Callable[[str], Mapping[str, Any]], - hf_revision_sha: Callable[[str, str], str], - hf_tags: Callable[[str], Sequence[str]], - hf_file: Callable[[str, str, str], bytes], - model_version: Optional[str] = None, - data_version: Optional[str] = None, - core_version: Optional[str] = None, -) -> ResolvedCandidate: - """Resolve the candidate pair from PyPI and Hugging Face. - - ``core_version`` pins the core, as a requalification of an exact pair - must; otherwise the certified core is kept if the model accepts it. - """ - - model_project = pypi_project(UK_MODEL_PACKAGE) - releases = model_project["releases"] - model_version = model_version or str(_stable_versions(releases)[-1]) - if model_version not in releases: - raise ValueError(f"{UK_MODEL_PACKAGE} {model_version} is not on PyPI.") - model_wheel = _wheel(releases[model_version], UK_MODEL_PACKAGE, model_version) - model_release = pypi_project(f"{UK_MODEL_PACKAGE}/{model_version}") - requires_core = core_requirement(model_release["info"].get("requires_dist") or []) - - core_project = pypi_project(CORE_PACKAGE) - if core_version is None: - core_version = choose_core_version( - current_core, requires_core, _stable_versions(core_project["releases"]) - ) - elif core_version not in core_project["releases"]: - raise ValueError(f"{CORE_PACKAGE} {core_version} is not on PyPI.") - elif Version(core_version) not in SpecifierSet(requires_core): - raise ValueError( - f"{UK_MODEL_PACKAGE} {model_version} requires {CORE_PACKAGE} " - f"{requires_core}, not {core_version}." - ) - core_wheel = _wheel( - core_project["releases"][core_version], CORE_PACKAGE, core_version - ) - - data_version = data_version or latest_data_release(hf_tags(UK_DATA_REPO_ID)) - manifest_revision = hf_revision_sha(UK_DATA_REPO_ID, "main") - manifest_path = f"releases/{data_version}/release_manifest.json" - manifest_bytes = hf_file(UK_DATA_REPO_ID, manifest_revision, manifest_path) - manifest = DataReleaseManifest.model_validate_json(manifest_bytes) - if manifest.data_package.version != data_version: - raise ValueError( - f"{manifest_path} describes {manifest.data_package.version}, not {data_version}." - ) - dataset = manifest.default_datasets.get("national") - if dataset is None or dataset not in manifest.artifacts: - raise ValueError( - f"uk-data {data_version} declares no national default dataset." - ) - artifact = manifest.artifacts[dataset] - if not artifact.sha256 or not artifact.size_bytes: - raise ValueError(f"uk-data {data_version} {dataset} has no sha256 or size.") - # Named as certification names it: the cut tag when the release has one. - build_id = release_build_id(manifest.build) - if build_id is None: - raise ValueError(f"uk-data {data_version} records no build id.") - - pair = CandidatePair( - country_id="uk", - model=PinnedWheel( - name=UK_MODEL_PACKAGE, - version=model_version, - wheel_sha256=model_wheel.sha256, - ), - core=PinnedWheel( - name=CORE_PACKAGE, version=core_version, wheel_sha256=core_wheel.sha256 - ), - data=PinnedData( - data_package=manifest.data_package.name, - release_version=data_version, - build_id=build_id, - repo_id=UK_DATA_REPO_ID, - repo_type=UK_DATA_REPO_TYPE, - release_manifest_path=manifest_path, - release_manifest_revision=manifest_revision, - release_manifest_sha256=hashlib.sha256(manifest_bytes).hexdigest(), - dataset=dataset, - dataset_path=artifact.path, - dataset_revision=artifact.revision, - dataset_sha256=artifact.sha256, - size_bytes=artifact.size_bytes, - ), - ) - return ResolvedCandidate( - pair=pair, - model_wheel=model_wheel, - core_wheel=core_wheel, - manifest_uri=( - f"hf://{UK_DATA_REPO_TYPE}/{UK_DATA_REPO_ID}@{manifest_revision}/{manifest_path}" - ), - model_requires_core=requires_core, - ) - - -# --- Deciding what to do ------------------------------------------------------ - - -def certified_data_line(bundle: Mapping[str, Any]) -> tuple[str, str]: - """The data package and repository of main's UK certificate. - - Promotion orders pairs by their data release version, which compares - only within one data line: a uk-data release number says nothing about - a Microcosm build. A pair from another line is never older or newer - than main's certificate; changing the line is a reviewed certification. - """ - - data_package = bundle["data_releases"]["uk"]["data_package"] - return (data_package["name"], data_package["repo_id"]) - - -def data_line(pair: CandidatePair) -> tuple[str, str]: - """The data package and repository a candidate pair's data comes from.""" - - return (pair.data.data_package, pair.data.repo_id) - - -def split_by_data_line( - receipts: Iterable[QualificationReceipt], bundle: Mapping[str, Any] -) -> tuple[list[QualificationReceipt], list[QualificationReceipt]]: - """``(on main's data line, from another line)``.""" - - line = certified_data_line(bundle) - same, other = [], [] - for receipt in receipts: - (same if data_line(receipt.pair) == line else other).append(receipt) - return same, other - - -def _same_line_receipts( - receipts: Iterable[QualificationReceipt], bundle: Mapping[str, Any] -) -> list[QualificationReceipt]: - return split_by_data_line(receipts, bundle)[0] - - -def certified_order_key(bundle: Mapping[str, Any]) -> tuple[str, str, str]: - """(model version, data release, core version) certified on a branch.""" - - record = bundle["data_releases"]["uk"] - return ( - record["model_package"]["version"], - record["data_package"]["version"], - bundle["packages"][CORE_PACKAGE]["version"], - ) - - -def previous_certificate(bundle: Mapping[str, Any]) -> PreviousCertificate: - record = bundle["data_releases"]["uk"] - reference = record["datasets"][record["default_dataset"]] - data_package = record["data_package"] - return PreviousCertificate( - bundle_version=bundle["policyengine_version"], - model_version=record["model_package"]["version"], - core_version=bundle["packages"][CORE_PACKAGE]["version"], - data_release_version=record["data_package"]["version"], - dataset_sha256=record["certified_data_artifact"]["sha256"], - certificate_sha256=certificate_sha256(record), - qualification_pair_id=(record.get("certification") or {}).get( - "qualification_pair_id" - ), - model_wheel_sha256=record["model_package"].get("sha256"), - core_wheel_sha256=bundle["packages"][CORE_PACKAGE].get("sha256"), - dataset_reference={ - **reference, - "repo_id": reference.get("repo_id") or data_package["repo_id"], - "repo_type": reference.get("repo_type") - or data_package.get("repo_type", "model"), - }, - dataset_name=record["default_dataset"], - release_manifest_reference={ - "repo_id": data_package["repo_id"], - "repo_type": data_package.get("repo_type", "model"), - "path": data_package["release_manifest_path"], - "revision": data_package["release_manifest_revision"], - }, - ) - - -def candidate_action( - pair: CandidatePair, - bundle: Mapping[str, Any], - ledger_root: Optional[Path], - *, - base_commit: str, - force: bool = False, - now: Optional[str] = None, - owner_is_failed: Optional[Callable[[str], bool]] = None, -) -> tuple[Action, str]: - """Whether to qualify ``pair`` now, and why. - - A promotable pair that advances main but was qualified against an - earlier certificate is requalified once per main commit, so automatic - promotion never waits on a manual ``--force``. - """ - - line = certified_data_line(bundle) - if data_line(pair) != line: - if force: - return "qualify", ( - f"forced across data lines: main certifies {line}, the pair " - f"is from {data_line(pair)}" - ) - return "other_line", ( - f"main certifies {line[0]} from {line[1]}; the pair is from " - f"{data_line(pair)[0]} in {data_line(pair)[1]}. Automated " - "qualification compares versions only within one data line, and " - "changing the line is a reviewed certification" - ) - current = certified_order_key(bundle) - record = bundle["data_releases"]["uk"] - if pair.order_key == current and ( - record["certified_data_artifact"]["sha256"] == pair.data.dataset_sha256 - ): - return "already_certified", f"{current} is already certified on main" - if dominates(current, pair.order_key): - return "stale", f"main certifies {current}, newer than {pair.order_key}" - if force or ledger_root is None: - return "qualify", "forced" if force else "no ledger" - pair_dir = pair_directory(ledger_root, "uk", pair.pair_id) - latest = pair_dir / "qualification_receipt.json" - receipt = ( - QualificationReceipt.model_validate(read_json(latest)) - if latest.exists() - else None - ) - attempt = _latest_base_attempt(pair, ledger_root, base_commit) - recovery = _latest_staged_attempt(pair, ledger_root) - if ( - recovery is not None - and attempt_is_recoverable(recovery, now=now, owner_is_failed=owner_is_failed) - and ( - receipt is None - or receipt.verdict == "incomplete" - or attempt_supersedes_receipt(recovery, receipt) - ) - ): - return "qualify", "recoverable abandoned staged attempt" - stale = ( - receipt is not None - and receipt.promotable - and dominates(pair.order_key, current) - and stale_qualification(receipt, bundle, pair_dir, base_commit) - ) - if stale: - # Promotion fast-forwards main to the qualified commit, so it needs a - # qualification built on current main against main's certificate. - # Requalify once per main commit, without force, and one at a time. - if attempt is not None: - return "duplicate", ( - f"a requalification from base {base_commit[:12]} exists" - ) - if attempt_in_flight(pair_dir, now=now, owner_is_failed=owner_is_failed): - return "duplicate", "a requalification is already in flight" - return "qualify", f"promotable but {stale}; requalifying against current main" - if receipt is not None and receipt.verdict != "incomplete": - return "duplicate", f"pair already {receipt.verdict} in the ledger" - if attempt is not None: - return "duplicate", f"an attempt from base {base_commit[:12]} exists" - if attempt_in_flight(pair_dir, now=now, owner_is_failed=owner_is_failed): - # Runs resolved on different main commits must not both stage. - return "duplicate", "an attempt for this pair is in flight" - return "qualify", "new pair, or an incomplete pair on a new base commit" - - -def qualified_base(pair_dir: Path) -> Optional[str]: - """The main commit prefix the pair's published receipt was built on. - - An attempt's key is its base commit's first 12 characters, with ``-`` - for a repeat on the same base. Without ``latest_attempt.json`` (pairs - published before it existed), the attempt whose own receipt is the - published one names it. ``None`` when no attempt does. - """ - - pointer = pair_dir / "latest_attempt.json" - if pointer.exists(): - return str(read_json(pointer)["attempt_key"]).split("-")[0] - published = pair_dir / "qualification_receipt.json" - if not published.exists(): - return None - digest = QualificationReceipt.model_validate(read_json(published)).unreviewed_sha256 - matching = [ - path.parent.name - for path in sorted(pair_dir.glob("attempts/*/qualification_receipt.json")) - if QualificationReceipt.model_validate(read_json(path)).unreviewed_sha256 - == digest - ] - return matching[-1].split("-")[0] if matching else None - - -def stale_qualification( - receipt: QualificationReceipt, - bundle: Mapping[str, Any], - pair_dir: Path, - main_commit: str, -) -> Optional[str]: - """Why a promotable receipt cannot be promoted onto current main, if so. - - Promotion fast-forwards main to the qualified commit, which needs the - qualification to be built on current main and compared against main's - certificate. - """ - - if receipt.previous_certificate != previous_certificate(bundle): - return "qualified against a superseded baseline" - base = qualified_base(pair_dir) - if base is None: - return "qualified on an unrecorded main commit" - if base != main_commit[:12]: - return f"qualified on main {base}, not the current {main_commit[:12]}" - return None - - -def attempt_in_flight( - pair_dir: Path, - *, - now: Optional[str], - owner_is_failed: Optional[Callable[[str], bool]], -) -> bool: - """A staged attempt newer than the published one that is still running: - it has no receipt yet and is not abandoned (a sent replay request is - still running).""" - - stages = list((pair_dir / "attempts").glob("*/staging.json")) - if not stages: - return False - newest = max(stages, key=lambda path: int(read_json(path)["sequence"])).parent - pointer = pair_dir / "latest_attempt.json" - published = read_json(pointer)["attempt_key"] if pointer.exists() else None - return ( - newest.name != published - and not (newest / "qualification_receipt.json").exists() - and not attempt_is_recoverable(newest, now=now, owner_is_failed=owner_is_failed) - ) - - -def requalification_target( - receipts: Iterable[QualificationReceipt], - bundle: Mapping[str, Any], - ledger_root: Path, - main_commit: str, -) -> Optional[CandidatePair]: - """The promotion target, when it must be requalified on current main.""" - - target = select_promotion_target( - _same_line_receipts(receipts, bundle), certified_order_key(bundle) - ) - if target is None: - return None - pair_dir = pair_directory(ledger_root, "uk", target.pair_id) - return ( - target.pair - if stale_qualification(target, bundle, pair_dir, main_commit) - else None - ) - - -# --- Preparing the candidate commit ----------------------------------------- - -#: Test files that pin the certified UK pair literally. Promotion regenerates -#: them with the rest of the certification so the suite tests the new pair. -CERTIFIED_CONSTANT_FILES = ( - "tests/test_models.py", - "tests/test_release_manifests.py", - "tests/test_uk_regions.py", -) - - -def certified_constant_replacements( - old_record: Mapping[str, Any], new_record: Mapping[str, Any] -) -> list[tuple[str, str]]: - """Exact quoted-literal replacements from the old to the new certificate.""" - - def values(record: Mapping[str, Any]) -> dict[str, Optional[str]]: - certification = record.get("certification") or {} - data = record.get("data_package") or {} - return { - "model": (record.get("model_package") or {}).get("version"), - "built_with": certification.get("built_with_model_version"), - "data": data.get("version"), - "build_id": certification.get("data_build_id"), - "revision": data.get("release_manifest_revision"), - } - - old, new = values(old_record), values(new_record) - pairs: list[tuple[str, str]] = [] - for key in ("build_id", "revision", "model", "built_with", "data"): - before, after = old[key], new[key] - if before and after and before != after: - pairs.append((before, after)) - return pairs - - -def rewrite_certified_constants( - repo_root: Path, replacements: Sequence[tuple[str, str]] -) -> list[str]: - """Rewrite quoted occurrences of old certified values in the constant files. - - Only string-literal occurrences change: ``"2.125.1"``, ``"@1.58.0"``, - ``"releases/1.58.0/release_manifest.json"`` and URIs ending ``@1.58.0``. - Returns the files changed. - """ - - changed = [] - for relative in CERTIFIED_CONSTANT_FILES: - path = repo_root / relative - text = path.read_text() - updated = text - for old, new in replacements: - pattern = re.compile( - r'(?P
["@/-])' + re.escape(old) + r'(?P["/])'
-            )
-            updated = pattern.sub(
-                lambda m: m.group("pre") + new + m.group("post"), updated
-            )
-        if updated != text:
-            path.write_text(updated)
-            changed.append(relative)
-    return changed
-
-
-def candidate_branch(pair: CandidatePair) -> str:
-    """The pair's own branch.
-
-    The pair id is part of the name: two pairs that share model and data
-    versions (another core, another wheel, re-published bytes) must never
-    share a branch, or one pair's qualification could promote the other's
-    commit.
-    """
-
-    return (
-        f"candidate/uk/{pair.model.version}-{pair.data.release_version}"
-        f"-{pair.pair_id[:12]}"
-    )
-
-
-def attempt_key(
-    pair: CandidatePair,
-    ledger_root: Optional[Path],
-    *,
-    base_commit: str,
-    force: bool = False,
-    now: Optional[str] = None,
-    owner_is_failed: Optional[Callable[[str], bool]] = None,
-) -> str:
-    """The ledger key of the attempt a qualification run would stage.
-
-    Concurrent runs for the same pair and base deduplicate. Forced runs and
-    recovery of abandoned stages use the next free key, preserving earlier
-    evidence. Recovery follows the newest stage across bases so an unrelated
-    main commit cannot strand an authorized forced replacement.
-    """
-
-    key = base_commit[:12]
-    if ledger_root is None:
-        return key
-    attempt = _latest_staged_attempt(pair, ledger_root)
-    recovering = attempt is not None and attempt_is_recoverable(
-        attempt, now=now, owner_is_failed=owner_is_failed
-    )
-    if not force and not recovering:
-        return key
-    if not attempt_directory(ledger_root, "uk", pair.pair_id, key).exists():
-        return key
-    repeat = 2
-    while attempt_directory(
-        ledger_root, "uk", pair.pair_id, f"{key}-{repeat}"
-    ).exists():
-        repeat += 1
-    return f"{key}-{repeat}"
-
-
-def _latest_staged_attempt(pair: CandidatePair, ledger_root: Path) -> Optional[Path]:
-    """The pair's newest durable stage, independent of its main base commit.
-
-    A newer stage supersedes older recovery work across bases. Inspecting just
-    the current base could overlook abandoned forced work or retry an older
-    stage while its replacement is live.
-    """
-
-    parent = pair_directory(ledger_root, "uk", pair.pair_id) / "attempts"
-    stage = max(
-        parent.glob("*/staging.json"),
-        key=lambda path: int(read_json(path)["sequence"]),
-        default=None,
-    )
-    return stage.parent if stage is not None else None
-
-
-def _latest_base_attempt(
-    pair: CandidatePair, ledger_root: Path, base_commit: str
-) -> Optional[Path]:
-    base = base_commit[:12]
-    parent = pair_directory(ledger_root, "uk", pair.pair_id) / "attempts"
-    attempts = [
-        path
-        for path in parent.glob(f"{base}*")
-        if path.is_dir() and re.fullmatch(re.escape(base) + r"(?:-\d+)?", path.name)
-    ]
-
-    def order(path: Path) -> tuple[int, int]:
-        stage = path / "staging.json"
-        sequence = int(read_json(stage)["sequence"]) if stage.exists() else 0
-        repeat = int(path.name[len(base) + 1 :]) if path.name != base else 1
-        return sequence, repeat
-
-    return max(attempts, key=order, default=None)
-
-
-def changelog_fragment(pair: CandidatePair, basis_note: str) -> str:
-    return (
-        f"Certify uk-data {pair.data.release_version} (`{pair.data.dataset}`) with "
-        f"policyengine-uk {pair.model.version} and policyengine-core "
-        f"{pair.core.version}, qualified automatically as pair "
-        f"`{pair.pair_id[:12]}`. {basis_note}\n"
-    )
-
-
-Runner = Callable[..., subprocess.CompletedProcess]
-
-
-def _run(
-    command: Sequence[str], *, cwd: Path, env: Optional[Mapping[str, str]] = None
-) -> subprocess.CompletedProcess:
-    return subprocess.run(
-        list(command), cwd=cwd, env=dict(env) if env is not None else None, check=True
-    )
-
-
-def regional_certification_arguments(
-    bundle: Mapping[str, Any], pair: CandidatePair
-) -> list[str]:
-    """``certify-data``'s regional flags for certifying ``pair`` onto ``bundle``.
-
-    Certification refuses to drop a bundle's regional routing silently. A pair
-    from another data line (a forced qualification, never promoted) replaces
-    the line the routing belongs to, so the routing is dropped and the pair's
-    national dataset serves every region type. A pair on a routed main's own
-    line is refused: the routing would need a local-area cut for the pair's
-    versions, which a candidate pair does not carry, and automated
-    qualification checks no local-area file.
-    """
-
-    record = bundle["data_releases"]["uk"]
-    regional_uri = record.get("regional_source_manifest_uri")
-    if regional_uri is None:
-        return []
-    if data_line(pair) != certified_data_line(bundle):
-        return ["--drop-regional-release"]
-    raise ValueError(
-        f"Main routes UK area regions to {regional_uri}. Automated "
-        "qualification cannot carry a local-area cut for a candidate on main's "
-        "own data line; certify such a pair by hand, with its local-area cut "
-        "(docs/engineering/skills/data-certification.md)."
-    )
-
-
-def prepare_candidate_commit(
-    repo_root: Path,
-    resolved: ResolvedCandidate,
-    *,
-    python: str,
-    run: Runner = _run,
-    refresh_snapshots: bool = True,
-) -> dict[str, Any]:
-    """Certify the pair into the working tree and regenerate everything with it.
-
-    The working tree must be a clean checkout of the base commit on the
-    candidate branch. Returns what changed; the caller commits it.
-    """
-
-    pair = resolved.pair
-    bundle_path = (
-        repo_root / "src" / "policyengine" / "data" / "bundle" / "manifest.json"
-    )
-    old_bundle = json.loads(bundle_path.read_text())
-    old_record = old_bundle["data_releases"]["uk"]
-    same_line = data_line(pair) == certified_data_line(old_bundle)
-    run(
-        [
-            python,
-            "scripts/bundle.py",
-            "certify-data",
-            "--country",
-            "uk",
-            "--data-producer",
-            "populace",
-            "--manifest-uri",
-            resolved.manifest_uri,
-            "--model-version",
-            pair.model.version,
-            "--core-version",
-            pair.core.version,
-            "--qualified-pair-id",
-            pair.pair_id,
-            "--no-changelog",
-            *regional_certification_arguments(old_bundle, pair),
-        ],
-        cwd=repo_root,
-    )
-    new_bundle = json.loads(bundle_path.read_text())
-    new_record = new_bundle["data_releases"]["uk"]
-    if new_record["model_package"].get("sha256") != pair.model.wheel_sha256:
-        raise ValueError("The certified model wheel hash differs from the candidate's.")
-    if new_record["certified_data_artifact"].get("sha256") != pair.data.dataset_sha256:
-        raise ValueError("The certified dataset hash differs from the candidate's.")
-    run(
-        [
-            "uv",
-            "lock",
-            "--no-config",
-            "--no-sources",
-            "--default-index",
-            "https://pypi.org/simple",
-            "--python",
-            python,
-        ],
-        cwd=repo_root,
-    )
-    run([python, "scripts/release_lock.py"], cwd=repo_root)
-    # Prepare the candidate's replacement sidecars before strict verification:
-    # the committed sidecars still authenticate the previous data release.
-    run(
-        [python, "scripts/bundle.py", "generate", "--include-tros"],
-        cwd=repo_root,
-    )
-    # The constant files pin main's line. Rewriting them by value from
-    # another line's certificate would write that line's values into
-    # unrelated constants, so a cross-line candidate leaves them, and its
-    # tests show the change of line.
-    constants = (
-        rewrite_certified_constants(
-            repo_root, certified_constant_replacements(old_record, new_record)
-        )
-        if same_line
-        else []
-    )
-    basis = new_record["certification"]["compatibility_basis"]
-    basis_note = {
-        "built_with_model_package": "The data was built with this model version.",
-        "legacy_compatible_model_package": "The data publisher's compatibility claim covers this model version.",
-        "qualified_exact_pair": "No publisher claim covers this model version, so the certificate is an exact claim backed by the qualification receipt.",
-    }.get(basis, f"Compatibility basis: {basis}.")
-    fragment = (
-        repo_root
-        / "changelog.d"
-        / (f"certify-uk-{pair.model.version}-{pair.data.release_version}.changed.md")
-    )
-    fragment.write_text(changelog_fragment(pair, basis_note))
-    if refresh_snapshots:
-        run(
-            [
-                python,
-                "-m",
-                "pytest",
-                "tests/test_household_calculator_snapshot.py",
-                "-q",
-            ],
-            cwd=repo_root,
-            env={**os.environ, "PE_UPDATE_SNAPSHOTS": "1"},
-        )
-    run(
-        [python, "scripts/bundle.py", "check", "--include-tros", "--strict-tros"],
-        cwd=repo_root,
-    )
-    return {
-        "compatibility_basis": basis,
-        "constant_files": constants,
-        "changelog_fragment": str(fragment.relative_to(repo_root)),
-    }
-
-
-def packaged_manifest_sha256(repo_root: Path) -> str:
-    path = repo_root / "src" / "policyengine" / "data" / "bundle" / "manifest.json"
-    return hashlib.sha256(path.read_bytes()).hexdigest()
-
-
-# --- Replay request -------------------------------------------------------
-
-
-def expected_release_bundle(python: str, *, cwd: Path) -> dict[str, Optional[str]]:
-    """``dict(pe.uk.uk_latest.release_bundle)`` under packaged certification.
-
-    Runs in a subprocess in the scorecard's certification environment (no
-    tokens, no network for the release-manifest request), so the bundled
-    certification is what is reported for a private or public data repo.
-    """
-
-    env = certification_environment(os.environ)
-    output = subprocess.run(
-        [
-            python,
-            "-c",
-            # The CLI disables automatic country imports. Load the UK API
-            # explicitly so the flag cannot leave pe.uk unset and unrelated
-            # country models need not be initialized for this UK request.
-            "import json; from policyengine.tax_benefit_models.uk import uk_latest; "
-            "print(json.dumps(dict(uk_latest.release_bundle), sort_keys=True))",
-        ],
-        cwd=cwd,
-        env=env,
-        check=True,
-        capture_output=True,
-        text=True,
-    ).stdout
-    bundle: dict[str, Optional[str]] = json.loads(output.strip().splitlines()[-1])
-    return bundle
-
-
-def build_replay_request(
-    pair: CandidatePair,
-    harness: QualificationHarness,
-    *,
-    release_bundle: Mapping[str, Optional[str]],
-    issued_by: IssuedBy,
-    attempt: int = 1,
-    compare_to: str = "latest_certified",
-) -> ReplayQualificationRequest:
-    """The immutable pre-promotion request for the scorecard."""
-
-    return ReplayQualificationRequest.model_validate(
-        {
-            "schema": "policyengine.uk-replay-qualification-request/v1",
-            "kind": "candidate",
-            "attempt": attempt,
-            "candidate": {
-                "policyengine": {
-                    "version": harness.policyengine_version,
-                    "source": {
-                        "git": {
-                            "repository": "PolicyEngine/policyengine.py",
-                            "commit": harness.git_commit,
-                        }
-                    },
-                    "packaged_bundle_manifest_sha256": harness.packaged_bundle_manifest_sha256,
-                },
-                "policyengine_uk": {
-                    "version": pair.model.version,
-                    "wheel_sha256": pair.model.wheel_sha256,
-                },
-                "policyengine_core": {
-                    "version": pair.core.version,
-                    "wheel_sha256": pair.core.wheel_sha256,
-                },
-                "data": {
-                    "build_id": pair.data.build_id,
-                    "dataset": pair.data.dataset,
-                    "repo_id": pair.data.repo_id,
-                    "repo_type": pair.data.repo_type,
-                    "revision": pair.data.dataset_revision,
-                    "path": pair.data.dataset_path,
-                    "sha256": pair.data.dataset_sha256,
-                    "size_bytes": pair.data.size_bytes,
-                    "release_manifest_sha256": pair.data.release_manifest_sha256,
-                },
-                "expected_release_bundle": dict(release_bundle),
-            },
-            "compare_to": compare_to,
-            "requested_by": {
-                "repository": issued_by.repository,
-                "workflow_run_id": issued_by.workflow_run_id,
-                "run_attempt": issued_by.run_attempt,
-                "commit": harness.git_commit,
-                "pair_id": pair.pair_id,
-            },
-        }
-    )
-
-
-def replay_dispatch_payload(
-    request: ReplayQualificationRequest, *, event_type: str
-) -> dict[str, Any]:
-    return {"event_type": event_type, "client_payload": {"request": request.document()}}
-
-
-def replay_state_paths(request_id: str) -> tuple[str, str]:
-    base = f"requests/{request_id}"
-    return f"{base}/STATUS.json", f"{base}/REPLAY_RECEIPT.json"
-
-
-def read_replay(
-    request: ReplayQualificationRequest,
-    *,
-    fetch: Callable[[str, str], Optional[bytes]],
-    state_ref: str,
-    budget_inputs_result: GateResult | None = None,
-    budget_inputs_evidence: Mapping[str, Any] | None = None,
-    probe_result: GateResult | None = None,
-    probe_evidence: Mapping[str, Any] | None = None,
-    attempt_id: str | None = None,
-) -> tuple[GateResult, Optional[ReplayStatus], Optional[ReplayReceipt]]:
-    """Read the scorecard's status and, when terminal, its receipt.
-
-    ``fetch(ref, path)`` returns file bytes from the scorecard repository at
-    a ref or commit, or ``None`` if absent.
-    """
-
-    status_path, receipt_path = replay_state_paths(request.request_id)
-    raw_status = fetch(state_ref, status_path)
-    if raw_status is None:
-        return replay_gate_while_pending(None), None, None
-    status_document = json.loads(raw_status)
-    status = ReplayStatus.model_validate(status_document)
-    conform_to_vendored_schema(status_document, "replay_status.v1.json")
-    if not status.terminal:
-        return replay_gate_while_pending(status), status, None
-    assert status.receipt_commit is not None
-    raw_receipt = fetch(status.receipt_commit, receipt_path)
-    if raw_receipt is None:
-        return (
-            GateResult(
-                gate_id="replay",
-                status="fail",
-                summary=(
-                    f"Status names receipt commit {status.receipt_commit}, which has "
-                    "no REPLAY_RECEIPT.json."
-                ),
-            ),
-            status,
-            None,
-        )
-    receipt = ReplayReceipt.from_document(json.loads(raw_receipt))
-    return (
-        evaluate_replay_receipt(
-            request,
-            status,
-            receipt,
-            budget_inputs_result=budget_inputs_result,
-            budget_inputs_evidence=budget_inputs_evidence,
-            probe_result=probe_result,
-            probe_evidence=probe_evidence,
-            attempt_id=attempt_id,
-        ),
-        status,
-        receipt,
-    )
-
-
-# --- Finalizing ---------------------------------------------------------------
-
-
-def assemble_receipt(
-    pair: CandidatePair,
-    harness: QualificationHarness,
-    gates: Sequence[GateResult],
-    *,
-    issued_by: IssuedBy,
-    completed_at: str,
-    previous: Optional[PreviousCertificate],
-    replay: Optional[ReplayReference],
-) -> QualificationReceipt:
-    """A receipt whose verdict follows from the gates; missing gates count as missing."""
-
-    ordered = sorted(
-        gates,
-        key=lambda gate: (
-            REQUIRED_GATES.index(gate.gate_id)
-            if gate.gate_id in REQUIRED_GATES
-            else len(REQUIRED_GATES),
-            gate.gate_id,
-        ),
-    )
-    return QualificationReceipt(
-        schema_version=1,
-        receipt_type="policyengine.candidate_qualification_receipt",
-        pair_id=pair.pair_id,
-        pair=pair,
-        harness=harness,
-        previous_certificate=previous,
-        replay=replay,
-        gates=list(ordered),
-        verdict=qualification_verdict(ordered),
-        issued_by=issued_by,
-        completed_at=completed_at,
-    )
-
-
-def accept_review(
-    receipt: QualificationReceipt,
-    *,
-    reviewer: str,
-    accepted_receipt_sha256: str,
-    explanation: str,
-    accepted_at: str,
-) -> QualificationReceipt:
-    """Attach a reviewer's acceptance of exactly this needs-review receipt."""
-
-    if receipt.verdict != "needs_review":
-        raise ValueError(
-            f"Only needs-review receipts can be accepted, not {receipt.verdict}."
-        )
-    if accepted_receipt_sha256 != receipt.unreviewed_sha256:
-        raise ValueError(
-            "The acceptance names different receipt bytes "
-            f"({accepted_receipt_sha256}, current {receipt.unreviewed_sha256})."
-        )
-    publications = {
-        item["publication"]
-        for gate in receipt.gates
-        if gate.gate_id == "replay"
-        for item in gate.details.get("applied_exceptions", [])
-        if isinstance(item.get("publication"), str)
-    }
-    if any(publication not in explanation for publication in publications):
-        raise ValueError(
-            "Acceptance must restate each data-limited exception's publication "
-            "designation: " + "; ".join(sorted(publications))
-        )
-    return receipt.model_copy(
-        update={
-            "review": ReviewAcceptance(
-                reviewer=reviewer,
-                accepted_at=accepted_at,
-                accepted_receipt_sha256=accepted_receipt_sha256,
-                explanation=explanation,
-            )
-        }
-    )
-
-
-# --- Attempt directories -----------------------------------------------------
-#
-# Every step of an attempt reads and writes one directory inside the ledger
-# checkout (``//attempts//``), so a
-# scheduled catch-up can finish an attempt whose replay outlasted its job with
-# exactly the code path the job would have run.
-
-
-def stage_attempt(
-    attempt_dir: Path,
-    candidate_payload: Mapping[str, Any],
-    harness: QualificationHarness,
-    *,
-    owner_run_id: Optional[str] = None,
-    staged_at: Optional[str] = None,
-) -> None:
-    payloads = {
-        attempt_dir / "candidate.json": dict(candidate_payload),
-        attempt_dir / "harness.json": harness.canonical_payload(),
-    }
-    for path, payload in payloads.items():
-        if path.exists() and read_json(path) != payload:
-            raise ValueError(f"A staged attempt's {path.name} is immutable.")
-    staging_path = attempt_dir / "staging.json"
-    if not staging_path.exists():
-        # Persist staging order in the ledger, never infer it from finalization
-        # time, commit hashes or filesystem mtimes. Legacy attempts precede
-        # newly staged attempts and keep their existing receipt bytes.
-        prior_orders = [
-            int(read_json(path)["sequence"])
-            for path in attempt_dir.parent.glob("*/staging.json")
-        ]
-        staged = _attempt_time(staged_at)
-        stage = {
-            "sequence": max(prior_orders, default=0) + 1,
-            "owner_run_id": owner_run_id,
-            "staged_at": staged.isoformat().replace("+00:00", "Z"),
-            "expires_at": (staged + timedelta(hours=4))
-            .isoformat()
-            .replace("+00:00", "Z"),
-        }
-        supersedes = candidate_payload.get("supersedes_receipt_sha256")
-        if supersedes:
-            published = attempt_dir.parent.parent / "qualification_receipt.json"
-            if (
-                not published.exists()
-                or QualificationReceipt.model_validate(
-                    read_json(published)
-                ).unreviewed_sha256
-                != supersedes
-            ):
-                raise ValueError(
-                    "Recovery must bind the exact receipt the forced attempt supersedes"
-                )
-            stage["supersedes_receipt_sha256"] = supersedes
-        write_json(staging_path, stage)
-    for path, payload in payloads.items():
-        if not path.exists():
-            write_json(path, payload)
-
-
-def write_gate_results(
-    attempt_dir: Path, results: Sequence[GateResult], evidence: Mapping[str, Any]
-) -> None:
-    evidence = dict(evidence)
-    results = list(results)
-    if "budget_inputs" in evidence and (attempt_dir / "candidate.json").exists():
-        item = dict(evidence["budget_inputs"])
-        attempt_id = attempt_evidence_id(attempt_dir)
-        identity = {"pair_id": attempt_id.partition("/")[0], "attempt_id": attempt_id}
-        if any(key in item and item[key] != value for key, value in identity.items()):
-            raise ValueError(
-                "Budget-input evidence belongs to a different pair or attempt."
-            )
-        item.update(identity)
-        evidence["budget_inputs"] = item
-        results = [
-            result.model_copy(update={"evidence_sha256": content_sha256(item)})
-            if result.gate_id == "budget_inputs"
-            else result
-            for result in results
-        ]
-    for result in results:
-        write_json(
-            attempt_dir / "gates" / f"{result.gate_id}.result.json",
-            result.canonical_payload(),
-        )
-    for gate_id, item in evidence.items():
-        write_json(attempt_dir / "gates" / f"{gate_id}.json", item)
-
-
-def load_gate_results(attempt_dir: Path) -> list[GateResult]:
-    results = [
-        GateResult.model_validate(read_json(path))
-        for path in sorted((attempt_dir / "gates").glob("*.result.json"))
-        # The synthetic probe authorizes an exception; it is not an additional
-        # independent gate for candidates that do not need an exception.
-        if path.name != "replay_probe.result.json"
-    ]
-    replay = attempt_dir / "replay" / "replay.result.json"
-    if replay.exists():
-        results = [gate for gate in results if gate.gate_id != "replay"]
-        results.append(GateResult.model_validate(read_json(replay)))
-    return results
-
-
-def load_attempt_budget_inputs(
-    attempt_dir: Path,
-) -> tuple[GateResult | None, Mapping[str, Any] | None]:
-    """Load digest-bound input evidence from this qualification attempt only.
-
-    Absent or altered evidence cannot authorize a replay exception. Legacy
-    attempts without these files retain the ordinary replay rules.
-    """
-
-    result_path = attempt_dir / "gates" / "budget_inputs.result.json"
-    evidence_path = attempt_dir / "gates" / "budget_inputs.json"
-    try:
-        result = GateResult.model_validate(read_json(result_path))
-        evidence = read_json(evidence_path)
-        attempt_id = attempt_evidence_id(attempt_dir)
-        if (
-            result.gate_id != "budget_inputs"
-            or not isinstance(evidence, Mapping)
-            or evidence.get("attempt_id") != attempt_id
-            or evidence.get("pair_id") != attempt_id.partition("/")[0]
-            or result.evidence_sha256 != content_sha256(evidence)
-        ):
-            return None, None
-    except (OSError, ValueError, TypeError, KeyError):
-        return None, None
-    return result, evidence
-
-
-def attempt_evidence_id(attempt_dir: Path) -> str:
-    """Stable identity across job checkouts, including the exact candidate pair.
-
-    Attempt directory names alone repeat across pairs at the same base commit.
-    """
-
-    candidate = read_json(attempt_dir / "candidate.json")
-    pair = CandidatePair.model_validate(candidate["pair"])
-    return f"{pair.pair_id}/{attempt_dir.name}"
-
-
-def load_attempt_replay_probe(
-    attempt_dir: Path,
-) -> tuple[GateResult | None, Mapping[str, Any] | None]:
-    """Read this attempt's probe, never a cached result from another attempt."""
-
-    result_path = attempt_dir / "gates" / "replay_probe.result.json"
-    evidence_path = attempt_dir / "gates" / "replay_probe.json"
-    try:
-        result = GateResult.model_validate(read_json(result_path))
-        evidence = read_json(evidence_path)
-        if (
-            result.gate_id != "replay_probe"
-            or not isinstance(evidence, Mapping)
-            or evidence.get("attempt_id") != attempt_evidence_id(attempt_dir)
-            or result.evidence_sha256 != content_sha256(evidence)
-        ):
-            return None, None
-    except (OSError, ValueError, TypeError, KeyError):
-        return None, None
-    return result, evidence
-
-
-def finalize_attempt(
-    attempt_dir: Path,
-    ledger_root: Path,
-    *,
-    issued_by: IssuedBy,
-    completed_at: str,
-) -> QualificationReceipt:
-    """Assemble and record the receipt for a staged attempt."""
-
-    receipt_path = attempt_dir / "qualification_receipt.json"
-    existing = None
-    if receipt_path.exists():
-        existing = QualificationReceipt.model_validate(read_json(receipt_path))
-        if existing.verdict != "incomplete":
-            # A terminal attempt is immutable, including its completion time.
-            # Retry publication if an earlier run stopped after saving it.
-            _publish_latest_attempt_receipt(attempt_dir, ledger_root, existing)
-            return existing
-    candidate = read_json(attempt_dir / "candidate.json")
-    pair = CandidatePair.model_validate(candidate["pair"])
-    harness = QualificationHarness.model_validate(
-        read_json(attempt_dir / "harness.json")
-    )
-    gates = load_gate_results(attempt_dir)
-    cached_replay = next((gate for gate in gates if gate.gate_id == "replay"), None)
-    if not any(gate.gate_id == "replay" for gate in gates):
-        gates.append(replay_gate_while_pending(None))
-    previous = (
-        PreviousCertificate.model_validate(candidate["previous_certificate"])
-        if candidate.get("previous_certificate")
-        else None
-    )
-    replay_reference = None
-    replay_reevaluated = False
-    request_path = attempt_dir / "replay" / "request.json"
-    if request_path.exists():
-        request = ReplayQualificationRequest.model_validate(read_json(request_path))
-        status_path = attempt_dir / "replay" / "status.json"
-        status = (
-            ReplayStatus.model_validate(read_json(status_path))
-            if status_path.exists()
-            else None
-        )
-        replay_receipt_path = attempt_dir / "replay" / "receipt.json"
-        if status is not None and status.terminal and replay_receipt_path.exists():
-            # Reevaluate the received bytes with this attempt's input evidence;
-            # a cached replay result must not bypass its missing-input condition.
-            budget_result, budget_evidence = load_attempt_budget_inputs(attempt_dir)
-            probe_result, probe_evidence = load_attempt_replay_probe(attempt_dir)
-            replay_gate = evaluate_replay_receipt(
-                request,
-                status,
-                ReplayReceipt.from_document(read_json(replay_receipt_path)),
-                budget_inputs_result=budget_result,
-                budget_inputs_evidence=budget_evidence,
-                probe_result=probe_result,
-                probe_evidence=probe_evidence,
-                attempt_id=attempt_evidence_id(attempt_dir),
-            )
-            replay_reevaluated = True
-            gates = [gate for gate in gates if gate.gate_id != "replay"]
-            gates.append(replay_gate)
-            write_json(
-                attempt_dir / "replay" / "replay.result.json",
-                replay_gate.canonical_payload(),
-            )
-        replay_reference = ReplayReference(
-            request_id=request.request_id,
-            receipt_sha256=status.receipt_sha256 if status else None,
-            receipt_commit=status.receipt_commit if status else None,
-        )
-    if (
-        not replay_reevaluated
-        and cached_replay is not None
-        and cached_replay.details.get("applied_exceptions")
-    ):
-        # Exceptions must be evaluated again against the attempt's current
-        # input evidence; a cached waiver cannot substitute for received bytes.
-        replay_gate = GateResult(
-            gate_id="replay",
-            status="fail",
-            summary=(
-                "Cached replay exceptions cannot be validated without this "
-                "attempt's request, terminal status and receipt."
-            ),
-            details={
-                "cached_applied_exceptions": cached_replay.details[
-                    "applied_exceptions"
-                ],
-                "regressions": [{"kind": "unverifiable_exception"}],
-            },
-        )
-        gates = [gate for gate in gates if gate.gate_id != "replay"]
-        gates.append(replay_gate)
-        write_json(
-            attempt_dir / "replay" / "replay.result.json",
-            replay_gate.canonical_payload(),
-        )
-    receipt = assemble_receipt(
-        pair,
-        harness,
-        gates,
-        issued_by=issued_by,
-        completed_at=completed_at,
-        previous=previous,
-        replay=replay_reference,
-    )
-    # Pending receipts may advance to terminal when replay finishes. Preserve
-    # every version under its digest; terminal attempt receipts never change.
-    if existing is not None:
-        snapshot = attempt_dir / "receipts" / f"{existing.receipt_sha256}.json"
-        if not snapshot.exists():
-            write_json(snapshot, existing.canonical_payload())
-    snapshot = attempt_dir / "receipts" / f"{receipt.receipt_sha256}.json"
-    if not snapshot.exists():
-        write_json(snapshot, receipt.canonical_payload())
-    write_json(receipt_path, receipt.canonical_payload())
-    _publish_latest_attempt_receipt(attempt_dir, ledger_root, receipt)
-    return receipt
-
-
-def _publish_latest_attempt_receipt(
-    attempt_dir: Path, ledger_root: Path, receipt: QualificationReceipt
-) -> None:
-    """Publish by staging order, repairing interrupted publication on retry."""
-
-    pair = receipt.pair
-    pair_dir = pair_directory(ledger_root, "uk", pair.pair_id)
-    write_json(pair_dir / "pair.json", pair.canonical_payload())
-    staging_path = attempt_dir / "staging.json"
-    sequence = int(read_json(staging_path)["sequence"]) if staging_path.exists() else 0
-    latest_path = pair_dir / "qualification_receipt.json"
-    latest_attempt_path = pair_dir / "latest_attempt.json"
-    latest_sequence = -1
-    latest_attempt_key = None
-    latest_pointer = (
-        read_json(latest_attempt_path) if latest_attempt_path.exists() else None
-    )
-    if latest_path.exists():
-        # Receipt identity is authoritative: a crash can leave a stale pointer.
-        # Recover staging order from immutable receipts/snapshots, including
-        # old ledgers and receipts with a receipt-bound acceptance.
-        latest = QualificationReceipt.model_validate(read_json(latest_path))
-        latest_sequence = 0
-        previous_paths = [
-            *pair_dir.glob("attempts/*/qualification_receipt.json"),
-            *pair_dir.glob("attempts/*/receipts/*.json"),
-        ]
-        for previous_path in previous_paths:
-            previous = QualificationReceipt.model_validate(read_json(previous_path))
-            if previous.unreviewed_sha256 != latest.unreviewed_sha256:
-                continue
-            previous_attempt = (
-                previous_path.parent.parent
-                if previous_path.parent.name == "receipts"
-                else previous_path.parent
-            )
-            previous_stage = previous_attempt / "staging.json"
-            previous_sequence = (
-                int(read_json(previous_stage)["sequence"])
-                if previous_stage.exists()
-                else 0
-            )
-            if previous_sequence >= latest_sequence:
-                latest_sequence = previous_sequence
-                latest_attempt_key = previous_attempt.name
-    elif latest_pointer is not None:
-        # Preserve the known order if only the publication pointer survived.
-        latest_sequence = int(latest_pointer["sequence"])
-        latest_attempt_key = latest_pointer["attempt_key"]
-    same_attempt = latest_attempt_key == attempt_dir.name
-    update_pending = (
-        same_attempt
-        and latest_path.exists()
-        and QualificationReceipt.model_validate(read_json(latest_path)).verdict
-        == "incomplete"
-    )
-    if (
-        sequence > latest_sequence
-        or update_pending
-        or (same_attempt and not latest_path.exists())
-    ):
-        write_json(latest_path, receipt.canonical_payload())
-        latest_attempt_key = attempt_dir.name
-        latest_sequence = sequence
-    expected_pointer = {"attempt_key": latest_attempt_key, "sequence": latest_sequence}
-    if latest_attempt_key is not None and latest_pointer != expected_pointer:
-        # Repair only the pointer when the published receipt already belongs
-        # to the latest attempt, preserving any receipt-bound review acceptance.
-        write_json(latest_attempt_path, expected_pointer)
-
-
-def attempt_is_waiting_for_replay(attempt_dir: Path) -> bool:
-    """A request was sent and the replay gate has not reached a terminal result."""
-
-    if not (attempt_dir / "replay" / "request.json").exists():
-        return False
-    result = attempt_dir / "replay" / "replay.result.json"
-    if not result.exists():
-        return True
-    return GateResult.model_validate(read_json(result)).status == "unavailable"
-
-
-def _attempt_time(value: Optional[str]) -> datetime:
-    instant = (
-        datetime.fromisoformat(value.replace("Z", "+00:00"))
-        if value
-        else datetime.now(UTC)
-    )
-    if instant.tzinfo is None:
-        raise ValueError("Attempt timestamps must have a timezone")
-    return instant.astimezone(UTC)
-
-
-def attempt_is_recoverable(
-    attempt_dir: Path,
-    *,
-    now: Optional[str] = None,
-    owner_is_failed: Optional[Callable[[str], bool]] = None,
-) -> bool:
-    """An abandoned stage can be retried in a new immutable attempt directory.
-
-    Sent requests retain the replay catch-up path. A live owner retains its
-    stage until expiry; unknown GitHub status never implies owner failure.
-    Older stages without ownership metadata are recoverable as unowned work.
-    """
-
-    if (attempt_dir / "replay" / "request.json").exists():
-        return False
-    receipt_path = attempt_dir / "qualification_receipt.json"
-    if (
-        receipt_path.exists()
-        and QualificationReceipt.model_validate(read_json(receipt_path)).verdict
-        != "incomplete"
-    ):
-        return False
-    stage_path = attempt_dir / "staging.json"
-    if not stage_path.exists() or not (attempt_dir / "candidate.json").exists():
-        return False
-    stage = read_json(stage_path)
-    expires = stage.get("expires_at")
-    if expires and _attempt_time(now) >= _attempt_time(expires):
-        return True
-    owner = stage.get("owner_run_id")
-    if owner and owner_is_failed is not None and owner_is_failed(str(owner)):
-        return True
-    return not owner and not expires
-
-
-def attempt_supersedes_receipt(
-    attempt_dir: Path, receipt: QualificationReceipt
-) -> bool:
-    """Only explicitly authorized newer work may supersede a terminal receipt."""
-
-    stage = attempt_dir / "staging.json"
-    return (
-        stage.exists()
-        and read_json(stage).get("supersedes_receipt_sha256")
-        == receipt.unreviewed_sha256
-    )
-
-
-# --- Promotion ----------------------------------------------------------------
-
-
-@dataclass
-class PromotionPlan:
-    target: Optional[QualificationReceipt]
-    ready_branch: Optional[str]
-    close_branches: list[str] = field(default_factory=list)
-    reason: str = ""
-    #: The qualified commit the ready branch must still be at when promoted.
-    ready_commit: Optional[str] = None
-    #: The target, when its qualification compared against an earlier
-    #: certificate than main's: it needs requalifying before promotion.
-    requalify: Optional[CandidatePair] = None
-    #: Open candidate branches whose pair is not on main's data line. They are
-    #: never promoted, so their pull requests are closed.
-    close_off_line: list[str] = field(default_factory=list)
-
-
-def plan_promotion(
-    receipts: Iterable[QualificationReceipt],
-    bundle: Mapping[str, Any],
-    open_candidate_branches: Mapping[str, str],
-) -> PromotionPlan:
-    """What to do with candidate PRs given the ledger and ``main``'s certificate.
-
-    ``open_candidate_branches`` maps each open candidate branch to its head
-    commit. The target's branch is readied only while its head is exactly
-    the commit the target's qualification ran on
-    (``receipt.harness.git_commit``): the replayed and tested bytes are the
-    promoted bytes. The comparison certificate must also still equal main's;
-    otherwise the candidate needs a forced qualification of all gates against
-    the current baseline. A stale baseline cannot supersede other candidates.
-    A branch that moved since is left alone and reported.
-    """
-
-    # Only pairs on main's data line are ordered against it. A pair from
-    # another line is never promoted, so its pull request is closed, but only
-    # at the commit its receipt qualified: a newer head is a forced re-run
-    # still in flight, which its own receipt decides. The ledger keeps the
-    # evidence.
-    same_line, off_line = split_by_data_line(receipts, bundle)
-    plan = _plan_same_line_promotion(same_line, bundle, open_candidate_branches)
-    plan.close_off_line = sorted(
-        {
-            candidate_branch(receipt.pair)
-            for receipt in off_line
-            if open_candidate_branches.get(candidate_branch(receipt.pair))
-            == receipt.harness.git_commit
-        }
-    )
-    return plan
-
-
-def _plan_same_line_promotion(
-    receipts: Sequence[QualificationReceipt],
-    bundle: Mapping[str, Any],
-    open_candidate_branches: Mapping[str, str],
-) -> PromotionPlan:
-    current = certified_order_key(bundle)
-    target = select_promotion_target(receipts, current)
-    baseline_matches = target is not None and (
-        target.previous_certificate == previous_certificate(bundle)
-    )
-    branch_pairs = {}
-    for receipt in receipts:
-        branch_pairs[candidate_branch(receipt.pair)] = receipt.pair.order_key
-    close = []
-    for branch in open_candidate_branches:
-        key = branch_pairs.get(branch)
-        if key is None:
-            continue
-        if key == current or dominates(current, key):
-            close.append(branch)
-        elif baseline_matches and dominates(target.pair.order_key, key):
-            close.append(branch)
-    if target is None:
-        return PromotionPlan(
-            target=None,
-            ready_branch=None,
-            close_branches=sorted(close),
-            reason=f"no promotable pair advances {current}",
-        )
-    if not baseline_matches:
-        return PromotionPlan(
-            target=target,
-            ready_branch=None,
-            close_branches=sorted(close),
-            reason=(
-                f"{target.pair.order_key} advances {current}, but its previous "
-                "certificate differs from current main; it is requalified "
-                "against current main before promotion"
-            ),
-            requalify=target.pair,
-        )
-    branch = candidate_branch(target.pair)
-    qualified_commit = target.harness.git_commit
-    head = open_candidate_branches.get(branch)
-    if head is None:
-        return PromotionPlan(
-            target=target,
-            ready_branch=None,
-            close_branches=sorted(close),
-            reason=(
-                f"{target.pair.order_key} advances {current}, but its branch "
-                f"{branch} has no open pull request"
-            ),
-        )
-    if head != qualified_commit:
-        return PromotionPlan(
-            target=target,
-            ready_branch=None,
-            close_branches=sorted(close),
-            reason=(
-                f"{target.pair.order_key} advances {current}, but {branch} is at "
-                f"{head[:12]}, not the qualified commit {qualified_commit[:12]}; "
-                "nothing is promoted"
-            ),
-        )
-    return PromotionPlan(
-        target=target,
-        ready_branch=branch,
-        ready_commit=qualified_commit,
-        close_branches=sorted(close),
-        reason=f"{target.pair.order_key} advances {current}",
-    )
-
-
-def candidate_pr_body(
-    receipt: Optional[QualificationReceipt],
-    pair: CandidatePair,
-    *,
-    ledger_url: str,
-    on_main_line: bool,
-    prepared: Optional[Mapping[str, Any]] = None,
-) -> str:
-    """Markdown body for a candidate PR: the pair, the gates and the verdict.
-
-    ``on_main_line`` is false for a pair from another data line than main's
-    certificate (a forced qualification), which is never promoted.
-    """
-
-    lines = [
-        f"Automated certification candidate for **policyengine-uk {pair.model.version}**, "
-        f"**policyengine-core {pair.core.version}** and **uk-data {pair.data.release_version}** "
-        f"(`{pair.data.dataset}`, sha256 `{pair.data.dataset_sha256[:16]}โ€ฆ`).",
-        "",
-        f"- Pair id: `{pair.pair_id}`",
-        f"- Ledger: {ledger_url}",
-    ]
-    if prepared:
-        lines.append(f"- Compatibility basis: `{prepared.get('compatibility_basis')}`")
-    lines += ["", "| Gate | Status | Summary |", "|---|---|---|"]
-    gates = {gate.gate_id: gate for gate in (receipt.gates if receipt else [])}
-    for gate_id in REQUIRED_GATES:
-        gate = gates.get(gate_id)
-        if gate is None:
-            lines.append(f"| `{gate_id}` | pending | |")
-        else:
-            summary = gate.summary.replace("|", "\\|").replace("\n", " ")
-            lines.append(f"| `{gate_id}` | {gate.status} | {summary} |")
-    verdict = receipt.verdict if receipt else "pending"
-    if on_main_line:
-        outcome = (
-            "Merging this PR promotes the pair; the certification evidence test "
-            "refuses an exact-pair certificate without a promotable ledger receipt."
-        )
-    else:
-        outcome = (
-            "This pair is not on main's data line, so it was qualified for "
-            "evidence only and is never promoted. Its tests fail by design, and "
-            "promotion closes this PR; the ledger keeps the evidence."
-        )
-    lines += [
-        "",
-        f"**Verdict: {verdict}.** {outcome}",
-        "",
-        "๐Ÿค– Generated with [Claude Code](https://claude.com/claude-code)",
-    ]
-    return "\n".join(lines) + "\n"
-
-
-# --- Release dispatch to consumers ----------------------------------------------
-
-
-def release_bundle_identity(
-    bundle: Mapping[str, Any], country_id: str = "uk"
-) -> dict[str, Any]:
-    """The certified pair a release carries, as consumers verify it."""
-
-    record = bundle["data_releases"][country_id]
-    certification = record.get("certification") or {}
-    model_package = bundle["countries"][country_id]["model_package"]
-    return {
-        "model_version": record["model_package"]["version"],
-        "model_wheel_sha256": record["model_package"].get("sha256"),
-        "core_version": bundle["packages"][CORE_PACKAGE]["version"],
-        "data_release_version": record["data_package"]["version"],
-        "dataset": record["default_dataset"],
-        "dataset_sha256": record["certified_data_artifact"].get("sha256"),
-        "certificate_sha256": certificate_sha256(record),
-        "compatibility_basis": certification.get("compatibility_basis"),
-        "model_package": model_package,
-    }
-
-
-def release_dispatch_payload(
-    bundle: Mapping[str, Any],
-    *,
-    version: str,
-    repository: str = "PolicyEngine/policyengine.py",
-    fetch_receipt: Optional[
-        Callable[[str, str], Optional[QualificationReceipt]]
-    ] = None,
-) -> dict[str, Any]:
-    """``policyengine-release`` repository dispatch for consumers.
-
-    ``client_payload.version`` stays the first field, as the existing
-    sim-api and api updaters read only it.
-    """
-
-    if bundle.get("policyengine_version") != version:
-        raise ValueError(
-            f"The bundle manifest is for {bundle.get('policyengine_version')}, not {version}."
-        )
-    identity = release_bundle_identity(bundle)
-    qualification = None
-    certification = bundle["data_releases"]["uk"].get("certification") or {}
-    pair_id = certification.get("qualification_pair_id")
-    if pair_id:
-        receipt = fetch_receipt("uk", pair_id) if fetch_receipt is not None else None
-        qualification = {
-            "uk": {
-                "pair_id": pair_id,
-                "verdict": receipt.verdict if receipt is not None else None,
-                # needs_review pairs are promotable only with an acceptance of
-                # exactly that receipt; consumers refuse promotable=false.
-                "promotable": receipt.promotable if receipt is not None else None,
-                "receipt_sha256": receipt.receipt_sha256
-                if receipt is not None
-                else None,
-            }
-        }
-    return {
-        "event_type": "policyengine-release",
-        "client_payload": {
-            "version": version,
-            "bundle": {"uk": identity},
-            "qualification": qualification,
-            "release_url": f"https://github.com/{repository}/releases/tag/{version}",
-        },
-    }
-
-
-def released_bundle_request(
-    bundle: Mapping[str, Any],
-    *,
-    version: str,
-    wheel_sha256: str,
-    packaged_manifest_sha256: str,
-    release_bundle: Mapping[str, Optional[str]],
-    hf_file: Callable[[str, str, str, str], bytes],
-    pypi_project: Callable[[str], Mapping[str, Any]],
-    requested_by: Mapping[str, Any],
-    hf_size: Optional[Callable[[str, str, str, str], int]] = None,
-) -> ReplayQualificationRequest:
-    """``released_bundle`` replay request for a published policyengine release.
-
-    ``hf_file`` and ``hf_size`` take a repository id, revision, path and
-    repository type. The dataset's size comes from the release manifest, or
-    from ``hf_size`` when the manifest records none, as Microcosm's do not.
-    """
-
-    record = bundle["data_releases"]["uk"]
-    data_package = record["data_package"]
-    repo_type = data_package.get("repo_type", "model")
-    manifest_bytes = hf_file(
-        data_package["repo_id"],
-        data_package["release_manifest_revision"],
-        data_package["release_manifest_path"],
-        repo_type,
-    )
-    manifest = DataReleaseManifest.model_validate_json(manifest_bytes)
-    dataset = record["default_dataset"]
-    artifact = manifest.artifacts[dataset]
-    reference = record["datasets"][dataset]
-    if reference.get("sha256") != artifact.sha256:
-        raise ValueError(
-            "The release manifest's dataset hash differs from the bundle's."
-        )
-    data_repo_id = reference.get("repo_id") or data_package["repo_id"]
-    data_repo_type = reference.get("repo_type") or repo_type
-    size_bytes = artifact.size_bytes
-    if size_bytes is None:
-        if hf_size is None:
-            raise ValueError(
-                f"The release manifest records no size for {dataset!r}; pass "
-                "hf_size to read it from Hugging Face."
-            )
-        size_bytes = hf_size(
-            data_repo_id, reference["revision"], reference["path"], data_repo_type
-        )
-    core_version = bundle["packages"][CORE_PACKAGE]["version"]
-    core_wheel = _wheel(
-        pypi_project(CORE_PACKAGE)["releases"][core_version], CORE_PACKAGE, core_version
-    )
-    return ReplayQualificationRequest.model_validate(
-        {
-            "schema": "policyengine.uk-replay-qualification-request/v1",
-            "kind": "released_bundle",
-            "attempt": 1,
-            "candidate": {
-                "policyengine": {
-                    "version": version,
-                    "source": {"pypi": {"wheel_sha256": wheel_sha256}},
-                    "packaged_bundle_manifest_sha256": packaged_manifest_sha256,
-                },
-                "policyengine_uk": {
-                    "version": record["model_package"]["version"],
-                    "wheel_sha256": record["model_package"]["sha256"],
-                },
-                "policyengine_core": {
-                    "version": core_version,
-                    "wheel_sha256": core_wheel.sha256,
-                },
-                "data": {
-                    "build_id": record["certified_data_artifact"].get("build_id")
-                    or record["build_id"],
-                    "dataset": dataset,
-                    "repo_id": data_repo_id,
-                    "repo_type": data_repo_type,
-                    "revision": reference["revision"],
-                    "path": reference["path"],
-                    "sha256": reference["sha256"],
-                    "size_bytes": size_bytes,
-                    "release_manifest_sha256": hashlib.sha256(
-                        manifest_bytes
-                    ).hexdigest(),
-                },
-                "expected_release_bundle": dict(release_bundle),
-            },
-            "compare_to": "latest_certified",
-            "requested_by": dict(requested_by),
-        }
-    )
diff --git a/src/policyengine/tax_benefit_models/uk/budget_reform_contract.py b/src/policyengine/tax_benefit_models/uk/budget_reform_contract.py
index 7e5914d7d..64c81827c 100644
--- a/src/policyengine/tax_benefit_models/uk/budget_reform_contract.py
+++ b/src/policyengine/tax_benefit_models/uk/budget_reform_contract.py
@@ -8,9 +8,8 @@
 day-weighted fiscal-year annualisation written here), and that applying a
 reform never changes the baseline.
 
-Qualification imports :func:`run_budget_reform_contract` and gates a
-candidate model and data pair on its report. The contract lives here rather
-than in policyengine-uk so a candidate model release never grades itself.
+The contract lives here rather than in policyengine-uk so a model release
+never grades itself.
 
 Routes
 ------
@@ -1443,8 +1442,8 @@ class _WrapperHouseholdRoute:
 
     def _call(self, case: Case, year: int, reform, variables: Sequence[str]):
         # The module ``policyengine.uk`` names, imported directly: a process
-        # that sets POLICYENGINE_SKIP_COUNTRY_IMPORTS, as the qualification
-        # scripts do, leaves ``policyengine.uk`` as None.
+        # that sets POLICYENGINE_SKIP_COUNTRY_IMPORTS leaves
+        # ``policyengine.uk`` as None.
         from policyengine.tax_benefit_models import uk
 
         household = case.household
diff --git a/src/policyengine/tax_benefit_models/uk/budget_reform_population.py b/src/policyengine/tax_benefit_models/uk/budget_reform_population.py
index 83775f80f..25ae21409 100644
--- a/src/policyengine/tax_benefit_models/uk/budget_reform_population.py
+++ b/src/policyengine/tax_benefit_models/uk/budget_reform_population.py
@@ -63,9 +63,8 @@
 than 10"``), and no total over fewer than 10 changed records. The rule
 covers counts and totals only, not an error's message or the difference
 between two rows' figures (two routes' rows share a subsample), so the raw
-report is not for publication. The qualification ledger publishes from it
-only the fixed row fields and the top-level findings; the rule here keeps
-raw copies (test fixtures, local runs) free of small counts too. A detail
+report is not for publication; the rule here keeps raw copies (test
+fixtures, local runs) free of small counts too. A detail
 that cannot be checked turns its row into an error, so the report does not
 hold.
 """
diff --git a/tests/fixtures/replay_exceptions/README.md b/tests/fixtures/replay_exceptions/README.md
deleted file mode 100644
index 3deabf4c3..000000000
--- a/tests/fixtures/replay_exceptions/README.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# UK replay data-limited exception fixtures
-
-The four `*2.134.7*.json` files are byte-for-byte copies of the Budget
-coordinator's 17 October 2026 decision fixtures. They contain national
-aggregates and provenance only, with no survey-level records. The archived
-qualification receipt retains its original v1 policy and digest; it is
-historical evidence, not a payload produced by the new gate.
-
-The original replay request was not supplied. Tests preserve the archived
-receipt and construct a request from its execution identity, then rebind and
-reseal a copy. All integrity failures, corpus records and diff rows remain
-unchanged. This tests the real regression evidence without claiming an
-unavailable original request binding.
-
-`main_replay_policy.py.txt` freezes the evaluator and its gap helper from
-commit `3a278490102f`; `main_policy_metadata.json` records that commit's
-policy id and text digest. Differential tests compare the complete gate
-result against that oracle, removing only the new exception provenance
-fields and the deliberately changed policy id/digest. A subprocess also
-checks every replay evaluation in the existing contract suite, including
-Hypothesis-generated receipts.
diff --git a/tests/fixtures/replay_exceptions/main_policy_metadata.json b/tests/fixtures/replay_exceptions/main_policy_metadata.json
deleted file mode 100644
index e9e156c45..000000000
--- a/tests/fixtures/replay_exceptions/main_policy_metadata.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "commit": "3a278490102f",
-  "policy": "d1344-replay-regressions-v1",
-  "policy_sha256": "65ecaf44289624b6aae001068099250e789424854ed2b29ead86b71845a7dfa0"
-}
diff --git a/tests/fixtures/replay_exceptions/main_replay_policy.py.txt b/tests/fixtures/replay_exceptions/main_replay_policy.py.txt
deleted file mode 100644
index 25a277235..000000000
--- a/tests/fixtures/replay_exceptions/main_replay_policy.py.txt
+++ /dev/null
@@ -1,502 +0,0 @@
-# Frozen d1344-replay-regressions-v1 evaluator at 3a278490102f.
-# Loaded only as a differential test oracle; production never imports this.
-from __future__ import annotations
-
-def _is_the_gap(row: FlaggedRow, gap: Mapping[str, Any]) -> bool:
-    """Whether a coverage row is scorecard's own record of a mixed known gap.
-
-    Where one side is inert and the other missing, scorecard compares an
-    inert artifact (identical worlds, a total of exactly ยฃ0) with none, and
-    writes a coverage row with ยฃ0 on the inert side and nothing on the
-    other. Any other shape at a known gap is judged as usual.
-    """
-
-    if gap["candidate"] == "inert" and gap["why"] == "missing in the base":
-        return row.base_gbp is None and row.head_gbp == 0
-    if gap["candidate"] == "missing" and gap["why"] == "inert in the base":
-        return row.head_gbp is None and row.base_gbp == 0
-    return False
-
-def evaluate_replay_receipt(
-    request: ReplayQualificationRequest,
-    status: ReplayStatus,
-    receipt: ReplayReceipt,
-) -> GateResult:
-    """The ``replay`` gate for a terminal replay status and its receipt.
-
-    The receipt must answer this exact request, be the bytes the status
-    names, and report an execution of exactly the requested artifacts. Its
-    contents are then judged by policy ``d1344-replay-regressions-v1``
-    (``data/qualification/replay_policy.md``):
-
-    - fail on rejected or failed replays, mapping flags, lost results
-      (a coverage row with a base value and no candidate value), lost
-      responses (a measure-year total of exactly ยฃ0 against a base at least
-      the diff's bound away, which a known gap never excuses, or a
-      measure-year the candidate lists as inert, unless it is a known gap)
-      and incomplete grids (unless every gap in them is known). A gap is
-      known when the base's own record (``diff.base_events``) lists the same
-      measure-year as inert, or missing and supported. A known gap does not
-      block, and neither do the rows by which scorecard records a mixed one
-      (``_is_the_gap``, and the base-only inertness on a valueless row where
-      the candidate is missing and the base inert); any candidate value
-      other than ยฃ0 at a known gap fails as a contradiction, and any other
-      coverage row with a base value and no candidate value, even ยฃ0, is a
-      lost result;
-    - send every other flagged move to review.
-
-    Unsupported years are reported, never failed on their own. The gate's
-    details record the policy id, the policy text's SHA-256, the known gaps
-    and the rows that record them, the regressions and the review items.
-
-    The receipt is read as a whole: a receipt that contradicts itself fails
-    (failures listed under a complete integrity, ``flag_counts`` that differ
-    from its rows' flags, supported years with no artifacts, nothing
-    replayed at all) or contradicts the request (a comparison base other
-    than the ``compare_to`` asked for).
-    """
-
-    request_id = request.request_id
-    problems: list[str] = []
-    if status.request_id != request_id or receipt.request_id != request_id:
-        problems.append("status or receipt answers a different request")
-    if not status.terminal:
-        problems.append(f"replay is still {status.status}")
-    if status.status != receipt.status and status.terminal:
-        problems.append("status and receipt disagree on the outcome")
-    if receipt.computed_receipt_sha256 != receipt.receipt_sha256:
-        problems.append("receipt_sha256 does not match the receipt bytes")
-    if status.receipt_sha256 != receipt.receipt_sha256:
-        problems.append("status names different receipt bytes")
-
-    details: dict[str, Any] = {
-        "request_id": request_id,
-        "receipt_sha256": receipt.receipt_sha256,
-        "receipt_commit": status.receipt_commit,
-        "status": receipt.status,
-        "integrity": receipt.integrity.status,
-        "policy": REPLAY_POLICY_ID,
-        "policy_sha256": replay_policy_sha256(),
-        "known_gaps": [],
-        "regressions": [],
-        "review_items": [],
-    }
-
-    def fail_early(kind: str, summary: str, **extra: Any) -> GateResult:
-        """A failure decided before the receipt's contents are judged; the
-        policy record lists it as the regression."""
-
-        return GateResult(
-            gate_id="replay",
-            status="fail",
-            summary=summary,
-            details={
-                **details,
-                **extra,
-                "regressions": [{"kind": kind, "why": summary}],
-            },
-        )
-
-    if problems:
-        return fail_early(
-            "unbound",
-            "Replay receipt is not bound to this request: " + "; ".join(problems),
-            binding_problems=problems,
-        )
-    if receipt.status == "rejected":
-        assert receipt.rejection is not None
-        return fail_early(
-            "rejected",
-            f"Replay rejected the candidate ({receipt.rejection.code}): "
-            f"{receipt.rejection.detail}",
-            rejection=receipt.rejection.document(),
-        )
-
-    execution = receipt.execution
-    if execution is None:
-        codes = sorted({failure.code for failure in receipt.integrity.failures})
-        return fail_early(
-            "failed",
-            "Replay failed before the candidate was identified: "
-            + (", ".join(codes) or "no failure codes"),
-            integrity_failures=[
-                failure.document() for failure in receipt.integrity.failures
-            ],
-        )
-    candidate = request.candidate
-    mismatches: list[str] = []
-    packages = {
-        "policyengine": (
-            execution.packages.policyengine,
-            candidate.policyengine.version,
-            (
-                candidate.policyengine.source.pypi.wheel_sha256
-                if candidate.policyengine.source.pypi is not None
-                else None
-            ),
-        ),
-        "policyengine-uk": (
-            execution.packages.policyengine_uk,
-            candidate.policyengine_uk.version,
-            candidate.policyengine_uk.wheel_sha256,
-        ),
-        "policyengine-core": (
-            execution.packages.policyengine_core,
-            candidate.policyengine_core.version,
-            candidate.policyengine_core.wheel_sha256,
-        ),
-    }
-    for name, (installed, version, wheel) in packages.items():
-        if installed.version != version:
-            mismatches.append(f"{name} {installed.version} ran, not {version}")
-        if wheel is not None and installed.wheel_sha256 != wheel:
-            mismatches.append(
-                f"{name} wheel hash is missing from the receipt"
-                if installed.wheel_sha256 is None
-                else f"{name} wheel hash differs from the request"
-            )
-    if (
-        execution.packaged_bundle_manifest_sha256
-        != candidate.policyengine.packaged_bundle_manifest_sha256
-    ):
-        mismatches.append("packaged bundle manifest differs from the request")
-    if execution.dataset_sha256 != candidate.data.sha256:
-        mismatches.append("dataset bytes differ from the request")
-    if execution.release_bundle != candidate.expected_release_bundle:
-        mismatches.append("release bundle differs from the expected release bundle")
-    if mismatches:
-        return fail_early(
-            "unbound",
-            "Replay ran something other than the candidate: " + "; ".join(mismatches),
-            execution_mismatches=mismatches,
-        )
-
-    if receipt.status == "failed" or receipt.integrity.status == "failed":
-        codes = sorted({failure.code for failure in receipt.integrity.failures})
-        return fail_early(
-            "failed",
-            "Replay integrity failed: " + (", ".join(codes) or "no failure codes"),
-            integrity_failures=[f.document() for f in receipt.integrity.failures],
-        )
-    corpus = receipt.corpus
-    assert corpus is not None
-    incomplete_events = sorted(
-        name
-        for name, event in corpus.events.items()
-        if not event.full_supported_grid_complete
-    )
-    unsupported = sorted(
-        (name, item.year, item.reason)
-        for name, event in corpus.events.items()
-        for item in event.unsupported_years
-    )
-    inert = sorted(
-        (name, item.measure_key, item.year)
-        for name, event in corpus.events.items()
-        for item in event.inert_measure_years
-    )
-    details.update(
-        {
-            "corpus_version": corpus.corpus_version,
-            "events": sorted(corpus.events),
-            "unsupported_years": [list(item) for item in unsupported],
-            "inert_measure_years": [list(item) for item in inert],
-        }
-    )
-    # A receipt whose parts disagree is not evidence of anything.
-    contradictions: list[str] = []
-    if receipt.integrity.failures:
-        codes = sorted({failure.code for failure in receipt.integrity.failures})
-        contradictions.append(
-            f"integrity is complete but lists failures ({', '.join(codes)})"
-        )
-    replayed = 0
-    for name, event in sorted(corpus.events.items()):
-        replayed += event.artifacts
-        listed_missing = {
-            (item.measure_key, item.year) for item in event.missing_measure_years or ()
-        } - {
-            (item.measure_key, item.year)
-            for item in event.unsupported_measure_years or ()
-        }
-        if event.full_supported_grid_complete and (
-            event.inert_measure_years or listed_missing
-        ):
-            contradictions.append(
-                f"{name} is complete but lists inert or missing measure-years"
-            )
-        if event.supported_years and event.artifacts == 0:
-            contradictions.append(f"{name} has supported years but no artifacts")
-        if not event.supported_years and not event.unsupported_years:
-            contradictions.append(f"{name} names no years at all")
-    if replayed == 0:
-        contradictions.append("no measure-year was replayed")
-    counts = receipt.diff.flag_counts.document() if receipt.diff is not None else {}
-    rows = receipt.diff.flagged_rows if receipt.diff is not None else []
-    row_counts: dict[str, int] = {}
-    for row in rows:
-        for kind in row.flags:
-            row_counts[kind] = row_counts.get(kind, 0) + 1
-    # Scorecard's counters are tallies of its rows' flags, so any difference,
-    # either way, is a receipt that contradicts itself.
-    for kind in sorted(set(row_counts) | {kind for kind, n in counts.items() if n}):
-        seen, counted = row_counts.get(kind, 0), counts.get(kind, 0)
-        if seen != counted:
-            contradictions.append(
-                f"{seen} flagged row(s) carry {kind} but flag_counts says {counted}"
-            )
-    details["flag_counts"] = counts
-    details["flagged_row_counts"] = row_counts
-    if receipt.diff is not None:
-        details["base_variant_id"] = receipt.diff.base_variant_id
-        details["diff_sha256"] = receipt.diff.diff_sha256
-    if request.compare_to != "latest_certified":
-        base = receipt.diff.base_variant_id if receipt.diff is not None else None
-        if base != request.compare_to:
-            contradictions.append(
-                f"the request asked for a comparison with {request.compare_to}, "
-                f"but the receipt compares with {base}"
-            )
-    if contradictions:
-        return fail_early(
-            "contradiction",
-            "Replay receipt contradicts itself or the request: "
-            + "; ".join(contradictions),
-            contradictions=contradictions,
-        )
-    # A gap is known only where the base's own grid record (scorecard#183)
-    # lists the same measure-year as inert, or missing and supported, for the
-    # same event. A legacy-layout base, or an event the base did not replay,
-    # has no record, so none of its gaps are known.
-    base_events = (receipt.diff.base_events or {}) if receipt.diff is not None else {}
-
-    def pairs(items: Optional[Sequence[MeasureYear]]) -> set[tuple[str, int]]:
-        return {(item.measure_key, item.year) for item in items or ()}
-
-    def missing_supported(record: Any) -> Optional[set[tuple[str, int]]]:
-        if record.missing_measure_years is None:
-            return None
-        return pairs(record.missing_measure_years) - pairs(
-            record.unsupported_measure_years
-        )
-
-    known_gaps: list[dict[str, Any]] = []
-    for name, event in sorted(corpus.events.items()):
-        base = base_events.get(name)
-        if base is None:
-            continue
-        base_inert = pairs(base.inert_measure_years)
-        base_missing = missing_supported(base) or set()
-        event_inert = pairs(event.inert_measure_years)
-        for measure_key, year in sorted(
-            event_inert | (missing_supported(event) or set())
-        ):
-            if (measure_key, year) in base_inert:
-                why = "inert in the base"
-            elif (measure_key, year) in base_missing:
-                why = "missing in the base"
-            else:
-                continue
-            known_gaps.append(
-                {
-                    "event": name,
-                    "measure_key": measure_key,
-                    "year": year,
-                    "candidate": "inert"
-                    if (measure_key, year) in event_inert
-                    else "missing",
-                    "why": why,
-                    "base_staging_manifest_sha256": base.staging_manifest_sha256,
-                }
-            )
-    gaps_at = {
-        (gap["event"], gap["measure_key"], gap["year"]): gap for gap in known_gaps
-    }
-    known = set(gaps_at)
-    listed_inert = set(inert)
-    candidate_inert = {where for where in listed_inert if where not in known}
-    regressions: list[dict[str, Any]] = []
-    review_items: list[dict[str, Any]] = []
-
-    def item(kind: str, row: Any = None, **fields: Any) -> dict[str, Any]:
-        record: dict[str, Any] = {"kind": kind}
-        if row is not None:
-            record.update(
-                event=row.event,
-                measure_key=row.measure_key,
-                year=row.year,
-                level=row.level,
-                key=row.key,
-                flags=sorted(row.flags),
-                base_gbp=row.base_gbp,
-                head_gbp=row.head_gbp,
-            )
-        record.update(fields)
-        return record
-
-    for event, measure_key, year in sorted(candidate_inert):
-        regressions.append(
-            item(
-                "lost_response",
-                event=event,
-                measure_key=measure_key,
-                year=year,
-                why="inert in the candidate",
-            )
-        )
-    for name in incomplete_events:
-        event = corpus.events[name]
-        missing = missing_supported(event)
-        if missing is None:
-            regressions.append(
-                item(
-                    "incomplete",
-                    event=name,
-                    why="the supported grid is incomplete and the receipt does "
-                    "not list its missing measure-years",
-                )
-            )
-            continue
-        gaps = pairs(event.inert_measure_years) | missing
-        unknown = sorted(gap for gap in gaps if (name, *gap) not in known)
-        if not gaps or unknown:
-            regressions.append(
-                item(
-                    "incomplete",
-                    event=name,
-                    why="the supported grid is incomplete and not every inert "
-                    "or missing measure-year in it is a known gap",
-                    measure_years=[list(gap) for gap in unknown],
-                )
-            )
-    if receipt.integrity.status == "incomplete" and not incomplete_events:
-        regressions.append(
-            item("incomplete", why="integrity is incomplete with no incomplete event")
-        )
-    gap_rows: list[dict[str, Any]] = []
-    for row in rows:
-        flags = set(row.flags)
-        where = (row.event, row.measure_key, row.year)
-        gap = gaps_at.get(where)
-        lost = False
-        if gap is not None and "coverage" in flags and _is_the_gap(row, gap):
-            # Scorecard's own expression of a mixed known gap: one side has no
-            # artifact and the other an inert one (identical worlds, ยฃ0).
-            flags.discard("coverage")
-        if flags & BLOCKING_REPLAY_FLAGS:
-            regressions.append(item("mapping", row))
-            lost = True
-        if "coverage" in flags and row.base_gbp is not None and row.head_gbp is None:
-            regressions.append(item("lost_result", row))
-            lost = True
-        if gap is not None and row.head_gbp not in (None, 0):
-            # The candidate's record lists the measure-year as inert or
-            # missing, so no row can hold a candidate value for it (an inert
-            # artifact's effects are exactly ยฃ0; a missing one has none).
-            regressions.append(
-                item(
-                    "contradiction",
-                    row,
-                    why="a candidate value for a measure-year its record lists "
-                    "as a gap",
-                )
-            )
-            lost = True
-        zero_total = (
-            row.level == "measure_year"
-            and row.head_gbp == 0
-            and row.base_gbp is not None
-            and abs(row.base_gbp)
-            >= max(REPLAY_ABSOLUTE_BOUND_GBP, REPLAY_RELATIVE_BOUND * abs(row.base_gbp))
-        )
-        if zero_total and where in known:
-            # A base whose own record lists the measure-year as a gap cannot
-            # also hold a material value for it: the receipt contradicts
-            # itself, so the gap does not excuse the loss.
-            regressions.append(
-                item(
-                    "lost_response",
-                    row,
-                    why="ยฃ0 against a material base value, though the base's "
-                    "record lists the measure-year as a gap",
-                )
-            )
-            lost = True
-        elif where in listed_inert and zero_total:
-            # The candidate's own inert list decides: a lost response above.
-            lost = True
-        elif zero_total:
-            regressions.append(item("lost_response", row, why="ยฃ0 against the base"))
-            lost = True
-        if where in listed_inert or (
-            gap is not None
-            and gap["candidate"] == "missing"
-            and gap["why"] == "inert in the base"
-            and row.base_gbp is None
-            and row.head_gbp is None
-        ):
-            # The candidate's inert list decides its inertness (a lost response
-            # above, or a known gap). Where the candidate is missing and the
-            # base inert, a base-only inertness flag on a row with no value on
-            # either side (as scorecard writes it) is the known gap itself.
-            # The row's other flags are judged as usual.
-            flags = flags - {"inertness"}
-        if gap is not None and flags != set(row.flags):
-            # A row the known gap accounts for, in whole or in part.
-            gap_rows.append(item("known_gap_row", row))
-        if not lost and flags & REVIEW_REPLAY_FLAGS:
-            if "coverage" in flags and row.base_gbp is None:
-                kind = (
-                    "coverage_gain"
-                    if row.head_gbp is not None
-                    else "coverage_without_values"
-                )
-            elif flags == {"inertness"}:
-                kind = "base_only_inertness"
-            else:
-                kind = "flagged_move"
-            review_items.append(item(kind, row))
-    details.update(
-        {
-            "policy": REPLAY_POLICY_ID,
-            "policy_sha256": replay_policy_sha256(),
-            "known_gaps": known_gaps,
-            "known_gap_rows": gap_rows,
-            "regressions": regressions,
-            "review_items": review_items,
-        }
-    )
-
-    def tally(records: Sequence[dict[str, Any]]) -> str:
-        kinds: dict[str, int] = {}
-        for record in records:
-            kinds[record["kind"]] = kinds.get(record["kind"], 0) + 1
-        return ", ".join(f"{kind} {n}" for kind, n in sorted(kinds.items()))
-
-    if regressions:
-        return GateResult(
-            gate_id="replay",
-            status="fail",
-            summary="Replay regressions: " + tally(regressions),
-            details=details,
-        )
-    if review_items:
-        return GateResult(
-            gate_id="replay",
-            status="needs_review",
-            summary="Replay moves need review: " + tally(review_items),
-            details=details,
-        )
-    if receipt.diff is None:
-        return GateResult(
-            gate_id="replay",
-            status="needs_review",
-            summary="Replay completed but reported no diff against a certified variant.",
-            details=details,
-        )
-    return GateResult(
-        gate_id="replay",
-        status="pass",
-        summary=f"Replayed {len(corpus.events)} event(s) with no flags against {receipt.diff.base_variant_id}.",
-        details=details,
-    )
diff --git a/tests/fixtures/replay_exceptions/replay_receipt_uk2.134.7_failed.json b/tests/fixtures/replay_exceptions/replay_receipt_uk2.134.7_failed.json
deleted file mode 100644
index 0b85ee6cc..000000000
--- a/tests/fixtures/replay_exceptions/replay_receipt_uk2.134.7_failed.json
+++ /dev/null
@@ -1,2994 +0,0 @@
-{
- "corpus": {
-  "corpus_version": "uk-fiscal-event-replay/2",
-  "events": {
-   "autumn_budget_2024": {
-    "artifacts": 30,
-    "comparison_provenance_sha256": "3eb3c36139f0f186c1b051e6aa4790375f480ab857082f48d2309862c2cc0da0",
-    "full_supported_grid_complete": false,
-    "inert_measure_years": [
-     {
-      "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-      "year": 2025
-     },
-     {
-      "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-      "year": 2026
-     },
-     {
-      "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-      "year": 2027
-     },
-     {
-      "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-      "year": 2028
-     },
-     {
-      "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-      "year": 2029
-     }
-    ],
-    "missing_measure_years": [],
-    "registry_sha256": "89784d34920fb2d6aae702fb4028f84d7bf87f1694df77a0c9c5d255edbcdd34",
-    "run_manifest_sha256": "293ae41959858e3d397a231930a57052fcc4db665daeb31c63d4a1f191a72b5d",
-    "staging_manifest_sha256": "9b2ea2ebf798d1ede7afaffbb2d203b82f1939e930683a5a10b24833892f0a74",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_measure_years": [],
-    "unsupported_years": []
-   },
-   "autumn_budget_2025": {
-    "artifacts": 54,
-    "comparison_provenance_sha256": "25feff57d6902340cf788371a4110341795243392c0c0826937e0d0b463f9f04",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "registry_sha256": "3da50f9af6c7986fd5fe453ae2dac34275f319d1f2ccd441e3c438f51a18656e",
-    "run_manifest_sha256": "4774ac2a195f589b2051f62101a521827cd272bf02c1a6159064e2a9d1c90494",
-    "staging_manifest_sha256": "11f5b7a3e6326de6d43097087dd84e988077dc0efe6f548432768b6a8d8d376e",
-    "supported_years": [
-     2025,
-     2026,
-     2027,
-     2028,
-     2029,
-     2030
-    ],
-    "unsupported_measure_years": [],
-    "unsupported_years": []
-   },
-   "autumn_statement_2023": {
-    "artifacts": 20,
-    "comparison_provenance_sha256": "48587c1a7cd4dbbe0eb91ecd5470a3a92cfbc33e4859f4eb6dc2d0e9871d0507",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-      "year": 2023
-     }
-    ],
-    "registry_sha256": "197d5583f0171104c673ca1f40b402a77ca2b003f496de37d6bc913fb9fd1021",
-    "run_manifest_sha256": "32ffaa6282bfce8567937b26fa3503a583880f9ed8ffc313868a18567d1c1c4f",
-    "staging_manifest_sha256": "86008b7f6e609eceef5740528ba9393466ce62f250fbd1770fa6ba029dd69a6e",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-      "year": 2023
-     }
-    ],
-    "unsupported_years": [
-     {
-      "reason": "before_data_year",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2023": {
-    "artifacts": 8,
-    "comparison_provenance_sha256": "bf29ce3837068aaf5ccdd9358d801ef337b6b9851e511c79acb19f830218d678",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-      "year": 2023
-     }
-    ],
-    "registry_sha256": "0a78bfe32712bd30bdf9137bdf182e82a266c7da0e9885dd61cac6ef99a76357",
-    "run_manifest_sha256": "f36cd0908ad1b8b75edd14e83d0a08ee058b89bdb0db4f6508fcf63d79ec7280",
-    "staging_manifest_sha256": "2f06bc224c8f6376cb9063e21b3b15e02463304ab1a89afa322e5b701a810729",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-      "year": 2023
-     }
-    ],
-    "unsupported_years": [
-     {
-      "reason": "before_data_year",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2024": {
-    "artifacts": 15,
-    "comparison_provenance_sha256": "957b7a9038cba2722667a6b4f18c26b1848d5c3db0a9df4da5cf5d1f42bd980a",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-      "year": 2023
-     }
-    ],
-    "registry_sha256": "64a3bccfd950e868ffc5d6261bf3903df88a3ebedc9b4444494acc717259817a",
-    "run_manifest_sha256": "3caf0a9e3dba2f9883a3b069816f23582e2f827a18a259aaa0e1d364ea347926",
-    "staging_manifest_sha256": "e763dfd510abc233adeaf5470f0c246accd22f18756e32cc21eb9152f27f2401",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-      "year": 2023
-     }
-    ],
-    "unsupported_years": [
-     {
-      "reason": "before_data_year",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_statement_2025": {
-    "artifacts": 12,
-    "comparison_provenance_sha256": "67fc6be5ba9b1f5be57e11747c37750e749122144cf3b9d729d5be1d617cf36a",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "registry_sha256": "d01ce0612f3f24830a8d8ea0abaaa6b2626963316b16750310d303f404fbab5b",
-    "run_manifest_sha256": "0f9083557962ab52336d5b30c750fafff37286f7c5b417438b3741b880c4d373",
-    "staging_manifest_sha256": "a54e47699cff2e43a409f95073c00921109559e721cb7b8122332e4b6d764e4e",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_measure_years": [],
-    "unsupported_years": []
-   }
-  }
- },
- "diff": {
-  "base_events": {
-   "autumn_budget_2024": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "run_manifest_sha256": "23ab600e88ef0269fa7d73f5e403ec3500e7b0a7d5fcddd60ba14c8239e39fda",
-    "staging_manifest_sha256": "1d882c1d4eb7a13b523bf99ac31945e2d4a3ebf836d6789565a006d2b71e789e",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_measure_years": []
-   },
-   "autumn_budget_2025": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "run_manifest_sha256": "413acf6342a0e0a3a277cf1f2e9c0bf3c4be1e103204201f9171b90ab21ff5c5",
-    "staging_manifest_sha256": "5e4df8946e6cea2fa728200d1af2e6803cb74020cac521dd9b99f8869f80d456",
-    "supported_years": [
-     2025,
-     2026,
-     2027,
-     2028,
-     2029,
-     2030
-    ],
-    "unsupported_measure_years": []
-   },
-   "autumn_statement_2023": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-      "year": 2023
-     }
-    ],
-    "run_manifest_sha256": "eb3705d7edb480a91eb37555c3fd52169861ceee84c5514b5529e248247d882a",
-    "staging_manifest_sha256": "239703b8c314f555fcaf96adaf573a7831962433fcb0e2b26713a217ec48ec7e",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2023": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-      "year": 2023
-     }
-    ],
-    "run_manifest_sha256": "29944c4e0393091d621f260f658f700549c207dda4996dce198907665a2b3baa",
-    "staging_manifest_sha256": "a298924c7ed24832820ddb95196db1d9e9b7b40d32103762e7a5ac59477ef8fd",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2024": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-      "year": 2023
-     }
-    ],
-    "run_manifest_sha256": "458f2f27eb954422bb8e8a3063b629b43f2ffae9cdf901680924c8846a3e9666",
-    "staging_manifest_sha256": "3679f6e865bd2068efe46db2ea3358f92d6be9d6ade8d2c1c901901ce9813d07",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_statement_2025": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "run_manifest_sha256": "01d97cd339b9a389390e2de1eec9617ab4d3a0e0d3374cd2dd9d466bba717fe4",
-    "staging_manifest_sha256": "dcd2e1349596fa7cd26140ea2b4d29e3f6a2c2b7744359e93143af98d83bdb6c",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_measure_years": []
-   }
-  },
-  "base_variant_id": "pe6.5.0_uk2.130.1_policyengine-uk-data-1.58.1",
-  "diff_sha256": "f73fe6b98811fa574e7178f7fe7ca0cf49bd58797b392df93ee56f3e245a8bf8",
-  "flag_counts": {
-   "construction": 0,
-   "coverage": 0,
-   "inertness": 10,
-   "mapping": 0,
-   "numerical": 200,
-   "structural": 10,
-   "support": 0
-  },
-  "flagged_rows": [
-   {
-    "base_gbp": 956314309.095192,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 726838394.7580452,
-    "key": "obr_pmd_nov2025:11682:73295721bdfdb9e8",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2024
-   },
-   {
-    "base_gbp": 956314309.095192,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 726838394.7580452,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2024
-   },
-   {
-    "base_gbp": 956314309.095192,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 726838394.7580452,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2024
-   },
-   {
-    "base_gbp": 2321626476.090164,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1745149570.9462242,
-    "key": "obr_pmd_nov2025:11683:b9096ecd110093bf",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2321626476.090164,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1745149570.9462242,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2321626476.090164,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1745149570.9462242,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2397857290.327587,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1801465870.3176498,
-    "key": "obr_pmd_nov2025:11684:0d39628e9b763f67",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2397857290.327587,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1801465870.3176498,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2397857290.327587,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1801465870.3176498,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2484671863.66201,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1865611783.5399685,
-    "key": "obr_pmd_nov2025:11685:440412b0fb8c6e2d",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2484671863.66201,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1865611783.5399685,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2484671863.66201,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1865611783.5399685,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2572403121.83226,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1930467713.429018,
-    "key": "obr_pmd_nov2025:11686:9ceb140875d859b8",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2572403121.83226,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1930467713.429018,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2572403121.83226,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1930467713.429018,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2660288740.9552917,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1995518507.5508633,
-    "key": "obr_pmd_nov2025:11687:f738e039412d9872",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2660288740.9552917,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1995518507.5508633,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2660288740.9552917,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1995518507.5508633,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2029
-   },
-   {
-    "base_gbp": -7898227103.010376,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7806967661.259277,
-    "key": "obr_pmd_nov2025:11668:a076a7d6b3992e7c",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2028
-   },
-   {
-    "base_gbp": -7898227103.010376,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7806967661.259277,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2028
-   },
-   {
-    "base_gbp": 1940272255.14898,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1844618182.746337,
-    "key": "obr_pmd_nov2025:11617:414a87b10621e433",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2025
-   },
-   {
-    "base_gbp": 1940272255.14898,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1844618182.746337,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2025
-   },
-   {
-    "base_gbp": 1940272255.14898,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1844618182.746337,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2025
-   },
-   {
-    "base_gbp": 1966545651.307916,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1929337062.7593496,
-    "key": "obr_pmd_nov2025:11618:ad4256274cc146d3",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2026
-   },
-   {
-    "base_gbp": 1966545651.307916,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1929337062.7593496,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2026
-   },
-   {
-    "base_gbp": 1966545651.307916,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1929337062.7593496,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2044395945.9878988,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1977114282.153624,
-    "key": "obr_pmd_nov2025:11619:8726edda9aa7b020",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2044395945.9878988,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1977114282.153624,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2044395945.9878988,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1977114282.153624,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2138101665.0296612,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2027518629.2448545,
-    "key": "obr_pmd_nov2025:11620:5446e6157f4ef4ec",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2138101665.0296612,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2027518629.2448545,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2138101665.0296612,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2027518629.2448545,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2163020750.92759,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2078193996.5772798,
-    "key": "obr_pmd_nov2025:11621:8bf103a18fecf781",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2163020750.92759,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2078193996.5772798,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2163020750.92759,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2078193996.5772798,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2182277423.2901382,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "inertness"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:11647:b269082735adb83b",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2182277423.2901382,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural",
-     "inertness"
-    ],
-    "head_gbp": 0.0,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2182277423.2901382,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2254534269.309538,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "inertness"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:11648:48bd77ddd06dec27",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2254534269.309538,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural",
-     "inertness"
-    ],
-    "head_gbp": 0.0,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2254534269.309538,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2335967764.6855392,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "inertness"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:11649:910077d14a180f90",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2335967764.6855392,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural",
-     "inertness"
-    ],
-    "head_gbp": 0.0,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2335967764.6855392,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2418086716.0288925,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "inertness"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:11650:068acce8b0873200",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2418086716.0288925,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural",
-     "inertness"
-    ],
-    "head_gbp": 0.0,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2418086716.0288925,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2500617321.3659096,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "inertness"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:11651:9a7327566a66890c",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2500617321.3659096,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural",
-     "inertness"
-    ],
-    "head_gbp": 0.0,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2500617321.3659096,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2029
-   },
-   {
-    "base_gbp": 175460925.4459455,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 180672779.3509035,
-    "key": "obr_pmd_nov2025:22854:edbde987f66af165",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2025
-   },
-   {
-    "base_gbp": 175460925.4459455,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 180672779.3509035,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2025
-   },
-   {
-    "base_gbp": 175460925.4459455,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 180672779.3509035,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2025
-   },
-   {
-    "base_gbp": 184684987.91397357,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 190211145.96311736,
-    "key": "obr_pmd_nov2025:22855:dbc5baf2a54734dc",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2026
-   },
-   {
-    "base_gbp": 184684987.91397357,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 190211145.96311736,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2026
-   },
-   {
-    "base_gbp": 184684987.91397357,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 190211145.96311736,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2026
-   },
-   {
-    "base_gbp": 216206005.17124224,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 219651206.51188183,
-    "key": "obr_pmd_nov2025:22856:c29981419df6c6f6",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2027
-   },
-   {
-    "base_gbp": 216206005.17124224,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 219651206.51188183,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2027
-   },
-   {
-    "base_gbp": 216206005.17124224,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 219651206.51188183,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2027
-   },
-   {
-    "base_gbp": 217874757.0607648,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 222857307.28443575,
-    "key": "obr_pmd_nov2025:22857:92bf18d3bd843235",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2028
-   },
-   {
-    "base_gbp": 217874757.0607648,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 222857307.28443575,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2028
-   },
-   {
-    "base_gbp": 217874757.0607648,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 222857307.28443575,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2028
-   },
-   {
-    "base_gbp": 228829386.94062686,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 232920109.30445337,
-    "key": "obr_pmd_nov2025:22858:6050e74df71edc1c",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2029
-   },
-   {
-    "base_gbp": 228829386.94062686,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 232920109.30445337,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2029
-   },
-   {
-    "base_gbp": 228829386.94062686,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 232920109.30445337,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2029
-   },
-   {
-    "base_gbp": 483900104.6233177,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 458380794.9795723,
-    "key": "obr_pmd_nov2025:12375:297fca1f0cf23095",
-    "level": "source_row",
-    "measure_key": "ab2025__high_value_council_tax_surcharge",
-    "year": 2028
-   },
-   {
-    "base_gbp": 483900104.6233177,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 458380794.9795723,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__high_value_council_tax_surcharge",
-    "year": 2028
-   },
-   {
-    "base_gbp": 483900104.6233177,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 458380794.9795723,
-    "key": "high_value_council_tax_surcharge",
-    "level": "head",
-    "measure_key": "ab2025__high_value_council_tax_surcharge",
-    "year": 2028
-   },
-   {
-    "base_gbp": 495749379.82161856,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 469605186.562956,
-    "key": "obr_pmd_nov2025:12376:d658edd74795036b",
-    "level": "source_row",
-    "measure_key": "ab2025__high_value_council_tax_surcharge",
-    "year": 2029
-   },
-   {
-    "base_gbp": 495749379.82161856,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 469605186.562956,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__high_value_council_tax_surcharge",
-    "year": 2029
-   },
-   {
-    "base_gbp": 495749379.82161856,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 469605186.562956,
-    "key": "high_value_council_tax_surcharge",
-    "level": "head",
-    "measure_key": "ab2025__high_value_council_tax_surcharge",
-    "year": 2029
-   },
-   {
-    "base_gbp": 507938784.7696847,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 481151760.1865325,
-    "key": "obr_pmd_nov2025:12377:ca5b9686e623d09c",
-    "level": "source_row",
-    "measure_key": "ab2025__high_value_council_tax_surcharge",
-    "year": 2030
-   },
-   {
-    "base_gbp": 507938784.7696847,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 481151760.1865325,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__high_value_council_tax_surcharge",
-    "year": 2030
-   },
-   {
-    "base_gbp": 507938784.7696847,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 481151760.1865325,
-    "key": "high_value_council_tax_surcharge",
-    "level": "head",
-    "measure_key": "ab2025__high_value_council_tax_surcharge",
-    "year": 2030
-   },
-   {
-    "base_gbp": -75417252.38853455,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -76486965.76553345,
-    "key": "obr_pmd_nov2025:23918:cb97d1297e767678",
-    "level": "source_row",
-    "measure_key": "ab2025__personal_tax_thresholds_freeze_to_2031",
-    "year": 2028
-   },
-   {
-    "base_gbp": -75417252.38853455,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -76486965.76553345,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "ab2025__personal_tax_thresholds_freeze_to_2031",
-    "year": 2028
-   },
-   {
-    "base_gbp": 8078999312.888916,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 7979163787.683044,
-    "key": "obr_pmd_nov2025:12238:ed7d488b306dcf83",
-    "level": "source_row",
-    "measure_key": "ab2025__personal_tax_thresholds_freeze_to_2031",
-    "year": 2029
-   },
-   {
-    "base_gbp": -150448797.6953888,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -152521040.89421082,
-    "key": "obr_pmd_nov2025:23919:d57980273e85240e",
-    "level": "source_row",
-    "measure_key": "ab2025__personal_tax_thresholds_freeze_to_2031",
-    "year": 2029
-   },
-   {
-    "base_gbp": 7928550515.193527,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 7826642746.788834,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__personal_tax_thresholds_freeze_to_2031",
-    "year": 2029
-   },
-   {
-    "base_gbp": 8078999312.888916,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 7979163787.683044,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "ab2025__personal_tax_thresholds_freeze_to_2031",
-    "year": 2029
-   },
-   {
-    "base_gbp": -150448797.6953888,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -152521040.89421082,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "ab2025__personal_tax_thresholds_freeze_to_2031",
-    "year": 2029
-   },
-   {
-    "base_gbp": -225537908.19476318,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -233216948.8221283,
-    "key": "obr_pmd_nov2025:23920:07fdfe7c4df486ae",
-    "level": "source_row",
-    "measure_key": "ab2025__personal_tax_thresholds_freeze_to_2031",
-    "year": 2030
-   },
-   {
-    "base_gbp": -225537908.19476318,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -233216948.8221283,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "ab2025__personal_tax_thresholds_freeze_to_2031",
-    "year": 2030
-   },
-   {
-    "base_gbp": 119185198.37719727,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 69459033.33605957,
-    "key": "obr_pmd_nov2025:12340:56a6872c6215ff54",
-    "level": "source_row",
-    "measure_key": "ab2025__salary_sacrifice_pension_nics_cap_2000",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2250469902.8025227,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2198876402.449813,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__salary_sacrifice_pension_nics_cap_2000",
-    "year": 2029
-   },
-   {
-    "base_gbp": 119185198.37719727,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 69459033.33605957,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "ab2025__salary_sacrifice_pension_nics_cap_2000",
-    "year": 2029
-   },
-   {
-    "base_gbp": 263855675.31918335,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 259418290.7624817,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "ab2025__salary_sacrifice_pension_nics_cap_2000",
-    "year": 2029
-   },
-   {
-    "base_gbp": 213117200.6135254,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 140749488.84204102,
-    "key": "obr_pmd_nov2025:12341:ce174c39c117892d",
-    "level": "source_row",
-    "measure_key": "ab2025__salary_sacrifice_pension_nics_cap_2000",
-    "year": 2030
-   },
-   {
-    "base_gbp": 2342273218.03615,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2265225600.1851068,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__salary_sacrifice_pension_nics_cap_2000",
-    "year": 2030
-   },
-   {
-    "base_gbp": 213117200.6135254,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 140749488.84204102,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "ab2025__salary_sacrifice_pension_nics_cap_2000",
-    "year": 2030
-   },
-   {
-    "base_gbp": 260886140.45806122,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 253634719.6460724,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "ab2025__salary_sacrifice_pension_nics_cap_2000",
-    "year": 2030
-   },
-   {
-    "base_gbp": -2694647923.6472473,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -2758924251.607239,
-    "key": "obr_pmd_nov2025:23526:7a52217d035becaf",
-    "level": "source_row",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2026
-   },
-   {
-    "base_gbp": -2694647923.6472473,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -2758924251.607239,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2026
-   },
-   {
-    "base_gbp": -2694647923.6472473,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -2758924251.607239,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2026
-   },
-   {
-    "base_gbp": -3154822181.9229736,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3200094615.9770355,
-    "key": "obr_pmd_nov2025:23528:35553a766a3ad3d3",
-    "level": "source_row",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2028
-   },
-   {
-    "base_gbp": -3154822181.9229736,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3200094615.9770355,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2028
-   },
-   {
-    "base_gbp": -3154822181.9229736,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3200094615.9770355,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2028
-   },
-   {
-    "base_gbp": -3259218800.0862427,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3297122995.833664,
-    "key": "obr_pmd_nov2025:23529:1e1a237caba88918",
-    "level": "source_row",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2029
-   },
-   {
-    "base_gbp": -3259218800.0862427,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3297122995.833664,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2029
-   },
-   {
-    "base_gbp": -3259218800.0862427,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3297122995.833664,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2029
-   },
-   {
-    "base_gbp": -3488191222.989334,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3562340543.2262115,
-    "key": "obr_pmd_nov2025:23530:d1bc796d9f235c4f",
-    "level": "source_row",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2030
-   },
-   {
-    "base_gbp": -3488191222.989334,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3562340543.2262115,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2030
-   },
-   {
-    "base_gbp": -3488191222.989334,
-    "event": "autumn_budget_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3562340543.2262115,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "ab2025__uc_child_element_remove_two_child_limit",
-    "year": 2030
-   },
-   {
-    "base_gbp": 241090644.10290527,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 245497292.5802765,
-    "key": "obr_pmd_nov2025:21462:c775903b43caf723",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2024
-   },
-   {
-    "base_gbp": 241090644.10290527,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 245497292.5802765,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2024
-   },
-   {
-    "base_gbp": 266181343.4298706,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 270589535.8361969,
-    "key": "obr_pmd_nov2025:21463:fd9bc11d19465ecb",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2025
-   },
-   {
-    "base_gbp": 266181343.4298706,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 270589535.8361969,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2025
-   },
-   {
-    "base_gbp": 282034438.7785034,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 286625968.6225281,
-    "key": "obr_pmd_nov2025:21464:190052623cdf04c0",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2026
-   },
-   {
-    "base_gbp": 282034438.7785034,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 286625968.6225281,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2026
-   },
-   {
-    "base_gbp": 292445236.05249023,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 297236767.7370758,
-    "key": "obr_pmd_nov2025:21465:6ea19652f3e3ea6b",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2027
-   },
-   {
-    "base_gbp": 292445236.05249023,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 297236767.7370758,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2027
-   },
-   {
-    "base_gbp": 303440070.03996277,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 309358037.8637085,
-    "key": "obr_pmd_nov2025:21466:43674024394e1bc0",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2028
-   },
-   {
-    "base_gbp": 303440070.03996277,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 309358037.8637085,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1687110967.884717,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1747185557.3423557,
-    "key": "obr_pmd_nov2025:21630:bf9643f47e057983",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1687110967.884717,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1747185557.3423557,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2024
-   },
-   {
-    "base_gbp": -132222067.57011127,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -136503630.25988197,
-    "key": "housing_benefit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1554888900.3146057,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1610681927.0824738,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1883075660.240798,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1928346474.5677586,
-    "key": "obr_pmd_nov2025:21631:75b9415771e2e20c",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1883075660.240798,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1928346474.5677586,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2025
-   },
-   {
-    "base_gbp": -145070938.0732565,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -147247363.7580204,
-    "key": "housing_benefit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1738004722.1675415,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1781099110.8097382,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1917164100.9136887,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1959163536.443016,
-    "key": "obr_pmd_nov2025:21632:353c5d3f922bfc89",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1917164100.9136887,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1959163536.443016,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1767232278.0137787,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1807857532.622879,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1979148274.9173164,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -2013656625.9414272,
-    "key": "obr_pmd_nov2025:21633:5ce95c1559b8bc39",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1979148274.9173164,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -2013656625.9414272,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1815586682.2787323,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1851647008.492157,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2027
-   },
-   {
-    "base_gbp": -2000162838.6384335,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -2029628073.5191765,
-    "key": "obr_pmd_nov2025:21634:ff94f5b54b89d1ee",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2028
-   },
-   {
-    "base_gbp": -2000162838.6384335,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -2029628073.5191765,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2028
-   },
-   {
-    "base_gbp": -169179610.90740013,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -167055019.7617302,
-    "key": "housing_benefit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1830983227.7310333,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1862573053.7574463,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2028
-   },
-   {
-    "base_gbp": -3004426501.3733215,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3074285340.8434753,
-    "key": "obr_pmd_nov2025:10232:aa24b205227c35bd",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2024
-   },
-   {
-    "base_gbp": -3004426501.3733215,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3074285340.8434753,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2024
-   },
-   {
-    "base_gbp": -3004426501.3733215,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3074285340.8434753,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2024
-   },
-   {
-    "base_gbp": -3540262930.7841797,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3416190748.439331,
-    "key": "obr_pmd_nov2025:10234:7fb22cdd33e49932",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": -3540262930.7841797,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3416190748.439331,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": -3540262930.7841797,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3416190748.439331,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": -3725202663.6395264,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3505566866.5803223,
-    "key": "obr_pmd_nov2025:10235:fbb8ccda250b78e9",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": -3725202663.6395264,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3505566866.5803223,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": -3725202663.6395264,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3505566866.5803223,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": -239031104.5414734,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -233460988.38542175,
-    "key": "obr_pmd_nov2025:20833:270c17d92e54dca4",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2024
-   },
-   {
-    "base_gbp": -239031104.5414734,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -233460988.38542175,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2024
-   },
-   {
-    "base_gbp": -239031104.5414734,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -233460988.38542175,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2024
-   },
-   {
-    "base_gbp": -251689860.3839264,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -246211570.27645874,
-    "key": "obr_pmd_nov2025:20834:e0b34fcdbf83f61a",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2025
-   },
-   {
-    "base_gbp": -251689860.3839264,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -246211570.27645874,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2025
-   },
-   {
-    "base_gbp": -251689860.3839264,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -246211570.27645874,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2025
-   },
-   {
-    "base_gbp": -255168633.24157715,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -249406786.5783844,
-    "key": "obr_pmd_nov2025:20835:1e730fccbdf4c015",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2026
-   },
-   {
-    "base_gbp": -255168633.24157715,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -249406786.5783844,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2026
-   },
-   {
-    "base_gbp": -255168633.24157715,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -249406786.5783844,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2026
-   },
-   {
-    "base_gbp": -266037263.24046326,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -260633714.00463867,
-    "key": "obr_pmd_nov2025:20836:76beca3818ed1fe1",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2027
-   },
-   {
-    "base_gbp": -266037263.24046326,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -260633714.00463867,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2027
-   },
-   {
-    "base_gbp": -266037263.24046326,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -260633714.00463867,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2027
-   },
-   {
-    "base_gbp": 241090644.10290527,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 245497292.5802765,
-    "key": "obr_pmd_nov2025:22170:45627d3976bd492a",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": 241090644.10290527,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 245497292.5802765,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": 266181343.4298706,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 270589535.8361969,
-    "key": "obr_pmd_nov2025:22171:93d8943dfe121528",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 266181343.4298706,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 270589535.8361969,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 282034438.7785034,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 286625968.6225281,
-    "key": "obr_pmd_nov2025:22172:8c021f0cf80fe71b",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 282034438.7785034,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 286625968.6225281,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 292445236.05249023,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 297236767.7370758,
-    "key": "obr_pmd_nov2025:22173:3beb0f8e7601b1e2",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 292445236.05249023,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 297236767.7370758,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 303440070.03996277,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 309358037.8637085,
-    "key": "obr_pmd_nov2025:22174:b9088212717e5ab4",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 303440070.03996277,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 309358037.8637085,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": -779631545.703949,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -796179226.5253601,
-    "key": "obr_pmd_nov2025:10987:0f254c98c34bc660",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": -336165102.39004517,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -346389876.7350273,
-    "key": "obr_pmd_nov2025:22206:49a0caec037600d2",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1115796648.0939941,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1142569103.2603874,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": -336165102.39004517,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -346389876.7350273,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": -779631545.703949,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -796179226.5253601,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": -282526333.77780914,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -291545336.7139454,
-    "key": "obr_pmd_nov2025:22207:01b31afdbe23dae6",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2025
-   },
-   {
-    "base_gbp": -282526333.77780914,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -291545336.7139454,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1131591240.399292,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1108097441.7645874,
-    "key": "obr_pmd_nov2025:10989:43638ad22300c9c3",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": -307810876.10124016,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -315976928.4119816,
-    "key": "obr_pmd_nov2025:22208:6c19f800730945b5",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1439402116.5005322,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1424074370.176569,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": -307810876.10124016,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -315976928.4119816,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1131591240.399292,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1108097441.7645874,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1274651222.2009888,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1230493883.52063,
-    "key": "obr_pmd_nov2025:10990:e86af1dbeb4da64e",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": -323556121.7815895,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -329556758.2181053,
-    "key": "obr_pmd_nov2025:22209:71f606ed0f936afe",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1598207343.9825783,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1560050641.7387352,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": -323556121.7815895,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -329556758.2181053,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1274651222.2009888,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1230493883.52063,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1394705720.206482,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1328781780.8405762,
-    "key": "obr_pmd_nov2025:10991:11a476b01436c0db",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": -363073039.4392204,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -369300783.7877197,
-    "key": "obr_pmd_nov2025:22210:0ea61ade0bedb0f5",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1757778759.6457024,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1698082564.628296,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": -363073039.4392204,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -369300783.7877197,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1394705720.206482,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1328781780.8405762,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": 743178827.6944885,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 716742439.4071198,
-    "key": "obr_pmd_nov2025:23317:1b983354102bb14d",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2026
-   },
-   {
-    "base_gbp": 743178827.6944885,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 716742439.4071198,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2026
-   },
-   {
-    "base_gbp": 743178827.6944885,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 716742439.4071198,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2026
-   },
-   {
-    "base_gbp": 893600229.4221191,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 866066283.9185486,
-    "key": "obr_pmd_nov2025:23318:dcc529f309fec572",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2027
-   },
-   {
-    "base_gbp": 893600229.4221191,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 866066283.9185486,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2027
-   },
-   {
-    "base_gbp": 893600229.4221191,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 866066283.9185486,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2027
-   },
-   {
-    "base_gbp": 1053047649.6080627,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1026780086.9030914,
-    "key": "obr_pmd_nov2025:23319:c6ce8500db20415e",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2028
-   },
-   {
-    "base_gbp": 1053047649.6080627,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1026780086.9030914,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2028
-   },
-   {
-    "base_gbp": 1053047649.6080627,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1026780086.9030914,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2028
-   },
-   {
-    "base_gbp": 1297158615.1423492,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1270196015.4547424,
-    "key": "obr_pmd_nov2025:23320:4c41d84635ed82ad",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2029
-   },
-   {
-    "base_gbp": 1297158615.1423492,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1270196015.4547424,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2029
-   },
-   {
-    "base_gbp": 1297158615.1423492,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1270196015.4547424,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2029
-   },
-   {
-    "base_gbp": -732669693.5323181,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -924233495.3892365,
-    "key": "obr_pmd_nov2025:23336:5d8fea1a1f3c86d6",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2027
-   },
-   {
-    "base_gbp": -732669693.5323181,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -924233495.3892365,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2027
-   },
-   {
-    "base_gbp": -732669693.5323181,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -924233495.3892365,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2027
-   },
-   {
-    "base_gbp": -746613549.421051,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1152562763.0171204,
-    "key": "obr_pmd_nov2025:23337:31f0f1693e3bba3c",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2028
-   },
-   {
-    "base_gbp": -746613549.421051,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1152562763.0171204,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2028
-   },
-   {
-    "base_gbp": -746613549.421051,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1152562763.0171204,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2028
-   },
-   {
-    "base_gbp": -753234184.9562225,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1362077410.9302979,
-    "key": "obr_pmd_nov2025:23338:27e34c93a163b4f0",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2029
-   },
-   {
-    "base_gbp": -753234184.9562225,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1362077410.9302979,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2029
-   },
-   {
-    "base_gbp": -753234184.9562225,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1362077410.9302979,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2029
-   }
-  ]
- },
- "execution": {
-  "dataset_sha256": "40804ba2540458cb6f3c476d29d3bb4bc88d9ac6b401fa285ed6e4232a55aa52",
-  "packaged_bundle_manifest_sha256": "17bdafce1d10094969972d09aa324551a20adfaffaa749f0edba6667d7031ffd",
-  "packages": {
-   "policyengine": {
-    "record_sha256": "e70d98bf2f3032131e8e7ef152bb9a17ce5abcf3a515f65c1156b556dbc006c7",
-    "version": "6.7.0"
-   },
-   "policyengine-core": {
-    "record_sha256": "53a92f2e67982a16faeba61b8b3d145d3ab9a50d298e92c512d61166ffe5d5d4",
-    "version": "3.33.0",
-    "wheel_sha256": "2e32d02a8910ab683a2b7600987904b351d058fc2bd5910a8ea6641438bcd789"
-   },
-   "policyengine-uk": {
-    "record_sha256": "b6330bc40d5938301a56a5f33f331dee9322beb3ed6c2e9feefb5197b891b698",
-    "version": "2.134.7",
-    "wheel_sha256": "7e1ec3a0469f7f3ae1956ad3165b8200ade69cb6039b6fb3bb1d6ad6979af2a5"
-   }
-  },
-  "platform": "Linux-6.17.0-1022-azure-x86_64-with-glibc2.39",
-  "python": "3.12.3",
-  "release_bundle": {
-   "bundle_id": "uk-6.7.0",
-   "certified_by": "policyengine.py bundle certification",
-   "certified_data_artifact_sha256": "40804ba2540458cb6f3c476d29d3bb4bc88d9ac6b401fa285ed6e4232a55aa52",
-   "certified_data_build_id": "policyengine-uk-data-1.58.2",
-   "compatibility_basis": "qualified_exact_pair",
-   "country_id": "uk",
-   "data_build_fingerprint": "sha256:c094d7006fdd81df220090284212f16bbffb15624643bc442c4bb3e1b1e5dac8",
-   "data_build_model_git_sha": "a43e8c5196c7e7c09b6ecb4924f034444dd83b8f",
-   "data_build_model_version": "2.122.2",
-   "data_package": "policyengine-uk-data",
-   "data_version": "1.58.2",
-   "default_dataset": "enhanced_frs_2024_25",
-   "default_dataset_uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.2",
-   "model_package": "policyengine-uk",
-   "model_version": "2.134.7",
-   "policyengine_version": "6.7.0"
-  },
-  "requirements_sha256": "8e796c1d3af7e4a2c5bc98877c76541c6cfbe158a94fc619c68586fb71bdb0b8",
-  "runner": "github-actions Linux X64"
- },
- "integrity": {
-  "failures": [
-   {
-    "code": "construction_inert",
-    "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-    "event": "autumn_budget_2024",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2025
-   },
-   {
-    "code": "construction_inert",
-    "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-    "event": "autumn_budget_2024",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2026
-   },
-   {
-    "code": "construction_inert",
-    "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-    "event": "autumn_budget_2024",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2027
-   },
-   {
-    "code": "construction_inert",
-    "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-    "event": "autumn_budget_2024",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2028
-   },
-   {
-    "code": "construction_inert",
-    "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-    "event": "autumn_budget_2024",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2029
-   }
-  ],
-  "status": "failed"
- },
- "receipt_sha256": "27d64a4742b37bebba23cd122889a2affbba79a4b217a584d203ab26b6717b8a",
- "rejection": null,
- "request_id": "b989d471f90e7cca4ee62f987a43a7255c6b9180d81f6bc2155e0919f6928b77",
- "results": {
-  "manifest_sha256": "623480aedacc2272ec1b21d090ddbc602d65576a26b467726fbe1a88500e6514",
-  "path": "requests/b989d471f90e7cca4ee62f987a43a7255c6b9180d81f6bc2155e0919f6928b77/results/",
-  "ref": "replay-state",
-  "repository": "PolicyEngine/policyengine-scorecard"
- },
- "schema": "policyengine.uk-replay-receipt/v1",
- "status": "failed",
- "variant_id": "pe6.7.0_uk2.134.7_policyengine-uk-data-1.58.2",
- "variant_identity_sha256": "2251990830b3186bc668e01f5cb1ee5e0c3ed422ea0eba53fb2d323e789b2846"
-}
diff --git a/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.json b/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.json
deleted file mode 100644
index 302e11231..000000000
--- a/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.json
+++ /dev/null
@@ -1,179 +0,0 @@
-{
-  "accepted_gaps": {},
-  "dataset_columns": 180,
-  "missing_inputs": [
-    "additional_residential_property_purchased",
-    "adult_dependants_grant_has_other_adult_dependant",
-    "adult_dependants_grant_other_adult_income",
-    "adult_dependants_grant_receives_postgraduate_loan",
-    "armed_forces_independence_payment",
-    "base_net_income",
-    "baseline_child_benefit_entitlement",
-    "baseline_income_support_entitlement",
-    "baseline_pension_credit_entitlement",
-    "beer_draught_share",
-    "beer_litres",
-    "benunit_reported_capital",
-    "blind_persons_allowance",
-    "bursary_fund_16_to_19_in_care_or_care_leaver",
-    "bursary_fund_16_to_19_participation_costs",
-    "bursary_fund_16_to_19_self_supporting",
-    "bus_fare_spending_reported",
-    "bus_in_london_trips",
-    "bus_pass_eligible",
-    "capital_allowances",
-    "capital_gains_badr",
-    "capital_gains_before_response",
-    "capital_gains_carried_interest",
-    "capital_gains_residential_property",
-    "car_co2_emissions",
-    "car_engine_size",
-    "car_first_registration_date",
-    "car_fuel_type",
-    "car_is_ved_exempt",
-    "car_list_price",
-    "care_hours",
-    "cash_isa",
-    "childcare_grant_child_has_special_educational_needs",
-    "childcare_grant_full_time_student",
-    "childcare_grant_provider_is_nanny",
-    "childcare_grant_receives_nhs_childcare_support",
-    "childcare_grant_receives_postgraduate_loan",
-    "cider_draught_share",
-    "cider_litres",
-    "cigarettes_per_week",
-    "cigars_grams_per_week",
-    "consumer_debt",
-    "covenanted_payments",
-    "cumulative_non_residential_rent",
-    "cumulative_residential_rent",
-    "deficiency_relief",
-    "disabled_students_allowance_receives_equivalent_support",
-    "ebr_energy_bills_credit_eligible",
-    "employee_pension_contributions_reported",
-    "employment_expenses",
-    "employment_income_before_lsr",
-    "families",
-    "free_school_milk",
-    "hand_rolling_tobacco_grams_per_week",
-    "heated_tobacco_grams_per_week",
-    "households",
-    "housing_benefit_board_and_attendance_determination",
-    "in_FE",
-    "in_HE",
-    "in_original_frs",
-    "in_rural_fuel_duty_relief_area",
-    "in_specified_or_temporary_accommodation",
-    "individual_savings_account_interest_income",
-    "is_about_to_start_paid_work",
-    "is_apprentice",
-    "is_blind",
-    "is_engaged_in_owned_company_trade",
-    "is_looked_after_by_local_authority",
-    "is_newly_self_employed",
-    "is_shared_accommodation",
-    "liable_for_share_of_household_rent",
-    "lifetime_isa_balance",
-    "local_authority",
-    "loss_relief",
-    "lpg_kg",
-    "married_couples_allowance",
-    "maternity_allowance_reported",
-    "max_free_entitlement_hours_used",
-    "meals_included_in_rent",
-    "mortgage_debt",
-    "natural_gas_kg",
-    "ni_class_3",
-    "non_residential_property_purchased",
-    "non_residential_rent",
-    "num_bedrooms",
-    "original_weight",
-    "other_deductions",
-    "other_fermented_draught_share",
-    "other_fermented_litres",
-    "other_investment_income",
-    "other_local_bus_trips",
-    "other_tax_credits",
-    "other_tobacco_grams_per_week",
-    "owned_company_capital",
-    "owned_company_carries_on_property_business",
-    "owned_company_carries_on_trade",
-    "owned_company_holding_value",
-    "owned_company_income_share",
-    "owned_company_intermediary_earnings_chapter",
-    "owned_company_intermediary_earnings_from_main_employment",
-    "owned_company_is_main_employment",
-    "owned_company_trade_assets",
-    "pension_income",
-    "people",
-    "person_benunit_role",
-    "person_household_role",
-    "private_pension_wealth",
-    "property_finance_costs",
-    "property_finance_costs_brought_forward",
-    "property_rental_income",
-    "raw_person_weight",
-    "receives_limited_capability_for_work_credits",
-    "rent_paid_as_boarder",
-    "rent_paid_as_lodger",
-    "role",
-    "scottish_funded_early_learning_childcare_start_date_reached",
-    "self_employment_gross_receipts",
-    "sparkling_cider_draught_share",
-    "sparkling_cider_litres",
-    "spi_imputed",
-    "spirits_draught_share",
-    "spirits_litres",
-    "stands_as_sole_owner_or_partner_of_company",
-    "statutory_paternity_pay",
-    "stocks_and_shares_isa",
-    "sublet_income",
-    "tax_free_childcare_meets_uk_connection",
-    "tax_free_childcare_on_adoption_leave",
-    "tax_free_childcare_on_carers_leave",
-    "tax_free_childcare_on_qualifying_leave",
-    "tax_free_childcare_on_shared_parental_leave",
-    "tax_free_childcare_self_employment_start_up_period",
-    "tax_free_childcare_uses_qualifying_provider",
-    "tax_reported",
-    "trading_loss",
-    "travel_grant_abroad_placement",
-    "travel_grant_clinical_placement",
-    "travel_grant_eligible_expenses",
-    "travel_grant_receives_means_tested_nhs_bursary",
-    "uc_has_offer_of_paid_work_starting_by_end_of_next_assessment_period",
-    "uc_is_adopter_in_first_year",
-    "uc_is_foster_parent_or_new_friend_or_family_carer",
-    "uc_is_in_pregnancy_or_post_confinement_period",
-    "uc_is_in_startup_period",
-    "uc_is_responsible_foster_parent_of_child_under_one",
-    "uc_is_student_with_no_work_related_requirements",
-    "uc_is_temporarily_absent_from_claimant_household",
-    "uc_migrated",
-    "uc_receives_new_claimant_health_element",
-    "unused_pension_annual_allowance",
-    "uses_energy_prepayment_meter",
-    "wine_draught_share",
-    "wine_litres",
-    "working_tax_credit_run_on",
-    "would_claim_adult_dependants_grant",
-    "would_claim_bursary_fund_16_to_19",
-    "would_claim_care_to_learn",
-    "would_claim_carers_allowance",
-    "would_claim_childcare_grant",
-    "would_claim_disabled_students_allowance",
-    "would_claim_parents_learning_allowance",
-    "would_claim_travel_grant",
-    "would_claim_uc_at_legacy_closure",
-    "would_claim_uc_childcare"
-  ],
-  "model_input_variables": 303,
-  "newly_missing_inputs": [
-    "additional_residential_property_purchased",
-    "loss_relief",
-    "non_residential_property_purchased",
-    "unused_pension_annual_allowance"
-  ],
-  "previous_source": "computed with policyengine 6.7.0",
-  "unusable_critical": []
-}
diff --git a/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.result.json b/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.result.json
deleted file mode 100644
index 626f41eb7..000000000
--- a/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.result.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
-  "details": {
-    "missing_inputs": 164,
-    "newly_missing_inputs": [
-      "additional_residential_property_purchased",
-      "loss_relief",
-      "non_residential_property_purchased",
-      "unused_pension_annual_allowance"
-    ],
-    "unusable_critical": []
-  },
-  "evidence_sha256": "f47e6dd61e6e2274faebbfa5be05eedbbf9969358cc5f2c629f4c52c5a979dd7",
-  "gate_id": "budget_inputs",
-  "status": "needs_review",
-  "summary": "4 model inputs are newly missing from the data (additional_residential_property_purchased, loss_relief, non_residential_property_purchased, unused_pension_annual_allowance)"
-}
diff --git a/tests/fixtures/replay_exceptions/uk2.134.7_qualification_receipt.json b/tests/fixtures/replay_exceptions/uk2.134.7_qualification_receipt.json
deleted file mode 100644
index 35ca7ccc3..000000000
--- a/tests/fixtures/replay_exceptions/uk2.134.7_qualification_receipt.json
+++ /dev/null
@@ -1,334 +0,0 @@
-{
-  "completed_at": "2026-10-17T00:41:01Z",
-  "gates": [
-    {
-      "details": {},
-      "evidence_sha256": "b0e2d172f030a45cf06a5dcc6ec8d82e75f48cb1719fdfcfe2e41fa9c7978625",
-      "gate_id": "installed_versions",
-      "status": "pass",
-      "summary": "policyengine 6.7.0, policyengine-uk 2.134.7 and policyengine-core 3.33.0 are installed and their requirements hold."
-    },
-    {
-      "details": {},
-      "evidence_sha256": "6403ded8cca3e9e63fd8e2ea3cc502ea046b402fb9aab16ba1e3f33795a0d6d8",
-      "gate_id": "wheel_hashes",
-      "status": "pass",
-      "summary": "The pinned PyPI wheels match their RECORDs and the installed files (policyengine-uk: 2751 wheel members, 2751 installed files, policyengine-core: 199 wheel members, 199 installed files)."
-    },
-    {
-      "details": {
-        "publisher_claim_covers_core": false,
-        "publisher_claim_covers_model": false
-      },
-      "evidence_sha256": "6264064dc0c3d3adeeddfacefc5bb2b9917f748bf61a3cf7222bfbfe85948f46",
-      "gate_id": "core_compatibility",
-      "status": "pass",
-      "summary": "policyengine-core 3.33.0 satisfies policyengine-uk>=3.32.27; certification will record an exact qualified pair, since the publisher's claims do not cover both."
-    },
-    {
-      "details": {},
-      "evidence_sha256": "9c0503f44f41642267643596582cd7286a1424b71cb7b2043ec0ee86d49fd4ae",
-      "gate_id": "data_access",
-      "status": "pass",
-      "summary": "Read the release manifest and 7 artifacts with the configured credential; anonymous access returned HTTP 401."
-    },
-    {
-      "details": {},
-      "evidence_sha256": "83546621dd62b8a2e4ce942e4a9a6dec5b52555a5be87d02ce63cef70cca02cf",
-      "gate_id": "dataset_bytes",
-      "status": "pass",
-      "summary": "enhanced_frs_2024_25 is the pinned 128,414,344 bytes with the UK single-year layout."
-    },
-    {
-      "details": {
-        "outside_projection": [],
-        "supported_years": [
-          2024,
-          2025,
-          2026,
-          2027,
-          2028,
-          2029,
-          2030,
-          2031,
-          2032
-        ]
-      },
-      "evidence_sha256": "742a9ab0571fefd55495a9a09ac0f7180df43076a567769eae1a24ac5434c8e6",
-      "gate_id": "supported_years",
-      "status": "pass",
-      "summary": "Supports 2024โ€“2032, covering the required and horizon years."
-    },
-    {
-      "details": {
-        "missing_inputs": 164,
-        "newly_missing_inputs": [
-          "additional_residential_property_purchased",
-          "loss_relief",
-          "non_residential_property_purchased",
-          "unused_pension_annual_allowance"
-        ],
-        "unusable_critical": []
-      },
-      "evidence_sha256": "f47e6dd61e6e2274faebbfa5be05eedbbf9969358cc5f2c629f4c52c5a979dd7",
-      "gate_id": "budget_inputs",
-      "status": "needs_review",
-      "summary": "4 model inputs are newly missing from the data (additional_residential_property_purchased, loss_relief, non_residential_property_purchased, unused_pension_annual_allowance)"
-    },
-    {
-      "details": {
-        "contract_id": "policyengine-uk/budget-reform-contract",
-        "contract_version": "1.1.0",
-        "counts": {
-          "error": 15,
-          "fail": 1,
-          "pass": 722,
-          "pending": 23,
-          "unsupported": 62
-        },
-        "pending": [
-          "case extended_freeze@country.reform_dict",
-          "case extended_freeze@country.reform_dict",
-          "case extended_freeze@country.scenario_parameter_changes",
-          "case extended_freeze@country.scenario_parameter_changes",
-          "case extended_freeze@country.reform_from_dict",
-          "case extended_freeze@country.reform_from_dict",
-          "case cgt_default_response@country.reform_dict",
-          "case cgt_default_response@country.reform_dict",
-          "case cgt_default_response@country.reform_dict",
-          "case cgt_default_response@country.reform_dict",
-          "case cgt_default_response@country.reform_dict",
-          "case cgt_default_response@country.scenario_parameter_changes",
-          "case cgt_default_response@country.scenario_parameter_changes",
-          "case cgt_default_response@country.scenario_parameter_changes",
-          "case cgt_default_response@country.scenario_parameter_changes",
-          "case cgt_default_response@country.scenario_parameter_changes",
-          "case cgt_default_response@country.reform_from_dict",
-          "case cgt_default_response@country.reform_from_dict",
-          "case cgt_default_response@country.reform_from_dict",
-          "case cgt_default_response@country.reform_from_dict",
-          "case cgt_default_response@country.reform_from_dict",
-          "case cgt_default_response@wrapper.policy",
-          "case cgt_default_response@wrapper.policy"
-        ],
-        "problems": [],
-        "report_sha256": "c95f2a933869e69e8d2594c0d914ffaa1a306a1fef8a9b9d7afbe06f11e56037",
-        "unsupported": [
-          "case april_rate_change@wrapper.policy",
-          "case april_rate_change@wrapper.policy",
-          "case april_rate_change@wrapper.policy",
-          "case april_rate_change@api.sim_api",
-          "case finite_rate_change@wrapper.policy",
-          "case finite_rate_change@wrapper.policy",
-          "case finite_rate_change@api.sim_api",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@wrapper.policy",
-          "case extended_freeze@api.sim_api",
-          "case april_benefit_uprating@api.sim_api",
-          "case bounded_change_on_uprated_benefit@api.sim_api",
-          "case uc_award_follows_the_standard_allowance@api.sim_api",
-          "case new_state_pension_rate@api.sim_api",
-          "case mid_year_blended_rate@wrapper.policy",
-          "case mid_year_blended_rate@wrapper.policy",
-          "case mid_year_blended_rate@wrapper.policy",
-          "case mid_year_blended_rate@wrapper.policy",
-          "case mid_year_blended_rate@wrapper.policy",
-          "case mid_year_blended_rate@wrapper.policy",
-          "case mid_year_blended_rate@api.sim_api",
-          "case cgt_retention_response@wrapper.policy",
-          "case cgt_retention_response@wrapper.policy",
-          "case cgt_retention_response@wrapper.policy",
-          "case cgt_retention_response@wrapper.policy",
-          "case cgt_retention_response@api.sim_api",
-          "case cgt_default_response@wrapper.policy",
-          "case cgt_default_response@wrapper.policy",
-          "case cgt_default_response@wrapper.policy",
-          "case cgt_default_response@api.sim_api",
-          "case uc_rebalancing_reform_after_data_load@api.sim_api",
-          "case structural_switch@api.sim_api",
-          "case baseline_vat_is_current_law@wrapper.policy",
-          "case baseline_vat_is_current_law@api.sim_api",
-          "case modifier_then_parameter_changes@wrapper.policy",
-          "case modifier_then_parameter_changes@wrapper.policy",
-          "case modifier_then_parameter_changes@wrapper.policy",
-          "case modifier_then_parameter_changes@wrapper.policy",
-          "case parameter_changes_then_modifier@wrapper.policy",
-          "case parameter_changes_then_modifier@wrapper.policy",
-          "case parameter_changes_then_modifier@wrapper.policy",
-          "case parameter_changes_then_modifier@wrapper.policy",
-          "case unknown_path@api.sim_api"
-        ]
-      },
-      "evidence_sha256": "c95f2a933869e69e8d2594c0d914ffaa1a306a1fef8a9b9d7afbe06f11e56037",
-      "gate_id": "reform_contract",
-      "status": "fail",
-      "summary": "16 contract row(s) failed: case april_rate_change@wrapper.household, case finite_rate_change@wrapper.household, case extended_freeze@wrapper.household, case april_benefit_uprating@wrapper.household, case bounded_change_on_uprated_benefit@wrapper.household, case uc_award_follows_the_standard_allowance@wrapper.household, case new_state_pension_rate@wrapper.household, case mid_year_blended_rate@wrapper.household"
-    },
-    {
-      "details": {
-        "data_only": "needs_review",
-        "model_only": "needs_review"
-      },
-      "evidence_sha256": "4cf32de2209d526e05bf3b0d75d277d21e69fdeb1e44be493e764d08cc59a064",
-      "gate_id": "metrics_review",
-      "status": "needs_review",
-      "summary": "model_only: 109 metric move(s) exceed their review bounds; data_only: 106 metric move(s) exceed their review bounds"
-    },
-    {
-      "details": {},
-      "evidence_sha256": "b47e4f5b97c2917bff418ecc267e1c53d9533d5a400797f2519b368d3759eea2",
-      "gate_id": "reform_responsiveness",
-      "status": "pass",
-      "summary": "All 10 standard reforms ran and moved their targets by at least their minimums in every year from 2025-26 to 2031-32."
-    },
-    {
-      "details": {
-        "integrity": "failed",
-        "integrity_failures": [
-          {
-            "code": "construction_inert",
-            "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-            "event": "autumn_budget_2024",
-            "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-            "year": 2025
-          },
-          {
-            "code": "construction_inert",
-            "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-            "event": "autumn_budget_2024",
-            "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-            "year": 2026
-          },
-          {
-            "code": "construction_inert",
-            "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-            "event": "autumn_budget_2024",
-            "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-            "year": 2027
-          },
-          {
-            "code": "construction_inert",
-            "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-            "event": "autumn_budget_2024",
-            "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-            "year": 2028
-          },
-          {
-            "code": "construction_inert",
-            "detail": "identical heads although CONSTRUCTION_PREMISES.json sets gov.hmrc.stamp_duty.residential.purchase.additional.rate[0].rate to 0.03 in the baseline world and 0.05 in the reform world (and 4 more paths)",
-            "event": "autumn_budget_2024",
-            "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-            "year": 2029
-          }
-        ],
-        "known_gaps": [],
-        "policy": "d1344-replay-regressions-v1",
-        "policy_sha256": "65ecaf44289624b6aae001068099250e789424854ed2b29ead86b71845a7dfa0",
-        "receipt_commit": "16439a6eb8411b013a48bddab0cd802c2433f04b",
-        "receipt_sha256": "27d64a4742b37bebba23cd122889a2affbba79a4b217a584d203ab26b6717b8a",
-        "regressions": [
-          {
-            "kind": "failed",
-            "why": "Replay integrity failed: construction_inert"
-          }
-        ],
-        "request_id": "b989d471f90e7cca4ee62f987a43a7255c6b9180d81f6bc2155e0919f6928b77",
-        "review_items": [],
-        "status": "failed"
-      },
-      "gate_id": "replay",
-      "status": "fail",
-      "summary": "Replay integrity failed: construction_inert"
-    }
-  ],
-  "harness": {
-    "git_commit": "7832b467fa845247e34c104187bdb096e2421101",
-    "packaged_bundle_manifest_sha256": "17bdafce1d10094969972d09aa324551a20adfaffaa749f0edba6667d7031ffd",
-    "policyengine_version": "6.7.0"
-  },
-  "issued_by": {
-    "repository": "PolicyEngine/policyengine.py",
-    "run_attempt": 1,
-    "run_url": "https://github.com/PolicyEngine/policyengine.py/actions/runs/38976238397",
-    "workflow_run_id": 38976238397
-  },
-  "pair": {
-    "core": {
-      "name": "policyengine-core",
-      "version": "3.33.0",
-      "wheel_sha256": "2e32d02a8910ab683a2b7600987904b351d058fc2bd5910a8ea6641438bcd789"
-    },
-    "country_id": "uk",
-    "data": {
-      "build_id": "policyengine-uk-data-1.58.2",
-      "data_package": "policyengine-uk-data",
-      "dataset": "enhanced_frs_2024_25",
-      "dataset_path": "enhanced_frs_2024_25.h5",
-      "dataset_revision": "1.58.2",
-      "dataset_sha256": "40804ba2540458cb6f3c476d29d3bb4bc88d9ac6b401fa285ed6e4232a55aa52",
-      "release_manifest_path": "releases/1.58.2/release_manifest.json",
-      "release_manifest_revision": "cd0856d995eeab2757a987ac2452d3cacce839ee",
-      "release_manifest_sha256": "6867e8a7bd8be6110816527191b2348f712c4ba2502886696142506bb59fbbff",
-      "release_version": "1.58.2",
-      "repo_id": "policyengine/policyengine-uk-data-private",
-      "repo_type": "model",
-      "size_bytes": 128414344
-    },
-    "model": {
-      "name": "policyengine-uk",
-      "version": "2.134.7",
-      "wheel_sha256": "7e1ec3a0469f7f3ae1956ad3165b8200ade69cb6039b6fb3bb1d6ad6979af2a5"
-    }
-  },
-  "pair_id": "fc9046aa4c796807e1efd3beb97a1f620fec5d6c4d7a8cff4860e43de7e62cea",
-  "previous_certificate": {
-    "bundle_version": "6.7.0",
-    "certificate_sha256": "565727f064cf6afb44782b69e4ba69bf872257828e6fa19e1edda59d2a876cae",
-    "core_version": "3.33.0",
-    "data_release_version": "1.58.1",
-    "dataset_name": "enhanced_frs_2024_25",
-    "dataset_reference": {
-      "path": "enhanced_frs_2024_25.h5",
-      "repo_id": "policyengine/policyengine-uk-data-private",
-      "repo_type": "model",
-      "revision": "1.58.1",
-      "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784"
-    },
-    "dataset_sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-    "model_version": "2.130.1",
-    "model_wheel_sha256": "f8b1b8b917c9297ff66937811dbebd9a62d3b1796ce894c326e98051cac4c873",
-    "release_manifest_reference": {
-      "path": "releases/1.58.1/release_manifest.json",
-      "repo_id": "policyengine/policyengine-uk-data-private",
-      "repo_type": "model",
-      "revision": "89be6b73fc1e6eeba6dae2f9400676d8510bcd51"
-    }
-  },
-  "receipt_type": "policyengine.candidate_qualification_receipt",
-  "replay": {
-    "receipt_commit": "16439a6eb8411b013a48bddab0cd802c2433f04b",
-    "receipt_sha256": "27d64a4742b37bebba23cd122889a2affbba79a4b217a584d203ab26b6717b8a",
-    "request_id": "b989d471f90e7cca4ee62f987a43a7255c6b9180d81f6bc2155e0919f6928b77"
-  },
-  "schema_version": 1,
-  "verdict": "rejected"
-}
diff --git a/tests/fixtures/uk_contract/README.md b/tests/fixtures/uk_contract/README.md
index 7e01cf44d..a686952c1 100644
--- a/tests/fixtures/uk_contract/README.md
+++ b/tests/fixtures/uk_contract/README.md
@@ -1,15 +1,14 @@
-# UK Budget reform contract reports
-
-Real reports from the UK Budget reform contract runner (workstream W1,
-`policyengine.tax_benefit_models.uk.budget_reform_contract`, PolicyEngine/policyengine.py#577),
-run on 11 October 2026. The qualification gate tests in `tests/test_uk_candidate_gates.py` read them.
-
-- `pinned_uk_2.125.1_defects.json`: every case on policyengine-uk 2.125.1, the pinned model at the time, with `max_examples=2` and no dataset. The 66 failures and 35 errors are the dated-reform defects the contract was written to catch.
-- `full_released_uk_2.135.0.json`: the full run of contract 2.1.0 (19 October 2026, UTC), the runner at policyengine.py#633's head 0b83d34e (on main 4773da7f), on policyengine-uk 2.135.0, which holds the d1344 statutory resumption (policyengine-uk#2423), with core 3.33.0. It covers every route and case, seed 0 and `max_examples=20`, with population checks on the certified `enhanced_frs_2024_25` (SHA-256 `056e80fdโ€ฆ`, the dataset of the certified pair). Result: 905 pass, 34 pending a methodology call (policyengine-uk#2396, the default capital gains response, in `cgt_default_response` and `cgt_default_response_relief_gains`), 120 unsupported with reasons, both properties passing, 19 of 19 population rows. Against the contract 2.0.0 run it replaces (17 October 2026, policyengine.py#627's head f1f2431d9), it adds the relief-gains case's 40 rows and changes no other row, and its properties and population rows are identical. Its `versions` record policyengine 6.7.6, the editable install that ran it; treat them as fixture metadata. The gate tests read it through the coverage the current runner module declares, and fail rather than skip when the runner's contract version moves past it.
-- `population_pass_max_examples_0.json`: population checks only, on the earlier certified `enhanced_frs_2024_25` (uk-data 1.58.0, SHA-256 `5ba399eaโ€ฆ`). It has no cases, and with `max_examples=0` its sampled properties did not run, so the gate treats it as an incomplete run.
-
-The edits:
-- `dataset.path` (a local Hugging Face cache path) was replaced with a placeholder in the two files that name a dataset, and every file was re-serialized with sorted keys.
-- Population rows are computed on the survey dataset, so a count from 1 to 9 in their `detail` is a small cell, which the metrics tool's `privacy.py` rule never publishes. Since policyengine.py#643 the runner suppresses them at source, so `full_released_uk_2.135.0.json` reads `"fewer than 10"` where they occur, and its population details agree across routes. No gate rule reads `detail`, and the qualification ledger (`publishable_contract_report`) publishes none of a population detail's values beyond its top-level true/false findings, since rows of one check on different routes share a subsample and their differences would give a handful's figures back. Check any new fixture for such counts before committing it.
-
-The run of contract 1.0.0 on policyengine-uk 2.126.8 (`full_allpass_uk_2.126.8.json`) was removed once no test read it.
+# UK Budget reform contract rows
+
+`evaluate_case_rows.json` holds report rows of the UK Budget reform contract
+runner (`policyengine.tax_benefit_models.uk.budget_reform_contract`) over
+fixed fake routes. `tests/test_uk_budget_reform_contract.py` compares the
+runner's rows with it; `tests/uk_contract_row_scenarios.py` says how the rows
+were recorded and how to record them again.
+
+The real contract reports once kept here (`pinned_uk_2.125.1_defects.json`,
+`full_released_uk_2.135.0.json` and `population_pass_max_examples_0.json`)
+were removed with the UK qualification pipeline, whose tests were the only
+ones that read them. A full report's population rows are computed on the
+survey dataset: check any new report fixture for counts from 1 to 9 before
+committing it.
diff --git a/tests/fixtures/uk_contract/full_released_uk_2.135.0.json b/tests/fixtures/uk_contract/full_released_uk_2.135.0.json
deleted file mode 100644
index 397b18418..000000000
--- a/tests/fixtures/uk_contract/full_released_uk_2.135.0.json
+++ /dev/null
@@ -1,17374 +0,0 @@
-{
-  "cases": [
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:0",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "unchanged before 2027-28",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:1",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:2",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "held from 6 April 2027",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2026:3",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:4",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2028:5",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "baseline_isolation:income_tax:2026",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "baseline_isolation:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "9f0a954308ede698ebada30899f04339b96ed509cb4ebe07c3885c229a9645f4",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:0",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "unchanged before 2027-28",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:1",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:2",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "held from 6 April 2027",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2026:3",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:4",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2028:5",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "baseline_isolation:income_tax:2026",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "baseline_isolation:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "979484c0e230b3255e62c00e7bad677dcf6b7839f97ff732a647828c0f14f46e",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:0",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "unchanged before 2027-28",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:1",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:2",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "held from 6 April 2027",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2026:3",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:4",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2028:5",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "baseline_isolation:income_tax:2026",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "baseline_isolation:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:0",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:1",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:2",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2026:3",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:4",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2028:5",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:0",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:1",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:2",
-      "case_id": "april_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2026:3",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:4",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2028:5",
-      "case_id": "april_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "april_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_rate_change",
-        "reform_sha256": "e9c1d3beb83179ffb9bb369d900a2f264eda9535f67431adcc31bf5f03ca86b1",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "april_rate_change",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:0",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:1",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "prior law after 5 April 2028",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:2",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2028:3",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "the change has ended",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "baseline_isolation:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "1435fd005a02984184442093db0558b51cf444c5a9e03bdbd4a2279e4b135105",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:0",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:1",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "prior law after 5 April 2028",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:2",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2028:3",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "the change has ended",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "baseline_isolation:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "ae43ea29444561c5c77d32ad9834b0075bd62c00d605154065a304dd0055e229",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:0",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:1",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "prior law after 5 April 2028",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:2",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2028:3",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "the change has ended",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "baseline_isolation:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:0",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "97674d142cf5719ae87a2523e758805be566fe02241aeff2a658fee27235c3f8",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:1",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "97674d142cf5719ae87a2523e758805be566fe02241aeff2a658fee27235c3f8",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:2",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "97674d142cf5719ae87a2523e758805be566fe02241aeff2a658fee27235c3f8",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2028:3",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "the change has ended",
-      "reform_digest": "97674d142cf5719ae87a2523e758805be566fe02241aeff2a658fee27235c3f8",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "97674d142cf5719ae87a2523e758805be566fe02241aeff2a658fee27235c3f8",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "97674d142cf5719ae87a2523e758805be566fe02241aeff2a658fee27235c3f8",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:0",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "635e34257a38637cabd07234afb9e37355921ce7b680a98d8f85a1e05ecbbb64",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:1",
-      "case_id": "finite_rate_change",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "635e34257a38637cabd07234afb9e37355921ce7b680a98d8f85a1e05ecbbb64",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 174.300048828125,
-      "assertion_id": "change:income_tax:2027:2",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": 174.29999999999967,
-      "holds": null,
-      "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "635e34257a38637cabd07234afb9e37355921ce7b680a98d8f85a1e05ecbbb64",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:income_tax:2028:3",
-      "case_id": "finite_rate_change",
-      "check": "change:income_tax:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "the change has ended",
-      "reform_digest": "635e34257a38637cabd07234afb9e37355921ce7b680a98d8f85a1e05ecbbb64",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "635e34257a38637cabd07234afb9e37355921ce7b680a98d8f85a1e05ecbbb64",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3486.0,
-      "case_id": "finite_rate_change",
-      "check": "unreformed_after_reform:income_tax:2028",
-      "expected": 3486.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "635e34257a38637cabd07234afb9e37355921ce7b680a98d8f85a1e05ecbbb64",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "finite_rate_change",
-        "reform_sha256": "9413545a91d0019e0b4c06272d040c0948378d600c25eba395341396be96f98a",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "finite_rate_change",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031:0",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 37700.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031:1",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "decision_id": null,
-      "expected": 37700.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031:2",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "aligned with the allowance",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 50270.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031:3",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-      "decision_id": null,
-      "expected": 50270.0,
-      "holds": null,
-      "oracle": "allowance + basic rate limit",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 241.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031:4",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "decision_id": null,
-      "expected": 241.73,
-      "holds": null,
-      "oracle": "12,570 / 52, to the penny",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 966.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031:5",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-      "decision_id": null,
-      "expected": 966.73,
-      "holds": null,
-      "oracle": "50,270 / 52, to the penny",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 52.0,
-      "assertion_id": "change:income_tax:2031:6",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2031",
-      "decision_id": null,
-      "expected": 52.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032:7",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 37700.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032:8",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-      "decision_id": null,
-      "expected": 37700.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032:9",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "aligned with the allowance",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 50270.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032:10",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-      "decision_id": null,
-      "expected": 50270.0,
-      "holds": null,
-      "oracle": "allowance + basic rate limit",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 241.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032:11",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-      "decision_id": null,
-      "expected": 241.73,
-      "holds": null,
-      "oracle": "12,570 / 52, to the penny",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 966.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032:12",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-      "decision_id": null,
-      "expected": 966.73,
-      "holds": null,
-      "oracle": "50,270 / 52, to the penny",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 104.0,
-      "assertion_id": "change:income_tax:2032:13",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2032",
-      "decision_id": null,
-      "expected": 104.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033:14",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 37700.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033:15",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-      "decision_id": null,
-      "expected": 37700.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033:16",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "aligned with the allowance",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 50270.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033:17",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-      "decision_id": null,
-      "expected": 50270.0,
-      "holds": null,
-      "oracle": "allowance + basic rate limit",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 241.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033:18",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-      "decision_id": null,
-      "expected": 241.73,
-      "holds": null,
-      "oracle": "12,570 / 52, to the penny",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 966.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033:19",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-      "decision_id": null,
-      "expected": 966.73,
-      "holds": null,
-      "oracle": "50,270 / 52, to the penny",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 158.0,
-      "assertion_id": "change:income_tax:2033:20",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2033",
-      "decision_id": null,
-      "expected": 158.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034:21",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-      "decision_id": null,
-      "expected": 12830.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 38500.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034:22",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-      "decision_id": null,
-      "expected": 38500.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034:23",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034",
-      "decision_id": null,
-      "expected": 12830.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 51330.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034:24",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034",
-      "decision_id": null,
-      "expected": 51330.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 246.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034:25",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034",
-      "decision_id": null,
-      "expected": 246.73,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 987.12,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034:26",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034",
-      "decision_id": null,
-      "expected": 987.12,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 160.0,
-      "assertion_id": "change:income_tax:2034:27",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2034",
-      "decision_id": null,
-      "expected": 160.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035:28",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035",
-      "decision_id": null,
-      "expected": 13090.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 39300.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035:29",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035",
-      "decision_id": null,
-      "expected": 39300.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035:30",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035",
-      "decision_id": null,
-      "expected": 13090.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 52390.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035:31",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035",
-      "decision_id": null,
-      "expected": 52390.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 251.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035:32",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035",
-      "decision_id": null,
-      "expected": 251.73,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1007.5,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035:33",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035",
-      "decision_id": null,
-      "expected": 1007.5,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 164.0,
-      "assertion_id": "change:income_tax:2035:34",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2035",
-      "decision_id": null,
-      "expected": 164.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3424.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2031",
-      "expected": 3424.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3372.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2032",
-      "expected": 3372.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3318.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2033",
-      "expected": 3318.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3264.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2034",
-      "expected": 3264.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3208.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2035",
-      "expected": 3208.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "expected": 12830.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 38500.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "expected": 38500.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-      "expected": 12830.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 51330.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-      "expected": 51330.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 246.73,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "expected": 246.73,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 987.12,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-      "expected": 987.12,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3424.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2031",
-      "expected": 3424.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-      "expected": 13090.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 39300.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-      "expected": 39300.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-      "expected": 13090.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 52390.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-      "expected": 52390.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 251.73,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-      "expected": 251.73,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1007.5,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-      "expected": 1007.5,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3372.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2032",
-      "expected": 3372.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13360.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-      "expected": 13360.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 40100.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-      "expected": 40100.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13360.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-      "expected": 13360.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 53460.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-      "expected": 53460.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 256.92,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-      "expected": 256.92,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1028.08,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-      "expected": 1028.08,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3318.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2033",
-      "expected": 3318.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13630.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-      "expected": 13630.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 41000.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-      "expected": 41000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13630.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034",
-      "expected": 13630.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 54630.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034",
-      "expected": 54630.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 262.12,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034",
-      "expected": 262.12,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1050.58,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034",
-      "expected": 1050.58,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3264.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2034",
-      "expected": 3264.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13910.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035",
-      "expected": 13910.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 41900.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2035",
-      "expected": 41900.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13910.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035",
-      "expected": 13910.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 55810.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035",
-      "expected": 55810.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 267.5,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035",
-      "expected": 267.5,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1073.27,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035",
-      "expected": 1073.27,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3208.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2035",
-      "expected": 3208.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "1b943da8e8bc75c3d0e6d96ab325eaca5480e5798ad4dbc239037eec6371061c",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031:0",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 37700.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031:1",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "decision_id": null,
-      "expected": 37700.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031:2",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "aligned with the allowance",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 50270.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031:3",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-      "decision_id": null,
-      "expected": 50270.0,
-      "holds": null,
-      "oracle": "allowance + basic rate limit",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 241.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031:4",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "decision_id": null,
-      "expected": 241.73,
-      "holds": null,
-      "oracle": "12,570 / 52, to the penny",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 966.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031:5",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-      "decision_id": null,
-      "expected": 966.73,
-      "holds": null,
-      "oracle": "50,270 / 52, to the penny",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 52.0,
-      "assertion_id": "change:income_tax:2031:6",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2031",
-      "decision_id": null,
-      "expected": 52.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032:7",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 37700.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032:8",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-      "decision_id": null,
-      "expected": 37700.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032:9",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "aligned with the allowance",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 50270.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032:10",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-      "decision_id": null,
-      "expected": 50270.0,
-      "holds": null,
-      "oracle": "allowance + basic rate limit",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 241.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032:11",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-      "decision_id": null,
-      "expected": 241.73,
-      "holds": null,
-      "oracle": "12,570 / 52, to the penny",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 966.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032:12",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-      "decision_id": null,
-      "expected": 966.73,
-      "holds": null,
-      "oracle": "50,270 / 52, to the penny",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 104.0,
-      "assertion_id": "change:income_tax:2032:13",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2032",
-      "decision_id": null,
-      "expected": 104.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033:14",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 37700.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033:15",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-      "decision_id": null,
-      "expected": 37700.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033:16",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "aligned with the allowance",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 50270.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033:17",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-      "decision_id": null,
-      "expected": 50270.0,
-      "holds": null,
-      "oracle": "allowance + basic rate limit",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 241.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033:18",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-      "decision_id": null,
-      "expected": 241.73,
-      "holds": null,
-      "oracle": "12,570 / 52, to the penny",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 966.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033:19",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-      "decision_id": null,
-      "expected": 966.73,
-      "holds": null,
-      "oracle": "50,270 / 52, to the penny",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 158.0,
-      "assertion_id": "change:income_tax:2033:20",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2033",
-      "decision_id": null,
-      "expected": 158.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034:21",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-      "decision_id": null,
-      "expected": 12830.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 38500.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034:22",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-      "decision_id": null,
-      "expected": 38500.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034:23",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034",
-      "decision_id": null,
-      "expected": 12830.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 51330.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034:24",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034",
-      "decision_id": null,
-      "expected": 51330.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 246.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034:25",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034",
-      "decision_id": null,
-      "expected": 246.73,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 987.12,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034:26",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034",
-      "decision_id": null,
-      "expected": 987.12,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 160.0,
-      "assertion_id": "change:income_tax:2034:27",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2034",
-      "decision_id": null,
-      "expected": 160.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035:28",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035",
-      "decision_id": null,
-      "expected": 13090.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 39300.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035:29",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035",
-      "decision_id": null,
-      "expected": 39300.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035:30",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035",
-      "decision_id": null,
-      "expected": 13090.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 52390.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035:31",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035",
-      "decision_id": null,
-      "expected": 52390.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 251.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035:32",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035",
-      "decision_id": null,
-      "expected": 251.73,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1007.5,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035:33",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035",
-      "decision_id": null,
-      "expected": 1007.5,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 164.0,
-      "assertion_id": "change:income_tax:2035:34",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2035",
-      "decision_id": null,
-      "expected": 164.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3424.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2031",
-      "expected": 3424.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3372.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2032",
-      "expected": 3372.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3318.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2033",
-      "expected": 3318.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3264.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2034",
-      "expected": 3264.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3208.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2035",
-      "expected": 3208.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "expected": 12830.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 38500.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "expected": 38500.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-      "expected": 12830.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 51330.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-      "expected": 51330.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 246.73,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "expected": 246.73,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 987.12,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-      "expected": 987.12,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3424.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2031",
-      "expected": 3424.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-      "expected": 13090.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 39300.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-      "expected": 39300.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-      "expected": 13090.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 52390.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-      "expected": 52390.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 251.73,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-      "expected": 251.73,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1007.5,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-      "expected": 1007.5,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3372.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2032",
-      "expected": 3372.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13360.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-      "expected": 13360.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 40100.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-      "expected": 40100.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13360.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-      "expected": 13360.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 53460.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-      "expected": 53460.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 256.92,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-      "expected": 256.92,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1028.08,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-      "expected": 1028.08,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3318.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2033",
-      "expected": 3318.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13630.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-      "expected": 13630.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 41000.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-      "expected": 41000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13630.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034",
-      "expected": 13630.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 54630.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034",
-      "expected": 54630.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 262.12,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034",
-      "expected": 262.12,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1050.58,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034",
-      "expected": 1050.58,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3264.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2034",
-      "expected": 3264.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13910.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035",
-      "expected": 13910.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 41900.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2035",
-      "expected": 41900.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13910.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035",
-      "expected": 13910.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 55810.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035",
-      "expected": 55810.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 267.5,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035",
-      "expected": 267.5,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1073.27,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035",
-      "expected": 1073.27,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 3208.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2035",
-      "expected": 3208.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "83e1d809ac3a20b0669fcf3bf857cd0640aadd1be0b7713ea248fd96a7d38326",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031:0",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 37700.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031:1",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "decision_id": null,
-      "expected": 37700.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031:2",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "aligned with the allowance",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 50270.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031:3",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-      "decision_id": null,
-      "expected": 50270.0,
-      "holds": null,
-      "oracle": "allowance + basic rate limit",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 241.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031:4",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "decision_id": null,
-      "expected": 241.73,
-      "holds": null,
-      "oracle": "12,570 / 52, to the penny",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 966.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031:5",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-      "decision_id": null,
-      "expected": 966.73,
-      "holds": null,
-      "oracle": "50,270 / 52, to the penny",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 52.0,
-      "assertion_id": "change:income_tax:2031:6",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2031",
-      "decision_id": null,
-      "expected": 52.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032:7",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 37700.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032:8",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-      "decision_id": null,
-      "expected": 37700.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032:9",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "aligned with the allowance",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 50270.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032:10",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-      "decision_id": null,
-      "expected": 50270.0,
-      "holds": null,
-      "oracle": "allowance + basic rate limit",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 241.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032:11",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-      "decision_id": null,
-      "expected": 241.73,
-      "holds": null,
-      "oracle": "12,570 / 52, to the penny",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 966.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032:12",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-      "decision_id": null,
-      "expected": 966.73,
-      "holds": null,
-      "oracle": "50,270 / 52, to the penny",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 104.0,
-      "assertion_id": "change:income_tax:2032:13",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2032",
-      "decision_id": null,
-      "expected": 104.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033:14",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 37700.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033:15",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-      "decision_id": null,
-      "expected": 37700.0,
-      "holds": null,
-      "oracle": "frozen",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12570.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033:16",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-      "decision_id": null,
-      "expected": 12570.0,
-      "holds": null,
-      "oracle": "aligned with the allowance",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 50270.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033:17",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-      "decision_id": null,
-      "expected": 50270.0,
-      "holds": null,
-      "oracle": "allowance + basic rate limit",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 241.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033:18",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-      "decision_id": null,
-      "expected": 241.73,
-      "holds": null,
-      "oracle": "12,570 / 52, to the penny",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 966.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033:19",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-      "decision_id": null,
-      "expected": 966.73,
-      "holds": null,
-      "oracle": "50,270 / 52, to the penny",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 158.0,
-      "assertion_id": "change:income_tax:2033:20",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2033",
-      "decision_id": null,
-      "expected": 158.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034:21",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-      "decision_id": null,
-      "expected": 12830.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 38500.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034:22",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-      "decision_id": null,
-      "expected": 38500.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034:23",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034",
-      "decision_id": null,
-      "expected": 12830.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 51330.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034:24",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034",
-      "decision_id": null,
-      "expected": 51330.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 246.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034:25",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034",
-      "decision_id": null,
-      "expected": 246.73,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 987.12,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034:26",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034",
-      "decision_id": null,
-      "expected": 987.12,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 160.0,
-      "assertion_id": "change:income_tax:2034:27",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2034",
-      "decision_id": null,
-      "expected": 160.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035:28",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035",
-      "decision_id": null,
-      "expected": 13090.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 39300.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035:29",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035",
-      "decision_id": null,
-      "expected": 39300.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035:30",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035",
-      "decision_id": null,
-      "expected": 13090.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 52390.0,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035:31",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035",
-      "decision_id": null,
-      "expected": 52390.0,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 251.73,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035:32",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035",
-      "decision_id": null,
-      "expected": 251.73,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1007.5,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035:33",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035",
-      "decision_id": null,
-      "expected": 1007.5,
-      "holds": null,
-      "oracle": "indexed from the frozen amount after the freeze (ITA 2007 s57(3) and s21(3), the previous tax year's amount; cos d1344), with current law's September CPI rise",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 164.0,
-      "assertion_id": "change:income_tax:2035:34",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2035",
-      "decision_id": null,
-      "expected": 164.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3424.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2031",
-      "expected": 3424.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3372.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2032",
-      "expected": 3372.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3318.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2033",
-      "expected": 3318.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3264.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2034",
-      "expected": 3264.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3208.39990234375,
-      "case_id": "extended_freeze",
-      "check": "baseline_isolation:income_tax:2035",
-      "expected": 3208.39990234375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "expected": 12830.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 38500.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "expected": 38500.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-      "expected": 12830.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 51330.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-      "expected": 51330.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 246.73,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "expected": 246.73,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 987.12,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-      "expected": 987.12,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3424.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2031",
-      "expected": 3424.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-      "expected": 13090.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 39300.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-      "expected": 39300.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13090.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-      "expected": 13090.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 52390.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-      "expected": 52390.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 251.73,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-      "expected": 251.73,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1007.5,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-      "expected": 1007.5,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3372.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2032",
-      "expected": 3372.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13360.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-      "expected": 13360.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 40100.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-      "expected": 40100.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13360.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-      "expected": 13360.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 53460.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-      "expected": 53460.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 256.92,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-      "expected": 256.92,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1028.08,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-      "expected": 1028.08,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3318.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2033",
-      "expected": 3318.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13630.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-      "expected": 13630.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 41000.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-      "expected": 41000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13630.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034",
-      "expected": 13630.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 54630.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034",
-      "expected": 54630.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 262.12,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034",
-      "expected": 262.12,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1050.58,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034",
-      "expected": 1050.58,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3264.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2034",
-      "expected": 3264.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13910.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035",
-      "expected": 13910.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 41900.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2035",
-      "expected": 41900.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13910.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035",
-      "expected": 13910.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 55810.0,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035",
-      "expected": 55810.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 267.5,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035",
-      "expected": 267.5,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1073.27,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035",
-      "expected": 1073.27,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 3208.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2035",
-      "expected": 3208.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031:0",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031:1",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031:2",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031:3",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031:4",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031:5",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 52.0,
-      "assertion_id": "change:income_tax:2031:6",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2031",
-      "decision_id": null,
-      "expected": 52.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032:7",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032:8",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032:9",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032:10",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032:11",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032:12",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 104.0,
-      "assertion_id": "change:income_tax:2032:13",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2032",
-      "decision_id": null,
-      "expected": 104.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033:14",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033:15",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033:16",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033:17",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033:18",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033:19",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 158.0,
-      "assertion_id": "change:income_tax:2033:20",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2033",
-      "decision_id": null,
-      "expected": 158.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034:21",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034:22",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034:23",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034:24",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034:25",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034:26",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 160.0,
-      "assertion_id": "change:income_tax:2034:27",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2034",
-      "decision_id": null,
-      "expected": 160.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035:28",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035:29",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035:30",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035:31",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035:32",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035:33",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 164.0,
-      "assertion_id": "change:income_tax:2035:34",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2035",
-      "decision_id": null,
-      "expected": 164.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3424.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2031",
-      "expected": 3424.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3372.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2032",
-      "expected": 3372.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3318.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2033",
-      "expected": 3318.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3264.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2034",
-      "expected": 3264.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 3208.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2035",
-      "expected": 3208.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031:0",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031:1",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031:2",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031:3",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031:4",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031:5",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 52.0,
-      "assertion_id": "change:income_tax:2031:6",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2031",
-      "decision_id": null,
-      "expected": 52.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032:7",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032:8",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032:9",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032:10",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032:11",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032:12",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 104.0,
-      "assertion_id": "change:income_tax:2032:13",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2032",
-      "decision_id": null,
-      "expected": 104.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033:14",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033:15",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033:16",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033:17",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033:18",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033:19",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 158.0,
-      "assertion_id": "change:income_tax:2033:20",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2033",
-      "decision_id": null,
-      "expected": 158.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - 12,570)",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034:21",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034:22",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034:23",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034:24",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034:25",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034:26",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2034",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 160.0,
-      "assertion_id": "change:income_tax:2034:27",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2034",
-      "decision_id": null,
-      "expected": 160.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035:28",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035:29",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035:30",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035:31",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035:32",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035:33",
-      "case_id": "extended_freeze",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2035",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 164.0,
-      "assertion_id": "change:income_tax:2035:34",
-      "case_id": "extended_freeze",
-      "check": "change:income_tax:2035",
-      "decision_id": null,
-      "expected": 164.0,
-      "holds": null,
-      "oracle": "basic rate x (current law's allowance - the allowance indexed from the frozen amount)",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3424.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2031",
-      "expected": 3424.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3372.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2032",
-      "expected": 3372.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3318.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2033",
-      "expected": 3318.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3264.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2034",
-      "expected": 3264.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 3208.39990234375,
-      "case_id": "extended_freeze",
-      "check": "unreformed_after_reform:income_tax:2035",
-      "expected": 3208.39990234375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "extended_freeze",
-        "reform_sha256": "8bcc44861af52ebd02b59342635d00e9900379ee1901ac755ea7443cb09d3d7c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "extended_freeze",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2028:1",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "\u00a3520 x 12",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2029:2",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2029",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "held from April 2028",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2026:3",
-      "case_id": "april_benefit_uprating",
-      "check": "change:uc_standard_allowance:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5559.3955078125,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2029",
-      "expected": 5559.3955078125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2026",
-      "expected": 5098.7998046875,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5559.3955078125,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2029",
-      "expected": 5559.3955078125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "88407c594dab2d57ead4d2a0f358716dfef6f595741e7abbb206bc51bed87701",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2028:1",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "\u00a3520 x 12",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2029:2",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2029",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "held from April 2028",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2026:3",
-      "case_id": "april_benefit_uprating",
-      "check": "change:uc_standard_allowance:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5559.3955078125,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2029",
-      "expected": 5559.3955078125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2026",
-      "expected": 5098.7998046875,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5559.3955078125,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2029",
-      "expected": 5559.3955078125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "40b2c4441a2078ee36efae8485cf7f09a44d30a419fe1a728ca638c0453e9d47",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2028:1",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "\u00a3520 x 12",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2029:2",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2029",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "held from April 2028",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2026:3",
-      "case_id": "april_benefit_uprating",
-      "check": "change:uc_standard_allowance:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5559.3955078125,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2029",
-      "expected": 5559.3955078125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "april_benefit_uprating",
-      "check": "baseline_isolation:uc_standard_allowance:2026",
-      "expected": 5098.7998046875,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5559.3955078125,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2029",
-      "expected": 5559.3955078125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "dfc339899202506f1bb7300cea49e605d3c128f1c036c0ec5df0c3d326d0c33e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2028:1",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "\u00a3520 x 12",
-      "reform_digest": "dfc339899202506f1bb7300cea49e605d3c128f1c036c0ec5df0c3d326d0c33e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2029:2",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2029",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "held from April 2028",
-      "reform_digest": "dfc339899202506f1bb7300cea49e605d3c128f1c036c0ec5df0c3d326d0c33e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2026:3",
-      "case_id": "april_benefit_uprating",
-      "check": "change:uc_standard_allowance:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "dfc339899202506f1bb7300cea49e605d3c128f1c036c0ec5df0c3d326d0c33e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "dfc339899202506f1bb7300cea49e605d3c128f1c036c0ec5df0c3d326d0c33e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "dfc339899202506f1bb7300cea49e605d3c128f1c036c0ec5df0c3d326d0c33e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5559.3955078125,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2029",
-      "expected": 5559.3955078125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "dfc339899202506f1bb7300cea49e605d3c128f1c036c0ec5df0c3d326d0c33e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "dfc339899202506f1bb7300cea49e605d3c128f1c036c0ec5df0c3d326d0c33e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "d4388eb374c51a6da454f1325fe7699aca1a9004b95dae95464c3a9b2aea8bd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2028:1",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "\u00a3520 x 12",
-      "reform_digest": "d4388eb374c51a6da454f1325fe7699aca1a9004b95dae95464c3a9b2aea8bd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2029:2",
-      "case_id": "april_benefit_uprating",
-      "check": "variable:uc_standard_allowance:2029",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "held from April 2028",
-      "reform_digest": "d4388eb374c51a6da454f1325fe7699aca1a9004b95dae95464c3a9b2aea8bd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2026:3",
-      "case_id": "april_benefit_uprating",
-      "check": "change:uc_standard_allowance:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "d4388eb374c51a6da454f1325fe7699aca1a9004b95dae95464c3a9b2aea8bd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d4388eb374c51a6da454f1325fe7699aca1a9004b95dae95464c3a9b2aea8bd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d4388eb374c51a6da454f1325fe7699aca1a9004b95dae95464c3a9b2aea8bd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5559.3955078125,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2029",
-      "expected": 5559.3955078125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d4388eb374c51a6da454f1325fe7699aca1a9004b95dae95464c3a9b2aea8bd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "april_benefit_uprating",
-      "check": "unreformed_after_reform:uc_standard_allowance:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d4388eb374c51a6da454f1325fe7699aca1a9004b95dae95464c3a9b2aea8bd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "april_benefit_uprating",
-        "reform_sha256": "58e9d16e27a4dc0684cf02ecd1faafe3130e0ef7580678b9828ba90050e8b5b4",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "april_benefit_uprating",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2028:1",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2030:2",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2030",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "baseline_isolation:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "baseline_isolation:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5670.5712890625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "baseline_isolation:uc_standard_allowance:2030",
-      "expected": 5670.5712890625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5670.5712890625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2030",
-      "expected": 5670.5712890625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2028:1",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2030:2",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2030",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "baseline_isolation:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "baseline_isolation:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5670.5712890625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "baseline_isolation:uc_standard_allowance:2030",
-      "expected": 5670.5712890625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5670.5712890625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2030",
-      "expected": 5670.5712890625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2028:1",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2030:2",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2030",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "baseline_isolation:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "baseline_isolation:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5670.5712890625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "baseline_isolation:uc_standard_allowance:2030",
-      "expected": 5670.5712890625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5670.5712890625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2030",
-      "expected": 5670.5712890625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2028:1",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2030:2",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2030",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5670.5712890625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2030",
-      "expected": 5670.5712890625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2028:1",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:uc_standard_allowance:2030:2",
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "change:uc_standard_allowance:2030",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5670.5712890625,
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": "unreformed_after_reform:uc_standard_allowance:2030",
-      "expected": 5670.5712890625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "bounded_change_on_uprated_benefit",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "bounded_change_on_uprated_benefit",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:universal_credit:2027:0",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "variable:universal_credit:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "with no income or other elements, the award is the standard allowance: \u00a3500 x 12",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2026:1",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2028:2",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "baseline_isolation:universal_credit:2027",
-      "expected": 5256.8515625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "baseline_isolation:universal_credit:2026",
-      "expected": 5098.7998046875,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "baseline_isolation:universal_credit:2028",
-      "expected": 5408.787109375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "db26dec4b5e242418423a73dd50b1e505234e3cabc766b7a69c6b090861fc222",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:universal_credit:2027:0",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "variable:universal_credit:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "with no income or other elements, the award is the standard allowance: \u00a3500 x 12",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2026:1",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2028:2",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "baseline_isolation:universal_credit:2027",
-      "expected": 5256.8515625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "baseline_isolation:universal_credit:2026",
-      "expected": 5098.7998046875,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "baseline_isolation:universal_credit:2028",
-      "expected": 5408.787109375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "51108be17b7300ba327842351ba352d0348dc28541775d7ebb8f6996b163b058",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:universal_credit:2027:0",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "variable:universal_credit:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "with no income or other elements, the award is the standard allowance: \u00a3500 x 12",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2026:1",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2028:2",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "baseline_isolation:universal_credit:2027",
-      "expected": 5256.8515625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "baseline_isolation:universal_credit:2026",
-      "expected": 5098.7998046875,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "baseline_isolation:universal_credit:2028",
-      "expected": 5408.787109375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:universal_credit:2027:0",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "variable:universal_credit:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "with no income or other elements, the award is the standard allowance: \u00a3500 x 12",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2026:1",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2028:2",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:universal_credit:2027:0",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "variable:universal_credit:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "with no income or other elements, the award is the standard allowance: \u00a3500 x 12",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2026:1",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:universal_credit:2028:2",
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "change:universal_credit:2028",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "prior law's uprated path resumes",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5098.7998046875,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2026",
-      "expected": 5098.7998046875,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": "unreformed_after_reform:universal_credit:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_award_follows_the_standard_allowance",
-        "reform_sha256": "1fab70cb70b7ee142be73c2e6b4b6e9056e2c2562393a351b226ee865bcaaf32",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "uc_award_follows_the_standard_allowance",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 14560.0,
-      "assertion_id": "variable:new_state_pension:2027:0",
-      "case_id": "new_state_pension_rate",
-      "check": "variable:new_state_pension:2027",
-      "decision_id": null,
-      "expected": 14560.0,
-      "holds": null,
-      "oracle": "the full weekly rate x 52: \u00a3280 x 52",
-      "reform_digest": "7c9f24257e0db73b283f97e34d0226bb7ef3deeb87e53cb9b6d8ae0813d8ffef",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0945e3ed8790352bb34d002b0f6c9dbabc55112d4f836a05c72e546a3c445026",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:new_state_pension:2026:1",
-      "case_id": "new_state_pension_rate",
-      "check": "change:new_state_pension:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "7c9f24257e0db73b283f97e34d0226bb7ef3deeb87e53cb9b6d8ae0813d8ffef",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0945e3ed8790352bb34d002b0f6c9dbabc55112d4f836a05c72e546a3c445026",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13036.9736328125,
-      "case_id": "new_state_pension_rate",
-      "check": "baseline_isolation:new_state_pension:2027",
-      "expected": 13036.9736328125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "7c9f24257e0db73b283f97e34d0226bb7ef3deeb87e53cb9b6d8ae0813d8ffef",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0945e3ed8790352bb34d002b0f6c9dbabc55112d4f836a05c72e546a3c445026",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12547.599609375,
-      "case_id": "new_state_pension_rate",
-      "check": "baseline_isolation:new_state_pension:2026",
-      "expected": 12547.599609375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "7c9f24257e0db73b283f97e34d0226bb7ef3deeb87e53cb9b6d8ae0813d8ffef",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0945e3ed8790352bb34d002b0f6c9dbabc55112d4f836a05c72e546a3c445026",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13036.9736328125,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2027",
-      "expected": 13036.9736328125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "7c9f24257e0db73b283f97e34d0226bb7ef3deeb87e53cb9b6d8ae0813d8ffef",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0945e3ed8790352bb34d002b0f6c9dbabc55112d4f836a05c72e546a3c445026",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12547.599609375,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2026",
-      "expected": 12547.599609375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "7c9f24257e0db73b283f97e34d0226bb7ef3deeb87e53cb9b6d8ae0813d8ffef",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0945e3ed8790352bb34d002b0f6c9dbabc55112d4f836a05c72e546a3c445026",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 14560.0,
-      "assertion_id": "variable:new_state_pension:2027:0",
-      "case_id": "new_state_pension_rate",
-      "check": "variable:new_state_pension:2027",
-      "decision_id": null,
-      "expected": 14560.0,
-      "holds": null,
-      "oracle": "the full weekly rate x 52: \u00a3280 x 52",
-      "reform_digest": "c3d7325ace7970b8e9ee72145bbd5355a951fb28634263fe8d45bf5b5bef852b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0dcc940a6844540a4b247471f865123986aa0880e6db798bd4cdf9e1d39d7afa",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:new_state_pension:2026:1",
-      "case_id": "new_state_pension_rate",
-      "check": "change:new_state_pension:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "c3d7325ace7970b8e9ee72145bbd5355a951fb28634263fe8d45bf5b5bef852b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0dcc940a6844540a4b247471f865123986aa0880e6db798bd4cdf9e1d39d7afa",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13036.9736328125,
-      "case_id": "new_state_pension_rate",
-      "check": "baseline_isolation:new_state_pension:2027",
-      "expected": 13036.9736328125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "c3d7325ace7970b8e9ee72145bbd5355a951fb28634263fe8d45bf5b5bef852b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0dcc940a6844540a4b247471f865123986aa0880e6db798bd4cdf9e1d39d7afa",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12547.599609375,
-      "case_id": "new_state_pension_rate",
-      "check": "baseline_isolation:new_state_pension:2026",
-      "expected": 12547.599609375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "c3d7325ace7970b8e9ee72145bbd5355a951fb28634263fe8d45bf5b5bef852b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0dcc940a6844540a4b247471f865123986aa0880e6db798bd4cdf9e1d39d7afa",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13036.9736328125,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2027",
-      "expected": 13036.9736328125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c3d7325ace7970b8e9ee72145bbd5355a951fb28634263fe8d45bf5b5bef852b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0dcc940a6844540a4b247471f865123986aa0880e6db798bd4cdf9e1d39d7afa",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12547.599609375,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2026",
-      "expected": 12547.599609375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c3d7325ace7970b8e9ee72145bbd5355a951fb28634263fe8d45bf5b5bef852b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "0dcc940a6844540a4b247471f865123986aa0880e6db798bd4cdf9e1d39d7afa",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 14560.0,
-      "assertion_id": "variable:new_state_pension:2027:0",
-      "case_id": "new_state_pension_rate",
-      "check": "variable:new_state_pension:2027",
-      "decision_id": null,
-      "expected": 14560.0,
-      "holds": null,
-      "oracle": "the full weekly rate x 52: \u00a3280 x 52",
-      "reform_digest": "2d1c4aca40ef23e4e38ee649a9a1326147605eb994e0a45c159dc41f9bb6916e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:new_state_pension:2026:1",
-      "case_id": "new_state_pension_rate",
-      "check": "change:new_state_pension:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "2d1c4aca40ef23e4e38ee649a9a1326147605eb994e0a45c159dc41f9bb6916e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13036.9736328125,
-      "case_id": "new_state_pension_rate",
-      "check": "baseline_isolation:new_state_pension:2027",
-      "expected": 13036.9736328125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "2d1c4aca40ef23e4e38ee649a9a1326147605eb994e0a45c159dc41f9bb6916e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12547.599609375,
-      "case_id": "new_state_pension_rate",
-      "check": "baseline_isolation:new_state_pension:2026",
-      "expected": 12547.599609375,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "2d1c4aca40ef23e4e38ee649a9a1326147605eb994e0a45c159dc41f9bb6916e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13036.9736328125,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2027",
-      "expected": 13036.9736328125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "2d1c4aca40ef23e4e38ee649a9a1326147605eb994e0a45c159dc41f9bb6916e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12547.599609375,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2026",
-      "expected": 12547.599609375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "2d1c4aca40ef23e4e38ee649a9a1326147605eb994e0a45c159dc41f9bb6916e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 14560.0,
-      "assertion_id": "variable:new_state_pension:2027:0",
-      "case_id": "new_state_pension_rate",
-      "check": "variable:new_state_pension:2027",
-      "decision_id": null,
-      "expected": 14560.0,
-      "holds": null,
-      "oracle": "the full weekly rate x 52: \u00a3280 x 52",
-      "reform_digest": "0b2bf84c45612ec5d6e3801f4f9e65f4c60f4790c0fec009a23e2740fb01a88a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "1adb71bb9501e5eac518c2a5052887d74f26bd50c5d31f80a7e4a93d48ebdf63",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:new_state_pension:2026:1",
-      "case_id": "new_state_pension_rate",
-      "check": "change:new_state_pension:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "0b2bf84c45612ec5d6e3801f4f9e65f4c60f4790c0fec009a23e2740fb01a88a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "1adb71bb9501e5eac518c2a5052887d74f26bd50c5d31f80a7e4a93d48ebdf63",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 13036.9736328125,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2027",
-      "expected": 13036.9736328125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0b2bf84c45612ec5d6e3801f4f9e65f4c60f4790c0fec009a23e2740fb01a88a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "1adb71bb9501e5eac518c2a5052887d74f26bd50c5d31f80a7e4a93d48ebdf63",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 12547.599609375,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2026",
-      "expected": 12547.599609375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0b2bf84c45612ec5d6e3801f4f9e65f4c60f4790c0fec009a23e2740fb01a88a",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "1adb71bb9501e5eac518c2a5052887d74f26bd50c5d31f80a7e4a93d48ebdf63",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 14560.0,
-      "assertion_id": "variable:new_state_pension:2027:0",
-      "case_id": "new_state_pension_rate",
-      "check": "variable:new_state_pension:2027",
-      "decision_id": null,
-      "expected": 14560.0,
-      "holds": null,
-      "oracle": "the full weekly rate x 52: \u00a3280 x 52",
-      "reform_digest": "52299dd48f65858b74ac05e1fb951f0b751dd0a6ed3430393643797f95ef5fff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "1adb71bb9501e5eac518c2a5052887d74f26bd50c5d31f80a7e4a93d48ebdf63",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:new_state_pension:2026:1",
-      "case_id": "new_state_pension_rate",
-      "check": "change:new_state_pension:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "52299dd48f65858b74ac05e1fb951f0b751dd0a6ed3430393643797f95ef5fff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "1adb71bb9501e5eac518c2a5052887d74f26bd50c5d31f80a7e4a93d48ebdf63",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 13036.9736328125,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2027",
-      "expected": 13036.9736328125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "52299dd48f65858b74ac05e1fb951f0b751dd0a6ed3430393643797f95ef5fff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "1adb71bb9501e5eac518c2a5052887d74f26bd50c5d31f80a7e4a93d48ebdf63",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 12547.599609375,
-      "case_id": "new_state_pension_rate",
-      "check": "unreformed_after_reform:new_state_pension:2026",
-      "expected": 12547.599609375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "52299dd48f65858b74ac05e1fb951f0b751dd0a6ed3430393643797f95ef5fff",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "new_state_pension_rate",
-        "reform_sha256": "1adb71bb9501e5eac518c2a5052887d74f26bd50c5d31f80a7e4a93d48ebdf63",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "new_state_pension_rate",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.18868852459016394,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "decision_id": null,
-      "expected": 0.18868852459016502,
-      "holds": null,
-      "oracle": "day-weighted: 207 days at 18% and 159 at 20% of 366",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2028:1",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2028",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "in force all year",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18000000000000002,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2026:2",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2026",
-      "decision_id": null,
-      "expected": 0.18,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:3",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:4",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:5",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:6",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 60.8197021484375,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 60.81967213114759,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; 159 of 2027-28's 366 days",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 140.0,
-      "assertion_id": "change:capital_gains_tax:2028:8",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2028",
-      "decision_id": null,
-      "expected": 139.99999999999994,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; all of 2028-29",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "baseline_isolation:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "baseline_isolation:capital_gains_tax:2028",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2027",
-      "expected": 0.18,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18000000000000002,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2028",
-      "expected": 0.18000000000000002,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18000000000000002,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2026",
-      "expected": 0.18000000000000002,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.elasticity:2027",
-      "expected": 1.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2028",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd206e406d990aac403379d58a58e04950c54aff179efbe8895d52f08fd8902b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "2f6ae5060f9aee2dca401328ce7681920741c0202fb7a5b4c86823c6f7ca5ea3",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18868852459016394,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "decision_id": null,
-      "expected": 0.18868852459016502,
-      "holds": null,
-      "oracle": "day-weighted: 207 days at 18% and 159 at 20% of 366",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2028:1",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2028",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "in force all year",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18000000000000002,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2026:2",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2026",
-      "decision_id": null,
-      "expected": 0.18,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:3",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:4",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:5",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:6",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 60.8197021484375,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 60.81967213114759,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; 159 of 2027-28's 366 days",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 140.0,
-      "assertion_id": "change:capital_gains_tax:2028:8",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2028",
-      "decision_id": null,
-      "expected": 139.99999999999994,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; all of 2028-29",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "baseline_isolation:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "baseline_isolation:capital_gains_tax:2028",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2027",
-      "expected": 0.18,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18000000000000002,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2028",
-      "expected": 0.18000000000000002,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18000000000000002,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2026",
-      "expected": 0.18000000000000002,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.elasticity:2027",
-      "expected": 1.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2028",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "0059b42d41bee7074a7f0a19cf2e9590ce1562cb6874e147557f6aaba3bc1a0b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "5d2bd0b5a49e1642b8c3eb392de195c894cd9b44946abda008c23fc1a022fa90",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18868852459016394,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "decision_id": null,
-      "expected": 0.18868852459016502,
-      "holds": null,
-      "oracle": "day-weighted: 207 days at 18% and 159 at 20% of 366",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2028:1",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2028",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "in force all year",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18000000000000002,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2026:2",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2026",
-      "decision_id": null,
-      "expected": 0.18,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:3",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:4",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:5",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:6",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 60.8197021484375,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 60.81967213114759,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; 159 of 2027-28's 366 days",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 140.0,
-      "assertion_id": "change:capital_gains_tax:2028:8",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2028",
-      "decision_id": null,
-      "expected": 139.99999999999994,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; all of 2028-29",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "baseline_isolation:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "baseline_isolation:capital_gains_tax:2028",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2027",
-      "expected": 0.18,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18000000000000002,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2028",
-      "expected": 0.18000000000000002,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18000000000000002,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2026",
-      "expected": 0.18000000000000002,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.elasticity:2027",
-      "expected": 1.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2028",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e648a4ec5d8f272d78a1128c21ed611c08a573f6c4a332d46f068bf72d164296",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2028:1",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2028",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2026:2",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2026",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:3",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:4",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:5",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:6",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 60.8197021484375,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 60.81967213114759,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; 159 of 2027-28's 366 days",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 140.0,
-      "assertion_id": "change:capital_gains_tax:2028:8",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2028",
-      "decision_id": null,
-      "expected": 139.99999999999994,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; all of 2028-29",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2028",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "3b5170cc3cd245b56b3545d2b8c83bce7846ea472317ca194dff12ced488a05b",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2028:1",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2028",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2026:2",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2026",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:3",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:4",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:5",
-      "case_id": "mid_year_blended_rate",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:6",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 60.8197021484375,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 60.81967213114759,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; 159 of 2027-28's 366 days",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 140.0,
-      "assertion_id": "change:capital_gains_tax:2028:8",
-      "case_id": "mid_year_blended_rate",
-      "check": "change:capital_gains_tax:2028",
-      "decision_id": null,
-      "expected": 139.99999999999994,
-      "holds": null,
-      "oracle": "(\u00a310,000 of gains - the annual exempt amount) x (20% - current rate) x the share of the tax year at 20%, with realisations held fixed; the gains sit wholly in the basic rate band, and the exempt amount and current rate are read from current law; all of 2028-29",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "mid_year_blended_rate",
-      "check": "unreformed_after_reform:capital_gains_tax:2028",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "10b81ccc8d17c82f2ba48d5b76f3a79a839d78d4fb357baeffe41c3074ca7475",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "mid_year_blended_rate",
-        "reform_sha256": "a7a024bbd0510652b8da6f8fbf64855b1f11f3debeb8cfbb0af0c3e5510d8db5",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "mid_year_blended_rate",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "in force all year",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:1",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "decision_id": null,
-      "expected": 1.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:2",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:3",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:4",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "assertion_id": "variable:capital_gains:2026:5",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2026",
-      "decision_id": null,
-      "expected": 10000.0,
-      "holds": null,
-      "oracle": "no rate change before 2027-28, so no response",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:6",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": null,
-      "expected": 9756.09756097561,
-      "holds": null,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 91.21951219512198,
-      "holds": null,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains:2026",
-      "expected": 10000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2027",
-      "expected": 0.18,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.elasticity:2027",
-      "expected": 1.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2026",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9b906fb9819dd70ed26b3007c7219bd4de7fe8a13d34f1aab4c9bb8520e2af12",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "e8ad1a80f3c772e8125843e9caafda1a29bb70b536c992ff6c1cfc64ab411636",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "in force all year",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:1",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "decision_id": null,
-      "expected": 1.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:2",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:3",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:4",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "assertion_id": "variable:capital_gains:2026:5",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2026",
-      "decision_id": null,
-      "expected": 10000.0,
-      "holds": null,
-      "oracle": "no rate change before 2027-28, so no response",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:6",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": null,
-      "expected": 9756.09756097561,
-      "holds": null,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 91.21951219512198,
-      "holds": null,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains:2026",
-      "expected": 10000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2027",
-      "expected": 0.18,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.elasticity:2027",
-      "expected": 1.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2026",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "c5a197e63745011018a30ab33fb6818e06ca5f0a910c0738dd17e6ddc3007fcf",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "0362c64a95b43a701e46cb6dfe0ee72dcc1d9bc6bb5dd5357e6a4be7782c52e0",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "in force all year",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:1",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "decision_id": null,
-      "expected": 1.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:2",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:3",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "set by the case",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:4",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "assertion_id": "variable:capital_gains:2026:5",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2026",
-      "decision_id": null,
-      "expected": 10000.0,
-      "holds": null,
-      "oracle": "no rate change before 2027-28, so no response",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:6",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": null,
-      "expected": 9756.09756097561,
-      "holds": null,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 91.21951219512198,
-      "holds": null,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains:2026",
-      "expected": 10000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.18,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.hmrc.cgt.basic_rate:2027",
-      "expected": 0.18,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.elasticity:2027",
-      "expected": 1.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2026",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f1418e77536fc627923bd4334ebc6c54d3325ce309ad10c411236338881b03dc",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:1",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:2",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:3",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:4",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "assertion_id": "variable:capital_gains:2026:5",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2026",
-      "decision_id": null,
-      "expected": 10000.0,
-      "holds": null,
-      "oracle": "no rate change before 2027-28, so no response",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:6",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": null,
-      "expected": 9756.09756097561,
-      "holds": null,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 91.21951219512198,
-      "holds": null,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2026",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "a98f7df8e58f2b3387b99f3fb49d4e89b89d80fe96c5fe8c947346818a4dd929",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.cgt.basic_rate:2027:0",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:1",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:2",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:3",
-      "case_id": "cgt_retention_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "change:capital_gains_tax:2026:4",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2026",
-      "decision_id": null,
-      "expected": 0.0,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "assertion_id": "variable:capital_gains:2026:5",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2026",
-      "decision_id": null,
-      "expected": 10000.0,
-      "holds": null,
-      "oracle": "no rate change before 2027-28, so no response",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:6",
-      "case_id": "cgt_retention_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": null,
-      "expected": 9756.09756097561,
-      "holds": null,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:7",
-      "case_id": "cgt_retention_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": null,
-      "expected": 91.21951219512198,
-      "holds": null,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2026",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2026",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_retention_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd7e26a199e3488efbfdb64444be1cb27181109336dcd506dd61c7d960bba1de",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_retention_response",
-        "reform_sha256": "49e775a750c127c8dda5bed6e5651145d63d3330d50a836a460e64e2e81bb9d3",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "cgt_retention_response",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 1.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:0",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 1.0,
-      "holds": true,
-      "oracle": "policyengine-uk's default",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:1",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 0.0,
-      "holds": true,
-      "oracle": "policyengine-uk's default",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:2",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 0.0,
-      "holds": true,
-      "oracle": "policyengine-uk's default",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:3",
-      "case_id": "cgt_default_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 9756.09756097561,
-      "holds": true,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law, at the default elasticity of 1",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:4",
-      "case_id": "cgt_default_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 91.21951219512198,
-      "holds": true,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law, at the default elasticity of 1",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_default_response",
-      "check": "baseline_isolation:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_default_response",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.elasticity:2027",
-      "expected": 1.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b979620ae16eb9d24e950ef679de4d8a60c71049f84205fabdfbaad610e64c18",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "18e7b253186aea4b35258a26537cf8ee7fa6f8754a8eb762dd217b59b7b372b7",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:0",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 1.0,
-      "holds": true,
-      "oracle": "policyengine-uk's default",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pending"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:1",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 0.0,
-      "holds": true,
-      "oracle": "policyengine-uk's default",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pending"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:2",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 0.0,
-      "holds": true,
-      "oracle": "policyengine-uk's default",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pending"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:3",
-      "case_id": "cgt_default_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 9756.09756097561,
-      "holds": true,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law, at the default elasticity of 1",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pending"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:4",
-      "case_id": "cgt_default_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 91.21951219512198,
-      "holds": true,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law, at the default elasticity of 1",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pending"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_default_response",
-      "check": "baseline_isolation:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_default_response",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.elasticity:2027",
-      "expected": 1.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fd0f0568eb35b8455afcad278ed5e34a65d9520e6e79e16e9e5368ab535a0039",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "d9d5ec83a4ed5dd9a7efa2ead3ebc680e98472a1f5996b7845cbe5d9a586254b",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:0",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 1.0,
-      "holds": true,
-      "oracle": "policyengine-uk's default",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:1",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 0.0,
-      "holds": true,
-      "oracle": "policyengine-uk's default",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 0.0,
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:2",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 0.0,
-      "holds": true,
-      "oracle": "policyengine-uk's default",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:3",
-      "case_id": "cgt_default_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 9756.09756097561,
-      "holds": true,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law, at the default elasticity of 1",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:4",
-      "case_id": "cgt_default_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 91.21951219512198,
-      "holds": true,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law, at the default elasticity of 1",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_default_response",
-      "check": "baseline_isolation:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_default_response",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.elasticity:2027",
-      "expected": 1.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "52bd8c4df9f94da32c4f7f498f38c2aeef358a10348789e0fbe91a76f8d9834e",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:0",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "3ebd86525cf3d9fa26d8b326b94c85e358440ba7def9f8062ca337aef583ca68",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:1",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "3ebd86525cf3d9fa26d8b326b94c85e358440ba7def9f8062ca337aef583ca68",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:2",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "3ebd86525cf3d9fa26d8b326b94c85e358440ba7def9f8062ca337aef583ca68",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "unsupported"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:3",
-      "case_id": "cgt_default_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 9756.09756097561,
-      "holds": true,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law, at the default elasticity of 1",
-      "reform_digest": "3ebd86525cf3d9fa26d8b326b94c85e358440ba7def9f8062ca337aef583ca68",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pending"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:4",
-      "case_id": "cgt_default_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 91.21951219512198,
-      "holds": true,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law, at the default elasticity of 1",
-      "reform_digest": "3ebd86525cf3d9fa26d8b326b94c85e358440ba7def9f8062ca337aef583ca68",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pending"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "3ebd86525cf3d9fa26d8b326b94c85e358440ba7def9f8062ca337aef583ca68",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "3ebd86525cf3d9fa26d8b326b94c85e358440ba7def9f8062ca337aef583ca68",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.elasticity:2027:0",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "74ad41e5df137075fc41759a886fd4f66e0ea945e1d0c207429a90ff704413cd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027:1",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.mtr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "74ad41e5df137075fc41759a886fd4f66e0ea945e1d0c207429a90ff704413cd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027:2",
-      "case_id": "cgt_default_response",
-      "check": "parameter:gov.simulation.capital_gains_responses.separate_badr_elasticity:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "74ad41e5df137075fc41759a886fd4f66e0ea945e1d0c207429a90ff704413cd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 9756.09765625,
-      "assertion_id": "variable:capital_gains:2027:3",
-      "case_id": "cgt_default_response",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 9756.09756097561,
-      "holds": true,
-      "oracle": "\u00a310,000 of gains x ((1 - 20%) / (1 - current rate)) to the power of the elasticity: the gains sit wholly in the basic rate band, so the marginal rates on them are the basic rates; the current rate is read from current law, at the default elasticity of 1",
-      "reform_digest": "74ad41e5df137075fc41759a886fd4f66e0ea945e1d0c207429a90ff704413cd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pending"
-    },
-    {
-      "actual": 91.2196044921875,
-      "assertion_id": "change:capital_gains_tax:2027:4",
-      "case_id": "cgt_default_response",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 91.21951219512198,
-      "holds": true,
-      "oracle": "(realised gains - the annual exempt amount) x 20% - (\u00a310,000 of gains - the annual exempt amount) x current rate, with the realised gains above; the exempt amount and current rate are read from current law, at the default elasticity of 1",
-      "reform_digest": "74ad41e5df137075fc41759a886fd4f66e0ea945e1d0c207429a90ff704413cd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pending"
-    },
-    {
-      "actual": 10000.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 10000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "74ad41e5df137075fc41759a886fd4f66e0ea945e1d0c207429a90ff704413cd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "case_id": "cgt_default_response",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 1260.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "74ad41e5df137075fc41759a886fd4f66e0ea945e1d0c207429a90ff704413cd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response",
-        "reform_sha256": "b993d90de94b43bcbb2748db127c6e4f71e190bd8ff72e816eafb937eec9a9c8",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "cgt_default_response",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 41964.28515625,
-      "assertion_id": "variable:capital_gains:2027:0",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 41964.28571428571,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law",
-      "reform_digest": "5c645e5d9ea153f4e0a8170538d8c90a8c11ed2933850a9e5d0b1e0422f3cfc4",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "5d5545d90426e1b47d452f4e58a88fe2ec349f086495360be296e1c3e629ecf8",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pending"
-    },
-    {
-      "actual": -3214.285400390625,
-      "assertion_id": "variable:capital_gains_badr_behavioural_response:2027:1",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains_badr_behavioural_response:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": -3214.285714285716,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; the response on the qualifying \u00a320,000",
-      "reform_digest": "5c645e5d9ea153f4e0a8170538d8c90a8c11ed2933850a9e5d0b1e0422f3cfc4",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "5d5545d90426e1b47d452f4e58a88fe2ec349f086495360be296e1c3e629ecf8",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 2921.78515625,
-      "assertion_id": "change:capital_gains_tax:2027:2",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 2921.7857142857138,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; tax at 45% on the main-rate gains after the annual exempt amount, which comes off them first, and the relief rate on the qualifying gains",
-      "reform_digest": "5c645e5d9ea153f4e0a8170538d8c90a8c11ed2933850a9e5d0b1e0422f3cfc4",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "5d5545d90426e1b47d452f4e58a88fe2ec349f086495360be296e1c3e629ecf8",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 50000.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "baseline_isolation:capital_gains:2027",
-      "expected": 50000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "5c645e5d9ea153f4e0a8170538d8c90a8c11ed2933850a9e5d0b1e0422f3cfc4",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "5d5545d90426e1b47d452f4e58a88fe2ec349f086495360be296e1c3e629ecf8",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "baseline_isolation:capital_gains_badr_behavioural_response:2027",
-      "expected": 0.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "5c645e5d9ea153f4e0a8170538d8c90a8c11ed2933850a9e5d0b1e0422f3cfc4",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "5d5545d90426e1b47d452f4e58a88fe2ec349f086495360be296e1c3e629ecf8",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10080.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 10080.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "5c645e5d9ea153f4e0a8170538d8c90a8c11ed2933850a9e5d0b1e0422f3cfc4",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "5d5545d90426e1b47d452f4e58a88fe2ec349f086495360be296e1c3e629ecf8",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 50000.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 50000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5c645e5d9ea153f4e0a8170538d8c90a8c11ed2933850a9e5d0b1e0422f3cfc4",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "5d5545d90426e1b47d452f4e58a88fe2ec349f086495360be296e1c3e629ecf8",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_badr_behavioural_response:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5c645e5d9ea153f4e0a8170538d8c90a8c11ed2933850a9e5d0b1e0422f3cfc4",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "5d5545d90426e1b47d452f4e58a88fe2ec349f086495360be296e1c3e629ecf8",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10080.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 10080.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5c645e5d9ea153f4e0a8170538d8c90a8c11ed2933850a9e5d0b1e0422f3cfc4",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "5d5545d90426e1b47d452f4e58a88fe2ec349f086495360be296e1c3e629ecf8",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 41964.28515625,
-      "assertion_id": "variable:capital_gains:2027:0",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 41964.28571428571,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law",
-      "reform_digest": "ebfbd48cad66d9ca621d9686dea2e5010bdf09cb269b0515bd2f7fff26c88129",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "3344c9df2a0baef464854919e0863e5d1c79e1cbd4662839b732c179a56af963",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pending"
-    },
-    {
-      "actual": -3214.285400390625,
-      "assertion_id": "variable:capital_gains_badr_behavioural_response:2027:1",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains_badr_behavioural_response:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": -3214.285714285716,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; the response on the qualifying \u00a320,000",
-      "reform_digest": "ebfbd48cad66d9ca621d9686dea2e5010bdf09cb269b0515bd2f7fff26c88129",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "3344c9df2a0baef464854919e0863e5d1c79e1cbd4662839b732c179a56af963",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pending"
-    },
-    {
-      "actual": 2921.78515625,
-      "assertion_id": "change:capital_gains_tax:2027:2",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 2921.7857142857138,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; tax at 45% on the main-rate gains after the annual exempt amount, which comes off them first, and the relief rate on the qualifying gains",
-      "reform_digest": "ebfbd48cad66d9ca621d9686dea2e5010bdf09cb269b0515bd2f7fff26c88129",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "3344c9df2a0baef464854919e0863e5d1c79e1cbd4662839b732c179a56af963",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pending"
-    },
-    {
-      "actual": 50000.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "baseline_isolation:capital_gains:2027",
-      "expected": 50000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ebfbd48cad66d9ca621d9686dea2e5010bdf09cb269b0515bd2f7fff26c88129",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "3344c9df2a0baef464854919e0863e5d1c79e1cbd4662839b732c179a56af963",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "baseline_isolation:capital_gains_badr_behavioural_response:2027",
-      "expected": 0.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ebfbd48cad66d9ca621d9686dea2e5010bdf09cb269b0515bd2f7fff26c88129",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "3344c9df2a0baef464854919e0863e5d1c79e1cbd4662839b732c179a56af963",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 10080.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 10080.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "ebfbd48cad66d9ca621d9686dea2e5010bdf09cb269b0515bd2f7fff26c88129",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "3344c9df2a0baef464854919e0863e5d1c79e1cbd4662839b732c179a56af963",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 50000.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 50000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ebfbd48cad66d9ca621d9686dea2e5010bdf09cb269b0515bd2f7fff26c88129",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "3344c9df2a0baef464854919e0863e5d1c79e1cbd4662839b732c179a56af963",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_badr_behavioural_response:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ebfbd48cad66d9ca621d9686dea2e5010bdf09cb269b0515bd2f7fff26c88129",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "3344c9df2a0baef464854919e0863e5d1c79e1cbd4662839b732c179a56af963",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 10080.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 10080.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ebfbd48cad66d9ca621d9686dea2e5010bdf09cb269b0515bd2f7fff26c88129",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "3344c9df2a0baef464854919e0863e5d1c79e1cbd4662839b732c179a56af963",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 41964.28515625,
-      "assertion_id": "variable:capital_gains:2027:0",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 41964.28571428571,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law",
-      "reform_digest": "04479da24824d08529c252bfaf67b77f150c2855d6aa14b4d1276301e7f0b220",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pending"
-    },
-    {
-      "actual": -3214.285400390625,
-      "assertion_id": "variable:capital_gains_badr_behavioural_response:2027:1",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains_badr_behavioural_response:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": -3214.285714285716,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; the response on the qualifying \u00a320,000",
-      "reform_digest": "04479da24824d08529c252bfaf67b77f150c2855d6aa14b4d1276301e7f0b220",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 2921.78515625,
-      "assertion_id": "change:capital_gains_tax:2027:2",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 2921.7857142857138,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; tax at 45% on the main-rate gains after the annual exempt amount, which comes off them first, and the relief rate on the qualifying gains",
-      "reform_digest": "04479da24824d08529c252bfaf67b77f150c2855d6aa14b4d1276301e7f0b220",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pending"
-    },
-    {
-      "actual": 50000.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "baseline_isolation:capital_gains:2027",
-      "expected": 50000.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "04479da24824d08529c252bfaf67b77f150c2855d6aa14b4d1276301e7f0b220",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "baseline_isolation:capital_gains_badr_behavioural_response:2027",
-      "expected": 0.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "04479da24824d08529c252bfaf67b77f150c2855d6aa14b4d1276301e7f0b220",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10080.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "baseline_isolation:capital_gains_tax:2027",
-      "expected": 10080.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "04479da24824d08529c252bfaf67b77f150c2855d6aa14b4d1276301e7f0b220",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 50000.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 50000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "04479da24824d08529c252bfaf67b77f150c2855d6aa14b4d1276301e7f0b220",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_badr_behavioural_response:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "04479da24824d08529c252bfaf67b77f150c2855d6aa14b4d1276301e7f0b220",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 10080.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 10080.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "04479da24824d08529c252bfaf67b77f150c2855d6aa14b4d1276301e7f0b220",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 41964.28515625,
-      "assertion_id": "variable:capital_gains:2027:0",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 41964.28571428571,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law",
-      "reform_digest": "598d68f11089b1c9321e555b00e4c648523f475104cc31c0e29be58f4a50ce88",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pending"
-    },
-    {
-      "actual": -3214.285400390625,
-      "assertion_id": "variable:capital_gains_badr_behavioural_response:2027:1",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains_badr_behavioural_response:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": -3214.285714285716,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; the response on the qualifying \u00a320,000",
-      "reform_digest": "598d68f11089b1c9321e555b00e4c648523f475104cc31c0e29be58f4a50ce88",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pending"
-    },
-    {
-      "actual": 2921.78515625,
-      "assertion_id": "change:capital_gains_tax:2027:2",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 2921.7857142857138,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; tax at 45% on the main-rate gains after the annual exempt amount, which comes off them first, and the relief rate on the qualifying gains",
-      "reform_digest": "598d68f11089b1c9321e555b00e4c648523f475104cc31c0e29be58f4a50ce88",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pending"
-    },
-    {
-      "actual": 50000.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 50000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "598d68f11089b1c9321e555b00e4c648523f475104cc31c0e29be58f4a50ce88",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_badr_behavioural_response:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "598d68f11089b1c9321e555b00e4c648523f475104cc31c0e29be58f4a50ce88",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 10080.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 10080.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "598d68f11089b1c9321e555b00e4c648523f475104cc31c0e29be58f4a50ce88",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 41964.28515625,
-      "assertion_id": "variable:capital_gains:2027:0",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 41964.28571428571,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law",
-      "reform_digest": "17f6d9c86d21b29807a56427df19a9f3cc6b06d898857da0fad56802c3b82018",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pending"
-    },
-    {
-      "actual": -3214.285400390625,
-      "assertion_id": "variable:capital_gains_badr_behavioural_response:2027:1",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "variable:capital_gains_badr_behavioural_response:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": -3214.285714285716,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; the response on the qualifying \u00a320,000",
-      "reform_digest": "17f6d9c86d21b29807a56427df19a9f3cc6b06d898857da0fad56802c3b82018",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pending"
-    },
-    {
-      "actual": 2921.78515625,
-      "assertion_id": "change:capital_gains_tax:2027:2",
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "change:capital_gains_tax:2027",
-      "decision_id": "policyengine-uk#2396",
-      "expected": 2921.7857142857138,
-      "holds": true,
-      "oracle": "\u00a350,000 of gains, \u00a320,000 qualifying for the relief, scaled by (1 - t1) / (1 - t0), where t0 and t1 are 40% x the relief rate + 60% x the higher rate (24% now, 45% under the reform); the relief and higher rates are read from current law; tax at 45% on the main-rate gains after the annual exempt amount, which comes off them first, and the relief rate on the qualifying gains",
-      "reform_digest": "17f6d9c86d21b29807a56427df19a9f3cc6b06d898857da0fad56802c3b82018",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pending"
-    },
-    {
-      "actual": 50000.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains:2027",
-      "expected": 50000.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "17f6d9c86d21b29807a56427df19a9f3cc6b06d898857da0fad56802c3b82018",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_badr_behavioural_response:2027",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "17f6d9c86d21b29807a56427df19a9f3cc6b06d898857da0fad56802c3b82018",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 10080.0,
-      "case_id": "cgt_default_response_relief_gains",
-      "check": "unreformed_after_reform:capital_gains_tax:2027",
-      "expected": 10080.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "17f6d9c86d21b29807a56427df19a9f3cc6b06d898857da0fad56802c3b82018",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "cgt_default_response_relief_gains",
-        "reform_sha256": "49c1314b48df54f6d580ee77906d2697830a647ed70190998517c5158dc1ee9d",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "cgt_default_response_relief_gains",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 13200.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031:0",
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "decision_id": null,
-      "expected": 13200.0,
-      "holds": null,
-      "oracle": "ITA 2007 s57(3)",
-      "reform_digest": "8bd9476925c59e9d13946308e4604e33976dc8a1d68b63e276628c95135a82d0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "9d7a12f52e9da74f616d30f23f8a8796ee7638e39ecebb63da492de0124aa0e9",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 39600.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031:1",
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "decision_id": null,
-      "expected": 39600.0,
-      "holds": null,
-      "oracle": "ITA 2007 s21(3)",
-      "reform_digest": "8bd9476925c59e9d13946308e4604e33976dc8a1d68b63e276628c95135a82d0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "9d7a12f52e9da74f616d30f23f8a8796ee7638e39ecebb63da492de0124aa0e9",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 253.85,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031:2",
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "decision_id": null,
-      "expected": 253.85,
-      "holds": null,
-      "oracle": "aligned with the allowance, weekly",
-      "reform_digest": "8bd9476925c59e9d13946308e4604e33976dc8a1d68b63e276628c95135a82d0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "9d7a12f52e9da74f616d30f23f8a8796ee7638e39ecebb63da492de0124aa0e9",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "expected": 12830.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8bd9476925c59e9d13946308e4604e33976dc8a1d68b63e276628c95135a82d0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "9d7a12f52e9da74f616d30f23f8a8796ee7638e39ecebb63da492de0124aa0e9",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 38500.0,
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "expected": 38500.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8bd9476925c59e9d13946308e4604e33976dc8a1d68b63e276628c95135a82d0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "9d7a12f52e9da74f616d30f23f8a8796ee7638e39ecebb63da492de0124aa0e9",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 246.73,
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "expected": 246.73,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8bd9476925c59e9d13946308e4604e33976dc8a1d68b63e276628c95135a82d0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "9d7a12f52e9da74f616d30f23f8a8796ee7638e39ecebb63da492de0124aa0e9",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 13200.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031:0",
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "decision_id": null,
-      "expected": 13200.0,
-      "holds": null,
-      "oracle": "ITA 2007 s57(3)",
-      "reform_digest": "afe5d61179ae6fd02453405015018bcbdd8047fcc3e69e23c43e5f57dce17c67",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "3a203256153655059f114668934f03a8b0128524b1844c8bb72e50cb61f2f6e5",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 39600.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031:1",
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "decision_id": null,
-      "expected": 39600.0,
-      "holds": null,
-      "oracle": "ITA 2007 s21(3)",
-      "reform_digest": "afe5d61179ae6fd02453405015018bcbdd8047fcc3e69e23c43e5f57dce17c67",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "3a203256153655059f114668934f03a8b0128524b1844c8bb72e50cb61f2f6e5",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 253.85,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031:2",
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "decision_id": null,
-      "expected": 253.85,
-      "holds": null,
-      "oracle": "aligned with the allowance, weekly",
-      "reform_digest": "afe5d61179ae6fd02453405015018bcbdd8047fcc3e69e23c43e5f57dce17c67",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "3a203256153655059f114668934f03a8b0128524b1844c8bb72e50cb61f2f6e5",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "expected": 12830.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "afe5d61179ae6fd02453405015018bcbdd8047fcc3e69e23c43e5f57dce17c67",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "3a203256153655059f114668934f03a8b0128524b1844c8bb72e50cb61f2f6e5",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 38500.0,
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "expected": 38500.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "afe5d61179ae6fd02453405015018bcbdd8047fcc3e69e23c43e5f57dce17c67",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "3a203256153655059f114668934f03a8b0128524b1844c8bb72e50cb61f2f6e5",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 246.73,
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "expected": 246.73,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "afe5d61179ae6fd02453405015018bcbdd8047fcc3e69e23c43e5f57dce17c67",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "september_cpi_moves_indexed_thresholds",
-        "reform_sha256": "3a203256153655059f114668934f03a8b0128524b1844c8bb72e50cb61f2f6e5",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 13200.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031:0",
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "decision_id": null,
-      "expected": 13200.0,
-      "holds": null,
-      "oracle": "ITA 2007 s57(3)",
-      "reform_digest": "fda4228463d1ee4cd7263094d2b28ffb49c78d09b87468542dba7e6821ff3f9d",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 39600.0,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031:1",
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "decision_id": null,
-      "expected": 39600.0,
-      "holds": null,
-      "oracle": "ITA 2007 s21(3)",
-      "reform_digest": "fda4228463d1ee4cd7263094d2b28ffb49c78d09b87468542dba7e6821ff3f9d",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 253.85,
-      "assertion_id": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031:2",
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "decision_id": null,
-      "expected": 253.85,
-      "holds": null,
-      "oracle": "aligned with the allowance, weekly",
-      "reform_digest": "fda4228463d1ee4cd7263094d2b28ffb49c78d09b87468542dba7e6821ff3f9d",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 12830.0,
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-      "expected": 12830.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fda4228463d1ee4cd7263094d2b28ffb49c78d09b87468542dba7e6821ff3f9d",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 38500.0,
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-      "expected": 38500.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fda4228463d1ee4cd7263094d2b28ffb49c78d09b87468542dba7e6821ff3f9d",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 246.73,
-      "case_id": "september_cpi_moves_indexed_thresholds",
-      "check": "unreformed_after_reform:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-      "expected": 246.73,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fda4228463d1ee4cd7263094d2b28ffb49c78d09b87468542dba7e6821ff3f9d",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_LCWRA_element:2027:0",
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "variable:uc_LCWRA_element:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "12bcb296368c2b63f30b2040bfa5c84678f0bd52aaf7f85d510a75cd70f995c3",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "442bf59ad324711999e26e687b4acb9e421a35195346a4a2297354e9f255db7d",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5226.76416015625,
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "baseline_isolation:uc_LCWRA_element:2027",
-      "expected": 5226.76416015625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "12bcb296368c2b63f30b2040bfa5c84678f0bd52aaf7f85d510a75cd70f995c3",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "442bf59ad324711999e26e687b4acb9e421a35195346a4a2297354e9f255db7d",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5226.76416015625,
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "unreformed_after_reform:uc_LCWRA_element:2027",
-      "expected": 5226.76416015625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "12bcb296368c2b63f30b2040bfa5c84678f0bd52aaf7f85d510a75cd70f995c3",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "442bf59ad324711999e26e687b4acb9e421a35195346a4a2297354e9f255db7d",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_LCWRA_element:2027:0",
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "variable:uc_LCWRA_element:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "909e6875b8d449e87b5d3eb0ad74e584e80241b9f40677343430b41232b20c5f",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "9d0cecf62201d525f32c2b53d0cc5950127290a4063f4f709b09fff3ea3bd140",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5226.76416015625,
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "baseline_isolation:uc_LCWRA_element:2027",
-      "expected": 5226.76416015625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "909e6875b8d449e87b5d3eb0ad74e584e80241b9f40677343430b41232b20c5f",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "9d0cecf62201d525f32c2b53d0cc5950127290a4063f4f709b09fff3ea3bd140",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5226.76416015625,
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "unreformed_after_reform:uc_LCWRA_element:2027",
-      "expected": 5226.76416015625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "909e6875b8d449e87b5d3eb0ad74e584e80241b9f40677343430b41232b20c5f",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "9d0cecf62201d525f32c2b53d0cc5950127290a4063f4f709b09fff3ea3bd140",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_LCWRA_element:2027:0",
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "variable:uc_LCWRA_element:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "9947c105e6b609c8a5f2c13ce4707daad40cfa8529bf2487734ef2a513169e8d",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5226.76416015625,
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "baseline_isolation:uc_LCWRA_element:2027",
-      "expected": 5226.76416015625,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "9947c105e6b609c8a5f2c13ce4707daad40cfa8529bf2487734ef2a513169e8d",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5226.76416015625,
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "unreformed_after_reform:uc_LCWRA_element:2027",
-      "expected": 5226.76416015625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9947c105e6b609c8a5f2c13ce4707daad40cfa8529bf2487734ef2a513169e8d",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_LCWRA_element:2027:0",
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "variable:uc_LCWRA_element:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "a695bb7865a505dbbcb9c973b674a5666804e15838252c66bb7e84fa082388f0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "6f085d080cf6be93434e99ae984380f8ce87bdd6beab25c1abe4f1c9c8925a77",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5226.76416015625,
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "unreformed_after_reform:uc_LCWRA_element:2027",
-      "expected": 5226.76416015625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "a695bb7865a505dbbcb9c973b674a5666804e15838252c66bb7e84fa082388f0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "6f085d080cf6be93434e99ae984380f8ce87bdd6beab25c1abe4f1c9c8925a77",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_LCWRA_element:2027:0",
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "variable:uc_LCWRA_element:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "88900943775d8451bee562422107eca7016ee21042a516b295fe3c00bc9a7da9",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "6f085d080cf6be93434e99ae984380f8ce87bdd6beab25c1abe4f1c9c8925a77",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5226.76416015625,
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": "unreformed_after_reform:uc_LCWRA_element:2027",
-      "expected": 5226.76416015625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "88900943775d8451bee562422107eca7016ee21042a516b295fe3c00bc9a7da9",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "uc_rebalancing_reform_after_data_load",
-        "reform_sha256": "6f085d080cf6be93434e99ae984380f8ce87bdd6beab25c1abe4f1c9c8925a77",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "uc_rebalancing_reform_after_data_load",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 1260.0,
-      "assertion_id": "variable:marriage_allowance:2026:0",
-      "case_id": "structural_switch",
-      "check": "variable:marriage_allowance:2026",
-      "decision_id": null,
-      "expected": 1260.0,
-      "holds": null,
-      "oracle": "10% of the \u00a312,570 allowance, rounded up to \u00a310 (ITA 2007 s55B)",
-      "reform_digest": "d837da2e6fabde655a05b130322e0c29d06d5d493ad99183a699198dc5e1d4b2",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "e683e23a1d7da5038783f3a42f3208e01d34e9d873907ad213bacb1c9ad19a37",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "structural_switch",
-      "check": "baseline_isolation:marriage_allowance:2026",
-      "expected": 0.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "d837da2e6fabde655a05b130322e0c29d06d5d493ad99183a699198dc5e1d4b2",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "e683e23a1d7da5038783f3a42f3208e01d34e9d873907ad213bacb1c9ad19a37",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "structural_switch",
-      "check": "unreformed_after_reform:marriage_allowance:2026",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d837da2e6fabde655a05b130322e0c29d06d5d493ad99183a699198dc5e1d4b2",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "e683e23a1d7da5038783f3a42f3208e01d34e9d873907ad213bacb1c9ad19a37",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "assertion_id": "variable:marriage_allowance:2026:0",
-      "case_id": "structural_switch",
-      "check": "variable:marriage_allowance:2026",
-      "decision_id": null,
-      "expected": 1260.0,
-      "holds": null,
-      "oracle": "10% of the \u00a312,570 allowance, rounded up to \u00a310 (ITA 2007 s55B)",
-      "reform_digest": "f0cad18ed901a4062c12dd721fa663915f3329fad55f54bbe407922de196d60d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "cb0da957a89c98b056fb93513eea1742af054428b69394dfa2a86997fefc3279",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "structural_switch",
-      "check": "baseline_isolation:marriage_allowance:2026",
-      "expected": 0.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "f0cad18ed901a4062c12dd721fa663915f3329fad55f54bbe407922de196d60d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "cb0da957a89c98b056fb93513eea1742af054428b69394dfa2a86997fefc3279",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "structural_switch",
-      "check": "unreformed_after_reform:marriage_allowance:2026",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f0cad18ed901a4062c12dd721fa663915f3329fad55f54bbe407922de196d60d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "cb0da957a89c98b056fb93513eea1742af054428b69394dfa2a86997fefc3279",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "assertion_id": "variable:marriage_allowance:2026:0",
-      "case_id": "structural_switch",
-      "check": "variable:marriage_allowance:2026",
-      "decision_id": null,
-      "expected": 1260.0,
-      "holds": null,
-      "oracle": "10% of the \u00a312,570 allowance, rounded up to \u00a310 (ITA 2007 s55B)",
-      "reform_digest": "19b28590adbd8d9b80069a5504380f0226f0a1e5b1b2f73f5ba411fc562d7742",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "structural_switch",
-      "check": "baseline_isolation:marriage_allowance:2026",
-      "expected": 0.0,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "19b28590adbd8d9b80069a5504380f0226f0a1e5b1b2f73f5ba411fc562d7742",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "structural_switch",
-      "check": "unreformed_after_reform:marriage_allowance:2026",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "19b28590adbd8d9b80069a5504380f0226f0a1e5b1b2f73f5ba411fc562d7742",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "assertion_id": "variable:marriage_allowance:2026:0",
-      "case_id": "structural_switch",
-      "check": "variable:marriage_allowance:2026",
-      "decision_id": null,
-      "expected": 1260.0,
-      "holds": null,
-      "oracle": "10% of the \u00a312,570 allowance, rounded up to \u00a310 (ITA 2007 s55B)",
-      "reform_digest": "f76cc80028ce85017f3730a4d7db21c8a69f7b68bae0123c0aed45df087b1393",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "af729310839cbeb6c27fe6d8934b8dbddd37f6d9078ee45d8381a33ee72b568e",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "structural_switch",
-      "check": "unreformed_after_reform:marriage_allowance:2026",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "f76cc80028ce85017f3730a4d7db21c8a69f7b68bae0123c0aed45df087b1393",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "af729310839cbeb6c27fe6d8934b8dbddd37f6d9078ee45d8381a33ee72b568e",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 1260.0,
-      "assertion_id": "variable:marriage_allowance:2026:0",
-      "case_id": "structural_switch",
-      "check": "variable:marriage_allowance:2026",
-      "decision_id": null,
-      "expected": 1260.0,
-      "holds": null,
-      "oracle": "10% of the \u00a312,570 allowance, rounded up to \u00a310 (ITA 2007 s55B)",
-      "reform_digest": "6e7e98694b32def0a541b52e0abb79b1cdcfc1e50a70784147d24a17e652ffe0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "af729310839cbeb6c27fe6d8934b8dbddd37f6d9078ee45d8381a33ee72b568e",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0,
-      "case_id": "structural_switch",
-      "check": "unreformed_after_reform:marriage_allowance:2026",
-      "expected": 0.0,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "6e7e98694b32def0a541b52e0abb79b1cdcfc1e50a70784147d24a17e652ffe0",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "structural_switch",
-        "reform_sha256": "af729310839cbeb6c27fe6d8934b8dbddd37f6d9078ee45d8381a33ee72b568e",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "structural_switch",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 5263.158203125,
-      "assertion_id": "baseline_equals:baseline_vat:2026:0",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_equals:baseline_vat:2026",
-      "decision_id": null,
-      "expected": 5263.158203125,
-      "holds": null,
-      "oracle": "baseline_vat is the unreformed vat",
-      "reform_digest": "062a65e94c93f043b9ff9322b07152c930d1e1cb375237eb2375343a9e470e73",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "99683588e59cc7c52116b57f49a1f511b4598e73444272ec65538ef34e37de3a",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 526.3154296875,
-      "assertion_id": "change:vat:2026:1",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "change:vat:2026",
-      "decision_id": null,
-      "expected": 526.3157894736839,
-      "holds": null,
-      "oracle": "\u00a310,000 of full-rate consumption x (22% - current rate), over the share of consumption the microdata covers; the current rate and coverage are read from current law",
-      "reform_digest": "062a65e94c93f043b9ff9322b07152c930d1e1cb375237eb2375343a9e470e73",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "99683588e59cc7c52116b57f49a1f511b4598e73444272ec65538ef34e37de3a",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_isolation:baseline_vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "062a65e94c93f043b9ff9322b07152c930d1e1cb375237eb2375343a9e470e73",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "99683588e59cc7c52116b57f49a1f511b4598e73444272ec65538ef34e37de3a",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_isolation:vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "062a65e94c93f043b9ff9322b07152c930d1e1cb375237eb2375343a9e470e73",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "99683588e59cc7c52116b57f49a1f511b4598e73444272ec65538ef34e37de3a",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "unreformed_after_reform:baseline_vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "062a65e94c93f043b9ff9322b07152c930d1e1cb375237eb2375343a9e470e73",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "99683588e59cc7c52116b57f49a1f511b4598e73444272ec65538ef34e37de3a",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "unreformed_after_reform:vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "062a65e94c93f043b9ff9322b07152c930d1e1cb375237eb2375343a9e470e73",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "99683588e59cc7c52116b57f49a1f511b4598e73444272ec65538ef34e37de3a",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "assertion_id": "baseline_equals:baseline_vat:2026:0",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_equals:baseline_vat:2026",
-      "decision_id": null,
-      "expected": 5263.158203125,
-      "holds": null,
-      "oracle": "baseline_vat is the unreformed vat",
-      "reform_digest": "8a1e1a66ee167c2dc554452d46828576b58159ed3d3276ffa1723f417d5ade0d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "6caf1b1b8bce09446ab445fca925df3df2f2f90dc359e64f85fd5bae417d6ba4",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 526.3154296875,
-      "assertion_id": "change:vat:2026:1",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "change:vat:2026",
-      "decision_id": null,
-      "expected": 526.3157894736839,
-      "holds": null,
-      "oracle": "\u00a310,000 of full-rate consumption x (22% - current rate), over the share of consumption the microdata covers; the current rate and coverage are read from current law",
-      "reform_digest": "8a1e1a66ee167c2dc554452d46828576b58159ed3d3276ffa1723f417d5ade0d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "6caf1b1b8bce09446ab445fca925df3df2f2f90dc359e64f85fd5bae417d6ba4",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_isolation:baseline_vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "8a1e1a66ee167c2dc554452d46828576b58159ed3d3276ffa1723f417d5ade0d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "6caf1b1b8bce09446ab445fca925df3df2f2f90dc359e64f85fd5bae417d6ba4",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_isolation:vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "8a1e1a66ee167c2dc554452d46828576b58159ed3d3276ffa1723f417d5ade0d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "6caf1b1b8bce09446ab445fca925df3df2f2f90dc359e64f85fd5bae417d6ba4",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "unreformed_after_reform:baseline_vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8a1e1a66ee167c2dc554452d46828576b58159ed3d3276ffa1723f417d5ade0d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "6caf1b1b8bce09446ab445fca925df3df2f2f90dc359e64f85fd5bae417d6ba4",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "unreformed_after_reform:vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8a1e1a66ee167c2dc554452d46828576b58159ed3d3276ffa1723f417d5ade0d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "6caf1b1b8bce09446ab445fca925df3df2f2f90dc359e64f85fd5bae417d6ba4",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "assertion_id": "baseline_equals:baseline_vat:2026:0",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_equals:baseline_vat:2026",
-      "decision_id": null,
-      "expected": 5263.158203125,
-      "holds": null,
-      "oracle": "baseline_vat is the unreformed vat",
-      "reform_digest": "8df662d00e257aeda318ef34432e8de4ab0474fcd093ab9afd16e5fd97c4f096",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 526.3154296875,
-      "assertion_id": "change:vat:2026:1",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "change:vat:2026",
-      "decision_id": null,
-      "expected": 526.3157894736839,
-      "holds": null,
-      "oracle": "\u00a310,000 of full-rate consumption x (22% - current rate), over the share of consumption the microdata covers; the current rate and coverage are read from current law",
-      "reform_digest": "8df662d00e257aeda318ef34432e8de4ab0474fcd093ab9afd16e5fd97c4f096",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_isolation:baseline_vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "8df662d00e257aeda318ef34432e8de4ab0474fcd093ab9afd16e5fd97c4f096",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_isolation:vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "8df662d00e257aeda318ef34432e8de4ab0474fcd093ab9afd16e5fd97c4f096",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "unreformed_after_reform:baseline_vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8df662d00e257aeda318ef34432e8de4ab0474fcd093ab9afd16e5fd97c4f096",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "unreformed_after_reform:vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8df662d00e257aeda318ef34432e8de4ab0474fcd093ab9afd16e5fd97c4f096",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "assertion_id": "baseline_equals:baseline_vat:2026:0",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_equals:baseline_vat:2026",
-      "decision_id": null,
-      "expected": 5263.158203125,
-      "holds": null,
-      "oracle": "baseline_vat is the unreformed vat",
-      "reform_digest": "ee8e8cffbe252201a18cc7581c191e14f1b0269bfcfaf9d48cde191e9b2aaae9",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "0e57f240e31dc177dae06b735fd47b05f9c95894a049bf2816d3ae7f6114bb47",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 526.3154296875,
-      "assertion_id": "change:vat:2026:1",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "change:vat:2026",
-      "decision_id": null,
-      "expected": 526.3157894736839,
-      "holds": null,
-      "oracle": "\u00a310,000 of full-rate consumption x (22% - current rate), over the share of consumption the microdata covers; the current rate and coverage are read from current law",
-      "reform_digest": "ee8e8cffbe252201a18cc7581c191e14f1b0269bfcfaf9d48cde191e9b2aaae9",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "0e57f240e31dc177dae06b735fd47b05f9c95894a049bf2816d3ae7f6114bb47",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "unreformed_after_reform:baseline_vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ee8e8cffbe252201a18cc7581c191e14f1b0269bfcfaf9d48cde191e9b2aaae9",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "0e57f240e31dc177dae06b735fd47b05f9c95894a049bf2816d3ae7f6114bb47",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "unreformed_after_reform:vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "ee8e8cffbe252201a18cc7581c191e14f1b0269bfcfaf9d48cde191e9b2aaae9",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "0e57f240e31dc177dae06b735fd47b05f9c95894a049bf2816d3ae7f6114bb47",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "baseline_equals:baseline_vat:2026:0",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "baseline_equals:baseline_vat:2026",
-      "reason": "the policy route's output dataset holds the reformed run only",
-      "reform_digest": "228c864948e49f1bafb1020ecd1a6a6aab050d94c43bd4f60144d4d6074d7626",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "0e57f240e31dc177dae06b735fd47b05f9c95894a049bf2816d3ae7f6114bb47",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": 526.3154296875,
-      "assertion_id": "change:vat:2026:1",
-      "case_id": "baseline_vat_is_current_law",
-      "check": "change:vat:2026",
-      "decision_id": null,
-      "expected": 526.3157894736839,
-      "holds": null,
-      "oracle": "\u00a310,000 of full-rate consumption x (22% - current rate), over the share of consumption the microdata covers; the current rate and coverage are read from current law",
-      "reform_digest": "228c864948e49f1bafb1020ecd1a6a6aab050d94c43bd4f60144d4d6074d7626",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "0e57f240e31dc177dae06b735fd47b05f9c95894a049bf2816d3ae7f6114bb47",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5263.158203125,
-      "case_id": "baseline_vat_is_current_law",
-      "check": "unreformed_after_reform:vat:2026",
-      "expected": 5263.158203125,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "228c864948e49f1bafb1020ecd1a6a6aab050d94c43bd4f60144d4d6074d7626",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "baseline_vat_is_current_law",
-        "reform_sha256": "0e57f240e31dc177dae06b735fd47b05f9c95894a049bf2816d3ae7f6114bb47",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "baseline_vat_is_current_law",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026:0",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027:1",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:2",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:3",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": -190.0,
-      "assertion_id": "change:income_tax:2026:4",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": -190.00000000000003,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": -15.7001953125,
-      "assertion_id": "change:income_tax:2027:5",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": -15.700000000000358,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band, plus (30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "baseline_isolation:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "5c5e53ff74dc04bfc360ff580ca1013acb39023cef9edc4ad458d73bebe035d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026:0",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027:1",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:2",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:3",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": -190.0,
-      "assertion_id": "change:income_tax:2026:4",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": -190.00000000000003,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": -15.7001953125,
-      "assertion_id": "change:income_tax:2027:5",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": -15.700000000000358,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band, plus (30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "baseline_isolation:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "05701fb7bdc19fc311b70302afe7979c1f8e5b17b9484e76d3906b11d207de83",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026:0",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027:1",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:2",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:3",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": -190.0,
-      "assertion_id": "change:income_tax:2026:4",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": -190.00000000000003,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": -15.7001953125,
-      "assertion_id": "change:income_tax:2027:5",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": -15.700000000000358,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band, plus (30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "baseline_isolation:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "e6aba941ed6d2857584bcb6323f8e4186dc97005a39b1a9f05458858523ba545",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026:0",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "fdd130c561e213b17840d484c320191f464d341cf29bb534f03aa9a846d143d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027:1",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "fdd130c561e213b17840d484c320191f464d341cf29bb534f03aa9a846d143d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:2",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "fdd130c561e213b17840d484c320191f464d341cf29bb534f03aa9a846d143d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:3",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "fdd130c561e213b17840d484c320191f464d341cf29bb534f03aa9a846d143d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": -190.0,
-      "assertion_id": "change:income_tax:2026:4",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": -190.00000000000003,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band",
-      "reform_digest": "fdd130c561e213b17840d484c320191f464d341cf29bb534f03aa9a846d143d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": -15.7001953125,
-      "assertion_id": "change:income_tax:2027:5",
-      "case_id": "modifier_then_parameter_changes",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": -15.700000000000358,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band, plus (30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "fdd130c561e213b17840d484c320191f464d341cf29bb534f03aa9a846d143d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fdd130c561e213b17840d484c320191f464d341cf29bb534f03aa9a846d143d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "modifier_then_parameter_changes",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fdd130c561e213b17840d484c320191f464d341cf29bb534f03aa9a846d143d5",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026:0",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027:1",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:2",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:3",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": -190.0,
-      "assertion_id": "change:income_tax:2026:4",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": -190.00000000000003,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": -15.7001953125,
-      "assertion_id": "change:income_tax:2027:5",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": -15.700000000000358,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band, plus (30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "baseline_isolation:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "9fd82d1d38614616b8ee42850e07bc6bbd018da3b7007014609714017d39a3d4",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026:0",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027:1",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:2",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:3",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": -190.0,
-      "assertion_id": "change:income_tax:2026:4",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": -190.00000000000003,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": -15.7001953125,
-      "assertion_id": "change:income_tax:2027:5",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": -15.700000000000358,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band, plus (30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "baseline_isolation:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "fcaf08431cabc68b5e0b6983a816afaa3482a7d32ef9f23deaca75753b191249",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026:0",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.0875,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027:1",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.0875,
-      "holds": null,
-      "oracle": "set by the modifier",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:2",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "before the change",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:3",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "in force on 30 April 2027",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": -190.0,
-      "assertion_id": "change:income_tax:2026:4",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": -190.00000000000003,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": -15.7001953125,
-      "assertion_id": "change:income_tax:2027:5",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": -15.700000000000358,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band, plus (30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "baseline_isolation:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "baseline_isolation:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.1075,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "expected": 0.1075,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "8e7554729292ab5cb608f34d2be15d8619eefa8f492ca83e2d7c93b41e2ca3dd",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026:0",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2026",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "43a019779739fe68e8b656937b0ddc64095111ef68da072075d4212c17e66faf",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027:1",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.dividends[0].rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "43a019779739fe68e8b656937b0ddc64095111ef68da072075d4212c17e66faf",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:2",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "43a019779739fe68e8b656937b0ddc64095111ef68da072075d4212c17e66faf",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:3",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "reason": "this route exposes outputs, not parameter values",
-      "reform_digest": "43a019779739fe68e8b656937b0ddc64095111ef68da072075d4212c17e66faf",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "unsupported"
-    },
-    {
-      "actual": -190.0,
-      "assertion_id": "change:income_tax:2026:4",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "change:income_tax:2026",
-      "decision_id": null,
-      "expected": -190.00000000000003,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band",
-      "reform_digest": "43a019779739fe68e8b656937b0ddc64095111ef68da072075d4212c17e66faf",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": -15.7001953125,
-      "assertion_id": "change:income_tax:2027:5",
-      "case_id": "parameter_changes_then_modifier",
-      "check": "change:income_tax:2027",
-      "decision_id": null,
-      "expected": -15.700000000000358,
-      "holds": null,
-      "oracle": "(\u00a310,000 of dividends - the dividend allowance) x (8.75% - current dividend rate), all within the basic rate band, plus (30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-      "reform_digest": "43a019779739fe68e8b656937b0ddc64095111ef68da072075d4212c17e66faf",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:income_tax:2026",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "43a019779739fe68e8b656937b0ddc64095111ef68da072075d4212c17e66faf",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 4507.25,
-      "case_id": "parameter_changes_then_modifier",
-      "check": "unreformed_after_reform:income_tax:2027",
-      "expected": 4507.25,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "43a019779739fe68e8b656937b0ddc64095111ef68da072075d4212c17e66faf",
-      "reform_identity": null,
-      "reform_identity_unavailable": "the case's simulation modifier is a closure, which scenario_reform_identity refuses to bind",
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": "ValueError: Could not find the parameter gov.budget_2026.new_credit.amount (failed at budget_2026).",
-      "case_id": "unknown_path",
-      "check": "rejected",
-      "expected": "an error matching 'new_credit'",
-      "reform_digest": "8465ddfc32335f10bb9d23b050f0156a37c48e8a10dc35719d6b7e4f6d1a9238",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "unknown_path",
-        "reform_sha256": "a37b60f951358a9333d2ae2d68f9c50e5126fe06c7fa8d2b530f7e27ddd1e623",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": "ValueError: Could not find the parameter gov.budget_2026.new_credit.amount (failed at budget_2026).",
-      "case_id": "unknown_path",
-      "check": "rejected",
-      "expected": "an error matching 'new_credit'",
-      "reform_digest": "a72b9604c243f77845e1446379e85bd2eca8e0fa7c671956a26e05ecadc3c4a7",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "unknown_path",
-        "reform_sha256": "d2935e4ad6fd5c5e48e57c51bf59dfcadc6c969431ebe4d381fd4725580783db",
-        "representation": "policyengine-uk.scenario/v1"
-      },
-      "route": "country.scenario_parameter_changes",
-      "status": "pass"
-    },
-    {
-      "actual": "ValueError: Could not find the parameter gov.budget_2026.new_credit.amount (failed at budget_2026).",
-      "case_id": "unknown_path",
-      "check": "rejected",
-      "expected": "an error matching 'new_credit'",
-      "reform_digest": "32c326f8ca94bac9e220000e7f0fcf1a34bccd4947357e3819d419bb6ff193ea",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": "ValueError: Reform contains parameter paths not defined on policyengine-uk 2.130.1:\n  - 'gov.budget_2026.new_credit.amount'",
-      "case_id": "unknown_path",
-      "check": "rejected",
-      "expected": "an error matching 'new_credit'",
-      "reform_digest": "292d055c4ba7f1a326b9fa798441a0f6d2186c07206ce7d63177d829371ee335",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "unknown_path",
-        "reform_sha256": "6b1d9cc2b45966b2ef37950ad39d708644e376e9a203b158d004a73d0df66b85",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": "ValueError: Reform contains parameter paths not defined on policyengine-uk 2.130.1:\n  - 'gov.budget_2026.new_credit.amount'",
-      "case_id": "unknown_path",
-      "check": "rejected",
-      "expected": "an error matching 'new_credit'",
-      "reform_digest": "29a0b52eda9615814b814d0de2932d01d8d59430150dcbf9fbb2fcdf79d1fd8d",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "unknown_path",
-        "reform_sha256": "6b1d9cc2b45966b2ef37950ad39d708644e376e9a203b158d004a73d0df66b85",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "case_id": "unknown_path",
-      "check": null,
-      "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "the route does not run in-process",
-      "route": "api.sim_api",
-      "status": "unsupported"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:0",
-      "case_id": "reading_bare_year_dict",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "fiscal year 2027",
-      "reform_digest": "3314f6d0362de9643ce2022904e4fcbbe84297c25d36c37add61a878c7dc3e9c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_bare_year_dict",
-        "reform_sha256": "a17ad3d70916d16416c1181d6f7e83b43c6736908f321e0984abdef8df0fe81d",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:1",
-      "case_id": "reading_bare_year_dict",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "that year only",
-      "reform_digest": "3314f6d0362de9643ce2022904e4fcbbe84297c25d36c37add61a878c7dc3e9c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_bare_year_dict",
-        "reform_sha256": "a17ad3d70916d16416c1181d6f7e83b43c6736908f321e0984abdef8df0fe81d",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "reading_bare_year_dict",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "3314f6d0362de9643ce2022904e4fcbbe84297c25d36c37add61a878c7dc3e9c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_bare_year_dict",
-        "reform_sha256": "a17ad3d70916d16416c1181d6f7e83b43c6736908f321e0984abdef8df0fe81d",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "reading_bare_year_dict",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "3314f6d0362de9643ce2022904e4fcbbe84297c25d36c37add61a878c7dc3e9c",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_bare_year_dict",
-        "reform_sha256": "a17ad3d70916d16416c1181d6f7e83b43c6736908f321e0984abdef8df0fe81d",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026:0",
-      "case_id": "reading_bare_year_reform_from_dict",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "before 1 January 2027",
-      "reform_digest": "d19ea548203c2417e712543d47546f3fa48c741252ccd5b6bf1664d9a517d6b6",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:1",
-      "case_id": "reading_bare_year_reform_from_dict",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "from 1 January 2027",
-      "reform_digest": "d19ea548203c2417e712543d47546f3fa48c741252ccd5b6bf1664d9a517d6b6",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.21,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:2",
-      "case_id": "reading_bare_year_reform_from_dict",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "decision_id": null,
-      "expected": 0.21,
-      "holds": null,
-      "oracle": "onwards",
-      "reform_digest": "d19ea548203c2417e712543d47546f3fa48c741252ccd5b6bf1664d9a517d6b6",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "reading_bare_year_reform_from_dict",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d19ea548203c2417e712543d47546f3fa48c741252ccd5b6bf1664d9a517d6b6",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "reading_bare_year_reform_from_dict",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d19ea548203c2417e712543d47546f3fa48c741252ccd5b6bf1664d9a517d6b6",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "reading_bare_year_reform_from_dict",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "d19ea548203c2417e712543d47546f3fa48c741252ccd5b6bf1664d9a517d6b6",
-      "reform_identity": null,
-      "reform_identity_unavailable": "receipt schema v1 has no representation for what country.reform_from_dict consumes",
-      "route": "country.reform_from_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027:0",
-      "case_id": "reading_single_day_dict",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "one day is not 30 April",
-      "reform_digest": "dec76eb1ea64e800caff37168afaaa26599bb03b533c169908d691c111cdbc36",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_single_day_dict",
-        "reform_sha256": "f576ac6d74b8e3dc782eaeeb81b6254e76baa72546eac3ab2adec7a6052f9174",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "assertion_id": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028:1",
-      "case_id": "reading_single_day_dict",
-      "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "decision_id": null,
-      "expected": 0.2,
-      "holds": null,
-      "oracle": "one day only",
-      "reform_digest": "dec76eb1ea64e800caff37168afaaa26599bb03b533c169908d691c111cdbc36",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_single_day_dict",
-        "reform_sha256": "f576ac6d74b8e3dc782eaeeb81b6254e76baa72546eac3ab2adec7a6052f9174",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "reading_single_day_dict",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "dec76eb1ea64e800caff37168afaaa26599bb03b533c169908d691c111cdbc36",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_single_day_dict",
-        "reform_sha256": "f576ac6d74b8e3dc782eaeeb81b6254e76baa72546eac3ab2adec7a6052f9174",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 0.2,
-      "case_id": "reading_single_day_dict",
-      "check": "unreformed_after_reform:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-      "expected": 0.2,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "dec76eb1ea64e800caff37168afaaa26599bb03b533c169908d691c111cdbc36",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_single_day_dict",
-        "reform_sha256": "f576ac6d74b8e3dc782eaeeb81b6254e76baa72546eac3ab2adec7a6052f9174",
-        "representation": "policyengine-uk.reform_dict/v1"
-      },
-      "route": "country.reform_dict",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "reading_effective_dates_reverse_order",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "56c7ad7d1ddf6185703a5f60d31f11a12272e1166c667996b484801f57dbebcd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_effective_dates_reverse_order",
-        "reform_sha256": "fa2c95313ac6daa569395bf1b5d8595d5399731158ad6b5132641f0e3eac983c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2028:1",
-      "case_id": "reading_effective_dates_reverse_order",
-      "check": "variable:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "\u00a3520 x 12",
-      "reform_digest": "56c7ad7d1ddf6185703a5f60d31f11a12272e1166c667996b484801f57dbebcd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_effective_dates_reverse_order",
-        "reform_sha256": "fa2c95313ac6daa569395bf1b5d8595d5399731158ad6b5132641f0e3eac983c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "reading_effective_dates_reverse_order",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "56c7ad7d1ddf6185703a5f60d31f11a12272e1166c667996b484801f57dbebcd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_effective_dates_reverse_order",
-        "reform_sha256": "fa2c95313ac6daa569395bf1b5d8595d5399731158ad6b5132641f0e3eac983c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "reading_effective_dates_reverse_order",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "56c7ad7d1ddf6185703a5f60d31f11a12272e1166c667996b484801f57dbebcd",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_effective_dates_reverse_order",
-        "reform_sha256": "fa2c95313ac6daa569395bf1b5d8595d5399731158ad6b5132641f0e3eac983c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.household",
-      "status": "pass"
-    },
-    {
-      "actual": 6000.0,
-      "assertion_id": "variable:uc_standard_allowance:2027:0",
-      "case_id": "reading_effective_dates_reverse_order",
-      "check": "variable:uc_standard_allowance:2027",
-      "decision_id": null,
-      "expected": 6000.0,
-      "holds": null,
-      "oracle": "\u00a3500 x 12",
-      "reform_digest": "b09577ce022e4cc30b4702add142a1e3aa1ab438a27955d182bba894199cecd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_effective_dates_reverse_order",
-        "reform_sha256": "fa2c95313ac6daa569395bf1b5d8595d5399731158ad6b5132641f0e3eac983c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 6240.0,
-      "assertion_id": "variable:uc_standard_allowance:2028:1",
-      "case_id": "reading_effective_dates_reverse_order",
-      "check": "variable:uc_standard_allowance:2028",
-      "decision_id": null,
-      "expected": 6240.0,
-      "holds": null,
-      "oracle": "\u00a3520 x 12",
-      "reform_digest": "b09577ce022e4cc30b4702add142a1e3aa1ab438a27955d182bba894199cecd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_effective_dates_reverse_order",
-        "reform_sha256": "fa2c95313ac6daa569395bf1b5d8595d5399731158ad6b5132641f0e3eac983c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5256.8515625,
-      "case_id": "reading_effective_dates_reverse_order",
-      "check": "unreformed_after_reform:uc_standard_allowance:2027",
-      "expected": 5256.8515625,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b09577ce022e4cc30b4702add142a1e3aa1ab438a27955d182bba894199cecd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_effective_dates_reverse_order",
-        "reform_sha256": "fa2c95313ac6daa569395bf1b5d8595d5399731158ad6b5132641f0e3eac983c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": 5408.787109375,
-      "case_id": "reading_effective_dates_reverse_order",
-      "check": "unreformed_after_reform:uc_standard_allowance:2028",
-      "expected": 5408.787109375,
-      "oracle": "an unreformed simulation built after the reform equals one built before it",
-      "reform_digest": "b09577ce022e4cc30b4702add142a1e3aa1ab438a27955d182bba894199cecd5",
-      "reform_identity": {
-        "binding": "content",
-        "kind": "reform",
-        "name": "reading_effective_dates_reverse_order",
-        "reform_sha256": "fa2c95313ac6daa569395bf1b5d8595d5399731158ad6b5132641f0e3eac983c",
-        "representation": "policyengine.reform_dict/v1"
-      },
-      "route": "wrapper.policy",
-      "status": "pass"
-    },
-    {
-      "actual": "unchanged",
-      "case_id": "module_parameters_unchanged",
-      "check": "every parameter's dated values and metadata, and every node's metadata and band order, in processed, projected, statutory, system",
-      "expected": "policyengine-uk's shared parameters as they were before the run",
-      "oracle": "the shared parameter state's values, read before any reform ran",
-      "reform_digest": null,
-      "reform_identity": null,
-      "reform_identity_unavailable": "a run-level row runs no reform",
-      "route": "all",
-      "status": "pass"
-    }
-  ],
-  "contract_id": "policyengine-uk/budget-reform-contract",
-  "contract_version": "2.1.0",
-  "dataset": {
-    "path": "",
-    "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784"
-  },
-  "holds": true,
-  "max_examples": 20,
-  "population": [
-    {
-      "check_id": "population_baseline_isolation",
-      "detail": {
-        "household_net_income:2026_matches": true,
-        "household_net_income:2027_matches": true,
-        "household_net_income:2028_matches": true,
-        "income_tax:2026_matches": true,
-        "income_tax:2027_matches": true,
-        "income_tax:2028_matches": true,
-        "universal_credit:2026_matches": true,
-        "universal_credit:2027_matches": true,
-        "universal_credit:2028_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_baseline_isolation",
-      "detail": {
-        "household_net_income:2026_matches": true,
-        "household_net_income:2027_matches": true,
-        "household_net_income:2028_matches": true,
-        "income_tax:2026_matches": true,
-        "income_tax:2027_matches": true,
-        "income_tax:2028_matches": true,
-        "universal_credit:2026_matches": true,
-        "universal_credit:2027_matches": true,
-        "universal_credit:2028_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.scenario_parameter_changes",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_baseline_isolation",
-      "detail": {
-        "household_net_income:2026_matches": true,
-        "household_net_income:2027_matches": true,
-        "household_net_income:2028_matches": true,
-        "income_tax:2026_matches": true,
-        "income_tax:2027_matches": true,
-        "income_tax:2028_matches": true,
-        "universal_credit:2026_matches": true,
-        "universal_credit:2027_matches": true,
-        "universal_credit:2028_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_from_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_baseline_isolation",
-      "detail": {
-        "household_net_income:2026_matches": true,
-        "household_net_income:2027_matches": true,
-        "household_net_income:2028_matches": true,
-        "income_tax:2026_matches": true,
-        "income_tax:2027_matches": true,
-        "income_tax:2028_matches": true,
-        "universal_credit:2026_matches": true,
-        "universal_credit:2027_matches": true,
-        "universal_credit:2028_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "unreformed",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_query_order",
-      "detail": {
-        "household_net_income:2026_matches": true,
-        "household_net_income:2027_matches": true,
-        "household_net_income:2028_matches": true,
-        "income_tax:2026_matches": true,
-        "income_tax:2027_matches": true,
-        "income_tax:2028_matches": true,
-        "universal_credit:2026_matches": true,
-        "universal_credit:2027_matches": true,
-        "universal_credit:2028_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "unreformed",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_routes_agree",
-      "detail": {
-        "income_tax:2026_matches": true,
-        "income_tax:2027_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_dict = country.scenario_parameter_changes",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_routes_agree",
-      "detail": {
-        "income_tax:2026_matches": true,
-        "income_tax:2027_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_dict = country.reform_from_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_april_rate_change",
-      "detail": {
-        "2026_unchanged": true,
-        "2027_people_with_higher_tax": 1092,
-        "2027_people_with_lower_tax": "fewer than 10",
-        "2027_total_change": 205490.41319274902,
-        "2027_total_rises": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_april_rate_change",
-      "detail": {
-        "2026_unchanged": true,
-        "2027_people_with_higher_tax": 1092,
-        "2027_people_with_lower_tax": "fewer than 10",
-        "2027_total_change": 205490.41319274902,
-        "2027_total_rises": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.scenario_parameter_changes",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_april_rate_change",
-      "detail": {
-        "2026_unchanged": true,
-        "2027_people_with_higher_tax": 1092,
-        "2027_people_with_lower_tax": "fewer than 10",
-        "2027_total_change": 205490.41319274902,
-        "2027_total_rises": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_from_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_finite_change_expires",
-      "detail": {
-        "income_tax:2028_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_finite_change_expires",
-      "detail": {
-        "income_tax:2028_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.scenario_parameter_changes",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_finite_change_expires",
-      "detail": {
-        "income_tax:2028_matches": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_from_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_uc_standard_allowance_plus_10",
-      "detail": {
-        "awards_lower": 0,
-        "no_award_lower": true,
-        "no_non_finite_units": true,
-        "no_payment_below_the_payable_floor": true,
-        "no_payment_lower_informational": false,
-        "payments_are_award_less_deductions": true,
-        "payments_below_the_payable_floor": 0,
-        "payments_higher": 102,
-        "payments_lower": "fewer than 10",
-        "payments_not_award_less_deductions": 0,
-        "some_payment_higher": true,
-        "standard_allowance_scaled_10_percent": true,
-        "units_with_non_finite_values": 0
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_uc_standard_allowance_plus_10",
-      "detail": {
-        "awards_lower": 0,
-        "no_award_lower": true,
-        "no_non_finite_units": true,
-        "no_payment_below_the_payable_floor": true,
-        "no_payment_lower_informational": false,
-        "payments_are_award_less_deductions": true,
-        "payments_below_the_payable_floor": 0,
-        "payments_higher": 102,
-        "payments_lower": "fewer than 10",
-        "payments_not_award_less_deductions": 0,
-        "some_payment_higher": true,
-        "standard_allowance_scaled_10_percent": true,
-        "units_with_non_finite_values": 0
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.scenario_parameter_changes",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_uc_standard_allowance_plus_10",
-      "detail": {
-        "awards_lower": 0,
-        "no_award_lower": true,
-        "no_non_finite_units": true,
-        "no_payment_below_the_payable_floor": true,
-        "no_payment_lower_informational": false,
-        "payments_are_award_less_deductions": true,
-        "payments_below_the_payable_floor": 0,
-        "payments_higher": 102,
-        "payments_lower": "fewer than 10",
-        "payments_not_award_less_deductions": 0,
-        "some_payment_higher": true,
-        "standard_allowance_scaled_10_percent": true,
-        "units_with_non_finite_values": 0
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_from_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_state_pension_plus_10",
-      "detail": {
-        "basic_and_new_scaled_10_percent": true,
-        "no_pension_lower": true,
-        "pensions_higher": 507,
-        "pensions_lower": 0,
-        "some_pension_higher": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_state_pension_plus_10",
-      "detail": {
-        "basic_and_new_scaled_10_percent": true,
-        "no_pension_lower": true,
-        "pensions_higher": 507,
-        "pensions_lower": 0,
-        "some_pension_higher": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.scenario_parameter_changes",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    },
-    {
-      "check_id": "population_state_pension_plus_10",
-      "detail": {
-        "basic_and_new_scaled_10_percent": true,
-        "no_pension_lower": true,
-        "pensions_higher": 507,
-        "pensions_lower": 0,
-        "some_pension_higher": true
-      },
-      "reform_identity": null,
-      "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-      "route": "country.reform_from_dict",
-      "seed": 0,
-      "status": "pass",
-      "subsample_households": 1000
-    }
-  ],
-  "prior_law_option": "statutory",
-  "properties": [
-    {
-      "engine": "hypothesis",
-      "examples_run": 20,
-      "property_id": "annual_values_match_the_oracle",
-      "reform_identity": null,
-      "reform_identity_unavailable": "a sampled property runs many sampled reforms, so its row binds none",
-      "status": "pass"
-    },
-    {
-      "engine": "hypothesis",
-      "examples_run": 20,
-      "property_id": "routes_agree_and_baselines_hold",
-      "reform_identity": null,
-      "reform_identity_unavailable": "a sampled property runs many sampled reforms, so its row binds none",
-      "status": "pass"
-    }
-  ],
-  "routes": [
-    "country.reform_dict",
-    "country.scenario_parameter_changes",
-    "country.reform_from_dict",
-    "wrapper.household",
-    "wrapper.policy",
-    "api.sim_api"
-  ],
-  "seed": 0,
-  "summary": {
-    "error": 0,
-    "fail": 0,
-    "pass": 905,
-    "pending": 34,
-    "unsupported": 120
-  },
-  "versions": {
-    "policyengine": "6.7.6",
-    "policyengine-core": "3.33.0",
-    "policyengine-uk": "2.135.0"
-  }
-}
diff --git a/tests/fixtures/uk_contract/pinned_uk_2.125.1_defects.json b/tests/fixtures/uk_contract/pinned_uk_2.125.1_defects.json
deleted file mode 100644
index e7d92fa8e..000000000
--- a/tests/fixtures/uk_contract/pinned_uk_2.125.1_defects.json
+++ /dev/null
@@ -1,2050 +0,0 @@
-{
- "cases": [
-  {
-   "actual": 0.2,
-   "case_id": "april_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "unchanged before 2027-28",
-   "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "april_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-   "decision_id": null,
-   "expected": 0.21,
-   "holds": null,
-   "oracle": "in force on 30 April 2027",
-   "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.21,
-   "case_id": "april_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-   "decision_id": null,
-   "expected": 0.21,
-   "holds": null,
-   "oracle": "held from 6 April 2027",
-   "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "april_rate_change",
-   "check": "change:income_tax:2026",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "before the change",
-   "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "april_rate_change",
-   "check": "change:income_tax:2027",
-   "decision_id": null,
-   "expected": 174.29999999999967,
-   "holds": null,
-   "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-   "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 174.300048828125,
-   "case_id": "april_rate_change",
-   "check": "change:income_tax:2028",
-   "decision_id": null,
-   "expected": 174.29999999999967,
-   "holds": null,
-   "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-   "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "april_rate_change",
-   "check": "baseline_isolation:income_tax:2026",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "april_rate_change",
-   "check": "baseline_isolation:income_tax:2027",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "april_rate_change",
-   "check": "baseline_isolation:income_tax:2028",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "1cf30cfa43f9bcee4bbb7c3d7d42d481aafe57cb674b93709b952a6089e23665",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "april_rate_change",
-   "check": null,
-   "detail": "ValueError: Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2027-04-06.2100-12-31'.\nLearn more about legal period formats in OpenFisca:\n.",
-   "reform_digest": "c24ddebf09ef159ad38ebd530d2deca18d2ec7165400a6d92ada5c9d6175377e",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "april_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "unchanged before 2027-28",
-   "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "april_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-   "decision_id": null,
-   "expected": 0.21,
-   "holds": null,
-   "oracle": "in force on 30 April 2027",
-   "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.21,
-   "case_id": "april_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-   "decision_id": null,
-   "expected": 0.21,
-   "holds": null,
-   "oracle": "held from 6 April 2027",
-   "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "april_rate_change",
-   "check": "change:income_tax:2026",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "before the change",
-   "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "april_rate_change",
-   "check": "change:income_tax:2027",
-   "decision_id": null,
-   "expected": 174.29999999999967,
-   "holds": null,
-   "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-   "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 174.300048828125,
-   "case_id": "april_rate_change",
-   "check": "change:income_tax:2028",
-   "decision_id": null,
-   "expected": 174.29999999999967,
-   "holds": null,
-   "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-   "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "april_rate_change",
-   "check": "baseline_isolation:income_tax:2026",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "april_rate_change",
-   "check": "baseline_isolation:income_tax:2027",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "april_rate_change",
-   "check": "baseline_isolation:income_tax:2028",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "eab1e87614e840127bd7b77723df34e4412b2cc05d1dee4326e255c08aae4087",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "april_rate_change",
-   "check": null,
-   "detail": "TypeError: unhashable type: 'dict'",
-   "reform_digest": "f504a06f3382203f96a08fc1c07b86a0f001d4b40c0a2e805f6c0c4d29c50221",
-   "route": "wrapper.household",
-   "status": "error"
-  },
-  {
-   "case_id": "april_rate_change",
-   "check": null,
-   "detail": "KeyError: 'region'",
-   "reform_digest": "cd54b3b3b30cfd71448cbeb374c5d31aedca3d52733ab5c81e542feaba80704c",
-   "route": "wrapper.policy",
-   "status": "error"
-  },
-  {
-   "case_id": "april_rate_change",
-   "check": null,
-   "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-   "reform_digest": null,
-   "route": "api.sim_api",
-   "status": "unsupported"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "finite_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-   "decision_id": null,
-   "expected": 0.21,
-   "holds": null,
-   "oracle": "in force on 30 April 2027",
-   "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.21,
-   "case_id": "finite_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "prior law after 5 April 2028",
-   "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "finite_rate_change",
-   "check": "change:income_tax:2027",
-   "decision_id": null,
-   "expected": 174.29999999999967,
-   "holds": null,
-   "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-   "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 174.300048828125,
-   "case_id": "finite_rate_change",
-   "check": "change:income_tax:2028",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "the change has ended",
-   "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "finite_rate_change",
-   "check": "baseline_isolation:income_tax:2027",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "finite_rate_change",
-   "check": "baseline_isolation:income_tax:2028",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "5a0ca24b82794f7c32123733efa38f90aa602676efa5219e4a13d97ff46f69ea",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "finite_rate_change",
-   "check": null,
-   "detail": "ValueError: Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2027-04-06.2028-04-05'.\nLearn more about legal period formats in OpenFisca:\n.",
-   "reform_digest": "5e2b0da064082c7c363dec99c7e5bab2f190ae2f5ff9633454f1e10223293323",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "finite_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-   "decision_id": null,
-   "expected": 0.21,
-   "holds": null,
-   "oracle": "in force on 30 April 2027",
-   "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.21,
-   "case_id": "finite_rate_change",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "prior law after 5 April 2028",
-   "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "finite_rate_change",
-   "check": "change:income_tax:2027",
-   "decision_id": null,
-   "expected": 174.29999999999967,
-   "holds": null,
-   "oracle": "(30,000 - personal allowance) x (new rate - current rate); the allowance and current rate are read from current law",
-   "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 174.300048828125,
-   "case_id": "finite_rate_change",
-   "check": "change:income_tax:2028",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "the change has ended",
-   "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "finite_rate_change",
-   "check": "baseline_isolation:income_tax:2027",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3486.0,
-   "case_id": "finite_rate_change",
-   "check": "baseline_isolation:income_tax:2028",
-   "expected": 3486.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "ed4782036ee619f8c07483cac573d44bf1917fa33d3fa49a8551eebb632852ef",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "finite_rate_change",
-   "check": null,
-   "detail": "TypeError: unhashable type: 'dict'",
-   "reform_digest": "97674d142cf5719ae87a2523e758805be566fe02241aeff2a658fee27235c3f8",
-   "route": "wrapper.household",
-   "status": "error"
-  },
-  {
-   "case_id": "finite_rate_change",
-   "check": null,
-   "detail": "ValueError: unconverted data remains: .2028-04-05",
-   "reform_digest": "635e34257a38637cabd07234afb9e37355921ce7b680a98d8f85a1e05ecbbb64",
-   "route": "wrapper.policy",
-   "status": "error"
-  },
-  {
-   "case_id": "finite_rate_change",
-   "check": null,
-   "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-   "reform_digest": null,
-   "route": "api.sim_api",
-   "status": "unsupported"
-  },
-  {
-   "actual": 12821.408457811869,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 38454.01293702494,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-   "decision_id": null,
-   "expected": 37700.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 12821.408457811869,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "aligned with the allowance",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 51275.43382451891,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-   "decision_id": null,
-   "expected": 50270.0,
-   "holds": null,
-   "oracle": "allowance + basic rate limit",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 246.56476264971067,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-   "decision_id": null,
-   "expected": 241.73,
-   "holds": null,
-   "oracle": "12,570 / 52, to the penny",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 986.0652504709999,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-   "decision_id": null,
-   "expected": 966.73,
-   "holds": null,
-   "oracle": "50,270 / 52, to the penny",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "extended_freeze",
-   "check": "change:income_tax:2031",
-   "decision_id": null,
-   "expected": 50.28169156237382,
-   "holds": null,
-   "oracle": "basic rate x (current law's allowance - 12,570)",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 12570.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 37700.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-   "decision_id": null,
-   "expected": 37700.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 13077.821120979681,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "aligned with the allowance",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 52300.8804893913,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-   "decision_id": null,
-   "expected": 50270.0,
-   "holds": null,
-   "oracle": "allowance + basic rate limit",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 251.49575971156867,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-   "decision_id": null,
-   "expected": 241.73,
-   "holds": null,
-   "oracle": "12,570 / 52, to the penny",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 1005.7853629502536,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-   "decision_id": null,
-   "expected": 966.73,
-   "holds": null,
-   "oracle": "50,270 / 52, to the penny",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 101.599853515625,
-   "case_id": "extended_freeze",
-   "check": "change:income_tax:2032",
-   "decision_id": null,
-   "expected": 101.56422419593619,
-   "holds": null,
-   "oracle": "basic rate x (current law's allowance - 12,570)",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 12570.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 37700.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-   "decision_id": null,
-   "expected": 37700.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 13339.378953034586,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "aligned with the allowance",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 53346.903736598935,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-   "decision_id": null,
-   "expected": 50270.0,
-   "holds": null,
-   "oracle": "allowance + basic rate limit",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 256.52570201408514,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-   "decision_id": null,
-   "expected": 241.73,
-   "holds": null,
-   "oracle": "12,570 / 52, to the penny",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 1025.901178621092,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-   "decision_id": null,
-   "expected": 966.73,
-   "holds": null,
-   "oracle": "50,270 / 52, to the penny",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 154.0,
-   "case_id": "extended_freeze",
-   "check": "change:income_tax:2033",
-   "decision_id": null,
-   "expected": 153.87579060691715,
-   "holds": null,
-   "oracle": "basic rate x (current law's allowance - 12,570)",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 12570.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-   "decision_id": null,
-   "expected": 13606.152435742164,
-   "holds": null,
-   "oracle": "contract 1.0.0: prior law's projected path resumes",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-   "detail": "ValueError('Could not find the parameter gov.economic_assumptions.yoy_growth.september_cpi_uprating (failed at september_cpi_uprating).')",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "error"
-  },
-  {
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-   "detail": "ValueError('Could not find the parameter gov.economic_assumptions.yoy_growth.september_cpi_uprating (failed at september_cpi_uprating).')",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "error"
-  },
-  {
-   "actual": 3426.0,
-   "case_id": "extended_freeze",
-   "check": "baseline_isolation:income_tax:2031",
-   "expected": 3426.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3374.800048828125,
-   "case_id": "extended_freeze",
-   "check": "baseline_isolation:income_tax:2032",
-   "expected": 3374.800048828125,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3322.39990234375,
-   "case_id": "extended_freeze",
-   "check": "baseline_isolation:income_tax:2033",
-   "expected": 3322.39990234375,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "234ec5c3931182f8f76930655330ebbdb77a6e62586a0af81f386149be5c5036",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "extended_freeze",
-   "check": null,
-   "detail": "ValueError: Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2031-04-06.2034-04-05'.\nLearn more about legal period formats in OpenFisca:\n.",
-   "reform_digest": "725339aa214a4609707b6c10f7e32fdfb2491ad2e48da70f39a414dfc1f83aca",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "actual": 12821.408457811869,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 38454.01293702494,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-   "decision_id": null,
-   "expected": 37700.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 12821.408457811869,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2031",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "aligned with the allowance",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 51275.43382451891,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2031",
-   "decision_id": null,
-   "expected": 50270.0,
-   "holds": null,
-   "oracle": "allowance + basic rate limit",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 246.56476264971067,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-   "decision_id": null,
-   "expected": 241.73,
-   "holds": null,
-   "oracle": "12,570 / 52, to the penny",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 986.0652504709999,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2031",
-   "decision_id": null,
-   "expected": 966.73,
-   "holds": null,
-   "oracle": "50,270 / 52, to the penny",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "extended_freeze",
-   "check": "change:income_tax:2031",
-   "decision_id": null,
-   "expected": 50.28169156237382,
-   "holds": null,
-   "oracle": "basic rate x (current law's allowance - 12,570)",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 12570.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2032",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 37700.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2032",
-   "decision_id": null,
-   "expected": 37700.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 13077.821120979681,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2032",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "aligned with the allowance",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 52300.8804893913,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2032",
-   "decision_id": null,
-   "expected": 50270.0,
-   "holds": null,
-   "oracle": "allowance + basic rate limit",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 251.49575971156867,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2032",
-   "decision_id": null,
-   "expected": 241.73,
-   "holds": null,
-   "oracle": "12,570 / 52, to the penny",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 1005.7853629502536,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2032",
-   "decision_id": null,
-   "expected": 966.73,
-   "holds": null,
-   "oracle": "50,270 / 52, to the penny",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 101.599853515625,
-   "case_id": "extended_freeze",
-   "check": "change:income_tax:2032",
-   "decision_id": null,
-   "expected": 101.56422419593619,
-   "holds": null,
-   "oracle": "basic rate x (current law's allowance - 12,570)",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 12570.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2033",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 37700.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2033",
-   "decision_id": null,
-   "expected": 37700.0,
-   "holds": null,
-   "oracle": "frozen",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 13339.378953034586,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.lower_profits_limit:2033",
-   "decision_id": null,
-   "expected": 12570.0,
-   "holds": null,
-   "oracle": "aligned with the allowance",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 53346.903736598935,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_4.thresholds.upper_profits_limit:2033",
-   "decision_id": null,
-   "expected": 50270.0,
-   "holds": null,
-   "oracle": "allowance + basic rate limit",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 256.52570201408514,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2033",
-   "decision_id": null,
-   "expected": 241.73,
-   "holds": null,
-   "oracle": "12,570 / 52, to the penny",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 1025.901178621092,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.upper_earnings_limit:2033",
-   "decision_id": null,
-   "expected": 966.73,
-   "holds": null,
-   "oracle": "50,270 / 52, to the penny",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 154.0,
-   "case_id": "extended_freeze",
-   "check": "change:income_tax:2033",
-   "decision_id": null,
-   "expected": 153.87579060691715,
-   "holds": null,
-   "oracle": "basic rate x (current law's allowance - 12,570)",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 12570.0,
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-   "decision_id": null,
-   "expected": 13606.152435742164,
-   "holds": null,
-   "oracle": "contract 1.0.0: prior law's projected path resumes",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034",
-   "detail": "ValueError('Could not find the parameter gov.economic_assumptions.yoy_growth.september_cpi_uprating (failed at september_cpi_uprating).')",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "error"
-  },
-  {
-   "case_id": "extended_freeze",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2034",
-   "detail": "ValueError('Could not find the parameter gov.economic_assumptions.yoy_growth.september_cpi_uprating (failed at september_cpi_uprating).')",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "error"
-  },
-  {
-   "actual": 3426.0,
-   "case_id": "extended_freeze",
-   "check": "baseline_isolation:income_tax:2031",
-   "expected": 3426.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3374.800048828125,
-   "case_id": "extended_freeze",
-   "check": "baseline_isolation:income_tax:2032",
-   "expected": 3374.800048828125,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 3322.39990234375,
-   "case_id": "extended_freeze",
-   "check": "baseline_isolation:income_tax:2033",
-   "expected": 3322.39990234375,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "423fc235458423a35a13511dffa5b18190c7e1d0e7b3a209d4b923708dd647f0",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "extended_freeze",
-   "check": null,
-   "detail": "TypeError: unhashable type: 'dict'",
-   "reform_digest": "b53bec711f02356d55dbb011544c0e556eba7559496d89d10ae266da9e217a0e",
-   "route": "wrapper.household",
-   "status": "error"
-  },
-  {
-   "case_id": "extended_freeze",
-   "check": null,
-   "detail": "ValueError: unconverted data remains: .2034-04-05",
-   "reform_digest": "f0cebbfddd5f9a74d7ebb7f83247004201148486b8714cd916087872ce2dfaaa",
-   "route": "wrapper.policy",
-   "status": "error"
-  },
-  {
-   "case_id": "extended_freeze",
-   "check": null,
-   "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-   "reform_digest": null,
-   "route": "api.sim_api",
-   "status": "unsupported"
-  },
-  {
-   "actual": 5216.06103515625,
-   "case_id": "april_benefit_uprating",
-   "check": "variable:uc_standard_allowance:2027",
-   "decision_id": null,
-   "expected": 6000.0,
-   "holds": null,
-   "oracle": "\u00a3500 x 12",
-   "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 6000.0,
-   "case_id": "april_benefit_uprating",
-   "check": "variable:uc_standard_allowance:2028",
-   "decision_id": null,
-   "expected": 6240.0,
-   "holds": null,
-   "oracle": "\u00a3520 x 12",
-   "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 6240.0,
-   "case_id": "april_benefit_uprating",
-   "check": "variable:uc_standard_allowance:2029",
-   "decision_id": null,
-   "expected": 6240.0,
-   "holds": null,
-   "oracle": "held from April 2028",
-   "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "april_benefit_uprating",
-   "check": "change:uc_standard_allowance:2026",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "before the change",
-   "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5216.06103515625,
-   "case_id": "april_benefit_uprating",
-   "check": "baseline_isolation:uc_standard_allowance:2027",
-   "expected": 5216.06103515625,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5320.3740234375,
-   "case_id": "april_benefit_uprating",
-   "check": "baseline_isolation:uc_standard_allowance:2028",
-   "expected": 5320.3740234375,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5426.7763671875,
-   "case_id": "april_benefit_uprating",
-   "check": "baseline_isolation:uc_standard_allowance:2029",
-   "expected": 5426.7763671875,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5098.7998046875,
-   "case_id": "april_benefit_uprating",
-   "check": "baseline_isolation:uc_standard_allowance:2026",
-   "expected": 5098.7998046875,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "e98d41db2ed7d855dda05d65e66e1e4ef4b4167088a2d88bbd92c9b3260402ff",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "april_benefit_uprating",
-   "check": null,
-   "detail": "ValueError: Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2027-04-06.2028-04-05'.\nLearn more about legal period formats in OpenFisca:\n.",
-   "reform_digest": "0ab5df46a43311bce2af6c4b9b70155c64df30388c8a0f99f15a2846351f715a",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "actual": 5216.06103515625,
-   "case_id": "april_benefit_uprating",
-   "check": "variable:uc_standard_allowance:2027",
-   "decision_id": null,
-   "expected": 6000.0,
-   "holds": null,
-   "oracle": "\u00a3500 x 12",
-   "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 6000.0,
-   "case_id": "april_benefit_uprating",
-   "check": "variable:uc_standard_allowance:2028",
-   "decision_id": null,
-   "expected": 6240.0,
-   "holds": null,
-   "oracle": "\u00a3520 x 12",
-   "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 6240.0,
-   "case_id": "april_benefit_uprating",
-   "check": "variable:uc_standard_allowance:2029",
-   "decision_id": null,
-   "expected": 6240.0,
-   "holds": null,
-   "oracle": "held from April 2028",
-   "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "april_benefit_uprating",
-   "check": "change:uc_standard_allowance:2026",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "before the change",
-   "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5216.06103515625,
-   "case_id": "april_benefit_uprating",
-   "check": "baseline_isolation:uc_standard_allowance:2027",
-   "expected": 5216.06103515625,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5320.3740234375,
-   "case_id": "april_benefit_uprating",
-   "check": "baseline_isolation:uc_standard_allowance:2028",
-   "expected": 5320.3740234375,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5426.7763671875,
-   "case_id": "april_benefit_uprating",
-   "check": "baseline_isolation:uc_standard_allowance:2029",
-   "expected": 5426.7763671875,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5098.7998046875,
-   "case_id": "april_benefit_uprating",
-   "check": "baseline_isolation:uc_standard_allowance:2026",
-   "expected": 5098.7998046875,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "33b86ab43be584c8c6e8aafdd55053dcf72078a3a525cd638f38bcd1d645227f",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "april_benefit_uprating",
-   "check": null,
-   "detail": "TypeError: unhashable type: 'dict'",
-   "reform_digest": "dfc339899202506f1bb7300cea49e605d3c128f1c036c0ec5df0c3d326d0c33e",
-   "route": "wrapper.household",
-   "status": "error"
-  },
-  {
-   "case_id": "april_benefit_uprating",
-   "check": null,
-   "detail": "ValueError: unconverted data remains: .2028-04-05",
-   "reform_digest": "d4388eb374c51a6da454f1325fe7699aca1a9004b95dae95464c3a9b2aea8bd5",
-   "route": "wrapper.policy",
-   "status": "error"
-  },
-  {
-   "case_id": "april_benefit_uprating",
-   "check": null,
-   "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-   "reform_digest": null,
-   "route": "api.sim_api",
-   "status": "unsupported"
-  },
-  {
-   "actual": 5216.06103515625,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "variable:uc_standard_allowance:2027",
-   "decision_id": null,
-   "expected": 6000.0,
-   "holds": null,
-   "oracle": "\u00a3500 x 12",
-   "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 679.6259765625,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "change:uc_standard_allowance:2028",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "prior law's uprated path resumes",
-   "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "change:uc_standard_allowance:2030",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "prior law's uprated path resumes",
-   "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5216.06103515625,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "baseline_isolation:uc_standard_allowance:2027",
-   "expected": 5216.06103515625,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5320.3740234375,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "baseline_isolation:uc_standard_allowance:2028",
-   "expected": 5320.3740234375,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5535.2998046875,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "baseline_isolation:uc_standard_allowance:2030",
-   "expected": 5535.2998046875,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "d646393894abdc73e4d317eff0c39419cfbf5f69df4dfea57f44db7700f1fd54",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": null,
-   "detail": "ValueError: Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2027-04-06.2028-04-05'.\nLearn more about legal period formats in OpenFisca:\n.",
-   "reform_digest": "ba3722100cf3de0524dfd14b8e0b498a4c2caebe66bdf38395ae8d4568589236",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "actual": 5216.06103515625,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "variable:uc_standard_allowance:2027",
-   "decision_id": null,
-   "expected": 6000.0,
-   "holds": null,
-   "oracle": "\u00a3500 x 12",
-   "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 679.6259765625,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "change:uc_standard_allowance:2028",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "prior law's uprated path resumes",
-   "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "change:uc_standard_allowance:2030",
-   "decision_id": null,
-   "expected": 0.0,
-   "holds": null,
-   "oracle": "prior law's uprated path resumes",
-   "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5216.06103515625,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "baseline_isolation:uc_standard_allowance:2027",
-   "expected": 5216.06103515625,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5320.3740234375,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "baseline_isolation:uc_standard_allowance:2028",
-   "expected": 5320.3740234375,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5535.2998046875,
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": "baseline_isolation:uc_standard_allowance:2030",
-   "expected": 5535.2998046875,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "20b97441158d9b07c0a62a5bfd332aaa4ab9749ac9a9d3b93f046461f54acfc4",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": null,
-   "detail": "TypeError: unhashable type: 'dict'",
-   "reform_digest": "6df62a9f41db002ef95cadf25f2cd566de071a424141ebd1c479e4398ead4a4e",
-   "route": "wrapper.household",
-   "status": "error"
-  },
-  {
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": null,
-   "detail": "ValueError: unconverted data remains: .2028-04-05",
-   "reform_digest": "48f71ddba48e9494e868325cf1af191218d7edb5c4846616dbe75500e6db417d",
-   "route": "wrapper.policy",
-   "status": "error"
-  },
-  {
-   "case_id": "bounded_change_on_uprated_benefit",
-   "check": null,
-   "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-   "reform_digest": null,
-   "route": "api.sim_api",
-   "status": "unsupported"
-  },
-  {
-   "actual": 0.18,
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-   "decision_id": null,
-   "expected": 0.18868852459016502,
-   "holds": null,
-   "oracle": "day-weighted: 207 days at 18% and 159 at 20% of 366",
-   "reform_digest": "3d8fd4c48241e68e1e1d8479b2b2067b274092a7c4fc2476b7cea829c18aa588",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2028",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "in force all year",
-   "reform_digest": "3d8fd4c48241e68e1e1d8479b2b2067b274092a7c4fc2476b7cea829c18aa588",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.18000000000000002,
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2026",
-   "decision_id": null,
-   "expected": 0.18,
-   "holds": null,
-   "oracle": "before the change",
-   "reform_digest": "3d8fd4c48241e68e1e1d8479b2b2067b274092a7c4fc2476b7cea829c18aa588",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "mid_year_blended_rate",
-   "check": null,
-   "detail": "ValueError: Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2027-10-30.2100-12-31'.\nLearn more about legal period formats in OpenFisca:\n.",
-   "reform_digest": "576ce816dacf70876bdfd765e57f48d44a9499181cca2b3e178dfaf51cbad0bd",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "actual": 0.18,
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-   "decision_id": null,
-   "expected": 0.18868852459016502,
-   "holds": null,
-   "oracle": "day-weighted: 207 days at 18% and 159 at 20% of 366",
-   "reform_digest": "abe5e3d10b5669e954ed794facadad012121eef44cc1444801edb99a6c902081",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2028",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "in force all year",
-   "reform_digest": "abe5e3d10b5669e954ed794facadad012121eef44cc1444801edb99a6c902081",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.18000000000000002,
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2026",
-   "decision_id": null,
-   "expected": 0.18,
-   "holds": null,
-   "oracle": "before the change",
-   "reform_digest": "abe5e3d10b5669e954ed794facadad012121eef44cc1444801edb99a6c902081",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-   "reason": "this route exposes outputs, not parameter values",
-   "reform_digest": "f9f1430783586c75c5ce96f54a3e4ee30af28059391bcfb9d0cb16d4230184e5",
-   "route": "wrapper.household",
-   "status": "unsupported"
-  },
-  {
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2028",
-   "reason": "this route exposes outputs, not parameter values",
-   "reform_digest": "f9f1430783586c75c5ce96f54a3e4ee30af28059391bcfb9d0cb16d4230184e5",
-   "route": "wrapper.household",
-   "status": "unsupported"
-  },
-  {
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2026",
-   "reason": "this route exposes outputs, not parameter values",
-   "reform_digest": "f9f1430783586c75c5ce96f54a3e4ee30af28059391bcfb9d0cb16d4230184e5",
-   "route": "wrapper.household",
-   "status": "unsupported"
-  },
-  {
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2027",
-   "reason": "this route exposes outputs, not parameter values",
-   "reform_digest": "772a73501537a9c16f95dadad9ad48d044520ef6f92b0f53345c881b8250b5b7",
-   "route": "wrapper.policy",
-   "status": "unsupported"
-  },
-  {
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2028",
-   "reason": "this route exposes outputs, not parameter values",
-   "reform_digest": "772a73501537a9c16f95dadad9ad48d044520ef6f92b0f53345c881b8250b5b7",
-   "route": "wrapper.policy",
-   "status": "unsupported"
-  },
-  {
-   "case_id": "mid_year_blended_rate",
-   "check": "parameter:gov.hmrc.cgt.basic_rate:2026",
-   "reason": "this route exposes outputs, not parameter values",
-   "reform_digest": "772a73501537a9c16f95dadad9ad48d044520ef6f92b0f53345c881b8250b5b7",
-   "route": "wrapper.policy",
-   "status": "unsupported"
-  },
-  {
-   "case_id": "mid_year_blended_rate",
-   "check": null,
-   "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-   "reform_digest": null,
-   "route": "api.sim_api",
-   "status": "unsupported"
-  },
-  {
-   "actual": 12821.408457811869,
-   "case_id": "september_cpi_moves_indexed_thresholds",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-   "decision_id": null,
-   "expected": 13200.0,
-   "holds": null,
-   "oracle": "ITA 2007 s57(3)",
-   "reform_digest": "8bd9476925c59e9d13946308e4604e33976dc8a1d68b63e276628c95135a82d0",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 38454.01293702494,
-   "case_id": "september_cpi_moves_indexed_thresholds",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-   "decision_id": null,
-   "expected": 39600.0,
-   "holds": null,
-   "oracle": "ITA 2007 s21(3)",
-   "reform_digest": "8bd9476925c59e9d13946308e4604e33976dc8a1d68b63e276628c95135a82d0",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 246.56476264971067,
-   "case_id": "september_cpi_moves_indexed_thresholds",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-   "decision_id": null,
-   "expected": 253.85,
-   "holds": null,
-   "oracle": "aligned with the allowance, weekly",
-   "reform_digest": "8bd9476925c59e9d13946308e4604e33976dc8a1d68b63e276628c95135a82d0",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "case_id": "september_cpi_moves_indexed_thresholds",
-   "check": null,
-   "detail": "ValueError: Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2030-09-01.2031-08-31'.\nLearn more about legal period formats in OpenFisca:\n.",
-   "reform_digest": "afe5d61179ae6fd02453405015018bcbdd8047fcc3e69e23c43e5f57dce17c67",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "actual": 12821.408457811869,
-   "case_id": "september_cpi_moves_indexed_thresholds",
-   "check": "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2031",
-   "decision_id": null,
-   "expected": 13200.0,
-   "holds": null,
-   "oracle": "ITA 2007 s57(3)",
-   "reform_digest": "fda4228463d1ee4cd7263094d2b28ffb49c78d09b87468542dba7e6821ff3f9d",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 38454.01293702494,
-   "case_id": "september_cpi_moves_indexed_thresholds",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[1].threshold:2031",
-   "decision_id": null,
-   "expected": 39600.0,
-   "holds": null,
-   "oracle": "ITA 2007 s21(3)",
-   "reform_digest": "fda4228463d1ee4cd7263094d2b28ffb49c78d09b87468542dba7e6821ff3f9d",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 246.56476264971067,
-   "case_id": "september_cpi_moves_indexed_thresholds",
-   "check": "parameter:gov.hmrc.national_insurance.class_1.thresholds.primary_threshold:2031",
-   "decision_id": null,
-   "expected": 253.85,
-   "holds": null,
-   "oracle": "aligned with the allowance, weekly",
-   "reform_digest": "fda4228463d1ee4cd7263094d2b28ffb49c78d09b87468542dba7e6821ff3f9d",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "case_id": "uc_rebalancing_reform_after_data_load",
-   "check": null,
-   "detail": "ValueError: Could not find the parameter gov.dwp.universal_credit.rebalancing.protected_health_element (failed at protected_health_element).",
-   "reform_digest": "12bcb296368c2b63f30b2040bfa5c84678f0bd52aaf7f85d510a75cd70f995c3",
-   "route": "country.reform_dict",
-   "status": "error"
-  },
-  {
-   "case_id": "uc_rebalancing_reform_after_data_load",
-   "check": null,
-   "detail": "ValueError: Could not find the parameter gov.dwp.universal_credit.rebalancing.protected_health_element (failed at protected_health_element).",
-   "reform_digest": "909e6875b8d449e87b5d3eb0ad74e584e80241b9f40677343430b41232b20c5f",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "case_id": "uc_rebalancing_reform_after_data_load",
-   "check": null,
-   "detail": "ValueError: Could not find the parameter gov.dwp.universal_credit.rebalancing.protected_health_element (failed at protected_health_element).",
-   "reform_digest": "9947c105e6b609c8a5f2c13ce4707daad40cfa8529bf2487734ef2a513169e8d",
-   "route": "country.reform_from_dict",
-   "status": "error"
-  },
-  {
-   "case_id": "uc_rebalancing_reform_after_data_load",
-   "check": null,
-   "detail": "ValueError: Reform contains parameter paths not defined on policyengine-uk 2.125.1:\n  - 'gov.dwp.universal_credit.rebalancing.protected_health_element' (did you mean 'gov.dwp.universal_credit.rebalancing.new_claimant_health_element'?)",
-   "reform_digest": "a695bb7865a505dbbcb9c973b674a5666804e15838252c66bb7e84fa082388f0",
-   "route": "wrapper.household",
-   "status": "error"
-  },
-  {
-   "case_id": "uc_rebalancing_reform_after_data_load",
-   "check": null,
-   "detail": "ValueError: Reform contains parameter paths not defined on policyengine-uk 2.125.1:\n  - 'gov.dwp.universal_credit.rebalancing.protected_health_element' (did you mean 'gov.dwp.universal_credit.rebalancing.new_claimant_health_element'?)",
-   "reform_digest": "88900943775d8451bee562422107eca7016ee21042a516b295fe3c00bc9a7da9",
-   "route": "wrapper.policy",
-   "status": "error"
-  },
-  {
-   "case_id": "uc_rebalancing_reform_after_data_load",
-   "check": null,
-   "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-   "reform_digest": null,
-   "route": "api.sim_api",
-   "status": "unsupported"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "structural_switch",
-   "check": "variable:marriage_allowance:2026",
-   "decision_id": null,
-   "expected": 1260.0,
-   "holds": null,
-   "oracle": "10% of the \u00a312,570 allowance, rounded up to \u00a310 (ITA 2007 s55B)",
-   "reform_digest": "d837da2e6fabde655a05b130322e0c29d06d5d493ad99183a699198dc5e1d4b2",
-   "route": "country.reform_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "structural_switch",
-   "check": "baseline_isolation:marriage_allowance:2026",
-   "expected": 0.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "d837da2e6fabde655a05b130322e0c29d06d5d493ad99183a699198dc5e1d4b2",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "structural_switch",
-   "check": null,
-   "detail": "ValueError: Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2025-01-01.2030-12-31'.\nLearn more about legal period formats in OpenFisca:\n.",
-   "reform_digest": "f0cad18ed901a4062c12dd721fa663915f3329fad55f54bbe407922de196d60d",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "structural_switch",
-   "check": "variable:marriage_allowance:2026",
-   "decision_id": null,
-   "expected": 1260.0,
-   "holds": null,
-   "oracle": "10% of the \u00a312,570 allowance, rounded up to \u00a310 (ITA 2007 s55B)",
-   "reform_digest": "19b28590adbd8d9b80069a5504380f0226f0a1e5b1b2f73f5ba411fc562d7742",
-   "route": "country.reform_from_dict",
-   "status": "fail"
-  },
-  {
-   "actual": 0.0,
-   "case_id": "structural_switch",
-   "check": "baseline_isolation:marriage_allowance:2026",
-   "expected": 0.0,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "19b28590adbd8d9b80069a5504380f0226f0a1e5b1b2f73f5ba411fc562d7742",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "structural_switch",
-   "check": null,
-   "detail": "TypeError: unhashable type: 'dict'",
-   "reform_digest": "f76cc80028ce85017f3730a4d7db21c8a69f7b68bae0123c0aed45df087b1393",
-   "route": "wrapper.household",
-   "status": "error"
-  },
-  {
-   "case_id": "structural_switch",
-   "check": null,
-   "detail": "ValueError: unconverted data remains: .2030-12-31",
-   "reform_digest": "6e7e98694b32def0a541b52e0abb79b1cdcfc1e50a70784147d24a17e652ffe0",
-   "route": "wrapper.policy",
-   "status": "error"
-  },
-  {
-   "case_id": "structural_switch",
-   "check": null,
-   "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-   "reform_digest": null,
-   "route": "api.sim_api",
-   "status": "unsupported"
-  },
-  {
-   "actual": 5263.158203125,
-   "case_id": "baseline_vat_is_current_law",
-   "check": "baseline_equals:baseline_vat:2026",
-   "decision_id": null,
-   "expected": 5263.158203125,
-   "holds": null,
-   "oracle": "baseline_vat is the unreformed vat",
-   "reform_digest": "062a65e94c93f043b9ff9322b07152c930d1e1cb375237eb2375343a9e470e73",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5263.158203125,
-   "case_id": "baseline_vat_is_current_law",
-   "check": "baseline_isolation:baseline_vat:2026",
-   "expected": 5263.158203125,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "062a65e94c93f043b9ff9322b07152c930d1e1cb375237eb2375343a9e470e73",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5263.158203125,
-   "case_id": "baseline_vat_is_current_law",
-   "check": "baseline_isolation:vat:2026",
-   "expected": 5263.158203125,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "062a65e94c93f043b9ff9322b07152c930d1e1cb375237eb2375343a9e470e73",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "baseline_vat_is_current_law",
-   "check": null,
-   "detail": "ValueError: Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2026-01-01.2100-12-31'.\nLearn more about legal period formats in OpenFisca:\n.",
-   "reform_digest": "8a1e1a66ee167c2dc554452d46828576b58159ed3d3276ffa1723f417d5ade0d",
-   "route": "country.scenario_parameter_changes",
-   "status": "error"
-  },
-  {
-   "actual": 5263.158203125,
-   "case_id": "baseline_vat_is_current_law",
-   "check": "baseline_equals:baseline_vat:2026",
-   "decision_id": null,
-   "expected": 5263.158203125,
-   "holds": null,
-   "oracle": "baseline_vat is the unreformed vat",
-   "reform_digest": "8df662d00e257aeda318ef34432e8de4ab0474fcd093ab9afd16e5fd97c4f096",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5263.158203125,
-   "case_id": "baseline_vat_is_current_law",
-   "check": "baseline_isolation:baseline_vat:2026",
-   "expected": 5263.158203125,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "8df662d00e257aeda318ef34432e8de4ab0474fcd093ab9afd16e5fd97c4f096",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 5263.158203125,
-   "case_id": "baseline_vat_is_current_law",
-   "check": "baseline_isolation:vat:2026",
-   "expected": 5263.158203125,
-   "oracle": "the reformed simulation's baseline equals an unreformed simulation",
-   "reform_digest": "8df662d00e257aeda318ef34432e8de4ab0474fcd093ab9afd16e5fd97c4f096",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "baseline_vat_is_current_law",
-   "check": null,
-   "detail": "TypeError: unhashable type: 'dict'",
-   "reform_digest": "ee8e8cffbe252201a18cc7581c191e14f1b0269bfcfaf9d48cde191e9b2aaae9",
-   "route": "wrapper.household",
-   "status": "error"
-  },
-  {
-   "actual": "ValueError: Could not find the parameter gov.budget_2026.new_credit.amount (failed at budget_2026).",
-   "case_id": "unknown_path",
-   "check": "rejected",
-   "expected": "an error matching 'new_credit'",
-   "reform_digest": "8465ddfc32335f10bb9d23b050f0156a37c48e8a10dc35719d6b7e4f6d1a9238",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": "ValueError: Could not find the parameter gov.budget_2026.new_credit.amount (failed at budget_2026).",
-   "case_id": "unknown_path",
-   "check": "rejected",
-   "expected": "an error matching 'new_credit'",
-   "reform_digest": "a72b9604c243f77845e1446379e85bd2eca8e0fa7c671956a26e05ecadc3c4a7",
-   "route": "country.scenario_parameter_changes",
-   "status": "pass"
-  },
-  {
-   "actual": "ValueError: Could not find the parameter gov.budget_2026.new_credit.amount (failed at budget_2026).",
-   "case_id": "unknown_path",
-   "check": "rejected",
-   "expected": "an error matching 'new_credit'",
-   "reform_digest": "32c326f8ca94bac9e220000e7f0fcf1a34bccd4947357e3819d419bb6ff193ea",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": "ValueError: Reform contains parameter paths not defined on policyengine-uk 2.125.1:\n  - 'gov.budget_2026.new_credit.amount'",
-   "case_id": "unknown_path",
-   "check": "rejected",
-   "expected": "an error matching 'new_credit'",
-   "reform_digest": "292d055c4ba7f1a326b9fa798441a0f6d2186c07206ce7d63177d829371ee335",
-   "route": "wrapper.household",
-   "status": "pass"
-  },
-  {
-   "actual": "ValueError: Reform contains parameter paths not defined on policyengine-uk 2.125.1:\n  - 'gov.budget_2026.new_credit.amount'",
-   "case_id": "unknown_path",
-   "check": "rejected",
-   "expected": "an error matching 'new_credit'",
-   "reform_digest": "29a0b52eda9615814b814d0de2932d01d8d59430150dcbf9fbb2fcdf79d1fd8d",
-   "route": "wrapper.policy",
-   "status": "pass"
-  },
-  {
-   "case_id": "unknown_path",
-   "check": null,
-   "reason": "Runs in policyengine-sim-api's deploy gate, which imports CASES and routes them through its runtime; it is not callable in-process.",
-   "reform_digest": null,
-   "route": "api.sim_api",
-   "status": "unsupported"
-  },
-  {
-   "actual": 0.21,
-   "case_id": "reading_bare_year_dict",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-   "decision_id": null,
-   "expected": 0.21,
-   "holds": null,
-   "oracle": "fiscal year 2027",
-   "reform_digest": "3314f6d0362de9643ce2022904e4fcbbe84297c25d36c37add61a878c7dc3e9c",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "reading_bare_year_dict",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "that year only",
-   "reform_digest": "3314f6d0362de9643ce2022904e4fcbbe84297c25d36c37add61a878c7dc3e9c",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "reading_bare_year_reform_from_dict",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2026",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "before 1 January 2027",
-   "reform_digest": "d19ea548203c2417e712543d47546f3fa48c741252ccd5b6bf1664d9a517d6b6",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.21,
-   "case_id": "reading_bare_year_reform_from_dict",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-   "decision_id": null,
-   "expected": 0.21,
-   "holds": null,
-   "oracle": "from 1 January 2027",
-   "reform_digest": "d19ea548203c2417e712543d47546f3fa48c741252ccd5b6bf1664d9a517d6b6",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.21,
-   "case_id": "reading_bare_year_reform_from_dict",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-   "decision_id": null,
-   "expected": 0.21,
-   "holds": null,
-   "oracle": "onwards",
-   "reform_digest": "d19ea548203c2417e712543d47546f3fa48c741252ccd5b6bf1664d9a517d6b6",
-   "route": "country.reform_from_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "reading_single_day_dict",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2027",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "one day is not 30 April",
-   "reform_digest": "dec76eb1ea64e800caff37168afaaa26599bb03b533c169908d691c111cdbc36",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "actual": 0.2,
-   "case_id": "reading_single_day_dict",
-   "check": "parameter:gov.hmrc.income_tax.rates.uk[0].rate:2028",
-   "decision_id": null,
-   "expected": 0.2,
-   "holds": null,
-   "oracle": "one day only",
-   "reform_digest": "dec76eb1ea64e800caff37168afaaa26599bb03b533c169908d691c111cdbc36",
-   "route": "country.reform_dict",
-   "status": "pass"
-  },
-  {
-   "case_id": "reading_effective_dates_reverse_order",
-   "check": null,
-   "detail": "TypeError: unhashable type: 'dict'",
-   "reform_digest": "56c7ad7d1ddf6185703a5f60d31f11a12272e1166c667996b484801f57dbebcd",
-   "route": "wrapper.household",
-   "status": "error"
-  },
-  {
-   "case_id": "reading_effective_dates_reverse_order",
-   "check": null,
-   "detail": "KeyError: 'region'",
-   "reform_digest": "b09577ce022e4cc30b4702add142a1e3aa1ab438a27955d182bba894199cecd5",
-   "route": "wrapper.policy",
-   "status": "error"
-  }
- ],
- "contract_id": "policyengine-uk/budget-reform-contract",
- "contract_version": "1.0.0",
- "dataset": null,
- "elapsed_seconds": 280.6,
- "holds": false,
- "max_examples": 2,
- "population": [],
- "prior_law_option": "projected",
- "properties": [
-  {
-   "detail": "ValueError(\"Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2025-06-01.2100-12-31'.\\nLearn more about legal period formats in OpenFisca:\\n.\")",
-   "engine": "hypothesis",
-   "examples_run": 2,
-   "property_id": "annual_values_match_the_oracle",
-   "status": "error"
-  },
-  {
-   "detail": "ValueError(\"Expected a period (eg. '2017', '2017-01', '2017-01-01', ...); got: '2025-06-01.2100-12-31'.\\nLearn more about legal period formats in OpenFisca:\\n.\")",
-   "engine": "hypothesis",
-   "examples_run": 2,
-   "property_id": "routes_agree_and_baselines_hold",
-   "status": "error"
-  }
- ],
- "routes": [
-  "country.reform_dict",
-  "country.scenario_parameter_changes",
-  "country.reform_from_dict",
-  "wrapper.household",
-  "wrapper.policy",
-  "api.sim_api"
- ],
- "seed": 0,
- "summary": {
-  "error": 35,
-  "fail": 66,
-  "pass": 76,
-  "pending": 0,
-  "unsupported": 15
- },
- "versions": {
-  "policyengine": "6.2.6",
-  "policyengine-core": "3.33.0",
-  "policyengine-uk": "2.125.1"
- }
-}
diff --git a/tests/fixtures/uk_contract/population_pass_max_examples_0.json b/tests/fixtures/uk_contract/population_pass_max_examples_0.json
deleted file mode 100644
index 22db1db26..000000000
--- a/tests/fixtures/uk_contract/population_pass_max_examples_0.json
+++ /dev/null
@@ -1,161 +0,0 @@
-{
- "cases": [],
- "contract_id": "policyengine-uk/budget-reform-contract",
- "contract_version": "1.0.0",
- "dataset": {
-  "path": "",
-  "sha256": "5ba399ea5ab9a6c7d4e9aaf6c623080beb34d9ad5f330f6244dbad72b8d960b6"
- },
- "elapsed_seconds": 23.6,
- "holds": true,
- "max_examples": 0,
- "population": [
-  {
-   "check_id": "population_baseline_isolation",
-   "detail": null,
-   "route": "country.reform_dict",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_baseline_isolation",
-   "detail": null,
-   "route": "country.scenario_parameter_changes",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_baseline_isolation",
-   "detail": null,
-   "route": "country.reform_from_dict",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_baseline_isolation",
-   "detail": null,
-   "route": "unreformed",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_query_order",
-   "detail": null,
-   "route": "unreformed",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_routes_agree",
-   "route": "country.reform_dict = country.scenario_parameter_changes",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_routes_agree",
-   "route": "country.reform_dict = country.reform_from_dict",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_april_rate_change",
-   "detail": {
-    "2026_unchanged": true,
-    "2027_people_with_higher_tax": 1093,
-    "2027_people_with_lower_tax": 0
-   },
-   "route": "country.reform_dict",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_april_rate_change",
-   "detail": {
-    "2026_unchanged": true,
-    "2027_people_with_higher_tax": 1093,
-    "2027_people_with_lower_tax": 0
-   },
-   "route": "country.scenario_parameter_changes",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_april_rate_change",
-   "detail": {
-    "2026_unchanged": true,
-    "2027_people_with_higher_tax": 1093,
-    "2027_people_with_lower_tax": 0
-   },
-   "route": "country.reform_from_dict",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_finite_change_expires",
-   "route": "country.reform_dict",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_finite_change_expires",
-   "route": "country.scenario_parameter_changes",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  },
-  {
-   "check_id": "population_finite_change_expires",
-   "route": "country.reform_from_dict",
-   "seed": 0,
-   "status": "pass",
-   "subsample_households": 1000
-  }
- ],
- "prior_law_option": "projected",
- "properties": [
-  {
-   "examples_run": 0,
-   "property_id": "annual_values_match_the_oracle",
-   "reason": "max_examples is 0, so no examples were requested",
-   "status": "unsupported"
-  },
-  {
-   "examples_run": 0,
-   "property_id": "routes_agree_and_baselines_hold",
-   "reason": "max_examples is 0, so no examples were requested",
-   "status": "unsupported"
-  }
- ],
- "routes": [
-  "country.reform_dict",
-  "country.scenario_parameter_changes",
-  "country.reform_from_dict",
-  "wrapper.household",
-  "wrapper.policy",
-  "api.sim_api"
- ],
- "seed": 0,
- "summary": {
-  "error": 0,
-  "fail": 0,
-  "pass": 13,
-  "pending": 0,
-  "unsupported": 2
- },
- "versions": {
-  "policyengine": "6.2.6",
-  "policyengine-core": "3.33.0",
-  "policyengine-uk": "2.126.8"
- }
-}
diff --git a/tests/fixtures/uk_metrics/README.md b/tests/fixtures/uk_metrics/README.md
deleted file mode 100644
index 166265e70..000000000
--- a/tests/fixtures/uk_metrics/README.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# UK metrics tool fixtures
-
-Both files come from PolicyEngine/policyengine-uk's aggregate-impact tool
-(`policyengine_uk/utils/aggregate_impact/`, policyengine-uk#2335).
-`tests/test_uk_candidate_gates.py` reads them. Refresh them when a pin changes
-the report; never edit them by hand.
-
-- `budget_metrics_report.json`: a real `compute_budget_metrics` report from
-  the tool's owner (workstream W3), at tool commit
-  `1191ac5a473419f48e0c0643f83d31719da788e1`, on the certified pair: uk-data
-  1.58.1 (`enhanced_frs_2024_25`) with policyengine-uk 2.130.1 and
-  policyengine-core 3.33.0, for 2025-26 to 2031-32, with the overlap guard and
-  the ten standard reforms. It holds aggregates only, under the tool's
-  small-cell rule (`privacy.py`): a figure from fewer than 10 records is
-  published as `value` null with `suppressed` true, and every total that
-  holds one is rebuilt without it and lists it under `excludes`, with the
-  sign it enters with under `exclude_signs`. It has 1,484 metric rows (14
-  suppressed: Disabled Students' Allowance's total and caseload in each of
-  the seven years; 112 rows in 16 totals rebuilt without it) and 350 checks.
-- `standard_reforms.yaml`: the tool's standard reform set at the same commit,
-  copied unchanged. Ten reforms, each with the model variable it must move,
-  the direction and the least it must move it in every year (a fifth of its
-  smallest yearly effect on the certified pair, adopted under cos d1344).
-  The reform responsiveness gate reads the same file from the vendored tool.
-
-Its values, suppression and checks are byte-identical to W3's report at
-tool commit 228a05a3e, which first replaced the old fixture; 1191ac5a4 adds
-only `exclude_signs`. That replaced a 1.58.0 report from before the tool
-suppressed small cells. That report published Disabled Students' Allowance, which comes from
-fewer than 10 records, unsuppressed. Never commit a report from a tool
-commit that predates suppression.
diff --git a/tests/fixtures/uk_metrics/budget_metrics_report.json b/tests/fixtures/uk_metrics/budget_metrics_report.json
deleted file mode 100644
index 6e79f9c5f..000000000
--- a/tests/fixtures/uk_metrics/budget_metrics_report.json
+++ /dev/null
@@ -1,21199 +0,0 @@
-{
- "schema": "policyengine-uk-aggregate-impact/1/report",
- "status": "ok",
- "metrics_version": "policyengine-uk-aggregate-impact/1+2e07ec2dcecd5de3+bb5198a0d8e7c046",
- "partition_version": "e8ea8a0198736e7cd9b0725148fdda717911033ee768eba044b58a8d46e9b0ef",
- "years": [
-  2025,
-  2026,
-  2027,
-  2028,
-  2029,
-  2030,
-  2031
- ],
- "metrics": [
-  {
-   "metric_id": "population.person",
-   "year": 2025,
-   "value": 69513955.15348345,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "People"
-  },
-  {
-   "metric_id": "population.person",
-   "year": 2026,
-   "value": 69778110.5666471,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "People"
-  },
-  {
-   "metric_id": "population.person",
-   "year": 2027,
-   "value": 70036290.77594277,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "People"
-  },
-  {
-   "metric_id": "population.person",
-   "year": 2028,
-   "value": 70316432.3587328,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "People"
-  },
-  {
-   "metric_id": "population.person",
-   "year": 2029,
-   "value": 70625825.64596106,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "People"
-  },
-  {
-   "metric_id": "population.person",
-   "year": 2030,
-   "value": 70943644.05542476,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "People"
-  },
-  {
-   "metric_id": "population.person",
-   "year": 2031,
-   "value": 71248701.50975493,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "People"
-  },
-  {
-   "metric_id": "population.benunit",
-   "year": 2025,
-   "value": 35246926.333675,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Benefit units"
-  },
-  {
-   "metric_id": "population.benunit",
-   "year": 2026,
-   "value": 35380865.871866405,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Benefit units"
-  },
-  {
-   "metric_id": "population.benunit",
-   "year": 2027,
-   "value": 35511775.69777489,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Benefit units"
-  },
-  {
-   "metric_id": "population.benunit",
-   "year": 2028,
-   "value": 35653820.972568765,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Benefit units"
-  },
-  {
-   "metric_id": "population.benunit",
-   "year": 2029,
-   "value": 35810698.281318754,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Benefit units"
-  },
-  {
-   "metric_id": "population.benunit",
-   "year": 2030,
-   "value": 35971847.531772316,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Benefit units"
-  },
-  {
-   "metric_id": "population.benunit",
-   "year": 2031,
-   "value": 36126526.36007868,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Benefit units"
-  },
-  {
-   "metric_id": "population.household",
-   "year": 2025,
-   "value": 31166694.04532416,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Households"
-  },
-  {
-   "metric_id": "population.household",
-   "year": 2026,
-   "value": 31285128.558958113,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Households"
-  },
-  {
-   "metric_id": "population.household",
-   "year": 2027,
-   "value": 31400884.081961572,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Households"
-  },
-  {
-   "metric_id": "population.household",
-   "year": 2028,
-   "value": 31526486.005968377,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Households"
-  },
-  {
-   "metric_id": "population.household",
-   "year": 2029,
-   "value": 31665202.984048083,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Households"
-  },
-  {
-   "metric_id": "population.household",
-   "year": 2030,
-   "value": 31807697.37639664,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Households"
-  },
-  {
-   "metric_id": "population.household",
-   "year": 2031,
-   "value": 31944470.379216716,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "population",
-   "partition": null,
-   "label": "Households"
-  },
-  {
-   "metric_id": "receipts.income_tax",
-   "year": 2025,
-   "value": 297984459607.39465,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "income_tax",
-   "label": "Income tax"
-  },
-  {
-   "metric_id": "receipts.income_tax",
-   "year": 2026,
-   "value": 317782510223.38354,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "income_tax",
-   "label": "Income tax"
-  },
-  {
-   "metric_id": "receipts.income_tax",
-   "year": 2027,
-   "value": 335140035823.943,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "income_tax",
-   "label": "Income tax"
-  },
-  {
-   "metric_id": "receipts.income_tax",
-   "year": 2028,
-   "value": 350031424626.733,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "income_tax",
-   "label": "Income tax"
-  },
-  {
-   "metric_id": "receipts.income_tax",
-   "year": 2029,
-   "value": 366458443148.21484,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "income_tax",
-   "label": "Income tax"
-  },
-  {
-   "metric_id": "receipts.income_tax",
-   "year": 2030,
-   "value": 384662297800.91766,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "income_tax",
-   "label": "Income tax"
-  },
-  {
-   "metric_id": "receipts.income_tax",
-   "year": 2031,
-   "value": 403275325039.3891,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "income_tax",
-   "label": "Income tax"
-  },
-  {
-   "metric_id": "receipts.nics_individual",
-   "year": 2025,
-   "value": 52575017190.03174,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_individual",
-   "label": "National Insurance (employee and self-employed)"
-  },
-  {
-   "metric_id": "receipts.nics_individual",
-   "year": 2026,
-   "value": 54941380589.82846,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_individual",
-   "label": "National Insurance (employee and self-employed)"
-  },
-  {
-   "metric_id": "receipts.nics_individual",
-   "year": 2027,
-   "value": 56752394914.42203,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_individual",
-   "label": "National Insurance (employee and self-employed)"
-  },
-  {
-   "metric_id": "receipts.nics_individual",
-   "year": 2028,
-   "value": 58476221815.846825,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_individual",
-   "label": "National Insurance (employee and self-employed)"
-  },
-  {
-   "metric_id": "receipts.nics_individual",
-   "year": 2029,
-   "value": 60511486452.76118,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_individual",
-   "label": "National Insurance (employee and self-employed)"
-  },
-  {
-   "metric_id": "receipts.nics_individual",
-   "year": 2030,
-   "value": 62445204124.271996,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_individual",
-   "label": "National Insurance (employee and self-employed)"
-  },
-  {
-   "metric_id": "receipts.nics_individual",
-   "year": 2031,
-   "value": 64898705801.9577,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_individual",
-   "label": "National Insurance (employee and self-employed)"
-  },
-  {
-   "metric_id": "receipts.nics_employer",
-   "year": 2025,
-   "value": 152640935215.8076,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_employer",
-   "label": "National Insurance (employer)"
-  },
-  {
-   "metric_id": "receipts.nics_employer",
-   "year": 2026,
-   "value": 159182492481.57574,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_employer",
-   "label": "National Insurance (employer)"
-  },
-  {
-   "metric_id": "receipts.nics_employer",
-   "year": 2027,
-   "value": 164141628899.95114,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_employer",
-   "label": "National Insurance (employer)"
-  },
-  {
-   "metric_id": "receipts.nics_employer",
-   "year": 2028,
-   "value": 168731462725.2504,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_employer",
-   "label": "National Insurance (employer)"
-  },
-  {
-   "metric_id": "receipts.nics_employer",
-   "year": 2029,
-   "value": 175566267043.68347,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_employer",
-   "label": "National Insurance (employer)"
-  },
-  {
-   "metric_id": "receipts.nics_employer",
-   "year": 2030,
-   "value": 181079291564.9595,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_employer",
-   "label": "National Insurance (employer)"
-  },
-  {
-   "metric_id": "receipts.nics_employer",
-   "year": 2031,
-   "value": 188223742975.49728,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "nics_employer",
-   "label": "National Insurance (employer)"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_capital",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_capital",
-   "label": "Employer NI change borne by capital"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_capital",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_capital",
-   "label": "Employer NI change borne by capital"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_capital",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_capital",
-   "label": "Employer NI change borne by capital"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_capital",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_capital",
-   "label": "Employer NI change borne by capital"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_capital",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_capital",
-   "label": "Employer NI change borne by capital"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_capital",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_capital",
-   "label": "Employer NI change borne by capital"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_capital",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_capital",
-   "label": "Employer NI change borne by capital"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_consumer",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_consumer",
-   "label": "Employer NI change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_consumer",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_consumer",
-   "label": "Employer NI change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_consumer",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_consumer",
-   "label": "Employer NI change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_consumer",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_consumer",
-   "label": "Employer NI change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_consumer",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_consumer",
-   "label": "Employer NI change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_consumer",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_consumer",
-   "label": "Employer NI change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.employer_nics_response_consumer",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "employer_nics_response_consumer",
-   "label": "Employer NI change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.capital_gains_tax",
-   "year": 2025,
-   "value": 12618588087.194477,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "capital_gains_tax",
-   "label": "Capital gains tax"
-  },
-  {
-   "metric_id": "receipts.capital_gains_tax",
-   "year": 2026,
-   "value": 13055343054.272093,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "capital_gains_tax",
-   "label": "Capital gains tax"
-  },
-  {
-   "metric_id": "receipts.capital_gains_tax",
-   "year": 2027,
-   "value": 13547024733.440294,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "capital_gains_tax",
-   "label": "Capital gains tax"
-  },
-  {
-   "metric_id": "receipts.capital_gains_tax",
-   "year": 2028,
-   "value": 14041998268.40096,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "capital_gains_tax",
-   "label": "Capital gains tax"
-  },
-  {
-   "metric_id": "receipts.capital_gains_tax",
-   "year": 2029,
-   "value": 14540347118.814587,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "capital_gains_tax",
-   "label": "Capital gains tax"
-  },
-  {
-   "metric_id": "receipts.capital_gains_tax",
-   "year": 2030,
-   "value": 15086908668.221151,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "capital_gains_tax",
-   "label": "Capital gains tax"
-  },
-  {
-   "metric_id": "receipts.capital_gains_tax",
-   "year": 2031,
-   "value": 15645569134.728756,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "capital_gains_tax",
-   "label": "Capital gains tax"
-  },
-  {
-   "metric_id": "receipts.student_loan_repayments",
-   "year": 2025,
-   "value": 7826615852.272217,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "student_loan_repayments",
-   "label": "Student loan repayments"
-  },
-  {
-   "metric_id": "receipts.student_loan_repayments",
-   "year": 2026,
-   "value": 8123473394.454311,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "student_loan_repayments",
-   "label": "Student loan repayments"
-  },
-  {
-   "metric_id": "receipts.student_loan_repayments",
-   "year": 2027,
-   "value": 8349215176.222883,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "student_loan_repayments",
-   "label": "Student loan repayments"
-  },
-  {
-   "metric_id": "receipts.student_loan_repayments",
-   "year": 2028,
-   "value": 8558646443.275475,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "student_loan_repayments",
-   "label": "Student loan repayments"
-  },
-  {
-   "metric_id": "receipts.student_loan_repayments",
-   "year": 2029,
-   "value": 8785423316.325344,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "student_loan_repayments",
-   "label": "Student loan repayments"
-  },
-  {
-   "metric_id": "receipts.student_loan_repayments",
-   "year": 2030,
-   "value": 9036756985.870995,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "student_loan_repayments",
-   "label": "Student loan repayments"
-  },
-  {
-   "metric_id": "receipts.student_loan_repayments",
-   "year": 2031,
-   "value": 9376925443.173416,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "student_loan_repayments",
-   "label": "Student loan repayments"
-  },
-  {
-   "metric_id": "receipts.vat",
-   "year": 2025,
-   "value": 313127412006.5256,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat",
-   "label": "VAT"
-  },
-  {
-   "metric_id": "receipts.vat",
-   "year": 2026,
-   "value": 321546605195.24274,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat",
-   "label": "VAT"
-  },
-  {
-   "metric_id": "receipts.vat",
-   "year": 2027,
-   "value": 329191061310.5304,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat",
-   "label": "VAT"
-  },
-  {
-   "metric_id": "receipts.vat",
-   "year": 2028,
-   "value": 337117963034.16547,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat",
-   "label": "VAT"
-  },
-  {
-   "metric_id": "receipts.vat",
-   "year": 2029,
-   "value": 345373312536.52356,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat",
-   "label": "VAT"
-  },
-  {
-   "metric_id": "receipts.vat",
-   "year": 2030,
-   "value": 353866055269.635,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat",
-   "label": "VAT"
-  },
-  {
-   "metric_id": "receipts.vat",
-   "year": 2031,
-   "value": 362495430544.1016,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat",
-   "label": "VAT"
-  },
-  {
-   "metric_id": "receipts.vat_change",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat_change",
-   "label": "Change in VAT from its baseline"
-  },
-  {
-   "metric_id": "receipts.vat_change",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat_change",
-   "label": "Change in VAT from its baseline"
-  },
-  {
-   "metric_id": "receipts.vat_change",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat_change",
-   "label": "Change in VAT from its baseline"
-  },
-  {
-   "metric_id": "receipts.vat_change",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat_change",
-   "label": "Change in VAT from its baseline"
-  },
-  {
-   "metric_id": "receipts.vat_change",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat_change",
-   "label": "Change in VAT from its baseline"
-  },
-  {
-   "metric_id": "receipts.vat_change",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat_change",
-   "label": "Change in VAT from its baseline"
-  },
-  {
-   "metric_id": "receipts.vat_change",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vat_change",
-   "label": "Change in VAT from its baseline"
-  },
-  {
-   "metric_id": "receipts.private_school_vat",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "private_school_vat",
-   "label": "VAT on private school fees"
-  },
-  {
-   "metric_id": "receipts.private_school_vat",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "private_school_vat",
-   "label": "VAT on private school fees"
-  },
-  {
-   "metric_id": "receipts.private_school_vat",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "private_school_vat",
-   "label": "VAT on private school fees"
-  },
-  {
-   "metric_id": "receipts.private_school_vat",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "private_school_vat",
-   "label": "VAT on private school fees"
-  },
-  {
-   "metric_id": "receipts.private_school_vat",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "private_school_vat",
-   "label": "VAT on private school fees"
-  },
-  {
-   "metric_id": "receipts.private_school_vat",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "private_school_vat",
-   "label": "VAT on private school fees"
-  },
-  {
-   "metric_id": "receipts.private_school_vat",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "private_school_vat",
-   "label": "VAT on private school fees"
-  },
-  {
-   "metric_id": "receipts.fuel_duty",
-   "year": 2025,
-   "value": 24534379561.8306,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "fuel_duty",
-   "label": "Fuel duties"
-  },
-  {
-   "metric_id": "receipts.fuel_duty",
-   "year": 2026,
-   "value": 24639271891.62144,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "fuel_duty",
-   "label": "Fuel duties"
-  },
-  {
-   "metric_id": "receipts.fuel_duty",
-   "year": 2027,
-   "value": 26638194760.36437,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "fuel_duty",
-   "label": "Fuel duties"
-  },
-  {
-   "metric_id": "receipts.fuel_duty",
-   "year": 2028,
-   "value": 26694679049.418755,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "fuel_duty",
-   "label": "Fuel duties"
-  },
-  {
-   "metric_id": "receipts.fuel_duty",
-   "year": 2029,
-   "value": 26418117577.300167,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "fuel_duty",
-   "label": "Fuel duties"
-  },
-  {
-   "metric_id": "receipts.fuel_duty",
-   "year": 2030,
-   "value": 25760349910.6802,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "fuel_duty",
-   "label": "Fuel duties"
-  },
-  {
-   "metric_id": "receipts.fuel_duty",
-   "year": 2031,
-   "value": 26353950047.77822,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "fuel_duty",
-   "label": "Fuel duties"
-  },
-  {
-   "metric_id": "receipts.alcohol_duty",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "alcohol_duty",
-   "label": "Alcohol duties"
-  },
-  {
-   "metric_id": "receipts.alcohol_duty",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "alcohol_duty",
-   "label": "Alcohol duties"
-  },
-  {
-   "metric_id": "receipts.alcohol_duty",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "alcohol_duty",
-   "label": "Alcohol duties"
-  },
-  {
-   "metric_id": "receipts.alcohol_duty",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "alcohol_duty",
-   "label": "Alcohol duties"
-  },
-  {
-   "metric_id": "receipts.alcohol_duty",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "alcohol_duty",
-   "label": "Alcohol duties"
-  },
-  {
-   "metric_id": "receipts.alcohol_duty",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "alcohol_duty",
-   "label": "Alcohol duties"
-  },
-  {
-   "metric_id": "receipts.alcohol_duty",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "alcohol_duty",
-   "label": "Alcohol duties"
-  },
-  {
-   "metric_id": "receipts.tobacco_duty",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tobacco_duty",
-   "label": "Tobacco duties"
-  },
-  {
-   "metric_id": "receipts.tobacco_duty",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tobacco_duty",
-   "label": "Tobacco duties"
-  },
-  {
-   "metric_id": "receipts.tobacco_duty",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tobacco_duty",
-   "label": "Tobacco duties"
-  },
-  {
-   "metric_id": "receipts.tobacco_duty",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tobacco_duty",
-   "label": "Tobacco duties"
-  },
-  {
-   "metric_id": "receipts.tobacco_duty",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tobacco_duty",
-   "label": "Tobacco duties"
-  },
-  {
-   "metric_id": "receipts.tobacco_duty",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tobacco_duty",
-   "label": "Tobacco duties"
-  },
-  {
-   "metric_id": "receipts.tobacco_duty",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tobacco_duty",
-   "label": "Tobacco duties"
-  },
-  {
-   "metric_id": "receipts.vehicle_excise_duty",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vehicle_excise_duty",
-   "label": "Vehicle excise duties"
-  },
-  {
-   "metric_id": "receipts.vehicle_excise_duty",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vehicle_excise_duty",
-   "label": "Vehicle excise duties"
-  },
-  {
-   "metric_id": "receipts.vehicle_excise_duty",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vehicle_excise_duty",
-   "label": "Vehicle excise duties"
-  },
-  {
-   "metric_id": "receipts.vehicle_excise_duty",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vehicle_excise_duty",
-   "label": "Vehicle excise duties"
-  },
-  {
-   "metric_id": "receipts.vehicle_excise_duty",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vehicle_excise_duty",
-   "label": "Vehicle excise duties"
-  },
-  {
-   "metric_id": "receipts.vehicle_excise_duty",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vehicle_excise_duty",
-   "label": "Vehicle excise duties"
-  },
-  {
-   "metric_id": "receipts.vehicle_excise_duty",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "vehicle_excise_duty",
-   "label": "Vehicle excise duties"
-  },
-  {
-   "metric_id": "receipts.tv_licence",
-   "year": 2025,
-   "value": 4275969952.7872777,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tv_licence",
-   "label": "TV licence fee"
-  },
-  {
-   "metric_id": "receipts.tv_licence",
-   "year": 2026,
-   "value": 4427595383.179631,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tv_licence",
-   "label": "TV licence fee"
-  },
-  {
-   "metric_id": "receipts.tv_licence",
-   "year": 2027,
-   "value": 4444328769.554615,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tv_licence",
-   "label": "TV licence fee"
-  },
-  {
-   "metric_id": "receipts.tv_licence",
-   "year": 2028,
-   "value": 4464697036.417519,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tv_licence",
-   "label": "TV licence fee"
-  },
-  {
-   "metric_id": "receipts.tv_licence",
-   "year": 2029,
-   "value": 4485128769.03225,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tv_licence",
-   "label": "TV licence fee"
-  },
-  {
-   "metric_id": "receipts.tv_licence",
-   "year": 2030,
-   "value": 4506096907.015281,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tv_licence",
-   "label": "TV licence fee"
-  },
-  {
-   "metric_id": "receipts.tv_licence",
-   "year": 2031,
-   "value": 4526586455.751576,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "tv_licence",
-   "label": "TV licence fee"
-  },
-  {
-   "metric_id": "receipts.council_tax",
-   "year": 2025,
-   "value": 49560513009.82745,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "council_tax",
-   "label": "Council tax"
-  },
-  {
-   "metric_id": "receipts.council_tax",
-   "year": 2026,
-   "value": 52449635526.310104,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "council_tax",
-   "label": "Council tax"
-  },
-  {
-   "metric_id": "receipts.council_tax",
-   "year": 2027,
-   "value": 55778039679.1455,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "council_tax",
-   "label": "Council tax"
-  },
-  {
-   "metric_id": "receipts.council_tax",
-   "year": 2028,
-   "value": 59386561832.62195,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "council_tax",
-   "label": "Council tax"
-  },
-  {
-   "metric_id": "receipts.council_tax",
-   "year": 2029,
-   "value": 62981354541.126625,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "council_tax",
-   "label": "Council tax"
-  },
-  {
-   "metric_id": "receipts.council_tax",
-   "year": 2030,
-   "value": 66736811407.45229,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "council_tax",
-   "label": "Council tax"
-  },
-  {
-   "metric_id": "receipts.council_tax",
-   "year": 2031,
-   "value": 70704732540.45876,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "council_tax",
-   "label": "Council tax"
-  },
-  {
-   "metric_id": "receipts.high_value_council_tax_surcharge",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "high_value_council_tax_surcharge",
-   "label": "High value council tax surcharge"
-  },
-  {
-   "metric_id": "receipts.high_value_council_tax_surcharge",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "high_value_council_tax_surcharge",
-   "label": "High value council tax surcharge"
-  },
-  {
-   "metric_id": "receipts.high_value_council_tax_surcharge",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "high_value_council_tax_surcharge",
-   "label": "High value council tax surcharge"
-  },
-  {
-   "metric_id": "receipts.high_value_council_tax_surcharge",
-   "year": 2028,
-   "value": 483900104.6233177,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "high_value_council_tax_surcharge",
-   "label": "High value council tax surcharge"
-  },
-  {
-   "metric_id": "receipts.high_value_council_tax_surcharge",
-   "year": 2029,
-   "value": 495749379.82161856,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "high_value_council_tax_surcharge",
-   "label": "High value council tax surcharge"
-  },
-  {
-   "metric_id": "receipts.high_value_council_tax_surcharge",
-   "year": 2030,
-   "value": 507938784.7696847,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "high_value_council_tax_surcharge",
-   "label": "High value council tax surcharge"
-  },
-  {
-   "metric_id": "receipts.high_value_council_tax_surcharge",
-   "year": 2031,
-   "value": 520325557.6779943,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "high_value_council_tax_surcharge",
-   "label": "High value council tax surcharge"
-  },
-  {
-   "metric_id": "receipts.domestic_rates",
-   "year": 2025,
-   "value": 552492559.6753057,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "domestic_rates",
-   "label": "Northern Ireland domestic rates"
-  },
-  {
-   "metric_id": "receipts.domestic_rates",
-   "year": 2026,
-   "value": 578605888.7461181,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "domestic_rates",
-   "label": "Northern Ireland domestic rates"
-  },
-  {
-   "metric_id": "receipts.domestic_rates",
-   "year": 2027,
-   "value": 605893088.8719264,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "domestic_rates",
-   "label": "Northern Ireland domestic rates"
-  },
-  {
-   "metric_id": "receipts.domestic_rates",
-   "year": 2028,
-   "value": 634656724.1676605,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "domestic_rates",
-   "label": "Northern Ireland domestic rates"
-  },
-  {
-   "metric_id": "receipts.domestic_rates",
-   "year": 2029,
-   "value": 665050775.6261593,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "domestic_rates",
-   "label": "Northern Ireland domestic rates"
-  },
-  {
-   "metric_id": "receipts.domestic_rates",
-   "year": 2030,
-   "value": 696969823.2250919,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "domestic_rates",
-   "label": "Northern Ireland domestic rates"
-  },
-  {
-   "metric_id": "receipts.domestic_rates",
-   "year": 2031,
-   "value": 730275344.6123755,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "domestic_rates",
-   "label": "Northern Ireland domestic rates"
-  },
-  {
-   "metric_id": "receipts.business_rates",
-   "year": 2025,
-   "value": 31732501414.791157,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "business_rates",
-   "label": "Business rates"
-  },
-  {
-   "metric_id": "receipts.business_rates",
-   "year": 2026,
-   "value": 31732500125.540802,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "business_rates",
-   "label": "Business rates"
-  },
-  {
-   "metric_id": "receipts.business_rates",
-   "year": 2027,
-   "value": 31732498126.72371,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "business_rates",
-   "label": "Business rates"
-  },
-  {
-   "metric_id": "receipts.business_rates",
-   "year": 2028,
-   "value": 31732499316.105175,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "business_rates",
-   "label": "Business rates"
-  },
-  {
-   "metric_id": "receipts.business_rates",
-   "year": 2029,
-   "value": 31732494964.235413,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "business_rates",
-   "label": "Business rates"
-  },
-  {
-   "metric_id": "receipts.business_rates",
-   "year": 2030,
-   "value": 31732498638.635994,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "business_rates",
-   "label": "Business rates"
-  },
-  {
-   "metric_id": "receipts.business_rates",
-   "year": 2031,
-   "value": 31732494471.035408,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "business_rates",
-   "label": "Business rates"
-  },
-  {
-   "metric_id": "receipts.sdlt_household",
-   "year": 2025,
-   "value": 19073759714.657246,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "sdlt_household",
-   "label": "Stamp duty land tax (own purchases, and corporate until the"
-  },
-  {
-   "metric_id": "receipts.sdlt_household",
-   "year": 2026,
-   "value": 20077204232.549347,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "sdlt_household",
-   "label": "Stamp duty land tax (own purchases, and corporate until the"
-  },
-  {
-   "metric_id": "receipts.sdlt_household",
-   "year": 2027,
-   "value": 21035871774.44113,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "sdlt_household",
-   "label": "Stamp duty land tax (own purchases, and corporate until the"
-  },
-  {
-   "metric_id": "receipts.sdlt_household",
-   "year": 2028,
-   "value": 21999031263.396732,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "sdlt_household",
-   "label": "Stamp duty land tax (own purchases, and corporate until the"
-  },
-  {
-   "metric_id": "receipts.sdlt_household",
-   "year": 2029,
-   "value": 22985619104.754326,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "sdlt_household",
-   "label": "Stamp duty land tax (own purchases, and corporate until the"
-  },
-  {
-   "metric_id": "receipts.sdlt_household",
-   "year": 2030,
-   "value": 24063362268.549835,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "sdlt_household",
-   "label": "Stamp duty land tax (own purchases, and corporate until the"
-  },
-  {
-   "metric_id": "receipts.sdlt_household",
-   "year": 2031,
-   "value": 25218986028.960094,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "sdlt_household",
-   "label": "Stamp duty land tax (own purchases, and corporate until the"
-  },
-  {
-   "metric_id": "receipts.land_transaction_tax",
-   "year": 2025,
-   "value": 3441794.3282832364,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_transaction_tax",
-   "label": "Land transaction tax (Wales)"
-  },
-  {
-   "metric_id": "receipts.land_transaction_tax",
-   "year": 2026,
-   "value": 3718451.781090757,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_transaction_tax",
-   "label": "Land transaction tax (Wales)"
-  },
-  {
-   "metric_id": "receipts.land_transaction_tax",
-   "year": 2027,
-   "value": 4036378.263004425,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_transaction_tax",
-   "label": "Land transaction tax (Wales)"
-  },
-  {
-   "metric_id": "receipts.land_transaction_tax",
-   "year": 2028,
-   "value": 4360394.001039479,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_transaction_tax",
-   "label": "Land transaction tax (Wales)"
-  },
-  {
-   "metric_id": "receipts.land_transaction_tax",
-   "year": 2029,
-   "value": 4685725.303715903,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_transaction_tax",
-   "label": "Land transaction tax (Wales)"
-  },
-  {
-   "metric_id": "receipts.land_transaction_tax",
-   "year": 2030,
-   "value": 5044918.447127742,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_transaction_tax",
-   "label": "Land transaction tax (Wales)"
-  },
-  {
-   "metric_id": "receipts.land_transaction_tax",
-   "year": 2031,
-   "value": 5422944.119211734,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_transaction_tax",
-   "label": "Land transaction tax (Wales)"
-  },
-  {
-   "metric_id": "receipts.land_and_buildings_transaction_tax",
-   "year": 2025,
-   "value": 109691161.84922537,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_and_buildings_transaction_tax",
-   "label": "Land and buildings transaction tax (Scotland)"
-  },
-  {
-   "metric_id": "receipts.land_and_buildings_transaction_tax",
-   "year": 2026,
-   "value": 114611758.83902286,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_and_buildings_transaction_tax",
-   "label": "Land and buildings transaction tax (Scotland)"
-  },
-  {
-   "metric_id": "receipts.land_and_buildings_transaction_tax",
-   "year": 2027,
-   "value": 120242919.16397013,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_and_buildings_transaction_tax",
-   "label": "Land and buildings transaction tax (Scotland)"
-  },
-  {
-   "metric_id": "receipts.land_and_buildings_transaction_tax",
-   "year": 2028,
-   "value": 125932263.95004636,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_and_buildings_transaction_tax",
-   "label": "Land and buildings transaction tax (Scotland)"
-  },
-  {
-   "metric_id": "receipts.land_and_buildings_transaction_tax",
-   "year": 2029,
-   "value": 131640517.58306551,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_and_buildings_transaction_tax",
-   "label": "Land and buildings transaction tax (Scotland)"
-  },
-  {
-   "metric_id": "receipts.land_and_buildings_transaction_tax",
-   "year": 2030,
-   "value": 137912689.4621755,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_and_buildings_transaction_tax",
-   "label": "Land and buildings transaction tax (Scotland)"
-  },
-  {
-   "metric_id": "receipts.land_and_buildings_transaction_tax",
-   "year": 2031,
-   "value": 144400087.45167437,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_and_buildings_transaction_tax",
-   "label": "Land and buildings transaction tax (Scotland)"
-  },
-  {
-   "metric_id": "receipts.corporate_incident_tax_change",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "corporate_incident_tax_change",
-   "label": "Unspecified tax change borne by capital"
-  },
-  {
-   "metric_id": "receipts.corporate_incident_tax_change",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "corporate_incident_tax_change",
-   "label": "Unspecified tax change borne by capital"
-  },
-  {
-   "metric_id": "receipts.corporate_incident_tax_change",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "corporate_incident_tax_change",
-   "label": "Unspecified tax change borne by capital"
-  },
-  {
-   "metric_id": "receipts.corporate_incident_tax_change",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "corporate_incident_tax_change",
-   "label": "Unspecified tax change borne by capital"
-  },
-  {
-   "metric_id": "receipts.corporate_incident_tax_change",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "corporate_incident_tax_change",
-   "label": "Unspecified tax change borne by capital"
-  },
-  {
-   "metric_id": "receipts.corporate_incident_tax_change",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "corporate_incident_tax_change",
-   "label": "Unspecified tax change borne by capital"
-  },
-  {
-   "metric_id": "receipts.corporate_incident_tax_change",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "corporate_incident_tax_change",
-   "label": "Unspecified tax change borne by capital"
-  },
-  {
-   "metric_id": "receipts.consumer_incident_tax_change",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "consumer_incident_tax_change",
-   "label": "Unspecified tax change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.consumer_incident_tax_change",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "consumer_incident_tax_change",
-   "label": "Unspecified tax change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.consumer_incident_tax_change",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "consumer_incident_tax_change",
-   "label": "Unspecified tax change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.consumer_incident_tax_change",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "consumer_incident_tax_change",
-   "label": "Unspecified tax change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.consumer_incident_tax_change",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "consumer_incident_tax_change",
-   "label": "Unspecified tax change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.consumer_incident_tax_change",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "consumer_incident_tax_change",
-   "label": "Unspecified tax change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.consumer_incident_tax_change",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "consumer_incident_tax_change",
-   "label": "Unspecified tax change borne by consumers"
-  },
-  {
-   "metric_id": "receipts.wealth_tax",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "wealth_tax",
-   "label": "Wealth tax"
-  },
-  {
-   "metric_id": "receipts.wealth_tax",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "wealth_tax",
-   "label": "Wealth tax"
-  },
-  {
-   "metric_id": "receipts.wealth_tax",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "wealth_tax",
-   "label": "Wealth tax"
-  },
-  {
-   "metric_id": "receipts.wealth_tax",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "wealth_tax",
-   "label": "Wealth tax"
-  },
-  {
-   "metric_id": "receipts.wealth_tax",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "wealth_tax",
-   "label": "Wealth tax"
-  },
-  {
-   "metric_id": "receipts.wealth_tax",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "wealth_tax",
-   "label": "Wealth tax"
-  },
-  {
-   "metric_id": "receipts.wealth_tax",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "wealth_tax",
-   "label": "Wealth tax"
-  },
-  {
-   "metric_id": "receipts.non_primary_residence_wealth_tax",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "non_primary_residence_wealth_tax",
-   "label": "Wealth tax excluding the main residence"
-  },
-  {
-   "metric_id": "receipts.non_primary_residence_wealth_tax",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "non_primary_residence_wealth_tax",
-   "label": "Wealth tax excluding the main residence"
-  },
-  {
-   "metric_id": "receipts.non_primary_residence_wealth_tax",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "non_primary_residence_wealth_tax",
-   "label": "Wealth tax excluding the main residence"
-  },
-  {
-   "metric_id": "receipts.non_primary_residence_wealth_tax",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "non_primary_residence_wealth_tax",
-   "label": "Wealth tax excluding the main residence"
-  },
-  {
-   "metric_id": "receipts.non_primary_residence_wealth_tax",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "non_primary_residence_wealth_tax",
-   "label": "Wealth tax excluding the main residence"
-  },
-  {
-   "metric_id": "receipts.non_primary_residence_wealth_tax",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "non_primary_residence_wealth_tax",
-   "label": "Wealth tax excluding the main residence"
-  },
-  {
-   "metric_id": "receipts.non_primary_residence_wealth_tax",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "non_primary_residence_wealth_tax",
-   "label": "Wealth tax excluding the main residence"
-  },
-  {
-   "metric_id": "receipts.land_value_tax",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_value_tax",
-   "label": "Land value tax"
-  },
-  {
-   "metric_id": "receipts.land_value_tax",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_value_tax",
-   "label": "Land value tax"
-  },
-  {
-   "metric_id": "receipts.land_value_tax",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_value_tax",
-   "label": "Land value tax"
-  },
-  {
-   "metric_id": "receipts.land_value_tax",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_value_tax",
-   "label": "Land value tax"
-  },
-  {
-   "metric_id": "receipts.land_value_tax",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_value_tax",
-   "label": "Land value tax"
-  },
-  {
-   "metric_id": "receipts.land_value_tax",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_value_tax",
-   "label": "Land value tax"
-  },
-  {
-   "metric_id": "receipts.land_value_tax",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "land_value_tax",
-   "label": "Land value tax"
-  },
-  {
-   "metric_id": "receipts.carbon_tax",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "carbon_tax",
-   "label": "Carbon tax"
-  },
-  {
-   "metric_id": "receipts.carbon_tax",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "carbon_tax",
-   "label": "Carbon tax"
-  },
-  {
-   "metric_id": "receipts.carbon_tax",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "carbon_tax",
-   "label": "Carbon tax"
-  },
-  {
-   "metric_id": "receipts.carbon_tax",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "carbon_tax",
-   "label": "Carbon tax"
-  },
-  {
-   "metric_id": "receipts.carbon_tax",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "carbon_tax",
-   "label": "Carbon tax"
-  },
-  {
-   "metric_id": "receipts.carbon_tax",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "carbon_tax",
-   "label": "Carbon tax"
-  },
-  {
-   "metric_id": "receipts.carbon_tax",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "receipt",
-   "partition": "carbon_tax",
-   "label": "Carbon tax"
-  },
-  {
-   "metric_id": "spending.state_pension",
-   "year": 2025,
-   "value": 122503036176.28136,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "spending.state_pension",
-   "year": 2026,
-   "value": 127115003712.11774,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "spending.state_pension",
-   "year": 2027,
-   "value": 128280611587.4219,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "spending.state_pension",
-   "year": 2028,
-   "value": 130209285651.49004,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "spending.state_pension",
-   "year": 2029,
-   "value": 134051705144.42847,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "spending.state_pension",
-   "year": 2030,
-   "value": 138021583333.92395,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "spending.state_pension",
-   "year": 2031,
-   "value": 142080411583.76672,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "caseloads.state_pension",
-   "year": 2025,
-   "value": 11307942.897278756,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "caseloads.state_pension",
-   "year": 2026,
-   "value": 11208358.708708271,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "caseloads.state_pension",
-   "year": 2027,
-   "value": 10906221.550106525,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "caseloads.state_pension",
-   "year": 2028,
-   "value": 10811938.301638946,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "caseloads.state_pension",
-   "year": 2029,
-   "value": 10859510.9701875,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "caseloads.state_pension",
-   "year": 2030,
-   "value": 10908379.084595531,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "caseloads.state_pension",
-   "year": 2031,
-   "value": 10955285.089603484,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "state_pension",
-   "label": "State Pension"
-  },
-  {
-   "metric_id": "spending.pension_credit",
-   "year": 2025,
-   "value": 6683600257.719555,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "spending.pension_credit",
-   "year": 2026,
-   "value": 7056299099.336407,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "spending.pension_credit",
-   "year": 2027,
-   "value": 7040775597.466119,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "spending.pension_credit",
-   "year": 2028,
-   "value": 7110102297.589521,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "spending.pension_credit",
-   "year": 2029,
-   "value": 7231026514.317166,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "spending.pension_credit",
-   "year": 2030,
-   "value": 7365763489.682707,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "spending.pension_credit",
-   "year": 2031,
-   "value": 7463303552.117271,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "caseloads.pension_credit",
-   "year": 2025,
-   "value": 1490774.5672746152,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "caseloads.pension_credit",
-   "year": 2026,
-   "value": 1489116.733679533,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "caseloads.pension_credit",
-   "year": 2027,
-   "value": 1477429.6021682024,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "caseloads.pension_credit",
-   "year": 2028,
-   "value": 1455339.335629344,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "caseloads.pension_credit",
-   "year": 2029,
-   "value": 1457221.2425712496,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "caseloads.pension_credit",
-   "year": 2030,
-   "value": 1454060.4666527808,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "caseloads.pension_credit",
-   "year": 2031,
-   "value": 1450518.8676682264,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pension_credit",
-   "label": "Pension Credit"
-  },
-  {
-   "metric_id": "spending.winter_fuel_payment",
-   "year": 2025,
-   "value": 1696782924.1721363,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "spending.winter_fuel_payment",
-   "year": 2026,
-   "value": 1679283343.732223,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "spending.winter_fuel_payment",
-   "year": 2027,
-   "value": 1590003738.0768867,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "spending.winter_fuel_payment",
-   "year": 2028,
-   "value": 1573027080.7015598,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "spending.winter_fuel_payment",
-   "year": 2029,
-   "value": 1569952442.020166,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "spending.winter_fuel_payment",
-   "year": 2030,
-   "value": 1547501174.76131,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "spending.winter_fuel_payment",
-   "year": 2031,
-   "value": 1519503572.7274477,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "caseloads.winter_fuel_payment",
-   "year": 2025,
-   "value": 7090970.121831879,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "caseloads.winter_fuel_payment",
-   "year": 2026,
-   "value": 7007600.1749506295,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "caseloads.winter_fuel_payment",
-   "year": 2027,
-   "value": 6593488.894350678,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "caseloads.winter_fuel_payment",
-   "year": 2028,
-   "value": 6508639.181520969,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "caseloads.winter_fuel_payment",
-   "year": 2029,
-   "value": 6490585.181142107,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "caseloads.winter_fuel_payment",
-   "year": 2030,
-   "value": 6377424.451988548,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "caseloads.winter_fuel_payment",
-   "year": 2031,
-   "value": 6242475.78672789,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "winter_fuel_payment",
-   "label": "Winter Fuel Payment"
-  },
-  {
-   "metric_id": "spending.pawhp",
-   "year": 2025,
-   "value": 190004357.0627768,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.pawhp",
-   "year": 2026,
-   "value": 197376523.34808874,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.pawhp",
-   "year": 2027,
-   "value": 201464846.70418116,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.pawhp",
-   "year": 2028,
-   "value": 205237714.89489964,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.pawhp",
-   "year": 2029,
-   "value": 210263123.1305548,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.pawhp",
-   "year": 2030,
-   "value": 215433546.71501532,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.pawhp",
-   "year": 2031,
-   "value": 220687250.38609877,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.pawhp",
-   "year": 2025,
-   "value": 806440.3659721613,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.pawhp",
-   "year": 2026,
-   "value": 806642.316529274,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.pawhp",
-   "year": 2027,
-   "value": 806823.3181906939,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.pawhp",
-   "year": 2028,
-   "value": 805142.1836649776,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.pawhp",
-   "year": 2029,
-   "value": 808684.8276723027,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.pawhp",
-   "year": 2030,
-   "value": 812323.9398192763,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.pawhp",
-   "year": 2031,
-   "value": 815816.9233164787,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pawhp",
-   "label": "Pension Age Winter Heating Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.universal_credit",
-   "year": 2025,
-   "value": 79166098634.76385,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "spending.universal_credit",
-   "year": 2026,
-   "value": 83483281466.41425,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "spending.universal_credit",
-   "year": 2027,
-   "value": 85110190875.9473,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "spending.universal_credit",
-   "year": 2028,
-   "value": 86667339883.95622,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "spending.universal_credit",
-   "year": 2029,
-   "value": 87402948162.99124,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "spending.universal_credit",
-   "year": 2030,
-   "value": 84214027875.53,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "spending.universal_credit",
-   "year": 2031,
-   "value": 85457636655.59526,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "caseloads.universal_credit",
-   "year": 2025,
-   "value": 6371587.519835666,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "caseloads.universal_credit",
-   "year": 2026,
-   "value": 6379016.747252494,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "caseloads.universal_credit",
-   "year": 2027,
-   "value": 6394538.736335561,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "caseloads.universal_credit",
-   "year": 2028,
-   "value": 6399621.182661429,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "caseloads.universal_credit",
-   "year": 2029,
-   "value": 6373153.488585249,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "caseloads.universal_credit",
-   "year": 2030,
-   "value": 6316123.800888762,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "caseloads.universal_credit",
-   "year": 2031,
-   "value": 6311765.528904498,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_credit",
-   "label": "Universal Credit"
-  },
-  {
-   "metric_id": "spending.housing_benefit",
-   "year": 2025,
-   "value": 8595335171.520943,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "spending.housing_benefit",
-   "year": 2026,
-   "value": 8931864198.577654,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "spending.housing_benefit",
-   "year": 2027,
-   "value": 9199477872.067867,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "spending.housing_benefit",
-   "year": 2028,
-   "value": 9343759945.943094,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "spending.housing_benefit",
-   "year": 2029,
-   "value": 9621753903.580982,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "spending.housing_benefit",
-   "year": 2030,
-   "value": 9883322170.08307,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "spending.housing_benefit",
-   "year": 2031,
-   "value": 10165697938.801252,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "caseloads.housing_benefit",
-   "year": 2025,
-   "value": 1254488.0164678842,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "caseloads.housing_benefit",
-   "year": 2026,
-   "value": 1252740.275393933,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "caseloads.housing_benefit",
-   "year": 2027,
-   "value": 1254335.1581986696,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "caseloads.housing_benefit",
-   "year": 2028,
-   "value": 1240028.0728783756,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "caseloads.housing_benefit",
-   "year": 2029,
-   "value": 1244626.769205615,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "caseloads.housing_benefit",
-   "year": 2030,
-   "value": 1246801.715999484,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "caseloads.housing_benefit",
-   "year": 2031,
-   "value": 1249258.3732767105,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "housing_benefit",
-   "label": "Housing Benefit"
-  },
-  {
-   "metric_id": "spending.council_tax_reduction",
-   "year": 2025,
-   "value": 1988515658.8280945,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "spending.council_tax_reduction",
-   "year": 2026,
-   "value": 2033885987.1873639,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "spending.council_tax_reduction",
-   "year": 2027,
-   "value": 2079220973.3377244,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "spending.council_tax_reduction",
-   "year": 2028,
-   "value": 2130392978.7542346,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "spending.council_tax_reduction",
-   "year": 2029,
-   "value": 2182371431.2323685,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "spending.council_tax_reduction",
-   "year": 2030,
-   "value": 2245332431.4065833,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "spending.council_tax_reduction",
-   "year": 2031,
-   "value": 2299546088.50543,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "caseloads.council_tax_reduction",
-   "year": 2025,
-   "value": 3187241.3228853345,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "caseloads.council_tax_reduction",
-   "year": 2026,
-   "value": 3211653.8483200073,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "caseloads.council_tax_reduction",
-   "year": 2027,
-   "value": 3226461.487433046,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "caseloads.council_tax_reduction",
-   "year": 2028,
-   "value": 3249134.5323915184,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "caseloads.council_tax_reduction",
-   "year": 2029,
-   "value": 3264581.2450436354,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "caseloads.council_tax_reduction",
-   "year": 2030,
-   "value": 3296161.365950793,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "caseloads.council_tax_reduction",
-   "year": 2031,
-   "value": 3310563.1543370783,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "council_tax_reduction",
-   "label": "Council Tax Reduction"
-  },
-  {
-   "metric_id": "spending.esa_income",
-   "year": 2025,
-   "value": 2119219755.27102,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "spending.esa_income",
-   "year": 2026,
-   "value": 2175740626.0724893,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "spending.esa_income",
-   "year": 2027,
-   "value": 2226624100.582522,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "spending.esa_income",
-   "year": 2028,
-   "value": 2277324834.952569,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "spending.esa_income",
-   "year": 2029,
-   "value": 2332267574.159017,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "spending.esa_income",
-   "year": 2030,
-   "value": 2388837175.037817,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "spending.esa_income",
-   "year": 2031,
-   "value": 2446074707.6473985,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "caseloads.esa_income",
-   "year": 2025,
-   "value": 186830.98939606547,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "caseloads.esa_income",
-   "year": 2026,
-   "value": 187540.95343746245,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "caseloads.esa_income",
-   "year": 2027,
-   "value": 188234.8581573367,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "caseloads.esa_income",
-   "year": 2028,
-   "value": 188797.70078976452,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "caseloads.esa_income",
-   "year": 2029,
-   "value": 189628.41371196508,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "caseloads.esa_income",
-   "year": 2030,
-   "value": 190481.74765598774,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "caseloads.esa_income",
-   "year": 2031,
-   "value": 191300.81845253706,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_income",
-   "label": "Employment and Support Allowance (income-related)"
-  },
-  {
-   "metric_id": "spending.esa_contrib",
-   "year": 2025,
-   "value": 5221642514.164815,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.esa_contrib",
-   "year": 2026,
-   "value": 5362038966.389469,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.esa_contrib",
-   "year": 2027,
-   "value": 5489516286.663287,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.esa_contrib",
-   "year": 2028,
-   "value": 5621703470.566074,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.esa_contrib",
-   "year": 2029,
-   "value": 5759367828.016521,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.esa_contrib",
-   "year": 2030,
-   "value": 5900990569.133743,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.esa_contrib",
-   "year": 2031,
-   "value": 6044892357.516051,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.esa_contrib",
-   "year": 2025,
-   "value": 721684.3135545999,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.esa_contrib",
-   "year": 2026,
-   "value": 724426.7398380041,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.esa_contrib",
-   "year": 2027,
-   "value": 727107.1310208887,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.esa_contrib",
-   "year": 2028,
-   "value": 730015.5208309293,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.esa_contrib",
-   "year": 2029,
-   "value": 733227.5983880013,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.esa_contrib",
-   "year": 2030,
-   "value": 736527.1409217119,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.esa_contrib",
-   "year": 2031,
-   "value": 739694.2040582746,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "esa_contrib",
-   "label": "Employment and Support Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.jsa_income",
-   "year": 2025,
-   "value": 1446979.5182146362,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "spending.jsa_income",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "spending.jsa_income",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "spending.jsa_income",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "spending.jsa_income",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "spending.jsa_income",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "spending.jsa_income",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_income",
-   "year": 2025,
-   "value": 278.16873490810394,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_income",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_income",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_income",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_income",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_income",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_income",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_income",
-   "label": "Jobseeker's Allowance (income-based)"
-  },
-  {
-   "metric_id": "spending.jsa_contrib",
-   "year": 2025,
-   "value": 288777970.5356167,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.jsa_contrib",
-   "year": 2026,
-   "value": 296542457.71586204,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.jsa_contrib",
-   "year": 2027,
-   "value": 303592471.1494838,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.jsa_contrib",
-   "year": 2028,
-   "value": 310902955.13914746,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.jsa_contrib",
-   "year": 2029,
-   "value": 318516348.7643643,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.jsa_contrib",
-   "year": 2030,
-   "value": 326348673.79918647,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.jsa_contrib",
-   "year": 2031,
-   "value": 334307010.21562654,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_contrib",
-   "year": 2025,
-   "value": 67182.8121483326,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_contrib",
-   "year": 2026,
-   "value": 67438.10866451263,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_contrib",
-   "year": 2027,
-   "value": 67687.63075757027,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_contrib",
-   "year": 2028,
-   "value": 67958.37626743317,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_contrib",
-   "year": 2029,
-   "value": 68257.39367341995,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_contrib",
-   "year": 2030,
-   "value": 68564.55532884598,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "caseloads.jsa_contrib",
-   "year": 2031,
-   "value": 68859.38249921799,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "jsa_contrib",
-   "label": "Jobseeker's Allowance (contribution-based)"
-  },
-  {
-   "metric_id": "spending.income_support",
-   "year": 2025,
-   "value": 123955194.70721354,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "spending.income_support",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "spending.income_support",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "spending.income_support",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "spending.income_support",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "spending.income_support",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "spending.income_support",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "caseloads.income_support",
-   "year": 2025,
-   "value": 24803.04834920168,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "caseloads.income_support",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "caseloads.income_support",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "caseloads.income_support",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "caseloads.income_support",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "caseloads.income_support",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "caseloads.income_support",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "income_support",
-   "label": "Income Support"
-  },
-  {
-   "metric_id": "spending.working_tax_credit",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "spending.working_tax_credit",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "spending.working_tax_credit",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "spending.working_tax_credit",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "spending.working_tax_credit",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "spending.working_tax_credit",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "spending.working_tax_credit",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.working_tax_credit",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.working_tax_credit",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.working_tax_credit",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.working_tax_credit",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.working_tax_credit",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.working_tax_credit",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.working_tax_credit",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "working_tax_credit",
-   "label": "Working Tax Credit"
-  },
-  {
-   "metric_id": "spending.child_tax_credit",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "spending.child_tax_credit",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "spending.child_tax_credit",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "spending.child_tax_credit",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "spending.child_tax_credit",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "spending.child_tax_credit",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "spending.child_tax_credit",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.child_tax_credit",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.child_tax_credit",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.child_tax_credit",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.child_tax_credit",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.child_tax_credit",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.child_tax_credit",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "caseloads.child_tax_credit",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_tax_credit",
-   "label": "Child Tax Credit"
-  },
-  {
-   "metric_id": "spending.incapacity_benefit",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "spending.incapacity_benefit",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "spending.incapacity_benefit",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "spending.incapacity_benefit",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "spending.incapacity_benefit",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "spending.incapacity_benefit",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "spending.incapacity_benefit",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "caseloads.incapacity_benefit",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "caseloads.incapacity_benefit",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "caseloads.incapacity_benefit",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "caseloads.incapacity_benefit",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "caseloads.incapacity_benefit",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "caseloads.incapacity_benefit",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "caseloads.incapacity_benefit",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "incapacity_benefit",
-   "label": "Incapacity Benefit"
-  },
-  {
-   "metric_id": "spending.pip",
-   "year": 2025,
-   "value": 27050796518.958164,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "spending.pip",
-   "year": 2026,
-   "value": 28187504820.35819,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "spending.pip",
-   "year": 2027,
-   "value": 28942448438.6212,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "spending.pip",
-   "year": 2028,
-   "value": 29639334288.533737,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "spending.pip",
-   "year": 2029,
-   "value": 30365112782.59276,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "spending.pip",
-   "year": 2030,
-   "value": 31111725337.197277,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "spending.pip",
-   "year": 2031,
-   "value": 31870426624.368805,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "caseloads.pip",
-   "year": 2025,
-   "value": 3581346.50325121,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "caseloads.pip",
-   "year": 2026,
-   "value": 3594955.7513322085,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "caseloads.pip",
-   "year": 2027,
-   "value": 3608257.1502955705,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "caseloads.pip",
-   "year": 2028,
-   "value": 3622690.0020009577,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "caseloads.pip",
-   "year": 2029,
-   "value": 3638629.8922510594,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "caseloads.pip",
-   "year": 2030,
-   "value": 3655003.834502399,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "caseloads.pip",
-   "year": 2031,
-   "value": 3670720.34740828,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "pip",
-   "label": "Personal Independence Payment"
-  },
-  {
-   "metric_id": "spending.dla",
-   "year": 2025,
-   "value": 7519515429.343498,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "spending.dla",
-   "year": 2026,
-   "value": 7834750092.336622,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "spending.dla",
-   "year": 2027,
-   "value": 8044587394.8355665,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "spending.dla",
-   "year": 2028,
-   "value": 8238287553.0089445,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "spending.dla",
-   "year": 2029,
-   "value": 8440018870.958048,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "spending.dla",
-   "year": 2030,
-   "value": 8647540725.08345,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "spending.dla",
-   "year": 2031,
-   "value": 8858422643.224787,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "caseloads.dla",
-   "year": 2025,
-   "value": 1296293.76486139,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "caseloads.dla",
-   "year": 2026,
-   "value": 1301219.7249682397,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "caseloads.dla",
-   "year": 2027,
-   "value": 1306034.2623415291,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "caseloads.dla",
-   "year": 2028,
-   "value": 1311258.3262985945,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "caseloads.dla",
-   "year": 2029,
-   "value": 1317027.8841654807,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "caseloads.dla",
-   "year": 2030,
-   "value": 1322954.550306335,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "caseloads.dla",
-   "year": 2031,
-   "value": 1328643.2488841116,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "dla",
-   "label": "Disability Living Allowance"
-  },
-  {
-   "metric_id": "spending.attendance_allowance",
-   "year": 2025,
-   "value": 8713069613.537264,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "spending.attendance_allowance",
-   "year": 2026,
-   "value": 9078584120.844625,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "spending.attendance_allowance",
-   "year": 2027,
-   "value": 9321734807.6616,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "spending.attendance_allowance",
-   "year": 2028,
-   "value": 9546186520.166021,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "spending.attendance_allowance",
-   "year": 2029,
-   "value": 9779944679.35845,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "spending.attendance_allowance",
-   "year": 2030,
-   "value": 10020412141.96302,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "spending.attendance_allowance",
-   "year": 2031,
-   "value": 10264773293.632841,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "caseloads.attendance_allowance",
-   "year": 2025,
-   "value": 1701405.523672521,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "caseloads.attendance_allowance",
-   "year": 2026,
-   "value": 1707870.9254432172,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "caseloads.attendance_allowance",
-   "year": 2027,
-   "value": 1714190.0767204762,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "caseloads.attendance_allowance",
-   "year": 2028,
-   "value": 1721046.7521996498,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "caseloads.attendance_allowance",
-   "year": 2029,
-   "value": 1728619.3880579919,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "caseloads.attendance_allowance",
-   "year": 2030,
-   "value": 1736398.2265275419,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "caseloads.attendance_allowance",
-   "year": 2031,
-   "value": 1743864.7361019552,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "attendance_allowance",
-   "label": "Attendance Allowance"
-  },
-  {
-   "metric_id": "spending.carers_allowance",
-   "year": 2025,
-   "value": 4498304384.942733,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "spending.carers_allowance",
-   "year": 2026,
-   "value": 4686148233.621847,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "spending.carers_allowance",
-   "year": 2027,
-   "value": 4811656899.117326,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "spending.carers_allowance",
-   "year": 2028,
-   "value": 4927513579.343729,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "spending.carers_allowance",
-   "year": 2029,
-   "value": 5048174373.178411,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "spending.carers_allowance",
-   "year": 2030,
-   "value": 5168683430.088493,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "spending.carers_allowance",
-   "year": 2031,
-   "value": 5294728594.298446,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "caseloads.carers_allowance",
-   "year": 2025,
-   "value": 1038485.6135211289,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "caseloads.carers_allowance",
-   "year": 2026,
-   "value": 1042431.8938074112,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "caseloads.carers_allowance",
-   "year": 2027,
-   "value": 1046288.9127022028,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "caseloads.carers_allowance",
-   "year": 2028,
-   "value": 1050474.0211501122,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "caseloads.carers_allowance",
-   "year": 2029,
-   "value": 1055096.1227512658,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "caseloads.carers_allowance",
-   "year": 2030,
-   "value": 1059103.4548994005,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "caseloads.carers_allowance",
-   "year": 2031,
-   "value": 1063657.5973686576,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carers_allowance",
-   "label": "Carer's Allowance"
-  },
-  {
-   "metric_id": "spending.carer_support_payment",
-   "year": 2025,
-   "value": 352284662.9714799,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.carer_support_payment",
-   "year": 2026,
-   "value": 366995656.0579343,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.carer_support_payment",
-   "year": 2027,
-   "value": 376824870.322693,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.carer_support_payment",
-   "year": 2028,
-   "value": 385898182.16357577,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.carer_support_payment",
-   "year": 2029,
-   "value": 395347728.7181926,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.carer_support_payment",
-   "year": 2030,
-   "value": 405068460.50986433,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.carer_support_payment",
-   "year": 2031,
-   "value": 414946587.8089589,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.carer_support_payment",
-   "year": 2025,
-   "value": 81328.99044907093,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.carer_support_payment",
-   "year": 2026,
-   "value": 81638.04422974586,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.carer_support_payment",
-   "year": 2027,
-   "value": 81940.10755866766,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.carer_support_payment",
-   "year": 2028,
-   "value": 82267.86362826824,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.carer_support_payment",
-   "year": 2029,
-   "value": 82629.84296369553,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.carer_support_payment",
-   "year": 2030,
-   "value": 83001.67959588766,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.carer_support_payment",
-   "year": 2031,
-   "value": 83358.58633065224,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "carer_support_payment",
-   "label": "Carer Support Payment (Scotland)"
-  },
-  {
-   "metric_id": "spending.scottish_carer_supplement",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "spending.scottish_carer_supplement",
-   "year": 2026,
-   "value": 49668588.102493696,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "spending.scottish_carer_supplement",
-   "year": 2027,
-   "value": 49852363.43918431,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "spending.scottish_carer_supplement",
-   "year": 2028,
-   "value": 50051770.239931166,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "spending.scottish_carer_supplement",
-   "year": 2029,
-   "value": 50271998.47644251,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "spending.scottish_carer_supplement",
-   "year": 2030,
-   "value": 50498223.892546244,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "spending.scottish_carer_supplement",
-   "year": 2031,
-   "value": 50715365.95869056,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.scottish_carer_supplement",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.scottish_carer_supplement",
-   "year": 2026,
-   "value": 81638.04422974586,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.scottish_carer_supplement",
-   "year": 2027,
-   "value": 81940.10755866766,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.scottish_carer_supplement",
-   "year": 2028,
-   "value": 82267.86362826824,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.scottish_carer_supplement",
-   "year": 2029,
-   "value": 82629.84296369553,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.scottish_carer_supplement",
-   "year": 2030,
-   "value": 83001.67959588766,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "caseloads.scottish_carer_supplement",
-   "year": 2031,
-   "value": 83358.58633065224,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_carer_supplement",
-   "label": "Carer's Allowance Supplement (Scotland)"
-  },
-  {
-   "metric_id": "spending.sda",
-   "year": 2025,
-   "value": 26001911.186065674,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "spending.sda",
-   "year": 2026,
-   "value": 27088007.985394344,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "spending.sda",
-   "year": 2027,
-   "value": 27813501.58527428,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "spending.sda",
-   "year": 2028,
-   "value": 28483206.305987563,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "spending.sda",
-   "year": 2029,
-   "value": 29180676.754239403,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "spending.sda",
-   "year": 2030,
-   "value": 29898167.047436927,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "spending.sda",
-   "year": 2031,
-   "value": 30627272.264840692,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "caseloads.sda",
-   "year": 2025,
-   "value": 4348.145683288574,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "caseloads.sda",
-   "year": 2026,
-   "value": 4364.668739795685,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "caseloads.sda",
-   "year": 2027,
-   "value": 4380.818064212799,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "caseloads.sda",
-   "year": 2028,
-   "value": 4398.341153144836,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "caseloads.sda",
-   "year": 2029,
-   "value": 4417.694038391113,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "caseloads.sda",
-   "year": 2030,
-   "value": 4437.573884487152,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "caseloads.sda",
-   "year": 2031,
-   "value": 4456.655462741852,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "sda",
-   "label": "Severe Disablement Allowance"
-  },
-  {
-   "metric_id": "spending.iidb",
-   "year": 2025,
-   "value": 505396316.7142715,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "spending.iidb",
-   "year": 2026,
-   "value": 518985130.7359581,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "spending.iidb",
-   "year": 2027,
-   "value": 531323482.42515385,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "spending.iidb",
-   "year": 2028,
-   "value": 544117734.2383146,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "spending.iidb",
-   "year": 2029,
-   "value": 557442066.9128101,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "spending.iidb",
-   "year": 2030,
-   "value": 571149605.5284191,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "spending.iidb",
-   "year": 2031,
-   "value": 585077668.0455391,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "caseloads.iidb",
-   "year": 2025,
-   "value": 137473.5583550036,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "caseloads.iidb",
-   "year": 2026,
-   "value": 137995.96156597137,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "caseloads.iidb",
-   "year": 2027,
-   "value": 138506.54905071855,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "caseloads.iidb",
-   "year": 2028,
-   "value": 139060.56764179468,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "caseloads.iidb",
-   "year": 2029,
-   "value": 139672.4357754588,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "caseloads.iidb",
-   "year": 2030,
-   "value": 140300.96557214856,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "caseloads.iidb",
-   "year": 2031,
-   "value": 140904.25975701213,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "iidb",
-   "label": "Industrial Injuries Disablement Benefit"
-  },
-  {
-   "metric_id": "spending.afcs",
-   "year": 2025,
-   "value": 608337715.55495,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "spending.afcs",
-   "year": 2026,
-   "value": 624694356.9666108,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "spending.afcs",
-   "year": 2027,
-   "value": 639545878.8404102,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "spending.afcs",
-   "year": 2028,
-   "value": 654946115.3175836,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "spending.afcs",
-   "year": 2029,
-   "value": 670984438.3106201,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "spending.afcs",
-   "year": 2030,
-   "value": 687483985.4915761,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "spending.afcs",
-   "year": 2031,
-   "value": 704248973.1763016,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "caseloads.afcs",
-   "year": 2025,
-   "value": 93556.20288914442,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "caseloads.afcs",
-   "year": 2026,
-   "value": 93911.72057116032,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "caseloads.afcs",
-   "year": 2027,
-   "value": 94259.19729825854,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "caseloads.afcs",
-   "year": 2028,
-   "value": 94636.23070755601,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "caseloads.afcs",
-   "year": 2029,
-   "value": 95052.63239446282,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "caseloads.afcs",
-   "year": 2030,
-   "value": 95480.37335321307,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "caseloads.afcs",
-   "year": 2031,
-   "value": 95890.9378361702,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "afcs",
-   "label": "Armed Forces Compensation Scheme"
-  },
-  {
-   "metric_id": "spending.child_benefit",
-   "year": 2025,
-   "value": 16193470845.603186,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "spending.child_benefit",
-   "year": 2026,
-   "value": 16865082606.210407,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "spending.child_benefit",
-   "year": 2027,
-   "value": 17309224587.32687,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "spending.child_benefit",
-   "year": 2028,
-   "value": 17722732649.511974,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "spending.child_benefit",
-   "year": 2029,
-   "value": 18149355497.8589,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "spending.child_benefit",
-   "year": 2030,
-   "value": 18589683648.812527,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "spending.child_benefit",
-   "year": 2031,
-   "value": 19019347515.30189,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "caseloads.child_benefit",
-   "year": 2025,
-   "value": 8124933.04077065,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "caseloads.child_benefit",
-   "year": 2026,
-   "value": 8151661.30214186,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "caseloads.child_benefit",
-   "year": 2027,
-   "value": 8178496.28433007,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "caseloads.child_benefit",
-   "year": 2028,
-   "value": 8209901.52580525,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "caseloads.child_benefit",
-   "year": 2029,
-   "value": 8242994.678169802,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "caseloads.child_benefit",
-   "year": 2030,
-   "value": 8277445.224295765,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "caseloads.child_benefit",
-   "year": 2031,
-   "value": 8301138.966311127,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "child_benefit",
-   "label": "Child Benefit"
-  },
-  {
-   "metric_id": "spending.scottish_child_payment",
-   "year": 2025,
-   "value": 496826543.81597674,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "spending.scottish_child_payment",
-   "year": 2026,
-   "value": 518442587.758203,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "spending.scottish_child_payment",
-   "year": 2027,
-   "value": 532354940.6639104,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "spending.scottish_child_payment",
-   "year": 2028,
-   "value": 545600150.271133,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "spending.scottish_child_payment",
-   "year": 2029,
-   "value": 557257209.815226,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "spending.scottish_child_payment",
-   "year": 2030,
-   "value": 570941579.8039502,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "spending.scottish_child_payment",
-   "year": 2031,
-   "value": 579837131.7746521,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "caseloads.scottish_child_payment",
-   "year": 2025,
-   "value": 351909.9919484854,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "caseloads.scottish_child_payment",
-   "year": 2026,
-   "value": 353547.8581060171,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "caseloads.scottish_child_payment",
-   "year": 2027,
-   "value": 354855.99119508266,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "caseloads.scottish_child_payment",
-   "year": 2028,
-   "value": 356275.3960905075,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "caseloads.scottish_child_payment",
-   "year": 2029,
-   "value": 356621.7960590124,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "caseloads.scottish_child_payment",
-   "year": 2030,
-   "value": 358226.60453784466,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "caseloads.scottish_child_payment",
-   "year": 2031,
-   "value": 356674.22713041306,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "scottish_child_payment",
-   "label": "Scottish Child Payment"
-  },
-  {
-   "metric_id": "spending.two_child_limit_payment",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "spending.two_child_limit_payment",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "spending.two_child_limit_payment",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "spending.two_child_limit_payment",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "spending.two_child_limit_payment",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "spending.two_child_limit_payment",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "spending.two_child_limit_payment",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "caseloads.two_child_limit_payment",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "caseloads.two_child_limit_payment",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "caseloads.two_child_limit_payment",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "caseloads.two_child_limit_payment",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "caseloads.two_child_limit_payment",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "caseloads.two_child_limit_payment",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "caseloads.two_child_limit_payment",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "two_child_limit_payment",
-   "label": "Two Child Limit Payment (Scotland, counterfactual)"
-  },
-  {
-   "metric_id": "spending.healthy_start_vouchers",
-   "year": 2025,
-   "value": 52030589.486631,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "spending.healthy_start_vouchers",
-   "year": 2026,
-   "value": 52228307.60199582,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "spending.healthy_start_vouchers",
-   "year": 2027,
-   "value": 52421553.321768366,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "spending.healthy_start_vouchers",
-   "year": 2028,
-   "value": 52631236.984368056,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "spending.healthy_start_vouchers",
-   "year": 2029,
-   "value": 52862815.027035154,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "spending.healthy_start_vouchers",
-   "year": 2030,
-   "value": 53100698.99261543,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "spending.healthy_start_vouchers",
-   "year": 2031,
-   "value": 53329031.82253713,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "caseloads.healthy_start_vouchers",
-   "year": 2025,
-   "value": 200297.54610317945,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "caseloads.healthy_start_vouchers",
-   "year": 2026,
-   "value": 201058.68415096402,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "caseloads.healthy_start_vouchers",
-   "year": 2027,
-   "value": 201802.60497659445,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "caseloads.healthy_start_vouchers",
-   "year": 2028,
-   "value": 202609.80542340875,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "caseloads.healthy_start_vouchers",
-   "year": 2029,
-   "value": 203501.29058858752,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "caseloads.healthy_start_vouchers",
-   "year": 2030,
-   "value": 204417.0512445569,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "caseloads.healthy_start_vouchers",
-   "year": 2031,
-   "value": 205296.04370743036,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "healthy_start_vouchers",
-   "label": "Healthy Start vouchers"
-  },
-  {
-   "metric_id": "spending.maternity_allowance",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "spending.maternity_allowance",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "spending.maternity_allowance",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "spending.maternity_allowance",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "spending.maternity_allowance",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "spending.maternity_allowance",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "spending.maternity_allowance",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "caseloads.maternity_allowance",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "caseloads.maternity_allowance",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "caseloads.maternity_allowance",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "caseloads.maternity_allowance",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "caseloads.maternity_allowance",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "caseloads.maternity_allowance",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "caseloads.maternity_allowance",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "maternity_allowance",
-   "label": "Maternity Allowance"
-  },
-  {
-   "metric_id": "spending.statutory_maternity_pay",
-   "year": 2025,
-   "value": 3318182317.450847,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_maternity_pay",
-   "year": 2026,
-   "value": 3407399609.1208797,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_maternity_pay",
-   "year": 2027,
-   "value": 3488407179.3860164,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_maternity_pay",
-   "year": 2028,
-   "value": 3572407800.478435,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_maternity_pay",
-   "year": 2029,
-   "value": 3659888978.871894,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_maternity_pay",
-   "year": 2030,
-   "value": 3749885904.2724175,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_maternity_pay",
-   "year": 2031,
-   "value": 3841330547.982543,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_maternity_pay",
-   "year": 2025,
-   "value": 333845.906548053,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_maternity_pay",
-   "year": 2026,
-   "value": 335114.53039878607,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_maternity_pay",
-   "year": 2027,
-   "value": 336354.45804458857,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_maternity_pay",
-   "year": 2028,
-   "value": 337699.85739299655,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_maternity_pay",
-   "year": 2029,
-   "value": 339185.7411582172,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_maternity_pay",
-   "year": 2030,
-   "value": 340712.0907050073,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_maternity_pay",
-   "year": 2031,
-   "value": 342177.1517958939,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_maternity_pay",
-   "label": "Statutory Maternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_paternity_pay",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_paternity_pay",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_paternity_pay",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_paternity_pay",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_paternity_pay",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_paternity_pay",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_paternity_pay",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_paternity_pay",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_paternity_pay",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_paternity_pay",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_paternity_pay",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_paternity_pay",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_paternity_pay",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_paternity_pay",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_paternity_pay",
-   "label": "Statutory Paternity Pay"
-  },
-  {
-   "metric_id": "spending.statutory_sick_pay",
-   "year": 2025,
-   "value": 1129666049.2058818,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "spending.statutory_sick_pay",
-   "year": 2026,
-   "value": 1160039811.2081735,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "spending.statutory_sick_pay",
-   "year": 2027,
-   "value": 1187618628.8419445,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "spending.statutory_sick_pay",
-   "year": 2028,
-   "value": 1216216439.2552707,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "spending.statutory_sick_pay",
-   "year": 2029,
-   "value": 1245999166.4642668,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "spending.statutory_sick_pay",
-   "year": 2030,
-   "value": 1276638374.6988342,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "spending.statutory_sick_pay",
-   "year": 2031,
-   "value": 1307770469.3172994,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_sick_pay",
-   "year": 2025,
-   "value": 181849.49628841877,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_sick_pay",
-   "year": 2026,
-   "value": 182540.52988168597,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_sick_pay",
-   "year": 2027,
-   "value": 183215.93420261145,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_sick_pay",
-   "year": 2028,
-   "value": 183948.78862804174,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_sick_pay",
-   "year": 2029,
-   "value": 184758.16779726744,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_sick_pay",
-   "year": 2030,
-   "value": 185589.58406233788,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "caseloads.statutory_sick_pay",
-   "year": 2031,
-   "value": 186387.61916735768,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "statutory_sick_pay",
-   "label": "Statutory Sick Pay"
-  },
-  {
-   "metric_id": "spending.ssmg",
-   "year": 2025,
-   "value": 13125578.55695486,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "spending.ssmg",
-   "year": 2026,
-   "value": 13175456.283032894,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "spending.ssmg",
-   "year": 2027,
-   "value": 13224205.684065819,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "spending.ssmg",
-   "year": 2028,
-   "value": 13277101.755604148,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "spending.ssmg",
-   "year": 2029,
-   "value": 13335521.275147796,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "spending.ssmg",
-   "year": 2030,
-   "value": 13395531.273916364,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "spending.ssmg",
-   "year": 2031,
-   "value": 13453131.819739938,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "caseloads.ssmg",
-   "year": 2025,
-   "value": 26251.15711390972,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "caseloads.ssmg",
-   "year": 2026,
-   "value": 26350.91256606579,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "caseloads.ssmg",
-   "year": 2027,
-   "value": 26448.411368131638,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "caseloads.ssmg",
-   "year": 2028,
-   "value": 26554.203511208296,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "caseloads.ssmg",
-   "year": 2029,
-   "value": 26671.04255029559,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "caseloads.ssmg",
-   "year": 2030,
-   "value": 26791.062547832727,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "caseloads.ssmg",
-   "year": 2031,
-   "value": 26906.263639479876,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "ssmg",
-   "label": "Sure Start Maternity Grant"
-  },
-  {
-   "metric_id": "spending.bsp",
-   "year": 2025,
-   "value": 670117436.1645457,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "spending.bsp",
-   "year": 2026,
-   "value": 688135183.9490275,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "spending.bsp",
-   "year": 2027,
-   "value": 704494923.9662163,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "spending.bsp",
-   "year": 2028,
-   "value": 721459099.2289677,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "spending.bsp",
-   "year": 2029,
-   "value": 739126209.3696653,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "spending.bsp",
-   "year": 2030,
-   "value": 757301345.0579464,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "spending.bsp",
-   "year": 2031,
-   "value": 775768909.9039654,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "caseloads.bsp",
-   "year": 2025,
-   "value": 98107.17104572058,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "caseloads.bsp",
-   "year": 2026,
-   "value": 98479.98137193918,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "caseloads.bsp",
-   "year": 2027,
-   "value": 98844.35904490948,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "caseloads.bsp",
-   "year": 2028,
-   "value": 99239.73120433092,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "caseloads.bsp",
-   "year": 2029,
-   "value": 99676.38774478436,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "caseloads.bsp",
-   "year": 2030,
-   "value": 100124.9348872304,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "caseloads.bsp",
-   "year": 2031,
-   "value": 100555.47150915861,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bsp",
-   "label": "Bereavement Support Payment"
-  },
-  {
-   "metric_id": "spending.tax_free_childcare",
-   "year": 2025,
-   "value": 551460799.5583543,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "spending.tax_free_childcare",
-   "year": 2026,
-   "value": 556759454.765603,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "spending.tax_free_childcare",
-   "year": 2027,
-   "value": 566094705.6608063,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "spending.tax_free_childcare",
-   "year": 2028,
-   "value": 577814275.3520343,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "spending.tax_free_childcare",
-   "year": 2029,
-   "value": 546986429.725085,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "spending.tax_free_childcare",
-   "year": 2030,
-   "value": 566235601.269679,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "spending.tax_free_childcare",
-   "year": 2031,
-   "value": 577475011.8886111,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "caseloads.tax_free_childcare",
-   "year": 2025,
-   "value": 1011592.7329891622,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "caseloads.tax_free_childcare",
-   "year": 2026,
-   "value": 1021183.6429007053,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "caseloads.tax_free_childcare",
-   "year": 2027,
-   "value": 1020334.1701015085,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "caseloads.tax_free_childcare",
-   "year": 2028,
-   "value": 1023999.8023810685,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "caseloads.tax_free_childcare",
-   "year": 2029,
-   "value": 972793.2253160179,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "caseloads.tax_free_childcare",
-   "year": 2030,
-   "value": 980748.0028229207,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "caseloads.tax_free_childcare",
-   "year": 2031,
-   "value": 980979.6002974808,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "tax_free_childcare",
-   "label": "Tax-Free Childcare"
-  },
-  {
-   "metric_id": "spending.extended_childcare_entitlement",
-   "year": 2025,
-   "value": 2648748217.184513,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "spending.extended_childcare_entitlement",
-   "year": 2026,
-   "value": 3074999356.8385277,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "spending.extended_childcare_entitlement",
-   "year": 2027,
-   "value": 3151701029.7253556,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "spending.extended_childcare_entitlement",
-   "year": 2028,
-   "value": 3235525477.42588,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "spending.extended_childcare_entitlement",
-   "year": 2029,
-   "value": 3310370308.099014,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "spending.extended_childcare_entitlement",
-   "year": 2030,
-   "value": 3398248782.2036104,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "spending.extended_childcare_entitlement",
-   "year": 2031,
-   "value": 3482394959.2131405,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.extended_childcare_entitlement",
-   "year": 2025,
-   "value": 664320.1943173409,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.extended_childcare_entitlement",
-   "year": 2026,
-   "value": 669802.4551296234,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.extended_childcare_entitlement",
-   "year": 2027,
-   "value": 672223.7327985764,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.extended_childcare_entitlement",
-   "year": 2028,
-   "value": 673895.0757799149,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.extended_childcare_entitlement",
-   "year": 2029,
-   "value": 676376.3725852966,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.extended_childcare_entitlement",
-   "year": 2030,
-   "value": 681117.3323864937,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.extended_childcare_entitlement",
-   "year": 2031,
-   "value": 683408.1116919518,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "extended_childcare_entitlement",
-   "label": "Extended childcare entitlement"
-  },
-  {
-   "metric_id": "spending.universal_childcare_entitlement",
-   "year": 2025,
-   "value": 3266472521.328236,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "spending.universal_childcare_entitlement",
-   "year": 2026,
-   "value": 3388720332.016673,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "spending.universal_childcare_entitlement",
-   "year": 2027,
-   "value": 3479027407.998313,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "spending.universal_childcare_entitlement",
-   "year": 2028,
-   "value": 3565630277.573733,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "spending.universal_childcare_entitlement",
-   "year": 2029,
-   "value": 3653067234.422063,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "spending.universal_childcare_entitlement",
-   "year": 2030,
-   "value": 3757717185.8182206,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "spending.universal_childcare_entitlement",
-   "year": 2031,
-   "value": 3846294804.2724795,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.universal_childcare_entitlement",
-   "year": 2025,
-   "value": 985445.4297113419,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.universal_childcare_entitlement",
-   "year": 2026,
-   "value": 988718.9267745018,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.universal_childcare_entitlement",
-   "year": 2027,
-   "value": 992135.8684687614,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.universal_childcare_entitlement",
-   "year": 2028,
-   "value": 996884.7139797211,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.universal_childcare_entitlement",
-   "year": 2029,
-   "value": 1001194.633936882,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.universal_childcare_entitlement",
-   "year": 2030,
-   "value": 1010204.9373459816,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.universal_childcare_entitlement",
-   "year": 2031,
-   "value": 1013771.0637845993,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "universal_childcare_entitlement",
-   "label": "Universal childcare entitlement"
-  },
-  {
-   "metric_id": "spending.targeted_childcare_entitlement",
-   "year": 2025,
-   "value": 572024783.1285633,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "spending.targeted_childcare_entitlement",
-   "year": 2026,
-   "value": 593721428.6371526,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "spending.targeted_childcare_entitlement",
-   "year": 2027,
-   "value": 609623032.498304,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "spending.targeted_childcare_entitlement",
-   "year": 2028,
-   "value": 624301765.4036878,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "spending.targeted_childcare_entitlement",
-   "year": 2029,
-   "value": 639589086.6096659,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "spending.targeted_childcare_entitlement",
-   "year": 2030,
-   "value": 655315201.2710408,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "spending.targeted_childcare_entitlement",
-   "year": 2031,
-   "value": 664824494.3626773,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.targeted_childcare_entitlement",
-   "year": 2025,
-   "value": 119291.62903356552,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.targeted_childcare_entitlement",
-   "year": 2026,
-   "value": 119744.94127082825,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.targeted_childcare_entitlement",
-   "year": 2027,
-   "value": 120188.00064563751,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.targeted_childcare_entitlement",
-   "year": 2028,
-   "value": 120668.74804401398,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.targeted_childcare_entitlement",
-   "year": 2029,
-   "value": 121199.69331502914,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.targeted_childcare_entitlement",
-   "year": 2030,
-   "value": 121745.09483098984,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "caseloads.targeted_childcare_entitlement",
-   "year": 2031,
-   "value": 121100.23704528809,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "targeted_childcare_entitlement",
-   "label": "Targeted childcare entitlement"
-  },
-  {
-   "metric_id": "spending.care_to_learn",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "spending.care_to_learn",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "spending.care_to_learn",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "spending.care_to_learn",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "spending.care_to_learn",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "spending.care_to_learn",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "spending.care_to_learn",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "caseloads.care_to_learn",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "caseloads.care_to_learn",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "caseloads.care_to_learn",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "caseloads.care_to_learn",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "caseloads.care_to_learn",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "caseloads.care_to_learn",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "caseloads.care_to_learn",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "care_to_learn",
-   "label": "Care to Learn"
-  },
-  {
-   "metric_id": "spending.childcare_grant",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "spending.childcare_grant",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "spending.childcare_grant",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "spending.childcare_grant",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "spending.childcare_grant",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "spending.childcare_grant",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "spending.childcare_grant",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "caseloads.childcare_grant",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "caseloads.childcare_grant",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "caseloads.childcare_grant",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "caseloads.childcare_grant",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "caseloads.childcare_grant",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "caseloads.childcare_grant",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "caseloads.childcare_grant",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "childcare_grant",
-   "label": "Childcare Grant"
-  },
-  {
-   "metric_id": "spending.parents_learning_allowance",
-   "year": 2025,
-   "value": 199163916.0120163,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "spending.parents_learning_allowance",
-   "year": 2026,
-   "value": 199920745.4944954,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "spending.parents_learning_allowance",
-   "year": 2027,
-   "value": 200660457.07904816,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "spending.parents_learning_allowance",
-   "year": 2028,
-   "value": 201463089.27254868,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "spending.parents_learning_allowance",
-   "year": 2029,
-   "value": 202349531.5649414,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "spending.parents_learning_allowance",
-   "year": 2030,
-   "value": 203188174.47846603,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "spending.parents_learning_allowance",
-   "year": 2031,
-   "value": 204061882.82292938,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "caseloads.parents_learning_allowance",
-   "year": 2025,
-   "value": 98401.14427471161,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "caseloads.parents_learning_allowance",
-   "year": 2026,
-   "value": 98775.07188463211,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "caseloads.parents_learning_allowance",
-   "year": 2027,
-   "value": 99140.54203510284,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "caseloads.parents_learning_allowance",
-   "year": 2028,
-   "value": 99537.09944295883,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "caseloads.parents_learning_allowance",
-   "year": 2029,
-   "value": 99975.0650024414,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "caseloads.parents_learning_allowance",
-   "year": 2030,
-   "value": 100389.41426801682,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "caseloads.parents_learning_allowance",
-   "year": 2031,
-   "value": 100821.0883512497,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "parents_learning_allowance",
-   "label": "Parents' Learning Allowance"
-  },
-  {
-   "metric_id": "spending.adult_dependants_grant",
-   "year": 2025,
-   "value": 62362242.98413515,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "spending.adult_dependants_grant",
-   "year": 2026,
-   "value": 62599222.553822994,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "spending.adult_dependants_grant",
-   "year": 2027,
-   "value": 44187742.20506668,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "spending.adult_dependants_grant",
-   "year": 2028,
-   "value": 44364490.80733061,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "spending.adult_dependants_grant",
-   "year": 2029,
-   "value": 44559696.51651859,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "spending.adult_dependants_grant",
-   "year": 2030,
-   "value": 44760217.169840336,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "spending.adult_dependants_grant",
-   "year": 2031,
-   "value": 44952685.864076614,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "caseloads.adult_dependants_grant",
-   "year": 2025,
-   "value": 17591.605919361115,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "caseloads.adult_dependants_grant",
-   "year": 2026,
-   "value": 17658.454881191254,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "caseloads.adult_dependants_grant",
-   "year": 2027,
-   "value": 12464.807392120361,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "caseloads.adult_dependants_grant",
-   "year": 2028,
-   "value": 12514.665954113007,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "caseloads.adult_dependants_grant",
-   "year": 2029,
-   "value": 12569.73103427887,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "caseloads.adult_dependants_grant",
-   "year": 2030,
-   "value": 12626.29539346695,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "caseloads.adult_dependants_grant",
-   "year": 2031,
-   "value": 12680.588396072388,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "adult_dependants_grant",
-   "label": "Adult Dependants' Grant"
-  },
-  {
-   "metric_id": "spending.travel_grant",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "spending.travel_grant",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "spending.travel_grant",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "spending.travel_grant",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "spending.travel_grant",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "spending.travel_grant",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "spending.travel_grant",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "caseloads.travel_grant",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "caseloads.travel_grant",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "caseloads.travel_grant",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "caseloads.travel_grant",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "caseloads.travel_grant",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "caseloads.travel_grant",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "caseloads.travel_grant",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "travel_grant",
-   "label": "Travel Grant"
-  },
-  {
-   "metric_id": "spending.disabled_students_allowance",
-   "year": 2025,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "spending.disabled_students_allowance",
-   "year": 2026,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "spending.disabled_students_allowance",
-   "year": 2027,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "spending.disabled_students_allowance",
-   "year": 2028,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "spending.disabled_students_allowance",
-   "year": 2029,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "spending.disabled_students_allowance",
-   "year": 2030,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "spending.disabled_students_allowance",
-   "year": 2031,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "caseloads.disabled_students_allowance",
-   "year": 2025,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "caseloads.disabled_students_allowance",
-   "year": 2026,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "caseloads.disabled_students_allowance",
-   "year": 2027,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "caseloads.disabled_students_allowance",
-   "year": 2028,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "caseloads.disabled_students_allowance",
-   "year": 2029,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "caseloads.disabled_students_allowance",
-   "year": 2030,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "caseloads.disabled_students_allowance",
-   "year": 2031,
-   "value": null,
-   "suppressed": true,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disabled_students_allowance",
-   "label": "Disabled Students' Allowance"
-  },
-  {
-   "metric_id": "spending.bursary_fund_16_to_19",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "spending.bursary_fund_16_to_19",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "spending.bursary_fund_16_to_19",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "spending.bursary_fund_16_to_19",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "spending.bursary_fund_16_to_19",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "spending.bursary_fund_16_to_19",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "spending.bursary_fund_16_to_19",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "caseloads.bursary_fund_16_to_19",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "caseloads.bursary_fund_16_to_19",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "caseloads.bursary_fund_16_to_19",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "caseloads.bursary_fund_16_to_19",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "caseloads.bursary_fund_16_to_19",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "caseloads.bursary_fund_16_to_19",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "caseloads.bursary_fund_16_to_19",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "bursary_fund_16_to_19",
-   "label": "16 to 19 Bursary Fund"
-  },
-  {
-   "metric_id": "spending.nhs_spending",
-   "year": 2025,
-   "value": 204681602159.08142,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "nhs_spending",
-   "label": "NHS spending"
-  },
-  {
-   "metric_id": "spending.nhs_spending",
-   "year": 2026,
-   "value": 205459399297.22324,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "nhs_spending",
-   "label": "NHS spending"
-  },
-  {
-   "metric_id": "spending.nhs_spending",
-   "year": 2027,
-   "value": 206219602604.32385,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "nhs_spending",
-   "label": "NHS spending"
-  },
-  {
-   "metric_id": "spending.nhs_spending",
-   "year": 2028,
-   "value": 207044470471.60086,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "nhs_spending",
-   "label": "NHS spending"
-  },
-  {
-   "metric_id": "spending.nhs_spending",
-   "year": 2029,
-   "value": 207955469002.00323,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "nhs_spending",
-   "label": "NHS spending"
-  },
-  {
-   "metric_id": "spending.nhs_spending",
-   "year": 2030,
-   "value": 208891275075.5078,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "nhs_spending",
-   "label": "NHS spending"
-  },
-  {
-   "metric_id": "spending.nhs_spending",
-   "year": 2031,
-   "value": 209789506836.96567,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "nhs_spending",
-   "label": "NHS spending"
-  },
-  {
-   "metric_id": "spending.dfe_education_spending",
-   "year": 2025,
-   "value": 23991604.347275984,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dfe_education_spending",
-   "label": "State education spending"
-  },
-  {
-   "metric_id": "spending.dfe_education_spending",
-   "year": 2026,
-   "value": 24082773.488280036,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dfe_education_spending",
-   "label": "State education spending"
-  },
-  {
-   "metric_id": "spending.dfe_education_spending",
-   "year": 2027,
-   "value": 24171879.76151417,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dfe_education_spending",
-   "label": "State education spending"
-  },
-  {
-   "metric_id": "spending.dfe_education_spending",
-   "year": 2028,
-   "value": 24268565.8560597,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dfe_education_spending",
-   "label": "State education spending"
-  },
-  {
-   "metric_id": "spending.dfe_education_spending",
-   "year": 2029,
-   "value": 24375348.2293824,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dfe_education_spending",
-   "label": "State education spending"
-  },
-  {
-   "metric_id": "spending.dfe_education_spending",
-   "year": 2030,
-   "value": 24485037.725156102,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dfe_education_spending",
-   "label": "State education spending"
-  },
-  {
-   "metric_id": "spending.dfe_education_spending",
-   "year": 2031,
-   "value": 24590323.320610803,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dfe_education_spending",
-   "label": "State education spending"
-  },
-  {
-   "metric_id": "spending.dft_subsidy_spending",
-   "year": 2025,
-   "value": 25151126494.365833,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dft_subsidy_spending",
-   "label": "Transport subsidy spending"
-  },
-  {
-   "metric_id": "spending.dft_subsidy_spending",
-   "year": 2026,
-   "value": 25246701555.2342,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dft_subsidy_spending",
-   "label": "Transport subsidy spending"
-  },
-  {
-   "metric_id": "spending.dft_subsidy_spending",
-   "year": 2027,
-   "value": 25340114784.780163,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dft_subsidy_spending",
-   "label": "Transport subsidy spending"
-  },
-  {
-   "metric_id": "spending.dft_subsidy_spending",
-   "year": 2028,
-   "value": 25441473946.770885,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dft_subsidy_spending",
-   "label": "Transport subsidy spending"
-  },
-  {
-   "metric_id": "spending.dft_subsidy_spending",
-   "year": 2029,
-   "value": 25553416805.737003,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dft_subsidy_spending",
-   "label": "Transport subsidy spending"
-  },
-  {
-   "metric_id": "spending.dft_subsidy_spending",
-   "year": 2030,
-   "value": 25668407910.982876,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dft_subsidy_spending",
-   "label": "Transport subsidy spending"
-  },
-  {
-   "metric_id": "spending.dft_subsidy_spending",
-   "year": 2031,
-   "value": 25778782013.14279,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "dft_subsidy_spending",
-   "label": "Transport subsidy spending"
-  },
-  {
-   "metric_id": "spending.cost_of_living_support_payment",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "spending.cost_of_living_support_payment",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "spending.cost_of_living_support_payment",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "spending.cost_of_living_support_payment",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "spending.cost_of_living_support_payment",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "spending.cost_of_living_support_payment",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "spending.cost_of_living_support_payment",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "caseloads.cost_of_living_support_payment",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "caseloads.cost_of_living_support_payment",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "caseloads.cost_of_living_support_payment",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "caseloads.cost_of_living_support_payment",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "caseloads.cost_of_living_support_payment",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "caseloads.cost_of_living_support_payment",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "caseloads.cost_of_living_support_payment",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "cost_of_living_support_payment",
-   "label": "Cost-of-living support payment"
-  },
-  {
-   "metric_id": "spending.energy_bills_rebate",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "spending.energy_bills_rebate",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "spending.energy_bills_rebate",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "spending.energy_bills_rebate",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "spending.energy_bills_rebate",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "spending.energy_bills_rebate",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "spending.energy_bills_rebate",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "caseloads.energy_bills_rebate",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "caseloads.energy_bills_rebate",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "caseloads.energy_bills_rebate",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "caseloads.energy_bills_rebate",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "caseloads.energy_bills_rebate",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "caseloads.energy_bills_rebate",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "caseloads.energy_bills_rebate",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "energy_bills_rebate",
-   "label": "Energy Bills Rebate"
-  },
-  {
-   "metric_id": "spending.epg_subsidy",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "spending.epg_subsidy",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "spending.epg_subsidy",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "spending.epg_subsidy",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "spending.epg_subsidy",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "spending.epg_subsidy",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "spending.epg_subsidy",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "caseloads.epg_subsidy",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "caseloads.epg_subsidy",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "caseloads.epg_subsidy",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "caseloads.epg_subsidy",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "caseloads.epg_subsidy",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "caseloads.epg_subsidy",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "caseloads.epg_subsidy",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "epg_subsidy",
-   "label": "Energy Price Guarantee subsidy"
-  },
-  {
-   "metric_id": "spending.basic_income",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "spending.basic_income",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "spending.basic_income",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "spending.basic_income",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "spending.basic_income",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "spending.basic_income",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "spending.basic_income",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "caseloads.basic_income",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "caseloads.basic_income",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "caseloads.basic_income",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "caseloads.basic_income",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "caseloads.basic_income",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "caseloads.basic_income",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "caseloads.basic_income",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "basic_income",
-   "label": "Basic income"
-  },
-  {
-   "metric_id": "spending.disability_basic_income",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "spending.disability_basic_income",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "spending.disability_basic_income",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "spending.disability_basic_income",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "spending.disability_basic_income",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "spending.disability_basic_income",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "spending.disability_basic_income",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "caseloads.disability_basic_income",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "caseloads.disability_basic_income",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "caseloads.disability_basic_income",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "caseloads.disability_basic_income",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "caseloads.disability_basic_income",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "caseloads.disability_basic_income",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "caseloads.disability_basic_income",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "caseload",
-   "partition": "disability_basic_income",
-   "label": "Disability basic income"
-  },
-  {
-   "metric_id": "spending.other_public_spending_budget_change",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "other_public_spending_budget_change",
-   "label": "Other public spending budget change"
-  },
-  {
-   "metric_id": "spending.other_public_spending_budget_change",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "other_public_spending_budget_change",
-   "label": "Other public spending budget change"
-  },
-  {
-   "metric_id": "spending.other_public_spending_budget_change",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "other_public_spending_budget_change",
-   "label": "Other public spending budget change"
-  },
-  {
-   "metric_id": "spending.other_public_spending_budget_change",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "other_public_spending_budget_change",
-   "label": "Other public spending budget change"
-  },
-  {
-   "metric_id": "spending.other_public_spending_budget_change",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "other_public_spending_budget_change",
-   "label": "Other public spending budget change"
-  },
-  {
-   "metric_id": "spending.other_public_spending_budget_change",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "other_public_spending_budget_change",
-   "label": "Other public spending budget change"
-  },
-  {
-   "metric_id": "spending.other_public_spending_budget_change",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "spending",
-   "partition": "other_public_spending_budget_change",
-   "label": "Other public spending budget change"
-  },
-  {
-   "metric_id": "double_counts.corporate_sdlt",
-   "year": 2025,
-   "value": 3130000159.912464,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "double_count",
-   "partition": null,
-   "label": "corporate_sdlt, counted again inside expected_sdlt"
-  },
-  {
-   "metric_id": "double_counts.corporate_sdlt",
-   "year": 2026,
-   "value": 3130000023.6063724,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "double_count",
-   "partition": null,
-   "label": "corporate_sdlt, counted again inside expected_sdlt"
-  },
-  {
-   "metric_id": "double_counts.corporate_sdlt",
-   "year": 2027,
-   "value": 3129999836.909186,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "double_count",
-   "partition": null,
-   "label": "corporate_sdlt, counted again inside expected_sdlt"
-  },
-  {
-   "metric_id": "double_counts.corporate_sdlt",
-   "year": 2028,
-   "value": 3129999962.584343,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "double_count",
-   "partition": null,
-   "label": "corporate_sdlt, counted again inside expected_sdlt"
-  },
-  {
-   "metric_id": "double_counts.corporate_sdlt",
-   "year": 2029,
-   "value": 3129999544.0565424,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "double_count",
-   "partition": null,
-   "label": "corporate_sdlt, counted again inside expected_sdlt"
-  },
-  {
-   "metric_id": "double_counts.corporate_sdlt",
-   "year": 2030,
-   "value": 3129999895.007397,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "double_count",
-   "partition": null,
-   "label": "corporate_sdlt, counted again inside expected_sdlt"
-  },
-  {
-   "metric_id": "double_counts.corporate_sdlt",
-   "year": 2031,
-   "value": 3129999484.877694,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "double_count",
-   "partition": null,
-   "label": "corporate_sdlt, counted again inside expected_sdlt"
-  },
-  {
-   "metric_id": "model.gov_tax",
-   "year": 2025,
-   "value": 969745776128.1699,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_tax"
-  },
-  {
-   "metric_id": "model.gov_tax",
-   "year": 2026,
-   "value": 1011784948712.7561,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_tax"
-  },
-  {
-   "metric_id": "model.gov_tax",
-   "year": 2027,
-   "value": 1050610465294.2213,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_tax"
-  },
-  {
-   "metric_id": "model.gov_tax",
-   "year": 2028,
-   "value": 1085614034747.1652,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_tax"
-  },
-  {
-   "metric_id": "model.gov_tax",
-   "year": 2029,
-   "value": 1124265122009.6616,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_tax"
-  },
-  {
-   "metric_id": "model.gov_tax",
-   "year": 2030,
-   "value": 1163453498626.6191,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_tax"
-  },
-  {
-   "metric_id": "model.gov_tax",
-   "year": 2031,
-   "value": 1206982869582.7024,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_tax"
-  },
-  {
-   "metric_id": "model.household_tax",
-   "year": 2025,
-   "value": 503977430092.485,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_tax"
-  },
-  {
-   "metric_id": "model.household_tax",
-   "year": 2026,
-   "value": 531055850973.52136,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_tax"
-  },
-  {
-   "metric_id": "model.household_tax",
-   "year": 2027,
-   "value": 557277774892.158,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_tax"
-  },
-  {
-   "metric_id": "model.household_tax",
-   "year": 2028,
-   "value": 579764609886.5848,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_tax"
-  },
-  {
-   "metric_id": "model.household_tax",
-   "year": 2029,
-   "value": 603325541929.8473,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_tax"
-  },
-  {
-   "metric_id": "model.household_tax",
-   "year": 2030,
-   "value": 628508152120.9532,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_tax"
-  },
-  {
-   "metric_id": "model.household_tax",
-   "year": 2031,
-   "value": 656263699478.5581,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_tax"
-  },
-  {
-   "metric_id": "model.pre_budget_change_household_tax",
-   "year": 2025,
-   "value": 496150814427.7457,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "pre_budget_change_household_tax"
-  },
-  {
-   "metric_id": "model.pre_budget_change_household_tax",
-   "year": 2026,
-   "value": 522932377454.86273,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "pre_budget_change_household_tax"
-  },
-  {
-   "metric_id": "model.pre_budget_change_household_tax",
-   "year": 2027,
-   "value": 548928559890.4607,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "pre_budget_change_household_tax"
-  },
-  {
-   "metric_id": "model.pre_budget_change_household_tax",
-   "year": 2028,
-   "value": 570722062751.3651,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "pre_budget_change_household_tax"
-  },
-  {
-   "metric_id": "model.pre_budget_change_household_tax",
-   "year": 2029,
-   "value": 594044368863.5272,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "pre_budget_change_household_tax"
-  },
-  {
-   "metric_id": "model.pre_budget_change_household_tax",
-   "year": 2030,
-   "value": 618963456079.3445,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "pre_budget_change_household_tax"
-  },
-  {
-   "metric_id": "model.pre_budget_change_household_tax",
-   "year": 2031,
-   "value": 646366448427.6294,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "pre_budget_change_household_tax"
-  },
-  {
-   "metric_id": "model.gov_spending",
-   "year": 2025,
-   "value": 536882494246.02844,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_spending"
-  },
-  {
-   "metric_id": "model.gov_spending",
-   "year": 2026,
-   "value": 551017143116.2849,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_spending"
-  },
-  {
-   "metric_id": "model.gov_spending",
-   "year": 2027,
-   "value": 557190195649.4889,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_spending"
-  },
-  {
-   "metric_id": "model.gov_spending",
-   "year": 2028,
-   "value": 564067532600.854,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_spending"
-  },
-  {
-   "metric_id": "model.gov_spending",
-   "year": 2029,
-   "value": 572364658929.4899,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_spending"
-  },
-  {
-   "metric_id": "model.gov_spending",
-   "year": 2030,
-   "value": 577022180786.2144,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_spending"
-  },
-  {
-   "metric_id": "model.gov_spending",
-   "year": 2031,
-   "value": 586109747489.8334,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_spending"
-  },
-  {
-   "metric_id": "model.household_benefits",
-   "year": 2025,
-   "value": 536882494246.02844,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_benefits"
-  },
-  {
-   "metric_id": "model.household_benefits",
-   "year": 2026,
-   "value": 551017143116.2849,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_benefits"
-  },
-  {
-   "metric_id": "model.household_benefits",
-   "year": 2027,
-   "value": 557190195649.4889,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_benefits"
-  },
-  {
-   "metric_id": "model.household_benefits",
-   "year": 2028,
-   "value": 564067532600.854,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_benefits"
-  },
-  {
-   "metric_id": "model.household_benefits",
-   "year": 2029,
-   "value": 572364658929.4899,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_benefits"
-  },
-  {
-   "metric_id": "model.household_benefits",
-   "year": 2030,
-   "value": 577022180786.2144,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_benefits"
-  },
-  {
-   "metric_id": "model.household_benefits",
-   "year": 2031,
-   "value": 586109747489.8334,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "household_benefits"
-  },
-  {
-   "metric_id": "balance.receipts",
-   "year": 2025,
-   "value": 966615777128.9729,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government receipts, each component once"
-  },
-  {
-   "metric_id": "balance.receipts",
-   "year": 2026,
-   "value": 1008654948197.3245,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government receipts, each component once"
-  },
-  {
-   "metric_id": "balance.receipts",
-   "year": 2027,
-   "value": 1047480466355.038,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government receipts, each component once"
-  },
-  {
-   "metric_id": "balance.receipts",
-   "year": 2028,
-   "value": 1082484034898.3741,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government receipts, each component once"
-  },
-  {
-   "metric_id": "balance.receipts",
-   "year": 2029,
-   "value": 1121135120971.1062,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government receipts, each component once"
-  },
-  {
-   "metric_id": "balance.receipts",
-   "year": 2030,
-   "value": 1160323499762.114,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government receipts, each component once"
-  },
-  {
-   "metric_id": "balance.receipts",
-   "year": 2031,
-   "value": 1203852872416.6934,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government receipts, each component once"
-  },
-  {
-   "metric_id": "balance.spending",
-   "year": 2025,
-   "value": 536882494246.02844,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government spending"
-  },
-  {
-   "metric_id": "balance.spending",
-   "year": 2026,
-   "value": 551017143116.2849,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government spending"
-  },
-  {
-   "metric_id": "balance.spending",
-   "year": 2027,
-   "value": 557190195649.4889,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government spending"
-  },
-  {
-   "metric_id": "balance.spending",
-   "year": 2028,
-   "value": 564067532600.854,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government spending"
-  },
-  {
-   "metric_id": "balance.spending",
-   "year": 2029,
-   "value": 572364658929.4899,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government spending"
-  },
-  {
-   "metric_id": "balance.spending",
-   "year": 2030,
-   "value": 577022180786.2144,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government spending"
-  },
-  {
-   "metric_id": "balance.spending",
-   "year": 2031,
-   "value": 586109747489.8334,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government spending"
-  },
-  {
-   "metric_id": "balance.balance",
-   "year": 2025,
-   "value": 429733282882.94446,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government balance, each receipt once"
-  },
-  {
-   "metric_id": "balance.balance",
-   "year": 2026,
-   "value": 457637805081.0396,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government balance, each receipt once"
-  },
-  {
-   "metric_id": "balance.balance",
-   "year": 2027,
-   "value": 490290270705.5491,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government balance, each receipt once"
-  },
-  {
-   "metric_id": "balance.balance",
-   "year": 2028,
-   "value": 518416502297.52026,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government balance, each receipt once"
-  },
-  {
-   "metric_id": "balance.balance",
-   "year": 2029,
-   "value": 548770462041.61646,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government balance, each receipt once"
-  },
-  {
-   "metric_id": "balance.balance",
-   "year": 2030,
-   "value": 583301318975.8997,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government balance, each receipt once"
-  },
-  {
-   "metric_id": "balance.balance",
-   "year": 2031,
-   "value": 617743124926.8599,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Government balance, each receipt once"
-  },
-  {
-   "metric_id": "balance.household_only_benefits",
-   "year": 2025,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Benefits in household_benefits but not in gov_spending"
-  },
-  {
-   "metric_id": "balance.household_only_benefits",
-   "year": 2026,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Benefits in household_benefits but not in gov_spending"
-  },
-  {
-   "metric_id": "balance.household_only_benefits",
-   "year": 2027,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Benefits in household_benefits but not in gov_spending"
-  },
-  {
-   "metric_id": "balance.household_only_benefits",
-   "year": 2028,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Benefits in household_benefits but not in gov_spending"
-  },
-  {
-   "metric_id": "balance.household_only_benefits",
-   "year": 2029,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Benefits in household_benefits but not in gov_spending"
-  },
-  {
-   "metric_id": "balance.household_only_benefits",
-   "year": 2030,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Benefits in household_benefits but not in gov_spending"
-  },
-  {
-   "metric_id": "balance.household_only_benefits",
-   "year": 2031,
-   "value": 0.0,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "balance",
-   "partition": null,
-   "label": "Benefits in household_benefits but not in gov_spending"
-  },
-  {
-   "metric_id": "model.gov_balance",
-   "year": 2025,
-   "value": 432863283042.85693,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_balance"
-  },
-  {
-   "metric_id": "model.gov_balance",
-   "year": 2026,
-   "value": 460767805104.64594,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_balance"
-  },
-  {
-   "metric_id": "model.gov_balance",
-   "year": 2027,
-   "value": 493420270542.4583,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_balance"
-  },
-  {
-   "metric_id": "model.gov_balance",
-   "year": 2028,
-   "value": 521546502260.1046,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_balance"
-  },
-  {
-   "metric_id": "model.gov_balance",
-   "year": 2029,
-   "value": 551900461585.6729,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_balance"
-  },
-  {
-   "metric_id": "model.gov_balance",
-   "year": 2030,
-   "value": 586431318870.907,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_balance"
-  },
-  {
-   "metric_id": "model.gov_balance",
-   "year": 2031,
-   "value": 620873124411.7375,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": -1
-   },
-   "unit": "gbp",
-   "kind": "model_total",
-   "partition": null,
-   "label": "gov_balance"
-  },
-  {
-   "metric_id": "household.household_market_income",
-   "year": 2025,
-   "value": 1657055494245.5037,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household market income"
-  },
-  {
-   "metric_id": "household.household_market_income",
-   "year": 2026,
-   "value": 1719245701089.3281,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household market income"
-  },
-  {
-   "metric_id": "household.household_market_income",
-   "year": 2027,
-   "value": 1771683231648.2764,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household market income"
-  },
-  {
-   "metric_id": "household.household_market_income",
-   "year": 2028,
-   "value": 1821985672731.2063,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household market income"
-  },
-  {
-   "metric_id": "household.household_market_income",
-   "year": 2029,
-   "value": 1887412879505.8608,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household market income"
-  },
-  {
-   "metric_id": "household.household_market_income",
-   "year": 2030,
-   "value": 1945587770944.968,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household market income"
-  },
-  {
-   "metric_id": "household.household_market_income",
-   "year": 2031,
-   "value": 2017368706417.267,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household market income"
-  },
-  {
-   "metric_id": "household.household_net_income",
-   "year": 2025,
-   "value": 1650695092699.1787,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income"
-  },
-  {
-   "metric_id": "household.household_net_income",
-   "year": 2026,
-   "value": 1698452218971.148,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income"
-  },
-  {
-   "metric_id": "household.household_net_income",
-   "year": 2027,
-   "value": 1729708349505.7048,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income"
-  },
-  {
-   "metric_id": "household.household_net_income",
-   "year": 2028,
-   "value": 1763350595681.0042,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income"
-  },
-  {
-   "metric_id": "household.household_net_income",
-   "year": 2029,
-   "value": 1797840584674.6392,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income"
-  },
-  {
-   "metric_id": "household.household_net_income",
-   "year": 2030,
-   "value": 1834164055321.444,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income"
-  },
-  {
-   "metric_id": "household.household_net_income",
-   "year": 2031,
-   "value": 1884778958157.876,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income"
-  },
-  {
-   "metric_id": "household.hbai_household_net_income",
-   "year": 2025,
-   "value": 1468438454639.119,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income (HBAI definition)"
-  },
-  {
-   "metric_id": "household.hbai_household_net_income",
-   "year": 2026,
-   "value": 1515139365275.6355,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income (HBAI definition)"
-  },
-  {
-   "metric_id": "household.hbai_household_net_income",
-   "year": 2027,
-   "value": 1547358223256.206,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income (HBAI definition)"
-  },
-  {
-   "metric_id": "household.hbai_household_net_income",
-   "year": 2028,
-   "value": 1580410096999.486,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income (HBAI definition)"
-  },
-  {
-   "metric_id": "household.hbai_household_net_income",
-   "year": 2029,
-   "value": 1613429021347.468,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income (HBAI definition)"
-  },
-  {
-   "metric_id": "household.hbai_household_net_income",
-   "year": 2030,
-   "value": 1647838190515.2617,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income (HBAI definition)"
-  },
-  {
-   "metric_id": "household.hbai_household_net_income",
-   "year": 2031,
-   "value": 1697900004504.373,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "household_total",
-   "partition": null,
-   "label": "Household net income (HBAI definition)"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.all",
-   "year": 2025,
-   "value": 0.158961068989031,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.all",
-   "year": 2026,
-   "value": 0.149417048095037,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.all",
-   "year": 2027,
-   "value": 0.1551359605887892,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.all",
-   "year": 2028,
-   "value": 0.15590985583220196,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.all",
-   "year": 2029,
-   "value": 0.15717923007921353,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.all",
-   "year": 2030,
-   "value": 0.1610142002033216,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.all",
-   "year": 2031,
-   "value": 0.1599545027297433,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.all",
-   "year": 2025,
-   "value": 11050012.62085329,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.all",
-   "year": 2026,
-   "value": 10426039.302517518,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.all",
-   "year": 2027,
-   "value": 10865147.24560164,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.all",
-   "year": 2028,
-   "value": 10963024.831684813,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.all",
-   "year": 2029,
-   "value": 11100912.898740932,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.all",
-   "year": 2030,
-   "value": 11422934.10709335,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.all",
-   "year": 2031,
-   "value": 11396550.62013276,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.children",
-   "year": 2025,
-   "value": 0.2372510378251411,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.children",
-   "year": 2026,
-   "value": 0.20852661548421755,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.children",
-   "year": 2027,
-   "value": 0.21671681039197135,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.children",
-   "year": 2028,
-   "value": 0.21457714000706526,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.children",
-   "year": 2029,
-   "value": 0.21642597560772944,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.children",
-   "year": 2030,
-   "value": 0.2217104975392767,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.children",
-   "year": 2031,
-   "value": 0.22078118293404653,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.children",
-   "year": 2025,
-   "value": 3559375.146835327,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.children",
-   "year": 2026,
-   "value": 3140323.1707639247,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.children",
-   "year": 2027,
-   "value": 3275739.6749524027,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.children",
-   "year": 2028,
-   "value": 3256371.3432342857,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.children",
-   "year": 2029,
-   "value": 3298880.366600305,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.children",
-   "year": 2030,
-   "value": 3394637.414582446,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.children",
-   "year": 2031,
-   "value": 3394944.311651394,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.working_age_adults",
-   "year": 2025,
-   "value": 0.13767748825105397,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.working_age_adults",
-   "year": 2026,
-   "value": 0.13372106552488075,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.working_age_adults",
-   "year": 2027,
-   "value": 0.13989204520959575,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.working_age_adults",
-   "year": 2028,
-   "value": 0.14124164361087443,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.working_age_adults",
-   "year": 2029,
-   "value": 0.14248707378049913,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.working_age_adults",
-   "year": 2030,
-   "value": 0.14658630153368837,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.working_age_adults",
-   "year": 2031,
-   "value": 0.14525417694146392,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.working_age_adults",
-   "year": 2025,
-   "value": 5863952.6221417785,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.working_age_adults",
-   "year": 2026,
-   "value": 5736660.92677407,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.working_age_adults",
-   "year": 2027,
-   "value": 6072487.460049972,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.working_age_adults",
-   "year": 2028,
-   "value": 6178484.984416798,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.working_age_adults",
-   "year": 2029,
-   "value": 6260390.306578115,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.working_age_adults",
-   "year": 2030,
-   "value": 6469478.6622083485,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.working_age_adults",
-   "year": 2031,
-   "value": 6438252.252475888,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.pensioners",
-   "year": 2025,
-   "value": 0.13647330334302774,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.pensioners",
-   "year": 2026,
-   "value": 0.13107228723131284,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.pensioners",
-   "year": 2027,
-   "value": 0.13176164489560352,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.pensioners",
-   "year": 2028,
-   "value": 0.13408989504529978,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.pensioners",
-   "year": 2029,
-   "value": 0.13467956142673865,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.pensioners",
-   "year": 2030,
-   "value": 0.13556998964969896,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_bhc.pensioners",
-   "year": 2031,
-   "value": 0.13538234298373342,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.pensioners",
-   "year": 2025,
-   "value": 1626684.8518761843,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.pensioners",
-   "year": 2026,
-   "value": 1549055.204979524,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.pensioners",
-   "year": 2027,
-   "value": 1516920.1105992645,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.pensioners",
-   "year": 2028,
-   "value": 1528168.5040337294,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.pensioners",
-   "year": 2029,
-   "value": 1541642.2255625129,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.pensioners",
-   "year": 2030,
-   "value": 1558818.0303025544,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_bhc.pensioners",
-   "year": 2031,
-   "value": 1563354.056005478,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.all",
-   "year": 2025,
-   "value": 0.20913249144654364,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.all",
-   "year": 2026,
-   "value": 0.20368321654160576,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.all",
-   "year": 2027,
-   "value": 0.2099396779334123,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.all",
-   "year": 2028,
-   "value": 0.21265695145642433,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.all",
-   "year": 2029,
-   "value": 0.2154006487190125,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.all",
-   "year": 2030,
-   "value": 0.22356054596434546,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.all",
-   "year": 2031,
-   "value": 0.223770468364186,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.all",
-   "year": 2025,
-   "value": 14537626.631551296,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.all",
-   "year": 2026,
-   "value": 14212630.00441049,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.all",
-   "year": 2027,
-   "value": 14703396.329152241,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.all",
-   "year": 2028,
-   "value": 14953278.142699987,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.all",
-   "year": 2029,
-   "value": 15212848.660455883,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.all",
-   "year": 2030,
-   "value": 15860199.797730953,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.all",
-   "year": 2031,
-   "value": 15943355.307177946,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.children",
-   "year": 2025,
-   "value": 0.3176647822027365,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.children",
-   "year": 2026,
-   "value": 0.29976792277040976,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.children",
-   "year": 2027,
-   "value": 0.3075246154957757,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.children",
-   "year": 2028,
-   "value": 0.31040394928891696,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.children",
-   "year": 2029,
-   "value": 0.31404388184177656,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.children",
-   "year": 2030,
-   "value": 0.32925032071219956,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.children",
-   "year": 2031,
-   "value": 0.3295364201437651,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.children",
-   "year": 2025,
-   "value": 4765787.92304638,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.children",
-   "year": 2026,
-   "value": 4514378.90334405,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.children",
-   "year": 2027,
-   "value": 4648326.921118781,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.children",
-   "year": 2028,
-   "value": 4710616.076148167,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.children",
-   "year": 2029,
-   "value": 4786824.655172229,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.children",
-   "year": 2030,
-   "value": 5041193.222052559,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.children",
-   "year": 2031,
-   "value": 5067269.683862701,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.working_age_adults",
-   "year": 2025,
-   "value": 0.19431403398519395,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.working_age_adults",
-   "year": 2026,
-   "value": 0.19237286661348602,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.working_age_adults",
-   "year": 2027,
-   "value": 0.1997992793069061,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.working_age_adults",
-   "year": 2028,
-   "value": 0.20238185535311953,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.working_age_adults",
-   "year": 2029,
-   "value": 0.20530273277647584,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.working_age_adults",
-   "year": 2030,
-   "value": 0.2131128866367783,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.working_age_adults",
-   "year": 2031,
-   "value": 0.21322897588420822,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.working_age_adults",
-   "year": 2025,
-   "value": 8276213.515957296,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.working_age_adults",
-   "year": 2026,
-   "value": 8252835.130660608,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.working_age_adults",
-   "year": 2027,
-   "value": 8672963.61491029,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.working_age_adults",
-   "year": 2028,
-   "value": 8853006.963460386,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.working_age_adults",
-   "year": 2029,
-   "value": 9020293.589352593,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.working_age_adults",
-   "year": 2030,
-   "value": 9405580.591863185,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.working_age_adults",
-   "year": 2031,
-   "value": 9451170.101861268,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.pensioners",
-   "year": 2025,
-   "value": 0.12547784554248842,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.pensioners",
-   "year": 2026,
-   "value": 0.12230292156970884,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.pensioners",
-   "year": 2027,
-   "value": 0.12005149872375881,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.pensioners",
-   "year": 2028,
-   "value": 0.12193596873043704,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.pensioners",
-   "year": 2029,
-   "value": 0.12280615616424372,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.pensioners",
-   "year": 2030,
-   "value": 0.1229252820223357,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.absolute_ahc.pensioners",
-   "year": 2031,
-   "value": 0.12339393057336441,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.pensioners",
-   "year": 2025,
-   "value": 1495625.1925476193,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.pensioners",
-   "year": 2026,
-   "value": 1445415.970405832,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.pensioners",
-   "year": 2027,
-   "value": 1382105.7931231707,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.pensioners",
-   "year": 2028,
-   "value": 1389655.1030914336,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.pensioners",
-   "year": 2029,
-   "value": 1405730.415931061,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.pensioners",
-   "year": 2030,
-   "value": 1413425.983815208,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.absolute_ahc.pensioners",
-   "year": 2031,
-   "value": 1424915.5214539766,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Absolute poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.all",
-   "year": 2025,
-   "value": 0.16996315965340555,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.all",
-   "year": 2026,
-   "value": 0.1641757039106901,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.all",
-   "year": 2027,
-   "value": 0.1658306356282735,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.all",
-   "year": 2028,
-   "value": 0.16675706960047298,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.all",
-   "year": 2029,
-   "value": 0.16818506457390087,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.all",
-   "year": 2030,
-   "value": 0.16603686894151898,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.all",
-   "year": 2031,
-   "value": 0.16939429823668872,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.all",
-   "year": 2025,
-   "value": 11814811.457891181,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.all",
-   "year": 2026,
-   "value": 11455870.419837251,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.all",
-   "year": 2027,
-   "value": 11614162.616421178,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.all",
-   "year": 2028,
-   "value": 11725762.204902157,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.all",
-   "year": 2029,
-   "value": 11878209.046851024,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.all",
-   "year": 2030,
-   "value": 11779260.530264333,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.all",
-   "year": 2031,
-   "value": 12069123.79252024,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.children",
-   "year": 2025,
-   "value": 0.2576548985094404,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.children",
-   "year": 2026,
-   "value": 0.2349385317072657,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.children",
-   "year": 2027,
-   "value": 0.23473844147435505,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.children",
-   "year": 2028,
-   "value": 0.23360704801218143,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.children",
-   "year": 2029,
-   "value": 0.23495351453647773,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.children",
-   "year": 2030,
-   "value": 0.23174222961978033,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.children",
-   "year": 2031,
-   "value": 0.23914597293246234,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.children",
-   "year": 2025,
-   "value": 3865485.4816306233,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.children",
-   "year": 2026,
-   "value": 3538075.5262937695,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.children",
-   "year": 2027,
-   "value": 3548142.041142389,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.children",
-   "year": 2028,
-   "value": 3545164.6745751947,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.children",
-   "year": 2029,
-   "value": 3581287.015071422,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.children",
-   "year": 2030,
-   "value": 3548234.530783549,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.children",
-   "year": 2031,
-   "value": 3677339.0271395296,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.working_age_adults",
-   "year": 2025,
-   "value": 0.14512498963363443,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.working_age_adults",
-   "year": 2026,
-   "value": 0.14359366405754964,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.working_age_adults",
-   "year": 2027,
-   "value": 0.1475713897931732,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.working_age_adults",
-   "year": 2028,
-   "value": 0.1494918942688663,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.working_age_adults",
-   "year": 2029,
-   "value": 0.1516084128453753,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.working_age_adults",
-   "year": 2030,
-   "value": 0.1503840561165627,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.working_age_adults",
-   "year": 2031,
-   "value": 0.15254973464975796,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.working_age_adults",
-   "year": 2025,
-   "value": 6181156.224673748,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.working_age_adults",
-   "year": 2026,
-   "value": 6160197.413159236,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.working_age_adults",
-   "year": 2027,
-   "value": 6405835.3899862915,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.working_age_adults",
-   "year": 2028,
-   "value": 6539384.56406565,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.working_age_adults",
-   "year": 2029,
-   "value": 6661150.467831269,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.working_age_adults",
-   "year": 2030,
-   "value": 6637089.76898399,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.working_age_adults",
-   "year": 2031,
-   "value": 6761620.8594070375,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.pensioners",
-   "year": 2025,
-   "value": 0.14834340320557673,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.pensioners",
-   "year": 2026,
-   "value": 0.14871795468967855,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.pensioners",
-   "year": 2027,
-   "value": 0.14420583478126237,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.pensioners",
-   "year": 2028,
-   "value": 0.14400903683858882,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.pensioners",
-   "year": 2029,
-   "value": 0.14290280401894626,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.pensioners",
-   "year": 2030,
-   "value": 0.1386242101836538,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_bhc.pensioners",
-   "year": 2031,
-   "value": 0.14116789999709253,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.pensioners",
-   "year": 2025,
-   "value": 1768169.7515868098,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.pensioners",
-   "year": 2026,
-   "value": 1757597.4803842455,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.pensioners",
-   "year": 2027,
-   "value": 1660185.1852924973,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.pensioners",
-   "year": 2028,
-   "value": 1641212.9662613124,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.pensioners",
-   "year": 2029,
-   "value": 1635771.5639483333,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.pensioners",
-   "year": 2030,
-   "value": 1593936.230496794,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_bhc.pensioners",
-   "year": 2031,
-   "value": 1630163.9059736729,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, before housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.all",
-   "year": 2025,
-   "value": 0.21456512996755925,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.all",
-   "year": 2026,
-   "value": 0.2108568153025047,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.all",
-   "year": 2027,
-   "value": 0.21280995156860974,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.all",
-   "year": 2028,
-   "value": 0.2141820445617756,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.all",
-   "year": 2029,
-   "value": 0.2155949209344568,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.all",
-   "year": 2030,
-   "value": 0.21996997492343381,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.all",
-   "year": 2031,
-   "value": 0.2227237561956704,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.all",
-   "year": 2025,
-   "value": 14915270.822066262,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.all",
-   "year": 2026,
-   "value": 14713190.171909258,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.all",
-   "year": 2027,
-   "value": 14904419.64807345,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.all",
-   "year": 2028,
-   "value": 15060517.248883188,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.all",
-   "year": 2029,
-   "value": 15226569.296071708,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.all",
-   "year": 2030,
-   "value": 15605471.6038488,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.all",
-   "year": 2031,
-   "value": 15868778.424316749,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: everyone"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.children",
-   "year": 2025,
-   "value": 0.32573092950864546,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.children",
-   "year": 2026,
-   "value": 0.3129215499802995,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.children",
-   "year": 2027,
-   "value": 0.31080197766773193,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.children",
-   "year": 2028,
-   "value": 0.3112443481181635,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.children",
-   "year": 2029,
-   "value": 0.31435135617461696,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.children",
-   "year": 2030,
-   "value": 0.32341397660487087,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.children",
-   "year": 2031,
-   "value": 0.32841073439755847,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.children",
-   "year": 2025,
-   "value": 4886800.85733974,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.children",
-   "year": 2026,
-   "value": 4712466.999728724,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.children",
-   "year": 2027,
-   "value": 4697865.234627768,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.children",
-   "year": 2028,
-   "value": 4723369.767731324,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.children",
-   "year": 2029,
-   "value": 4791511.343251109,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.children",
-   "year": 2030,
-   "value": 4951832.22069715,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.children",
-   "year": 2031,
-   "value": 5049960.054618016,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: children"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.working_age_adults",
-   "year": 2025,
-   "value": 0.19817681755370278,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.working_age_adults",
-   "year": 2026,
-   "value": 0.19800752646020686,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.working_age_adults",
-   "year": 2027,
-   "value": 0.2018228258946827,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.working_age_adults",
-   "year": 2028,
-   "value": 0.20314734474442595,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.working_age_adults",
-   "year": 2029,
-   "value": 0.2054474903629614,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.working_age_adults",
-   "year": 2030,
-   "value": 0.21027795561183132,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.working_age_adults",
-   "year": 2031,
-   "value": 0.2126635701601802,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.working_age_adults",
-   "year": 2025,
-   "value": 8440736.998503834,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.working_age_adults",
-   "year": 2026,
-   "value": 8494563.18488653,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.working_age_adults",
-   "year": 2027,
-   "value": 8760802.499964043,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.working_age_adults",
-   "year": 2028,
-   "value": 8886492.58844325,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.working_age_adults",
-   "year": 2029,
-   "value": 9026653.738152012,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.working_age_adults",
-   "year": 2030,
-   "value": 9280462.995042503,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.working_age_adults",
-   "year": 2031,
-   "value": 9426109.034751624,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: working-age adults"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.pensioners",
-   "year": 2025,
-   "value": 0.133205373171771,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.pensioners",
-   "year": 2026,
-   "value": 0.12744273660248256,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.pensioners",
-   "year": 2027,
-   "value": 0.125579883146286,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.pensioners",
-   "year": 2028,
-   "value": 0.12728842519447406,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.pensioners",
-   "year": 2029,
-   "value": 0.12303974216451169,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.pensioners",
-   "year": 2030,
-   "value": 0.119424785385011,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty.relative_ahc.pensioners",
-   "year": 2031,
-   "value": 0.12060495966103543,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "rate",
-   "kind": "poverty",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.pensioners",
-   "year": 2025,
-   "value": 1587732.9662226886,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.pensioners",
-   "year": 2026,
-   "value": 1506159.9872940034,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.pensioners",
-   "year": 2027,
-   "value": 1445751.9134816378,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.pensioners",
-   "year": 2028,
-   "value": 1450654.8927086145,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.pensioners",
-   "year": 2029,
-   "value": 1408404.2146685869,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.pensioners",
-   "year": 2030,
-   "value": 1373176.3881091475,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "poverty_count.relative_ahc.pensioners",
-   "year": 2031,
-   "value": 1392709.3349471092,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "count",
-   "kind": "poverty_count",
-   "partition": null,
-   "label": "Relative poverty, after housing costs: pensioners"
-  },
-  {
-   "metric_id": "inequality.gini_equiv_hbai_bhc",
-   "year": 2025,
-   "value": 0.3077487914075191,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "index",
-   "kind": "inequality",
-   "partition": null,
-   "label": "Gini coefficient, equivalised HBAI income before housing costs"
-  },
-  {
-   "metric_id": "inequality.gini_equiv_hbai_bhc",
-   "year": 2026,
-   "value": 0.3054631654461407,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "index",
-   "kind": "inequality",
-   "partition": null,
-   "label": "Gini coefficient, equivalised HBAI income before housing costs"
-  },
-  {
-   "metric_id": "inequality.gini_equiv_hbai_bhc",
-   "year": 2027,
-   "value": 0.3069197698442653,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "index",
-   "kind": "inequality",
-   "partition": null,
-   "label": "Gini coefficient, equivalised HBAI income before housing costs"
-  },
-  {
-   "metric_id": "inequality.gini_equiv_hbai_bhc",
-   "year": 2028,
-   "value": 0.3077757166797609,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "index",
-   "kind": "inequality",
-   "partition": null,
-   "label": "Gini coefficient, equivalised HBAI income before housing costs"
-  },
-  {
-   "metric_id": "inequality.gini_equiv_hbai_bhc",
-   "year": 2029,
-   "value": 0.3082329014779346,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "index",
-   "kind": "inequality",
-   "partition": null,
-   "label": "Gini coefficient, equivalised HBAI income before housing costs"
-  },
-  {
-   "metric_id": "inequality.gini_equiv_hbai_bhc",
-   "year": 2030,
-   "value": 0.3099891970371004,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "index",
-   "kind": "inequality",
-   "partition": null,
-   "label": "Gini coefficient, equivalised HBAI income before housing costs"
-  },
-  {
-   "metric_id": "inequality.gini_equiv_hbai_bhc",
-   "year": 2031,
-   "value": 0.3110144570254967,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "index",
-   "kind": "inequality",
-   "partition": null,
-   "label": "Gini coefficient, equivalised HBAI income before housing costs"
-  },
-  {
-   "metric_id": "deciles.mean_income.1",
-   "year": 2025,
-   "value": 17676.754667048575,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 1: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.1",
-   "year": 2026,
-   "value": 17959.072766481713,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 1: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.1",
-   "year": 2027,
-   "value": 17890.694840247495,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 1: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.1",
-   "year": 2028,
-   "value": 17941.1511777277,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 1: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.1",
-   "year": 2029,
-   "value": 18267.238369432558,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 1: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.1",
-   "year": 2030,
-   "value": 18350.30992490091,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 1: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.1",
-   "year": 2031,
-   "value": 18550.46356681594,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 1: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.2",
-   "year": 2025,
-   "value": 28179.055803438234,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 2: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.2",
-   "year": 2026,
-   "value": 28837.04533117914,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 2: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.2",
-   "year": 2027,
-   "value": 28424.564554846565,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 2: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.2",
-   "year": 2028,
-   "value": 28883.45566735774,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 2: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.2",
-   "year": 2029,
-   "value": 29061.95653619478,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 2: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.2",
-   "year": 2030,
-   "value": 29759.483201387062,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 2: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.2",
-   "year": 2031,
-   "value": 30221.58748982937,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 2: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.3",
-   "year": 2025,
-   "value": 34530.61843120579,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 3: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.3",
-   "year": 2026,
-   "value": 35774.3120618477,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 3: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.3",
-   "year": 2027,
-   "value": 36424.80493358469,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 3: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.3",
-   "year": 2028,
-   "value": 36772.53572338885,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 3: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.3",
-   "year": 2029,
-   "value": 37156.5637359853,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 3: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.3",
-   "year": 2030,
-   "value": 36685.78880542181,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 3: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.3",
-   "year": 2031,
-   "value": 37377.12158903903,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 3: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.4",
-   "year": 2025,
-   "value": 38934.091210418585,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 4: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.4",
-   "year": 2026,
-   "value": 40539.44017480899,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 4: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.4",
-   "year": 2027,
-   "value": 41468.195696983545,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 4: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.4",
-   "year": 2028,
-   "value": 42373.92850208078,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 4: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.4",
-   "year": 2029,
-   "value": 42841.52793419517,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 4: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.4",
-   "year": 2030,
-   "value": 43336.4971038302,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 4: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.4",
-   "year": 2031,
-   "value": 44285.75677905547,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 4: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.5",
-   "year": 2025,
-   "value": 44653.353783363804,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 5: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.5",
-   "year": 2026,
-   "value": 46131.613207371694,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 5: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.5",
-   "year": 2027,
-   "value": 47073.502879079664,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 5: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.5",
-   "year": 2028,
-   "value": 47372.95055950299,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 5: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.5",
-   "year": 2029,
-   "value": 48085.54776182688,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 5: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.5",
-   "year": 2030,
-   "value": 48110.89818838793,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 5: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.5",
-   "year": 2031,
-   "value": 48857.4314782977,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 5: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.6",
-   "year": 2025,
-   "value": 48283.828312490165,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 6: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.6",
-   "year": 2026,
-   "value": 49405.72352548862,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 6: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.6",
-   "year": 2027,
-   "value": 50162.973103580414,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 6: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.6",
-   "year": 2028,
-   "value": 51093.240160099325,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 6: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.6",
-   "year": 2029,
-   "value": 52375.72388322683,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 6: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.6",
-   "year": 2030,
-   "value": 53906.52504776521,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 6: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.6",
-   "year": 2031,
-   "value": 55326.758982061125,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 6: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.7",
-   "year": 2025,
-   "value": 54559.719261696424,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 7: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.7",
-   "year": 2026,
-   "value": 55738.7030110715,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 7: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.7",
-   "year": 2027,
-   "value": 56769.742467299,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 7: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.7",
-   "year": 2028,
-   "value": 57552.98337993226,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 7: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.7",
-   "year": 2029,
-   "value": 58018.55725963795,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 7: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.7",
-   "year": 2030,
-   "value": 59147.87210110048,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 7: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.7",
-   "year": 2031,
-   "value": 60637.60697260916,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 7: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.8",
-   "year": 2025,
-   "value": 69236.41966938555,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 8: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.8",
-   "year": 2026,
-   "value": 70232.37813773785,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 8: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.8",
-   "year": 2027,
-   "value": 71531.33103123217,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 8: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.8",
-   "year": 2028,
-   "value": 72791.02280987396,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 8: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.8",
-   "year": 2029,
-   "value": 74106.60242542511,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 8: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.8",
-   "year": 2030,
-   "value": 75628.31856190029,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 8: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.8",
-   "year": 2031,
-   "value": 77611.71088167054,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 8: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.9",
-   "year": 2025,
-   "value": 79276.26633204655,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 9: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.9",
-   "year": 2026,
-   "value": 81581.90782711905,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 9: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.9",
-   "year": 2027,
-   "value": 83106.87038322185,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 9: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.9",
-   "year": 2028,
-   "value": 84575.49840158923,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 9: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.9",
-   "year": 2029,
-   "value": 85864.95896332423,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 9: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.9",
-   "year": 2030,
-   "value": 87649.69567899546,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 9: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.9",
-   "year": 2031,
-   "value": 90654.08333059541,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 9: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.10",
-   "year": 2025,
-   "value": 118030.04118236576,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 10: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.10",
-   "year": 2026,
-   "value": 120826.03138084599,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 10: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.10",
-   "year": 2027,
-   "value": 122592.51237304772,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 10: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.10",
-   "year": 2028,
-   "value": 124339.6078872293,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 10: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.10",
-   "year": 2029,
-   "value": 126219.29213328264,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 10: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.10",
-   "year": 2030,
-   "value": 128486.66905357645,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 10: mean household_net_income per household"
-  },
-  {
-   "metric_id": "deciles.mean_income.10",
-   "year": 2031,
-   "value": 131631.3290311054,
-   "suppressed": false,
-   "excludes": [
-    "spending.disabled_students_allowance"
-   ],
-   "exclude_signs": {
-    "spending.disabled_students_allowance": 1
-   },
-   "unit": "gbp_household",
-   "kind": "decile",
-   "partition": null,
-   "label": "Decile 10: mean household_net_income per household"
-  },
-  {
-   "metric_id": "reforms.basic_rate_plus_1pp",
-   "year": 2025,
-   "value": 6222687308.254578,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise basic rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.basic_rate_plus_1pp",
-   "year": 2026,
-   "value": 6508759614.741272,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise basic rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.basic_rate_plus_1pp",
-   "year": 2027,
-   "value": 6714986157.079834,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise basic rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.basic_rate_plus_1pp",
-   "year": 2028,
-   "value": 6913272334.154663,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise basic rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.basic_rate_plus_1pp",
-   "year": 2029,
-   "value": 7118288039.173706,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise basic rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.basic_rate_plus_1pp",
-   "year": 2030,
-   "value": 7356266082.489136,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise basic rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.basic_rate_plus_1pp",
-   "year": 2031,
-   "value": 7633159472.480713,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise basic rate by 1pp"
-  },
-  {
-   "metric_id": "reform_targets.basic_rate_plus_1pp",
-   "year": 2025,
-   "value": 6366582048.682007,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise basic rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.basic_rate_plus_1pp",
-   "year": 2026,
-   "value": 6660786957.415405,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise basic rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.basic_rate_plus_1pp",
-   "year": 2027,
-   "value": 6876392706.334412,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise basic rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.basic_rate_plus_1pp",
-   "year": 2028,
-   "value": 7081815371.239807,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise basic rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.basic_rate_plus_1pp",
-   "year": 2029,
-   "value": 7290951197.121887,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise basic rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.basic_rate_plus_1pp",
-   "year": 2030,
-   "value": 7531692335.065491,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise basic rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.basic_rate_plus_1pp",
-   "year": 2031,
-   "value": 7809724834.753845,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise basic rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reforms.higher_rate_plus_1pp",
-   "year": 2025,
-   "value": 3548582094.3916626,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise higher rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.higher_rate_plus_1pp",
-   "year": 2026,
-   "value": 3840615655.607727,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise higher rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.higher_rate_plus_1pp",
-   "year": 2027,
-   "value": 4076238853.5632935,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise higher rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.higher_rate_plus_1pp",
-   "year": 2028,
-   "value": 4299497163.4904785,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise higher rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.higher_rate_plus_1pp",
-   "year": 2029,
-   "value": 4571859488.912842,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise higher rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.higher_rate_plus_1pp",
-   "year": 2030,
-   "value": 4855874568.11499,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise higher rate by 1pp"
-  },
-  {
-   "metric_id": "reforms.higher_rate_plus_1pp",
-   "year": 2031,
-   "value": 5076062695.494751,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise higher rate by 1pp"
-  },
-  {
-   "metric_id": "reform_targets.higher_rate_plus_1pp",
-   "year": 2025,
-   "value": 3554390535.588806,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise higher rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.higher_rate_plus_1pp",
-   "year": 2026,
-   "value": 3848232118.605835,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise higher rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.higher_rate_plus_1pp",
-   "year": 2027,
-   "value": 4084949832.10614,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise higher rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.higher_rate_plus_1pp",
-   "year": 2028,
-   "value": 4309251584.078491,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise higher rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.higher_rate_plus_1pp",
-   "year": 2029,
-   "value": 4582787139.6779785,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise higher rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.higher_rate_plus_1pp",
-   "year": 2030,
-   "value": 4868223711.304871,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise higher rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.higher_rate_plus_1pp",
-   "year": 2031,
-   "value": 5089139733.0060425,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise higher rate by 1pp: change in income_tax"
-  },
-  {
-   "metric_id": "reforms.personal_allowance_13000",
-   "year": 2025,
-   "value": -3822246893.5978394,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year"
-  },
-  {
-   "metric_id": "reforms.personal_allowance_13000",
-   "year": 2026,
-   "value": -3970099818.8598022,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year"
-  },
-  {
-   "metric_id": "reforms.personal_allowance_13000",
-   "year": 2027,
-   "value": -4052308604.757263,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year"
-  },
-  {
-   "metric_id": "reforms.personal_allowance_13000",
-   "year": 2028,
-   "value": -4101725729.7006836,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year"
-  },
-  {
-   "metric_id": "reforms.personal_allowance_13000",
-   "year": 2029,
-   "value": -4183390396.729248,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year"
-  },
-  {
-   "metric_id": "reforms.personal_allowance_13000",
-   "year": 2030,
-   "value": -4290067047.536621,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year"
-  },
-  {
-   "metric_id": "reforms.personal_allowance_13000",
-   "year": 2031,
-   "value": -2026458045.3624268,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year"
-  },
-  {
-   "metric_id": "reform_targets.personal_allowance_13000",
-   "year": 2025,
-   "value": -3954063036.4473877,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.personal_allowance_13000",
-   "year": 2026,
-   "value": -4117335693.9852905,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.personal_allowance_13000",
-   "year": 2027,
-   "value": -4209427536.251709,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.personal_allowance_13000",
-   "year": 2028,
-   "value": -4261098604.1522827,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.personal_allowance_13000",
-   "year": 2029,
-   "value": -4343355439.515015,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.personal_allowance_13000",
-   "year": 2030,
-   "value": -4452755767.392151,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.personal_allowance_13000",
-   "year": 2031,
-   "value": -1780300034.5704956,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise personal allowance by ~800GBP/year: change in income_tax"
-  },
-  {
-   "metric_id": "reforms.child_benefit_additional_25",
-   "year": 2025,
-   "value": -1978301080.5203857,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child"
-  },
-  {
-   "metric_id": "reforms.child_benefit_additional_25",
-   "year": 2026,
-   "value": -1746066703.213379,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child"
-  },
-  {
-   "metric_id": "reforms.child_benefit_additional_25",
-   "year": 2027,
-   "value": -1629668073.130188,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child"
-  },
-  {
-   "metric_id": "reforms.child_benefit_additional_25",
-   "year": 2028,
-   "value": -1530858259.5943604,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child"
-  },
-  {
-   "metric_id": "reforms.child_benefit_additional_25",
-   "year": 2029,
-   "value": -1428323970.4534912,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child"
-  },
-  {
-   "metric_id": "reforms.child_benefit_additional_25",
-   "year": 2030,
-   "value": -1325576053.7683105,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child"
-  },
-  {
-   "metric_id": "reforms.child_benefit_additional_25",
-   "year": 2031,
-   "value": -1219354845.269043,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child"
-  },
-  {
-   "metric_id": "reform_targets.child_benefit_additional_25",
-   "year": 2025,
-   "value": 2330588637.038988,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child: change in child_benefit"
-  },
-  {
-   "metric_id": "reform_targets.child_benefit_additional_25",
-   "year": 2026,
-   "value": 2141486725.888443,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child: change in child_benefit"
-  },
-  {
-   "metric_id": "reform_targets.child_benefit_additional_25",
-   "year": 2027,
-   "value": 2023775956.2239304,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child: change in child_benefit"
-  },
-  {
-   "metric_id": "reform_targets.child_benefit_additional_25",
-   "year": 2028,
-   "value": 1920161279.352703,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child: change in child_benefit"
-  },
-  {
-   "metric_id": "reform_targets.child_benefit_additional_25",
-   "year": 2029,
-   "value": 1813779891.1509056,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child: change in child_benefit"
-  },
-  {
-   "metric_id": "reform_targets.child_benefit_additional_25",
-   "year": 2030,
-   "value": 1704712527.6125221,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child: change in child_benefit"
-  },
-  {
-   "metric_id": "reform_targets.child_benefit_additional_25",
-   "year": 2031,
-   "value": 1591189257.2969856,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise child benefit by 25GBP/week per additional child: change in child_benefit"
-  },
-  {
-   "metric_id": "reforms.uc_taper_20pc",
-   "year": 2025,
-   "value": -20527842919.80768,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%"
-  },
-  {
-   "metric_id": "reforms.uc_taper_20pc",
-   "year": 2026,
-   "value": -21100518260.464355,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%"
-  },
-  {
-   "metric_id": "reforms.uc_taper_20pc",
-   "year": 2027,
-   "value": -21383710367.08246,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%"
-  },
-  {
-   "metric_id": "reforms.uc_taper_20pc",
-   "year": 2028,
-   "value": -21736411484.46698,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%"
-  },
-  {
-   "metric_id": "reforms.uc_taper_20pc",
-   "year": 2029,
-   "value": -21748894837.86438,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%"
-  },
-  {
-   "metric_id": "reforms.uc_taper_20pc",
-   "year": 2030,
-   "value": -21876938936.24524,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%"
-  },
-  {
-   "metric_id": "reforms.uc_taper_20pc",
-   "year": 2031,
-   "value": -22330952654.634155,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%"
-  },
-  {
-   "metric_id": "reform_targets.uc_taper_20pc",
-   "year": 2025,
-   "value": 20519585447.911682,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_taper_20pc",
-   "year": 2026,
-   "value": 21090575767.801956,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_taper_20pc",
-   "year": 2027,
-   "value": 21373214076.36197,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_taper_20pc",
-   "year": 2028,
-   "value": 21725838011.858963,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_taper_20pc",
-   "year": 2029,
-   "value": 21742175658.693848,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_taper_20pc",
-   "year": 2030,
-   "value": 21868780192.75914,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_taper_20pc",
-   "year": 2031,
-   "value": 22322933920.91278,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Reduce Universal Credit taper rate to 20%: change in universal_credit"
-  },
-  {
-   "metric_id": "reforms.employee_nics_main_10pc",
-   "year": 2025,
-   "value": 11064401706.310059,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%"
-  },
-  {
-   "metric_id": "reforms.employee_nics_main_10pc",
-   "year": 2026,
-   "value": 11510324242.230225,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%"
-  },
-  {
-   "metric_id": "reforms.employee_nics_main_10pc",
-   "year": 2027,
-   "value": 11834108533.458801,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%"
-  },
-  {
-   "metric_id": "reforms.employee_nics_main_10pc",
-   "year": 2028,
-   "value": 12138956950.555908,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%"
-  },
-  {
-   "metric_id": "reforms.employee_nics_main_10pc",
-   "year": 2029,
-   "value": 12464179087.056396,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%"
-  },
-  {
-   "metric_id": "reforms.employee_nics_main_10pc",
-   "year": 2030,
-   "value": 12812306848.333618,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%"
-  },
-  {
-   "metric_id": "reforms.employee_nics_main_10pc",
-   "year": 2031,
-   "value": 13289675311.854004,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%"
-  },
-  {
-   "metric_id": "reform_targets.employee_nics_main_10pc",
-   "year": 2025,
-   "value": 11329957618.034607,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%: change in national_insurance"
-  },
-  {
-   "metric_id": "reform_targets.employee_nics_main_10pc",
-   "year": 2026,
-   "value": 11791691034.516708,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%: change in national_insurance"
-  },
-  {
-   "metric_id": "reform_targets.employee_nics_main_10pc",
-   "year": 2027,
-   "value": 12126516761.37503,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%: change in national_insurance"
-  },
-  {
-   "metric_id": "reform_targets.employee_nics_main_10pc",
-   "year": 2028,
-   "value": 12442433003.455788,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%: change in national_insurance"
-  },
-  {
-   "metric_id": "reform_targets.employee_nics_main_10pc",
-   "year": 2029,
-   "value": 12770326792.025597,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%: change in national_insurance"
-  },
-  {
-   "metric_id": "reform_targets.employee_nics_main_10pc",
-   "year": 2030,
-   "value": 13120133297.630943,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%: change in national_insurance"
-  },
-  {
-   "metric_id": "reform_targets.employee_nics_main_10pc",
-   "year": 2031,
-   "value": 13607405556.501923,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise Class 1 main employee NICs rate to 10%: change in national_insurance"
-  },
-  {
-   "metric_id": "reforms.vat_standard_plus_2pp",
-   "year": 2025,
-   "value": 30863021596.225952,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp"
-  },
-  {
-   "metric_id": "reforms.vat_standard_plus_2pp",
-   "year": 2026,
-   "value": 31692844228.266296,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp"
-  },
-  {
-   "metric_id": "reforms.vat_standard_plus_2pp",
-   "year": 2027,
-   "value": 32446311527.309143,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp"
-  },
-  {
-   "metric_id": "reforms.vat_standard_plus_2pp",
-   "year": 2028,
-   "value": 33227617036.870483,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp"
-  },
-  {
-   "metric_id": "reforms.vat_standard_plus_2pp",
-   "year": 2029,
-   "value": 34041293064.6344,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp"
-  },
-  {
-   "metric_id": "reforms.vat_standard_plus_2pp",
-   "year": 2030,
-   "value": 34878374451.18152,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp"
-  },
-  {
-   "metric_id": "reforms.vat_standard_plus_2pp",
-   "year": 2031,
-   "value": 35728921387.40991,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp"
-  },
-  {
-   "metric_id": "reform_targets.vat_standard_plus_2pp",
-   "year": 2025,
-   "value": 30863018576.160828,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp: change in vat"
-  },
-  {
-   "metric_id": "reform_targets.vat_standard_plus_2pp",
-   "year": 2026,
-   "value": 31692847105.070984,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp: change in vat"
-  },
-  {
-   "metric_id": "reform_targets.vat_standard_plus_2pp",
-   "year": 2027,
-   "value": 32446312252.777954,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp: change in vat"
-  },
-  {
-   "metric_id": "reform_targets.vat_standard_plus_2pp",
-   "year": 2028,
-   "value": 33227616036.71393,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp: change in vat"
-  },
-  {
-   "metric_id": "reform_targets.vat_standard_plus_2pp",
-   "year": 2029,
-   "value": 34041297530.920654,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp: change in vat"
-  },
-  {
-   "metric_id": "reform_targets.vat_standard_plus_2pp",
-   "year": 2030,
-   "value": 34878372560.67273,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp: change in vat"
-  },
-  {
-   "metric_id": "reform_targets.vat_standard_plus_2pp",
-   "year": 2031,
-   "value": 35728918405.68787,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise VAT standard rate by 2pp: change in vat"
-  },
-  {
-   "metric_id": "reforms.additional_rate_plus_3pp",
-   "year": 2025,
-   "value": 2798505716.117798,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise additional rate by 3pp"
-  },
-  {
-   "metric_id": "reforms.additional_rate_plus_3pp",
-   "year": 2026,
-   "value": 3023336469.8702393,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise additional rate by 3pp"
-  },
-  {
-   "metric_id": "reforms.additional_rate_plus_3pp",
-   "year": 2027,
-   "value": 3213071953.8966064,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise additional rate by 3pp"
-  },
-  {
-   "metric_id": "reforms.additional_rate_plus_3pp",
-   "year": 2028,
-   "value": 3394779601.3947754,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise additional rate by 3pp"
-  },
-  {
-   "metric_id": "reforms.additional_rate_plus_3pp",
-   "year": 2029,
-   "value": 3594508773.6256104,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise additional rate by 3pp"
-  },
-  {
-   "metric_id": "reforms.additional_rate_plus_3pp",
-   "year": 2030,
-   "value": 3822543323.427368,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise additional rate by 3pp"
-  },
-  {
-   "metric_id": "reforms.additional_rate_plus_3pp",
-   "year": 2031,
-   "value": 4125743282.83667,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise additional rate by 3pp"
-  },
-  {
-   "metric_id": "reform_targets.additional_rate_plus_3pp",
-   "year": 2025,
-   "value": 2798504994.492798,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise additional rate by 3pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.additional_rate_plus_3pp",
-   "year": 2026,
-   "value": 3023336460.849365,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise additional rate by 3pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.additional_rate_plus_3pp",
-   "year": 2027,
-   "value": 3213071862.152466,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise additional rate by 3pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.additional_rate_plus_3pp",
-   "year": 2028,
-   "value": 3394780483.9908447,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise additional rate by 3pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.additional_rate_plus_3pp",
-   "year": 2029,
-   "value": 3594509097.7042236,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise additional rate by 3pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.additional_rate_plus_3pp",
-   "year": 2030,
-   "value": 3822542242.9839478,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise additional rate by 3pp: change in income_tax"
-  },
-  {
-   "metric_id": "reform_targets.additional_rate_plus_3pp",
-   "year": 2031,
-   "value": 4125743186.885071,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise additional rate by 3pp: change in income_tax"
-  },
-  {
-   "metric_id": "reforms.uc_standard_allowance_plus_10pc",
-   "year": 2025,
-   "value": -3038583641.996826,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%"
-  },
-  {
-   "metric_id": "reforms.uc_standard_allowance_plus_10pc",
-   "year": 2026,
-   "value": -3168138984.6657715,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%"
-  },
-  {
-   "metric_id": "reforms.uc_standard_allowance_plus_10pc",
-   "year": 2027,
-   "value": -3225527730.8588867,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%"
-  },
-  {
-   "metric_id": "reforms.uc_standard_allowance_plus_10pc",
-   "year": 2028,
-   "value": -3282105874.806885,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%"
-  },
-  {
-   "metric_id": "reforms.uc_standard_allowance_plus_10pc",
-   "year": 2029,
-   "value": -3307346412.4144287,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%"
-  },
-  {
-   "metric_id": "reforms.uc_standard_allowance_plus_10pc",
-   "year": 2030,
-   "value": -3331520951.5113525,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%"
-  },
-  {
-   "metric_id": "reforms.uc_standard_allowance_plus_10pc",
-   "year": 2031,
-   "value": -3373553161.4073486,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%"
-  },
-  {
-   "metric_id": "reform_targets.uc_standard_allowance_plus_10pc",
-   "year": 2025,
-   "value": 3041523709.2714844,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_standard_allowance_plus_10pc",
-   "year": 2026,
-   "value": 3171636381.1340485,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_standard_allowance_plus_10pc",
-   "year": 2027,
-   "value": 3226364754.786072,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_standard_allowance_plus_10pc",
-   "year": 2028,
-   "value": 3282674243.09433,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_standard_allowance_plus_10pc",
-   "year": 2029,
-   "value": 3312220329.68396,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_standard_allowance_plus_10pc",
-   "year": 2030,
-   "value": 3337058613.859558,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%: change in universal_credit"
-  },
-  {
-   "metric_id": "reform_targets.uc_standard_allowance_plus_10pc",
-   "year": 2031,
-   "value": 3377518834.7556,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the Universal Credit standard allowance by 10%: change in universal_credit"
-  },
-  {
-   "metric_id": "reforms.state_pension_plus_10pc",
-   "year": 2025,
-   "value": -8927432756.88562,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the State Pension by 10%"
-  },
-  {
-   "metric_id": "reforms.state_pension_plus_10pc",
-   "year": 2026,
-   "value": -9142939686.93689,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the State Pension by 10%"
-  },
-  {
-   "metric_id": "reforms.state_pension_plus_10pc",
-   "year": 2027,
-   "value": -9062725924.750671,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the State Pension by 10%"
-  },
-  {
-   "metric_id": "reforms.state_pension_plus_10pc",
-   "year": 2028,
-   "value": -9114943836.081665,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the State Pension by 10%"
-  },
-  {
-   "metric_id": "reforms.state_pension_plus_10pc",
-   "year": 2029,
-   "value": -9306907164.58667,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the State Pension by 10%"
-  },
-  {
-   "metric_id": "reforms.state_pension_plus_10pc",
-   "year": 2030,
-   "value": -9548783655.451294,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the State Pension by 10%"
-  },
-  {
-   "metric_id": "reforms.state_pension_plus_10pc",
-   "year": 2031,
-   "value": -9816145928.907349,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform",
-   "partition": null,
-   "label": "Raise the State Pension by 10%"
-  },
-  {
-   "metric_id": "reform_targets.state_pension_plus_10pc",
-   "year": 2025,
-   "value": 12250304093.31047,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the State Pension by 10%: change in state_pension"
-  },
-  {
-   "metric_id": "reform_targets.state_pension_plus_10pc",
-   "year": 2026,
-   "value": 12711504064.702667,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the State Pension by 10%: change in state_pension"
-  },
-  {
-   "metric_id": "reform_targets.state_pension_plus_10pc",
-   "year": 2027,
-   "value": 12828062954.26825,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the State Pension by 10%: change in state_pension"
-  },
-  {
-   "metric_id": "reform_targets.state_pension_plus_10pc",
-   "year": 2028,
-   "value": 13020927023.28334,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the State Pension by 10%: change in state_pension"
-  },
-  {
-   "metric_id": "reform_targets.state_pension_plus_10pc",
-   "year": 2029,
-   "value": 13405169512.460327,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the State Pension by 10%: change in state_pension"
-  },
-  {
-   "metric_id": "reform_targets.state_pension_plus_10pc",
-   "year": 2030,
-   "value": 13802157356.131042,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the State Pension by 10%: change in state_pension"
-  },
-  {
-   "metric_id": "reform_targets.state_pension_plus_10pc",
-   "year": 2031,
-   "value": 14208043135.872528,
-   "suppressed": false,
-   "excludes": [],
-   "exclude_signs": {},
-   "unit": "gbp",
-   "kind": "reform_target",
-   "partition": null,
-   "label": "Raise the State Pension by 10%: change in state_pension"
-  }
- ],
- "identities": [
-  {
-   "identity_id": "closure",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "weights:person",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "weights:benunit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "weights:household",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:income_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:income_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:income_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:nics_individual",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:nics_individual",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:nics_individual",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:nics_employer",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:nics_employer",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:nics_employer",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:employer_nics_response_capital",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:employer_nics_response_consumer",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:capital_gains_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:capital_gains_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:capital_gains_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:student_loan_repayments",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:student_loan_repayments",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:student_loan_repayments",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:vat",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:vat",
-   "year": null,
-   "status": "fail",
-   "severity": "fail",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: 76 units below zero, a weighted \u00a3-67,632,237 in total; 2026-27: 76 units below zero, a weighted \u00a3-69,450,693 in total; 2027-28: 76 units below zero, a weighted \u00a3-71,101,816 in total; 2028-29: 76 units below zero, a weighted \u00a3-72,813,940 in total; 2029-30: 76 units below zero, a weighted \u00a3-74,597,010 in total; 2030-31: 76 units below zero, a weighted \u00a3-76,431,349 in total; 2031-32: 76 units below zero, a weighted \u00a3-78,295,212 in total"
-  },
-  {
-   "identity_id": "inert:vat",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:vat_change",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:private_school_vat",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:private_school_vat",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:fuel_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:fuel_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:fuel_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:alcohol_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:alcohol_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:alcohol_duty",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:tobacco_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:tobacco_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:tobacco_duty",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:vehicle_excise_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:vehicle_excise_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:vehicle_excise_duty",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:tv_licence",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:tv_licence",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:tv_licence",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:council_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:council_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:council_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:high_value_council_tax_surcharge",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:high_value_council_tax_surcharge",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:high_value_council_tax_surcharge",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit"
-  },
-  {
-   "identity_id": "finite:domestic_rates",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:domestic_rates",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:domestic_rates",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:business_rates",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:business_rates",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:business_rates",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:sdlt_household",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:sdlt_household",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:sdlt_household",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:land_transaction_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:land_transaction_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:land_transaction_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:land_and_buildings_transaction_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:land_and_buildings_transaction_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:land_and_buildings_transaction_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:corporate_incident_tax_change",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:consumer_incident_tax_change",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:wealth_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:wealth_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:non_primary_residence_wealth_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:non_primary_residence_wealth_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:land_value_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:land_value_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:carbon_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:carbon_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:state_pension",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:state_pension",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:state_pension",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:pension_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:pension_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:pension_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:winter_fuel_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:winter_fuel_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:winter_fuel_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:pawhp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:pawhp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:pawhp",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:universal_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:universal_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:universal_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:housing_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:housing_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:housing_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:council_tax_reduction",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:council_tax_reduction",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:council_tax_reduction",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:esa_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:esa_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:esa_income",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:esa_contrib",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:esa_contrib",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:esa_contrib",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:jsa_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:jsa_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:jsa_income",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:jsa_contrib",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:jsa_contrib",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:jsa_contrib",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:income_support",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:income_support",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:income_support",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:working_tax_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:working_tax_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:working_tax_credit",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:child_tax_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:child_tax_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:child_tax_credit",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:incapacity_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:incapacity_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:incapacity_benefit",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:pip",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:pip",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:pip",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:dla",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:dla",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:dla",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:attendance_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:attendance_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:attendance_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:carers_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:carers_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:carers_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:carer_support_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:carer_support_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:carer_support_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:scottish_carer_supplement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:scottish_carer_supplement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:scottish_carer_supplement",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025"
-   ],
-   "detail": "2025-26: zero for every unit"
-  },
-  {
-   "identity_id": "finite:sda",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:sda",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:sda",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:iidb",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:iidb",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:iidb",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:afcs",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:afcs",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:afcs",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:child_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:child_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:child_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:scottish_child_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:scottish_child_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:scottish_child_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:two_child_limit_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:two_child_limit_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:healthy_start_vouchers",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:healthy_start_vouchers",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:healthy_start_vouchers",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:maternity_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:maternity_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:maternity_allowance",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:statutory_maternity_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:statutory_maternity_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:statutory_maternity_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:statutory_paternity_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:statutory_paternity_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:statutory_paternity_pay",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:statutory_sick_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:statutory_sick_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:statutory_sick_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:ssmg",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:ssmg",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:ssmg",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:bsp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:bsp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:bsp",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:tax_free_childcare",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:tax_free_childcare",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:tax_free_childcare",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:extended_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:extended_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:extended_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:universal_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:universal_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:universal_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:targeted_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:targeted_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:targeted_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:care_to_learn",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:care_to_learn",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:care_to_learn",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:childcare_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:childcare_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:childcare_grant",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:parents_learning_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:parents_learning_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:parents_learning_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:adult_dependants_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:adult_dependants_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:adult_dependants_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:travel_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:travel_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:travel_grant",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:disabled_students_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:disabled_students_allowance",
-   "year": null,
-   "status": "skipped",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": "2025-26: not checked, from fewer than 10 records; 2026-27: not checked, from fewer than 10 records; 2027-28: not checked, from fewer than 10 records; 2028-29: not checked, from fewer than 10 records; 2029-30: not checked, from fewer than 10 records; 2030-31: not checked, from fewer than 10 records; 2031-32: not checked, from fewer than 10 records"
-  },
-  {
-   "identity_id": "inert:disabled_students_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:bursary_fund_16_to_19",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:bursary_fund_16_to_19",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:bursary_fund_16_to_19",
-   "year": null,
-   "status": "warn",
-   "severity": "warn",
-   "failing_scopes": [
-    "2025",
-    "2026",
-    "2027",
-    "2028",
-    "2029",
-    "2030",
-    "2031"
-   ],
-   "detail": "2025-26: zero for every unit; 2026-27: zero for every unit; 2027-28: zero for every unit; 2028-29: zero for every unit; 2029-30: zero for every unit; 2030-31: zero for every unit; 2031-32: zero for every unit"
-  },
-  {
-   "identity_id": "finite:nhs_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:nhs_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:nhs_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:dfe_education_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:dfe_education_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:dfe_education_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:dft_subsidy_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:dft_subsidy_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "inert:dft_subsidy_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:cost_of_living_support_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:cost_of_living_support_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:energy_bills_rebate",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:energy_bills_rebate",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:epg_subsidy",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "sign:epg_subsidy",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:basic_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:disability_basic_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:other_public_spending_budget_change",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "overlap_guard:property_transaction_tax_geography",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "overlap_guard:local_tax_geography",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "identity:gov_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "identity:household_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "identity:pre_budget_change_household_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "identity:gov_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "identity:household_benefits",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "identity:gov_balance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "identity:household_net_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "available:absolute_bhc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "bounds:poverty_rates",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "available:children",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "available:working_age_adults",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "available:pensioners",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "available:absolute_ahc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "available:relative_bhc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "available:relative_ahc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:income_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:national_insurance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:ni_employer",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:employer_ni_response_capital_incidence",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:employer_ni_response_consumer_incidence",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:capital_gains_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:student_loan_repayments",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:vat",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:vat_change",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:private_school_vat",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:fuel_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:alcohol_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:tobacco_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:vehicle_excise_duty",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:tv_licence",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:council_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:high_value_council_tax_surcharge",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:domestic_rates",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:business_rates",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:expected_sdlt",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:expected_ltt",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:expected_lbtt",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:corporate_incident_tax_revenue_change",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:consumer_incident_tax_revenue_change",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:wealth_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:non_primary_residence_wealth_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:LVT",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:carbon_tax",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:state_pension",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:pension_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:winter_fuel_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:pawhp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:universal_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:housing_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:council_tax_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:esa_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:esa_contrib",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:jsa_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:jsa_contrib",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:income_support",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:working_tax_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:child_tax_credit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:incapacity_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:pip",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:dla",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:attendance_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:carers_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:carer_support_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:scottish_carer_supplement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:sda",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:iidb",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:afcs",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:child_benefit",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:scottish_child_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:two_child_limit_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:healthy_start_vouchers",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:maternity_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:statutory_maternity_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:statutory_paternity_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:statutory_sick_pay",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:ssmg",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:bsp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:tax_free_childcare",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:extended_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:universal_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:targeted_childcare_entitlement",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:care_to_learn",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:childcare_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:parents_learning_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:adult_dependants_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:travel_grant",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:disabled_students_allowance",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:bursary_fund_16_to_19",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:nhs_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:dfe_education_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:dft_subsidy_spending",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:cost_of_living_support_payment",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:energy_bills_rebate",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:epg_subsidy",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:basic_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:disability_basic_income",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:other_public_spending_budget_change",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:corporate_sdlt",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "double_count_present:corporate_sdlt",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:reset_reproduces_baseline",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "counted_once:ran",
-   "year": null,
-   "status": "pass",
-   "severity": "warn",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "determinism:rebuilt_baseline",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:basic_rate_plus_1pp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:higher_rate_plus_1pp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:personal_allowance_13000",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:child_benefit_additional_25",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:uc_taper_20pc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:employee_nics_main_10pc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:vat_standard_plus_2pp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:additional_rate_plus_3pp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:uc_standard_allowance_plus_10pc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "responsive:state_pension_plus_10pc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:basic_rate_plus_1pp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:higher_rate_plus_1pp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:personal_allowance_13000",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:child_benefit_additional_25",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:uc_taper_20pc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:employee_nics_main_10pc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:vat_standard_plus_2pp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:additional_rate_plus_3pp",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:uc_standard_allowance_plus_10pc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "reform_runs:state_pension_plus_10pc",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  },
-  {
-   "identity_id": "finite:metrics",
-   "year": null,
-   "status": "pass",
-   "severity": "fail",
-   "failing_scopes": [],
-   "detail": ""
-  }
- ]
-}
\ No newline at end of file
diff --git a/tests/fixtures/uk_metrics/standard_reforms.yaml b/tests/fixtures/uk_metrics/standard_reforms.yaml
deleted file mode 100644
index 402d8ae15..000000000
--- a/tests/fixtures/uk_metrics/standard_reforms.yaml
+++ /dev/null
@@ -1,150 +0,0 @@
-# The standard reforms the aggregate-impact report costs on each side.
-#
-# Each reform is either absolute (`parameters`: values applied from 2023, as
-# the reform-cost fixtures in tests/microsimulation/reforms_config.yaml do) or
-# relative (`scale`: each listed parameter is multiplied by the factor in
-# every year of the horizon, starting from that year's baseline value).
-#
-# `responds` states what the reform must do: the model variable whose
-# weighted total it must move, the direction, and the least it must move it
-# in every year of the horizon. A reform that moves its target by less, by
-# nothing or the wrong way fails the `responsive:` check, so a reform the
-# model silently ignores cannot pass as a small number.
-#
-# Calibration (adopted under cos d1344, 15 October 2026). Each minimum is a
-# fifth of the reform's smallest yearly effect over 2025-26 to 2031-32 on the
-# certified pair, rounded down to two significant figures; parse_reforms
-# refuses a minimum that does not follow from its smallest_effect. Recalibrate
-# with `python -m policyengine_uk.utils.aggregate_impact calibrate` on fresh
-# measurements, and change both numbers together.
-# - Pair: uk-data 1.58.1 (enhanced_frs_2024_25, sha256 056e80fd), measured
-#   with policyengine-uk 2.130.1 on policyengine-core 3.33.0 (the certified
-#   model, policyengine.py bundle uk-6.4.3) and with 2.132.6 on core 3.33.2.
-#   Every target change was identical between the two.
-# - What the check must catch: a PolicyEngine UK backtest (11 October 2026,
-#   cited in the Budget CI plan) found the 10% UC standard allowance rise
-#   returning exactly ยฃ0 from 2.45.1 to 2.75.3, and the 10% State Pension
-#   rise barely moving from 2.88.10 to 2.102.6.
-# - What it must not catch: legitimate moves. The fixture receipts show the
-#   2029-30 costings moving by up to 18% between data and model versions,
-#   and 38% for the VAT rise (21.2 on uk-data 1.40.3 against 34.5 on 1.58.0,
-#   from recorded consumption). A fifth fails a reform only once it has lost
-#   80% of its smallest yearly effect, twice the largest move seen.
-# - Alternatives considered: a tenth (fails only after a 90% loss, too late
-#   for "barely moving"); a half (the VAT data change kept 62% of the
-#   effect, so two such changes in a row would fail a correct model);
-#   per-year minimums (tighter in years where an absolute reform is worth
-#   more, but every horizon or data change would need a full table); an
-#   external anchor such as HMRC's ready reckoner (that tests calibration,
-#   not whether the reform is wired through); and a sign check alone
-#   (passes "barely moving").
-# - A single minimum is a wiring check, not a per-year 20% guarantee: the
-#   personal allowance minimum (ยฃ0.35bn) is 20% of its 2031-32 effect
-#   (ยฃ1.78bn) but 8% of its 2030-31 effect (ยฃ4.45bn), so a 90% loss in
-#   2030-31 alone would still pass.
-#
-# An absolute reform shrinks as the baseline is uprated towards it: the
-# 13,000 personal allowance is worth ยฃ4.45bn in 2030-31 but ยฃ1.78bn in
-# 2031-32, when the baseline allowance rises to 12,830. From 2032-33 the
-# baseline (13,090) exceeds it, so before the horizon reaches that year,
-# make that reform relative.
-schema_version: 1
-
-calibration:
-  fraction: 0.2
-
-reforms:
-  - id: basic_rate_plus_1pp
-    name: Raise basic rate by 1pp
-    parameters:
-      gov.hmrc.income_tax.rates.uk[0].rate: 0.21
-    responds:
-      variable: income_tax
-      direction: up
-      minimum: 1200000000
-      smallest_effect: 6366582049  # 2025-26
-  - id: higher_rate_plus_1pp
-    name: Raise higher rate by 1pp
-    parameters:
-      gov.hmrc.income_tax.rates.uk[1].rate: 0.42
-    responds:
-      variable: income_tax
-      direction: up
-      minimum: 710000000
-      smallest_effect: 3554390536  # 2025-26
-  - id: personal_allowance_13000
-    name: Raise personal allowance by ~800GBP/year
-    parameters:
-      gov.hmrc.income_tax.allowances.personal_allowance.amount: 13000
-    responds:
-      variable: income_tax
-      direction: down
-      minimum: 350000000
-      smallest_effect: 1780300035  # 2031-32
-  - id: child_benefit_additional_25
-    name: Raise child benefit by 25GBP/week per additional child
-    parameters:
-      gov.hmrc.child_benefit.amount.additional: 25
-    responds:
-      variable: child_benefit
-      direction: up
-      minimum: 310000000
-      smallest_effect: 1591189257  # 2031-32
-  - id: uc_taper_20pc
-    name: Reduce Universal Credit taper rate to 20%
-    parameters:
-      gov.dwp.universal_credit.means_test.reduction_rate: 0.2
-    responds:
-      variable: universal_credit
-      direction: up
-      minimum: 4100000000
-      smallest_effect: 20519585448  # 2025-26
-  - id: employee_nics_main_10pc
-    name: Raise Class 1 main employee NICs rate to 10%
-    parameters:
-      gov.hmrc.national_insurance.class_1.rates.employee.main: 0.1
-    responds:
-      variable: national_insurance
-      direction: up
-      minimum: 2200000000
-      smallest_effect: 11329957618  # 2025-26
-  - id: vat_standard_plus_2pp
-    name: Raise VAT standard rate by 2pp
-    parameters:
-      gov.hmrc.vat.standard_rate: 0.22
-    responds:
-      variable: vat
-      direction: up
-      minimum: 6100000000
-      smallest_effect: 30863018576  # 2025-26
-  - id: additional_rate_plus_3pp
-    name: Raise additional rate by 3pp
-    parameters:
-      gov.hmrc.income_tax.rates.uk[2].rate: 0.48
-    responds:
-      variable: income_tax
-      direction: up
-      minimum: 550000000
-      smallest_effect: 2798504994  # 2025-26
-  - id: uc_standard_allowance_plus_10pc
-    name: Raise the Universal Credit standard allowance by 10%
-    scale:
-      gov.dwp.universal_credit.standard_allowance.amount.SINGLE_YOUNG: 1.1
-      gov.dwp.universal_credit.standard_allowance.amount.SINGLE_OLD: 1.1
-      gov.dwp.universal_credit.standard_allowance.amount.COUPLE_YOUNG: 1.1
-      gov.dwp.universal_credit.standard_allowance.amount.COUPLE_OLD: 1.1
-    responds:
-      variable: universal_credit
-      direction: up
-      minimum: 600000000
-      smallest_effect: 3041523709  # 2025-26
-  - id: state_pension_plus_10pc
-    name: Raise the State Pension by 10%
-    scale:
-      gov.dwp.state_pension.new_state_pension.amount: 1.1
-      gov.dwp.state_pension.basic_state_pension.amount: 1.1
-    responds:
-      variable: state_pension
-      direction: up
-      minimum: 2400000000
-      smallest_effect: 12250304093  # 2025-26
diff --git a/tests/fixtures/uk_qualification/microcosm_routed_bundle.json b/tests/fixtures/uk_qualification/microcosm_routed_bundle.json
deleted file mode 100644
index c6a8eff3d..000000000
--- a/tests/fixtures/uk_qualification/microcosm_routed_bundle.json
+++ /dev/null
@@ -1,392 +0,0 @@
-{
-  "bundle_version": "6.9.0",
-  "citation": {
-    "publisher": "PolicyEngine",
-    "title": "PolicyEngine bundle 6.9.0",
-    "type": "software-bundle",
-    "version": "6.9.0"
-  },
-  "countries": {
-    "uk": {
-      "model_package": "policyengine-uk"
-    },
-    "us": {
-      "model_package": "policyengine-us"
-    }
-  },
-  "data_releases": {
-    "uk": {
-      "build_id": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-      "bundle_id": "uk-6.9.0",
-      "certification": {
-        "built_with_model_version": "2.132.6",
-        "certified_by": "policyengine.py bundle certification",
-        "certified_for_model_version": "2.132.6",
-        "compatibility_basis": "built_with_model_package",
-        "core_binding": "bundle_pin",
-        "data_build_id": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71"
-      },
-      "certified_data_artifact": {
-        "build_id": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-        "data_package": {
-          "name": "microcosm-data",
-          "version": "0.1.0"
-        },
-        "dataset": "microcosm_uk_2024_25",
-        "sha256": "810ba980005a8b907cb51464279fa5e0125464b7af9a4871b7f6744c30951ece",
-        "uri": "hf://policyengine/populace-uk-private/microcosm_uk_2024_25.h5@microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71"
-      },
-      "country_id": "uk",
-      "data_package": {
-        "name": "microcosm-data",
-        "release_manifest_path": "releases/microcosm-uk-2024-25-national/release_manifest.json",
-        "release_manifest_revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-        "repo_id": "policyengine/populace-uk-private",
-        "repo_type": "dataset",
-        "version": "0.1.0"
-      },
-      "data_producer": "populace",
-      "datasets": {
-        "calibration_diagnostics": {
-          "path": "releases/microcosm-uk-2024-25-national/calibration_diagnostics.json",
-          "repo_id": "policyengine/populace-uk-private",
-          "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-          "sha256": "34978e2bfde3f2641769c9c3a8f60455c59ecae5a50524b359d74388d7edc888"
-        },
-        "microcosm_uk_2024_25": {
-          "path": "microcosm_uk_2024_25.h5",
-          "repo_id": "policyengine/populace-uk-private",
-          "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-          "sha256": "810ba980005a8b907cb51464279fa5e0125464b7af9a4871b7f6744c30951ece"
-        },
-        "microcosm_uk_2024_25_calibration": {
-          "path": "microcosm_uk_2024_25_calibration.npz",
-          "repo_id": "policyengine/populace-uk-private",
-          "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-          "sha256": "104a8253bf1aebc91147c9bbb40e2603d1025317ba8c6b991383d5e4d91852c2"
-        },
-        "microcosm_uk_2024_25_dense": {
-          "path": "microcosm_uk_2024_25_dense.h5",
-          "repo_id": "policyengine/populace-uk-private",
-          "repo_type": "dataset",
-          "revision": "microcosm-uk-2024-25-dense-20261019T000432Z-ee5c2dbe",
-          "sha256": "8e10e130d0260e0b52e2e29902f0502ebdff76a14a3e57d2c876bf4cd8db5872"
-        },
-        "release_certification": {
-          "path": "releases/microcosm-uk-2024-25-national/release_certification.json",
-          "repo_id": "policyengine/populace-uk-private",
-          "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-          "sha256": "6a68cc93595fc5a7ad451d75a902523c25659de27014f50431dd5e19af5bd959"
-        },
-        "release_cut_gates": {
-          "path": "releases/microcosm-uk-2024-25-national/release_cut_gates.json",
-          "repo_id": "policyengine/populace-uk-private",
-          "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-          "sha256": "c91c1364d9c3be98493039d4e1dd8c2256881a434c1f124dd2ed0701bfaf7751"
-        },
-        "score_vs_enhanced_frs": {
-          "path": "releases/microcosm-uk-2024-25-national/score_vs_enhanced_frs.json",
-          "repo_id": "policyengine/populace-uk-private",
-          "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-          "sha256": "ba8a675f36e7c836bf5521e5933e21bb689442734b7340e05cabd3e0cc55323d"
-        },
-        "spine_gates": {
-          "path": "releases/microcosm-uk-2024-25-national/spine_gates.json",
-          "repo_id": "policyengine/populace-uk-private",
-          "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-          "sha256": "6dbba976dd1304c07da531382cecb11c9cb69512de0ee65126b71f032a0f37d6"
-        },
-        "terminal_gates": {
-          "path": "releases/microcosm-uk-2024-25-national/terminal_gates.json",
-          "repo_id": "policyengine/populace-uk-private",
-          "revision": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-          "sha256": "e29439d5ce0ea098d32579284ac06f26f086feba2fb8d12d1e88ac9a54840808"
-        }
-      },
-      "default_dataset": "microcosm_uk_2024_25",
-      "default_dataset_uri": "hf://policyengine/populace-uk-private/microcosm_uk_2024_25.h5@microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71",
-      "model_package": {
-        "name": "policyengine-uk",
-        "sha256": "cc54025f2a3bc54be4f8d024d1e6f11ed29fed75ca513b214f2d2963c5bf4354",
-        "version": "2.132.6",
-        "wheel_url": "https://files.pythonhosted.org/packages/11/f2/c003cd7a95cb499737a5b8af0d619ba4e759c8bc7e55a2bb5c7efa46abd1/policyengine_uk-2.132.6-py3-none-any.whl"
-      },
-      "policyengine_version": "6.9.0",
-      "region_datasets": {
-        "constituency": {
-          "path_template": "microcosm_uk_2024_25_dense.h5"
-        },
-        "local_authority": {
-          "path_template": "microcosm_uk_2024_25_dense.h5"
-        },
-        "national": {
-          "path_template": "microcosm_uk_2024_25.h5"
-        }
-      },
-      "regional_release_kind": "local_area",
-      "regional_release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-dense-20261019T000432Z-ee5c2dbe/releases/microcosm-uk-2024-25-dense/release_manifest.json",
-      "regional_source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@microcosm-uk-2024-25-dense-20261019T000432Z-ee5c2dbe/releases/microcosm-uk-2024-25-dense/release_manifest.json",
-      "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71/releases/microcosm-uk-2024-25-national/release_manifest.json",
-      "schema_version": 1,
-      "source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71/releases/microcosm-uk-2024-25-national/release_manifest.json",
-      "version": "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71"
-    },
-    "us": {
-      "build_id": "populace-us-2024-spm-20260915",
-      "bundle_id": "us-6.9.0",
-      "certification": {
-        "built_with_model_version": "2.2.1",
-        "certified_by": "policyengine.py bundle certification",
-        "certified_for_model_version": "2.2.1",
-        "compatibility_basis": "built_with_model_package",
-        "data_build_id": "populace-us-2024-spm-20260915"
-      },
-      "certified_data_artifact": {
-        "build_id": "populace-us-2024-spm-20260915",
-        "data_package": {
-          "name": "microcosm-data",
-          "version": "0.1.0"
-        },
-        "dataset": "populace_us_2024",
-        "sha256": "6496cc4393d4d3c6574f76eca231de5898c803b9067645591fd5c4d3e65aee84",
-        "uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-spm-20260915"
-      },
-      "country_id": "us",
-      "data_package": {
-        "name": "microcosm-data",
-        "release_manifest_path": "releases/populace-us-2024-spm-20260915/release_manifest.json",
-        "release_manifest_revision": "populace-us-2024-spm-20260915",
-        "repo_id": "policyengine/populace-us",
-        "repo_type": "dataset",
-        "version": "0.1.0"
-      },
-      "data_producer": "populace",
-      "datasets": {
-        "build_manifest": {
-          "path": "releases/populace-us-2024-spm-20260915/build_manifest.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "f3fd734867324bca7619f5f083a8115e32104bea3948d48723b345cfd39fa03b"
-        },
-        "calibration_diagnostics": {
-          "path": "releases/populace-us-2024-spm-20260915/calibration_diagnostics.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "870449b44e86b13b25bcea1a57f0e7af37f4d4db18be815eea3acdf9fe6eb40e"
-        },
-        "parent_build_manifest": {
-          "path": "releases/populace-us-2024-spm-20260915/parent_build_manifest.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "1990e8fd37ce66f499b8e6600c5896701bb07015be132a12de64e321a2edc67e"
-        },
-        "parent_release_manifest": {
-          "path": "releases/populace-us-2024-spm-20260915/parent_release_manifest.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "dd949ba3c4c7a56aff8442c6db5a031d2c84c3da59f5d14832f468c358604506"
-        },
-        "populace_us_2024": {
-          "path": "populace_us_2024.h5",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "6496cc4393d4d3c6574f76eca231de5898c803b9067645591fd5c4d3e65aee84"
-        },
-        "populace_us_2024_acs_local": {
-          "path": "populace_us_2024_acs_local.h5",
-          "repo_id": "policyengine/populace-us",
-          "repo_type": "dataset",
-          "revision": "populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z",
-          "sha256": "3ce781c440a7f933b1d952ff4e9d9f65f4698c64b94d2fad165af0c662838d6c"
-        },
-        "source_enrichment": {
-          "path": "releases/populace-us-2024-spm-20260915/source_enrichment.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "85329907b2b9c4299855b0970b1f24ede5819d3b16c312eb7400b4203bd71203"
-        },
-        "source_enrichment_compatibility": {
-          "path": "releases/populace-us-2024-spm-20260915/source_enrichment_compatibility.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "63109acffd486453c99c476dece6b0154cc5388e5a430830a30744a2249444d1"
-        },
-        "source_spm_independence_provenance": {
-          "path": "releases/populace-us-2024-spm-20260915/source_spm_independence_provenance.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "265e844178ed3856d68c1638820f3089e0e1e1363aa4677e33bebb37cbd5bff3"
-        },
-        "source_spm_person_independence": {
-          "path": "releases/populace-us-2024-spm-20260915/source_spm_person_independence.csv",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "22b5968d90fecfeef7614583e493fe10cc16bda8b5be82e6f49a5bc2102d3ce5"
-        },
-        "us_source_coverage": {
-          "path": "releases/populace-us-2024-spm-20260915/us_source_coverage.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "6406c8686c292015a5bc7265a42402f89935f9395a8b63510efdd4d9562e7ff5"
-        }
-      },
-      "default_dataset": "populace_us_2024",
-      "default_dataset_uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-spm-20260915",
-      "model_package": {
-        "name": "policyengine-us",
-        "sha256": "0993a6c73fcdfbe171a796aca9d302741bd8e00ab83388ad81c15a08740318c6",
-        "version": "2.2.1",
-        "wheel_url": "https://files.pythonhosted.org/packages/5e/09/86ac3968d2a18e28fce3ba1186fc21728e9f299b96a806d6f204f1e0aaed/policyengine_us-2.2.1-py3-none-any.whl"
-      },
-      "policyengine_version": "6.9.0",
-      "region_datasets": {
-        "congressional_district": {
-          "path_template": "populace_us_2024_acs_local.h5"
-        },
-        "national": {
-          "path_template": "populace_us_2024.h5"
-        },
-        "state": {
-          "path_template": "populace_us_2024_acs_local.h5"
-        }
-      },
-      "regional_release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/releases/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/release_manifest.json",
-      "regional_source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/releases/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/release_manifest.json",
-      "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-spm-20260915/releases/populace-us-2024-spm-20260915/release_manifest.json",
-      "schema_version": 1,
-      "source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-spm-20260915/releases/populace-us-2024-spm-20260915/release_manifest.json",
-      "version": "populace-us-2024-spm-20260915"
-    }
-  },
-  "dataset_overlays": {
-    "uk": {
-      "enhanced_frs_2023_24": {
-        "data_package_name": "policyengine-uk-data",
-        "path": "enhanced_frs_2023_24.h5",
-        "repo_id": "policyengine/policyengine-uk-data-private",
-        "repo_type": "model",
-        "revision": "655dd07e4bb9c777b00dac044949611f1feb824f",
-        "sha256": "584ae33d80ca0431254610a3f8254d132da73477d31966d6446282861ecae50d"
-      },
-      "enhanced_frs_2024_25": {
-        "data_package_name": "policyengine-uk-data",
-        "path": "enhanced_frs_2024_25.h5",
-        "repo_id": "policyengine/policyengine-uk-data-private",
-        "repo_type": "model",
-        "revision": "1.58.1",
-        "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784"
-      },
-      "enhanced_frs_2024_25_tiny": {
-        "data_package_name": "policyengine-uk-data",
-        "path": "enhanced_frs_2024_25_tiny.h5",
-        "repo_id": "policyengine/policyengine-uk-data-private",
-        "repo_type": "model",
-        "revision": "1.58.1",
-        "sha256": "d5d2bde80f1f028fec98391ea31bb5a0cf8449e3867fc3c1bfe23693b9faecf8"
-      },
-      "frs_2023_24": {
-        "data_package_name": "policyengine-uk-data",
-        "path": "frs_2023_24.h5",
-        "repo_id": "policyengine/policyengine-uk-data-private",
-        "repo_type": "model",
-        "revision": "655dd07e4bb9c777b00dac044949611f1feb824f",
-        "sha256": "df26d4d7af9d164aa2d064181b39290292d2f62bb26fee6126fc095fc06da292"
-      },
-      "frs_2024_25": {
-        "data_package_name": "policyengine-uk-data",
-        "path": "frs_2024_25.h5",
-        "repo_id": "policyengine/policyengine-uk-data-private",
-        "repo_type": "model",
-        "revision": "1.58.1",
-        "sha256": "97af00b2cd2739957f40dcc4de8e0383a6a91d47952c90d4b4921a6007bd2021"
-      },
-      "frs_2024_25_tiny": {
-        "data_package_name": "policyengine-uk-data",
-        "path": "frs_2024_25_tiny.h5",
-        "repo_id": "policyengine/policyengine-uk-data-private",
-        "repo_type": "model",
-        "revision": "1.58.1",
-        "sha256": "e4d7662cd3f053620224b7ceff17266783f09407002a72633b043b844cec3f5a"
-      },
-      "populace_uk_2023": {
-        "data_package_name": "populace-data",
-        "path": "populace_uk_2023.h5",
-        "repo_id": "policyengine/populace-uk-private",
-        "repo_type": "dataset",
-        "revision": "populace-uk-2023-dd68c73-4aa4b14-20260619T023711Z",
-        "sha256": "f17306ccb2aad7ff0130be3589b560afb2e2a12a943570911cd0c77f07934833"
-      }
-    }
-  },
-  "extras": {
-    "models": [
-      "policyengine-core",
-      "policyengine-us",
-      "policyengine-uk",
-      "spm-calculator"
-    ],
-    "uk": [
-      "policyengine-core",
-      "policyengine-uk"
-    ],
-    "us": [
-      "policyengine-core",
-      "policyengine-us",
-      "spm-calculator"
-    ]
-  },
-  "measurements": {
-    "spm": {
-      "as_of": null,
-      "county_vintage": "2020",
-      "forecast_content_sha256": "3d86d5c4c0423480e6b69b75d222ffa4a7a2639e4094df5ba2504af01be17173",
-      "geography_id": null,
-      "geography_kind": "county",
-      "scenario": "ce_trend"
-    }
-  },
-  "packages": {
-    "policyengine": {
-      "import_name": "policyengine",
-      "install_requirement": "policyengine==6.9.0",
-      "name": "policyengine",
-      "role": "bundle_carrier",
-      "version": "6.9.0"
-    },
-    "policyengine-core": {
-      "import_name": "policyengine_core",
-      "install_requirement": "policyengine-core==3.33.3",
-      "name": "policyengine-core",
-      "role": "runtime_dependency",
-      "version": "3.33.3"
-    },
-    "policyengine-uk": {
-      "country": "uk",
-      "import_name": "policyengine_uk",
-      "install_requirement": "policyengine-uk==2.132.6",
-      "name": "policyengine-uk",
-      "role": "country_model",
-      "version": "2.132.6"
-    },
-    "policyengine-us": {
-      "country": "us",
-      "import_name": "policyengine_us",
-      "install_requirement": "policyengine-us==2.2.1",
-      "name": "policyengine-us",
-      "role": "country_model",
-      "version": "2.2.1"
-    },
-    "spm-calculator": {
-      "country": "us",
-      "import_name": "spm_calculator",
-      "install_requirement": "spm-calculator==1.0.0",
-      "name": "spm-calculator",
-      "role": "runtime_dependency",
-      "sha256": "e354937a5e1a4045d4966ed594a528d8b02866fabaac9bb5672017004b627305",
-      "version": "1.0.0",
-      "wheel_url": "https://files.pythonhosted.org/packages/19/a0/c484f69a0ebf88a9b9fd0ac28176f8df66550f46714f1b0c5ec0b360824e/spm_calculator-1.0.0-py3-none-any.whl"
-    }
-  },
-  "policyengine_version": "6.9.0",
-  "schema_version": 2
-}
diff --git a/tests/fixtures/uk_qualification/uk_data_line_bundle.json b/tests/fixtures/uk_qualification/uk_data_line_bundle.json
deleted file mode 100644
index cc56a3ebc..000000000
--- a/tests/fixtures/uk_qualification/uk_data_line_bundle.json
+++ /dev/null
@@ -1,339 +0,0 @@
-{
-  "bundle_version": "6.9.0",
-  "citation": {
-    "publisher": "PolicyEngine",
-    "title": "PolicyEngine bundle 6.9.0",
-    "type": "software-bundle",
-    "version": "6.9.0"
-  },
-  "countries": {
-    "uk": {
-      "model_package": "policyengine-uk"
-    },
-    "us": {
-      "model_package": "policyengine-us"
-    }
-  },
-  "data_releases": {
-    "uk": {
-      "build_id": "policyengine-uk-data-1.58.1",
-      "bundle_id": "uk-6.9.0",
-      "certification": {
-        "built_with_model_git_sha": "daad71cd26c107f1b784ff600d1464ba59c70e4a",
-        "built_with_model_version": "2.122.2",
-        "certified_by": "policyengine.py bundle certification",
-        "certified_for_model_version": "2.130.1",
-        "compatibility_basis": "legacy_compatible_model_package",
-        "data_build_fingerprint": "sha256:c094d7006fdd81df220090284212f16bbffb15624643bc442c4bb3e1b1e5dac8",
-        "data_build_id": "policyengine-uk-data-1.58.1"
-      },
-      "certified_data_artifact": {
-        "build_id": "policyengine-uk-data-1.58.1",
-        "data_package": {
-          "name": "policyengine-uk-data",
-          "version": "1.58.1"
-        },
-        "dataset": "enhanced_frs_2024_25",
-        "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-        "uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.1"
-      },
-      "country_id": "uk",
-      "data_package": {
-        "name": "policyengine-uk-data",
-        "release_manifest_path": "releases/1.58.1/release_manifest.json",
-        "release_manifest_revision": "89be6b73fc1e6eeba6dae2f9400676d8510bcd51",
-        "repo_id": "policyengine/policyengine-uk-data-private",
-        "repo_type": "model",
-        "version": "1.58.1"
-      },
-      "data_producer": "populace",
-      "datasets": {
-        "enhanced_frs_2024_25": {
-          "path": "enhanced_frs_2024_25.h5",
-          "repo_id": "policyengine/policyengine-uk-data-private",
-          "revision": "1.58.1",
-          "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784"
-        },
-        "enhanced_frs_2024_25_tiny": {
-          "path": "enhanced_frs_2024_25_tiny.h5",
-          "repo_id": "policyengine/policyengine-uk-data-private",
-          "revision": "1.58.1",
-          "sha256": "d5d2bde80f1f028fec98391ea31bb5a0cf8449e3867fc3c1bfe23693b9faecf8"
-        },
-        "frs_2024_25": {
-          "path": "frs_2024_25.h5",
-          "repo_id": "policyengine/policyengine-uk-data-private",
-          "revision": "1.58.1",
-          "sha256": "97af00b2cd2739957f40dcc4de8e0383a6a91d47952c90d4b4921a6007bd2021"
-        },
-        "frs_2024_25_tiny": {
-          "path": "frs_2024_25_tiny.h5",
-          "repo_id": "policyengine/policyengine-uk-data-private",
-          "revision": "1.58.1",
-          "sha256": "e4d7662cd3f053620224b7ceff17266783f09407002a72633b043b844cec3f5a"
-        },
-        "local_authority_weights": {
-          "path": "local_authority_weights.h5",
-          "repo_id": "policyengine/policyengine-uk-data-private",
-          "revision": "1.58.1",
-          "sha256": "2b7a2f7f9e7081a394b37cb84e909fd3c01d22e421808141684e7c3be59f2089"
-        },
-        "local_geography_weights": {
-          "path": "local_geography_weights.csv.gz",
-          "repo_id": "policyengine/policyengine-uk-data-private",
-          "revision": "1.58.1",
-          "sha256": "97c6e3542543baf737a713bb918ebc3d3dbc3f3765be9bf3414375c322d0e3d1"
-        },
-        "parliamentary_constituency_weights": {
-          "path": "parliamentary_constituency_weights.h5",
-          "repo_id": "policyengine/policyengine-uk-data-private",
-          "revision": "1.58.1",
-          "sha256": "8c696e4d65a22033deb4c4f69a767fdb46e0a4f5580f36b7fb47ee4722629b11"
-        }
-      },
-      "default_dataset": "enhanced_frs_2024_25",
-      "default_dataset_uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.1",
-      "model_package": {
-        "name": "policyengine-uk",
-        "sha256": "f8b1b8b917c9297ff66937811dbebd9a62d3b1796ce894c326e98051cac4c873",
-        "version": "2.130.1",
-        "wheel_url": "https://files.pythonhosted.org/packages/1a/21/88e8addba0eabd9a7d3a29fa5293e141feb405baf0432209387f9a1f467a/policyengine_uk-2.130.1-py3-none-any.whl"
-      },
-      "policyengine_version": "6.9.0",
-      "region_datasets": {
-        "national": {
-          "path_template": "enhanced_frs_2024_25.h5"
-        }
-      },
-      "release_manifest_uri": "https://huggingface.co/policyengine/policyengine-uk-data-private/resolve/89be6b73fc1e6eeba6dae2f9400676d8510bcd51/releases/1.58.1/release_manifest.json",
-      "schema_version": 1,
-      "source_manifest_uri": "hf://model/policyengine/policyengine-uk-data-private@89be6b73fc1e6eeba6dae2f9400676d8510bcd51/releases/1.58.1/release_manifest.json",
-      "version": "policyengine-uk-data-1.58.1"
-    },
-    "us": {
-      "build_id": "populace-us-2024-spm-20260915",
-      "bundle_id": "us-6.9.0",
-      "certification": {
-        "built_with_model_version": "2.2.1",
-        "certified_by": "policyengine.py bundle certification",
-        "certified_for_model_version": "2.2.1",
-        "compatibility_basis": "built_with_model_package",
-        "data_build_id": "populace-us-2024-spm-20260915"
-      },
-      "certified_data_artifact": {
-        "build_id": "populace-us-2024-spm-20260915",
-        "data_package": {
-          "name": "microcosm-data",
-          "version": "0.1.0"
-        },
-        "dataset": "populace_us_2024",
-        "sha256": "6496cc4393d4d3c6574f76eca231de5898c803b9067645591fd5c4d3e65aee84",
-        "uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-spm-20260915"
-      },
-      "country_id": "us",
-      "data_package": {
-        "name": "microcosm-data",
-        "release_manifest_path": "releases/populace-us-2024-spm-20260915/release_manifest.json",
-        "release_manifest_revision": "populace-us-2024-spm-20260915",
-        "repo_id": "policyengine/populace-us",
-        "repo_type": "dataset",
-        "version": "0.1.0"
-      },
-      "data_producer": "populace",
-      "datasets": {
-        "build_manifest": {
-          "path": "releases/populace-us-2024-spm-20260915/build_manifest.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "f3fd734867324bca7619f5f083a8115e32104bea3948d48723b345cfd39fa03b"
-        },
-        "calibration_diagnostics": {
-          "path": "releases/populace-us-2024-spm-20260915/calibration_diagnostics.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "870449b44e86b13b25bcea1a57f0e7af37f4d4db18be815eea3acdf9fe6eb40e"
-        },
-        "parent_build_manifest": {
-          "path": "releases/populace-us-2024-spm-20260915/parent_build_manifest.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "1990e8fd37ce66f499b8e6600c5896701bb07015be132a12de64e321a2edc67e"
-        },
-        "parent_release_manifest": {
-          "path": "releases/populace-us-2024-spm-20260915/parent_release_manifest.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "dd949ba3c4c7a56aff8442c6db5a031d2c84c3da59f5d14832f468c358604506"
-        },
-        "populace_us_2024": {
-          "path": "populace_us_2024.h5",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "6496cc4393d4d3c6574f76eca231de5898c803b9067645591fd5c4d3e65aee84"
-        },
-        "populace_us_2024_acs_local": {
-          "path": "populace_us_2024_acs_local.h5",
-          "repo_id": "policyengine/populace-us",
-          "repo_type": "dataset",
-          "revision": "populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z",
-          "sha256": "3ce781c440a7f933b1d952ff4e9d9f65f4698c64b94d2fad165af0c662838d6c"
-        },
-        "source_enrichment": {
-          "path": "releases/populace-us-2024-spm-20260915/source_enrichment.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "85329907b2b9c4299855b0970b1f24ede5819d3b16c312eb7400b4203bd71203"
-        },
-        "source_enrichment_compatibility": {
-          "path": "releases/populace-us-2024-spm-20260915/source_enrichment_compatibility.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "63109acffd486453c99c476dece6b0154cc5388e5a430830a30744a2249444d1"
-        },
-        "source_spm_independence_provenance": {
-          "path": "releases/populace-us-2024-spm-20260915/source_spm_independence_provenance.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "265e844178ed3856d68c1638820f3089e0e1e1363aa4677e33bebb37cbd5bff3"
-        },
-        "source_spm_person_independence": {
-          "path": "releases/populace-us-2024-spm-20260915/source_spm_person_independence.csv",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "22b5968d90fecfeef7614583e493fe10cc16bda8b5be82e6f49a5bc2102d3ce5"
-        },
-        "us_source_coverage": {
-          "path": "releases/populace-us-2024-spm-20260915/us_source_coverage.json",
-          "repo_id": "policyengine/populace-us",
-          "revision": "populace-us-2024-spm-20260915",
-          "sha256": "6406c8686c292015a5bc7265a42402f89935f9395a8b63510efdd4d9562e7ff5"
-        }
-      },
-      "default_dataset": "populace_us_2024",
-      "default_dataset_uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-spm-20260915",
-      "model_package": {
-        "name": "policyengine-us",
-        "sha256": "0993a6c73fcdfbe171a796aca9d302741bd8e00ab83388ad81c15a08740318c6",
-        "version": "2.2.1",
-        "wheel_url": "https://files.pythonhosted.org/packages/5e/09/86ac3968d2a18e28fce3ba1186fc21728e9f299b96a806d6f204f1e0aaed/policyengine_us-2.2.1-py3-none-any.whl"
-      },
-      "policyengine_version": "6.9.0",
-      "region_datasets": {
-        "congressional_district": {
-          "path_template": "populace_us_2024_acs_local.h5"
-        },
-        "national": {
-          "path_template": "populace_us_2024.h5"
-        },
-        "state": {
-          "path_template": "populace_us_2024_acs_local.h5"
-        }
-      },
-      "regional_release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/releases/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/release_manifest.json",
-      "regional_source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/releases/populace-us-2024-buildo-acs-local-766b7c7-20261017T030317Z/release_manifest.json",
-      "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-spm-20260915/releases/populace-us-2024-spm-20260915/release_manifest.json",
-      "schema_version": 1,
-      "source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-spm-20260915/releases/populace-us-2024-spm-20260915/release_manifest.json",
-      "version": "populace-us-2024-spm-20260915"
-    }
-  },
-  "dataset_overlays": {
-    "uk": {
-      "enhanced_frs_2023_24": {
-        "data_package_name": "policyengine-uk-data",
-        "path": "enhanced_frs_2023_24.h5",
-        "repo_id": "policyengine/policyengine-uk-data-private",
-        "repo_type": "model",
-        "revision": "655dd07e4bb9c777b00dac044949611f1feb824f",
-        "sha256": "584ae33d80ca0431254610a3f8254d132da73477d31966d6446282861ecae50d"
-      },
-      "frs_2023_24": {
-        "data_package_name": "policyengine-uk-data",
-        "path": "frs_2023_24.h5",
-        "repo_id": "policyengine/policyengine-uk-data-private",
-        "repo_type": "model",
-        "revision": "655dd07e4bb9c777b00dac044949611f1feb824f",
-        "sha256": "df26d4d7af9d164aa2d064181b39290292d2f62bb26fee6126fc095fc06da292"
-      },
-      "populace_uk_2023": {
-        "data_package_name": "populace-data",
-        "path": "populace_uk_2023.h5",
-        "repo_id": "policyengine/populace-uk-private",
-        "repo_type": "dataset",
-        "revision": "populace-uk-2023-dd68c73-4aa4b14-20260619T023711Z",
-        "sha256": "f17306ccb2aad7ff0130be3589b560afb2e2a12a943570911cd0c77f07934833"
-      }
-    }
-  },
-  "extras": {
-    "models": [
-      "policyengine-core",
-      "policyengine-us",
-      "policyengine-uk",
-      "spm-calculator"
-    ],
-    "uk": [
-      "policyengine-core",
-      "policyengine-uk"
-    ],
-    "us": [
-      "policyengine-core",
-      "policyengine-us",
-      "spm-calculator"
-    ]
-  },
-  "measurements": {
-    "spm": {
-      "as_of": null,
-      "county_vintage": "2020",
-      "forecast_content_sha256": "3d86d5c4c0423480e6b69b75d222ffa4a7a2639e4094df5ba2504af01be17173",
-      "geography_id": null,
-      "geography_kind": "county",
-      "scenario": "ce_trend"
-    }
-  },
-  "packages": {
-    "policyengine": {
-      "import_name": "policyengine",
-      "install_requirement": "policyengine==6.9.0",
-      "name": "policyengine",
-      "role": "bundle_carrier",
-      "version": "6.9.0"
-    },
-    "policyengine-core": {
-      "import_name": "policyengine_core",
-      "install_requirement": "policyengine-core==3.33.0",
-      "name": "policyengine-core",
-      "role": "runtime_dependency",
-      "version": "3.33.0"
-    },
-    "policyengine-uk": {
-      "country": "uk",
-      "import_name": "policyengine_uk",
-      "install_requirement": "policyengine-uk==2.130.1",
-      "name": "policyengine-uk",
-      "role": "country_model",
-      "version": "2.130.1"
-    },
-    "policyengine-us": {
-      "country": "us",
-      "import_name": "policyengine_us",
-      "install_requirement": "policyengine-us==2.2.1",
-      "name": "policyengine-us",
-      "role": "country_model",
-      "version": "2.2.1"
-    },
-    "spm-calculator": {
-      "country": "us",
-      "import_name": "spm_calculator",
-      "install_requirement": "spm-calculator==1.0.0",
-      "name": "spm-calculator",
-      "role": "runtime_dependency",
-      "sha256": "e354937a5e1a4045d4966ed594a528d8b02866fabaac9bb5672017004b627305",
-      "version": "1.0.0",
-      "wheel_url": "https://files.pythonhosted.org/packages/19/a0/c484f69a0ebf88a9b9fd0ac28176f8df66550f46714f1b0c5ec0b360824e/spm_calculator-1.0.0-py3-none-any.whl"
-    }
-  },
-  "policyengine_version": "6.9.0",
-  "schema_version": 2
-}
diff --git a/tests/fixtures/uk_replay/README.md b/tests/fixtures/uk_replay/README.md
index 98f2d9d6e..4bdc3ba33 100644
--- a/tests/fixtures/uk_replay/README.md
+++ b/tests/fixtures/uk_replay/README.md
@@ -6,21 +6,12 @@ replay interface. The scorecard computes digests with `rfc8785==0.1.4`;
 `tests/test_canonical_json.py` checks that
 `policyengine.provenance.canonical` produces the same bytes and digests.
 
+`tests/test_release_consumers.py` also reads the request's
+`expected_release_bundle`.
+
 Refresh by copying the files from a newer scorecard commit and updating the
 commit above; never edit them by hand.
 
-`receipt_6.4.1_attempt1/` holds the first real replay request and receipt, for
-the pair policyengine 6.4.1, policyengine-uk 2.130.1 and uk-data 1.58.1. They
-were copied unchanged from the scorecard's `replay-state` branch at commit
-`4166508f` (`requests//`). The receipt holds aggregate fiscal
-totals only. `tests/test_qualification_contracts.py` checks that the replay
-policy fails it on exactly what the d1344 decision says it should.
-
-`receipt_6.5.0/` holds the request, terminal status and receipt for the pair
-policyengine 6.5.0, policyengine-uk 2.130.1 and uk-data 1.58.1 (request
-`d83eaf59โ€ฆ`), copied unchanged from the scorecard's `replay-state` branch
-head on 16 October 2026. The status names receipt commit `19a9ccdc` and
-`receipt_sha256` `a7a67c26โ€ฆ`; the status at that commit itself still says
-`running`, because the terminal status lands one commit later. It is the
-first real receipt with `diff.base_events` (scorecard#183), and holds
-aggregate fiscal totals only.
+The real replay requests and receipts once kept here (`receipt_6.4.1_attempt1/`
+and `receipt_6.5.0/`) were removed with the UK qualification pipeline, whose
+tests were the only ones that read them.
diff --git a/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REPLAY_RECEIPT.json b/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REPLAY_RECEIPT.json
deleted file mode 100644
index b265bfb54..000000000
--- a/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REPLAY_RECEIPT.json
+++ /dev/null
@@ -1,4480 +0,0 @@
-{
- "corpus": {
-  "corpus_version": "uk-fiscal-event-replay/1",
-  "events": {
-   "autumn_budget_2024": {
-    "artifacts": 30,
-    "comparison_provenance_sha256": "892ef8cf5e66c21d91d96a344236fb51071b7e43d885bb489c3eed0bdeb5f390",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "registry_sha256": "89784d34920fb2d6aae702fb4028f84d7bf87f1694df77a0c9c5d255edbcdd34",
-    "run_manifest_sha256": "593a3e37a69faf3c5c4afeda26375aba2e748c208b8193178f6fbef179da6761",
-    "staging_manifest_sha256": "e9abe69562c9f8c0ccc2973331acb66d5b7d2971be7a22d257fb3a64057f8afb",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_years": []
-   },
-   "autumn_statement_2023": {
-    "artifacts": 20,
-    "comparison_provenance_sha256": "f3b7f083abea6eaeb584964b5e677ffc49ea1b2ad2e96a023453a25f7f0e6f3e",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "registry_sha256": "197d5583f0171104c673ca1f40b402a77ca2b003f496de37d6bc913fb9fd1021",
-    "run_manifest_sha256": "debb2ffec8011fe577e57ef3e334f72aa0e50d90ab46a8536ab2c231c2259c31",
-    "staging_manifest_sha256": "f2ed6a429597e7bc42e46398cdb03f69d92511c266762c4bfde6d00cf4beae08",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_years": [
-     {
-      "reason": "before_data_year",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2023": {
-    "artifacts": 8,
-    "comparison_provenance_sha256": "c2beddb0bafb0c7a92ec20ed8a061acd1012f4cced9c3776b0abcb95bdd0ba4d",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "registry_sha256": "0a78bfe32712bd30bdf9137bdf182e82a266c7da0e9885dd61cac6ef99a76357",
-    "run_manifest_sha256": "e242bf40a01f186fd6b7c759d8d3927058a5a9e382d08d48df618f28199a6d64",
-    "staging_manifest_sha256": "7a74c574a781e37e45d5adb05afc694b4ba3fb1665fb45f5630c063ac75bec51",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027
-    ],
-    "unsupported_years": [
-     {
-      "reason": "before_data_year",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2024": {
-    "artifacts": 15,
-    "comparison_provenance_sha256": "58478003451a69686b08c5bc90d8937f9614c5a19b384e0ea735e59d9cd4d950",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "registry_sha256": "64a3bccfd950e868ffc5d6261bf3903df88a3ebedc9b4444494acc717259817a",
-    "run_manifest_sha256": "0bce7f6e84de2cec8305ecfc8e769cd2c79e73ec736feb8282e9adaf944a4592",
-    "staging_manifest_sha256": "161ae8d04e51c4180d1c78ccd5fd21d0fae410f4d9237228bd7c2d9e61b90d37",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_years": [
-     {
-      "reason": "before_data_year",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_statement_2025": {
-    "artifacts": 12,
-    "comparison_provenance_sha256": "93a00d8930bc4cac1fbdb6986fd9bdc718fff5d0fd302df2aa07488fa8f10327",
-    "full_supported_grid_complete": false,
-    "inert_measure_years": [
-     {
-      "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-      "year": 2026
-     },
-     {
-      "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-      "year": 2027
-     },
-     {
-      "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-      "year": 2028
-     },
-     {
-      "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-      "year": 2029
-     }
-    ],
-    "registry_sha256": "d01ce0612f3f24830a8d8ea0abaaa6b2626963316b16750310d303f404fbab5b",
-    "run_manifest_sha256": "da4c040fee52a6338eba98d0b9d9f8ad88884df8ec132b4264c74c66a5a3ae50",
-    "staging_manifest_sha256": "d55ee087c5922f63badb8d55c888f7f6a469b6185950cdb585a5ae7eebb7b20c",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_years": []
-   }
-  }
- },
- "diff": {
-  "base_variant_id": "pe5.0.2_uk2.89.2_populace-uk-2023-dd68c73-4aa4b14-20260619T023711Z",
-  "diff_sha256": "b05a9a5fa31ee15fa34a33dcf52502d11fcd716a5892388124ea3504f0c5b180",
-  "flag_counts": {
-   "construction": 6,
-   "coverage": 1,
-   "inertness": 8,
-   "mapping": 0,
-   "numerical": 312,
-   "structural": 25,
-   "support": 34
-  },
-  "flagged_rows": [
-   {
-    "base_gbp": null,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "coverage"
-    ],
-    "head_gbp": 574999000.021347,
-    "key": "obr_pmd_nov2025:11682:73295721bdfdb9e8",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2024
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural",
-     "construction"
-    ],
-    "head_gbp": 574999000.021347,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2024
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": 574999000.021347,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2024
-   },
-   {
-    "base_gbp": 4655334129.036697,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2321626476.090164,
-    "key": "obr_pmd_nov2025:11683:b9096ecd110093bf",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2025
-   },
-   {
-    "base_gbp": 4655334129.036697,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "construction"
-    ],
-    "head_gbp": 2321626476.090164,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2025
-   },
-   {
-    "base_gbp": 4655334129.036697,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2321626476.090164,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2025
-   },
-   {
-    "base_gbp": 4793563953.670055,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2397857290.327587,
-    "key": "obr_pmd_nov2025:11684:0d39628e9b763f67",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2026
-   },
-   {
-    "base_gbp": 4793563953.670055,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "construction"
-    ],
-    "head_gbp": 2397857290.327587,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2026
-   },
-   {
-    "base_gbp": 4793563953.670055,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2397857290.327587,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2026
-   },
-   {
-    "base_gbp": 4952429950.859825,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2484671863.66201,
-    "key": "obr_pmd_nov2025:11685:440412b0fb8c6e2d",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2027
-   },
-   {
-    "base_gbp": 4952429950.859825,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "construction"
-    ],
-    "head_gbp": 2484671863.66201,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2027
-   },
-   {
-    "base_gbp": 4952429950.859825,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2484671863.66201,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2027
-   },
-   {
-    "base_gbp": 5112968146.86298,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2572403121.83226,
-    "key": "obr_pmd_nov2025:11686:9ceb140875d859b8",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2028
-   },
-   {
-    "base_gbp": 5112968146.86298,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "construction"
-    ],
-    "head_gbp": 2572403121.83226,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2028
-   },
-   {
-    "base_gbp": 5112968146.86298,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2572403121.83226,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2028
-   },
-   {
-    "base_gbp": 5273812739.539009,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2660288740.9552917,
-    "key": "obr_pmd_nov2025:11687:f738e039412d9872",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2029
-   },
-   {
-    "base_gbp": 5273812739.539009,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "construction"
-    ],
-    "head_gbp": 2660288740.9552917,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2029
-   },
-   {
-    "base_gbp": 5273812739.539009,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2660288740.9552917,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2029
-   },
-   {
-    "base_gbp": -8163494973.898804,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7061749331.279724,
-    "key": "obr_pmd_nov2025:11665:72598886f546ef8c",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2025
-   },
-   {
-    "base_gbp": 24174758043.215755,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 23874647882.154022,
-    "key": "obr_pmd_nov2025:11671:291070a94715062c",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2025
-   },
-   {
-    "base_gbp": 16011263069.316952,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 16812898550.874298,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2025
-   },
-   {
-    "base_gbp": -8163494973.898804,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7061749331.279724,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1251612208.7499237,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1429307494.3798141,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2025
-   },
-   {
-    "base_gbp": -8507737534.679443,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7376939848.9661255,
-    "key": "obr_pmd_nov2025:11666:e4413c7487d85ddf",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": 24754424875.897583,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 24413340740.52112,
-    "key": "obr_pmd_nov2025:11672:0b55202125025854",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": 16246687341.218138,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 17036400891.554995,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": -8507737534.679443,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7376939848.9661255,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1260499988.3872528,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1431638070.3618393,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": -8783977312.67981,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7564046836.411194,
-    "key": "obr_pmd_nov2025:11667:35345df3785dfdea",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": 25206449240.09022,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 24832078611.256916,
-    "key": "obr_pmd_nov2025:11673:94b8906a8929f113",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": 16422471927.410412,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 17268031774.845722,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": -8783977312.67981,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7564046836.411194,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1264763359.1383667,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1433904842.3321228,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": -8988426278.909851,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7898227103.010376,
-    "key": "obr_pmd_nov2025:11668:a076a7d6b3992e7c",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2028
-   },
-   {
-    "base_gbp": 25618300125.581856,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 25217865979.05774,
-    "key": "obr_pmd_nov2025:11674:6dd4d473c559cbea",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2028
-   },
-   {
-    "base_gbp": 16629873846.672005,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 17319638876.047363,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2028
-   },
-   {
-    "base_gbp": -8988426278.909851,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -7898227103.010376,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1282042489.6673584,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1446313392.5655975,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2028
-   },
-   {
-    "base_gbp": -9404061793.93042,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -8092876935.234375,
-    "key": "obr_pmd_nov2025:11669:1cedd72c387ad84b",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2029
-   },
-   {
-    "base_gbp": 26148779059.003807,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 25792458746.42136,
-    "key": "obr_pmd_nov2025:11675:286359ea5a53fc94",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2029
-   },
-   {
-    "base_gbp": 16744717265.073387,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 17699581811.186985,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2029
-   },
-   {
-    "base_gbp": -9404061793.93042,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -8092876935.234375,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2029
-   },
-   {
-    "base_gbp": -1298741997.8063965,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1450619444.7683945,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__employer_nics_package",
-    "year": 2029
-   },
-   {
-    "base_gbp": 1258445339.7229428,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1940272255.14898,
-    "key": "obr_pmd_nov2025:11617:414a87b10621e433",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2025
-   },
-   {
-    "base_gbp": 1258445339.7229428,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1940272255.14898,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2025
-   },
-   {
-    "base_gbp": 1258445339.7229428,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1940272255.14898,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2025
-   },
-   {
-    "base_gbp": 1292278978.386702,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1966545651.307916,
-    "key": "obr_pmd_nov2025:11618:ad4256274cc146d3",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2026
-   },
-   {
-    "base_gbp": 1292278978.386702,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1966545651.307916,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2026
-   },
-   {
-    "base_gbp": 1292278978.386702,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1966545651.307916,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2026
-   },
-   {
-    "base_gbp": 1322999530.8546522,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2044395945.9878988,
-    "key": "obr_pmd_nov2025:11619:8726edda9aa7b020",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2027
-   },
-   {
-    "base_gbp": 1322999530.8546522,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2044395945.9878988,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2027
-   },
-   {
-    "base_gbp": 1322999530.8546522,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2044395945.9878988,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2027
-   },
-   {
-    "base_gbp": 1354856060.444217,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2138101665.0296612,
-    "key": "obr_pmd_nov2025:11620:5446e6157f4ef4ec",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2028
-   },
-   {
-    "base_gbp": 1354856060.444217,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2138101665.0296612,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2028
-   },
-   {
-    "base_gbp": 1354856060.444217,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2138101665.0296612,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2028
-   },
-   {
-    "base_gbp": 1388030829.5242352,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2163020750.92759,
-    "key": "obr_pmd_nov2025:11621:8bf103a18fecf781",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2029
-   },
-   {
-    "base_gbp": 1388030829.5242352,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2163020750.92759,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2029
-   },
-   {
-    "base_gbp": 1388030829.5242352,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2163020750.92759,
-    "key": "private_school_vat",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__private_school_vat_20pct",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2039004728.2579594,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2182277423.2901382,
-    "key": "obr_pmd_nov2025:11647:b269082735adb83b",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2039004728.2579594,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2182277423.2901382,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2039004728.2579594,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2182277423.2901382,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2106518390.8636017,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2254534269.309538,
-    "key": "obr_pmd_nov2025:11648:48bd77ddd06dec27",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2106518390.8636017,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2254534269.309538,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2106518390.8636017,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2254534269.309538,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2182605140.493597,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2335967764.6855392,
-    "key": "obr_pmd_nov2025:11649:910077d14a180f90",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2182605140.493597,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2335967764.6855392,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2182605140.493597,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2335967764.6855392,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2259267108.0862694,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2418086716.0288925,
-    "key": "obr_pmd_nov2025:11650:068acce8b0873200",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2259267108.0862694,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2418086716.0288925,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2259267108.0862694,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2418086716.0288925,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2336375935.3248425,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2500617321.3659096,
-    "key": "obr_pmd_nov2025:11651:9a7327566a66890c",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2336375935.3248425,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2500617321.3659096,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2029
-   },
-   {
-    "base_gbp": 2336375935.3248425,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2500617321.3659096,
-    "key": "stamp_duty_land_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp",
-    "year": 2029
-   },
-   {
-    "base_gbp": 1713880895.879209,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1477704209.4028206,
-    "key": "obr_pmd_nov2025:22853:636080d8aa33dd8e",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2024
-   },
-   {
-    "base_gbp": 1713880895.879209,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1477704209.4028206,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2024
-   },
-   {
-    "base_gbp": 1713880895.879209,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 1477704209.4028206,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2024
-   },
-   {
-    "base_gbp": 349882534.4296024,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 175460925.4459455,
-    "key": "obr_pmd_nov2025:22854:edbde987f66af165",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2025
-   },
-   {
-    "base_gbp": 349882534.4296024,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 175460925.4459455,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2025
-   },
-   {
-    "base_gbp": 349882534.4296024,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 175460925.4459455,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2025
-   },
-   {
-    "base_gbp": 367920017.09756255,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 184684987.91397357,
-    "key": "obr_pmd_nov2025:22855:dbc5baf2a54734dc",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2026
-   },
-   {
-    "base_gbp": 367920017.09756255,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 184684987.91397357,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2026
-   },
-   {
-    "base_gbp": 367920017.09756255,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 184684987.91397357,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2026
-   },
-   {
-    "base_gbp": 397324703.9610295,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 216206005.17124224,
-    "key": "obr_pmd_nov2025:22856:c29981419df6c6f6",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2027
-   },
-   {
-    "base_gbp": 397324703.9610295,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 216206005.17124224,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2027
-   },
-   {
-    "base_gbp": 397324703.9610295,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 216206005.17124224,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2027
-   },
-   {
-    "base_gbp": 417582943.08061886,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 217874757.0607648,
-    "key": "obr_pmd_nov2025:22857:92bf18d3bd843235",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2028
-   },
-   {
-    "base_gbp": 417582943.08061886,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 217874757.0607648,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2028
-   },
-   {
-    "base_gbp": 417582943.08061886,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 217874757.0607648,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2028
-   },
-   {
-    "base_gbp": 453160743.2087734,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 228829386.94062686,
-    "key": "obr_pmd_nov2025:22858:6050e74df71edc1c",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2029
-   },
-   {
-    "base_gbp": 453160743.2087734,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 228829386.94062686,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2029
-   },
-   {
-    "base_gbp": 453160743.2087734,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 228829386.94062686,
-    "key": "winter_fuel_allowance",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__winter_fuel_means_test",
-    "year": 2029
-   },
-   {
-    "base_gbp": null,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10542:89ab4668e579ad56",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2023
-   },
-   {
-    "base_gbp": null,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10548:f2f563200611f223",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2023
-   },
-   {
-    "base_gbp": null,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10560:3a6d16cff489f44c",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2023
-   },
-   {
-    "base_gbp": null,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:21461:f9e31391303b473d",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2023
-   },
-   {
-    "base_gbp": -11082510181.993792,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -10630356167.505722,
-    "key": "obr_pmd_nov2025:10549:7322b894d39fa3ec",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2024
-   },
-   {
-    "base_gbp": 86201088.67014313,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 241090644.10290527,
-    "key": "obr_pmd_nov2025:21462:c775903b43caf723",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2024
-   },
-   {
-    "base_gbp": -10996309093.323648,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -10389265523.402817,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2024
-   },
-   {
-    "base_gbp": -11086458169.228767,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -10632796331.321083,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2024
-   },
-   {
-    "base_gbp": 3947987.234975338,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2440163.8153615,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2024
-   },
-   {
-    "base_gbp": 86201088.67014313,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 241090644.10290527,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2024
-   },
-   {
-    "base_gbp": -11685772883.678026,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11329957617.157879,
-    "key": "obr_pmd_nov2025:10550:68081ae97974ee1e",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2025
-   },
-   {
-    "base_gbp": 94249253.54277039,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 266181343.4298706,
-    "key": "obr_pmd_nov2025:21463:fd9bc11d19465ecb",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2025
-   },
-   {
-    "base_gbp": -11591523630.135256,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11063776273.728008,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2025
-   },
-   {
-    "base_gbp": -11689444668.923279,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11332885657.203163,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2025
-   },
-   {
-    "base_gbp": 94249253.54277039,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 266181343.4298706,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2025
-   },
-   {
-    "base_gbp": -12070073648.808764,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11791691029.942415,
-    "key": "obr_pmd_nov2025:10551:67fe35e4947b995a",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2026
-   },
-   {
-    "base_gbp": 104678630.74134064,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 282034438.7785034,
-    "key": "obr_pmd_nov2025:21464:190052623cdf04c0",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2026
-   },
-   {
-    "base_gbp": -11965395018.067423,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11509656591.163912,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2026
-   },
-   {
-    "base_gbp": -12073479284.911896,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11795774735.615051,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2026
-   },
-   {
-    "base_gbp": 104678630.74134064,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 282034438.7785034,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2026
-   },
-   {
-    "base_gbp": -12356159334.317142,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12126516751.307087,
-    "key": "obr_pmd_nov2025:10552:16a41c96f88267ae",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2027
-   },
-   {
-    "base_gbp": 109333370.59695435,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 292445236.05249023,
-    "key": "obr_pmd_nov2025:21465:6ea19652f3e3ea6b",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2027
-   },
-   {
-    "base_gbp": -12246825963.720188,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11834071515.254597,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2027
-   },
-   {
-    "base_gbp": -12359540300.262665,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12132335398.171082,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2027
-   },
-   {
-    "base_gbp": 3380965.9455218315,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 5818646.863994598,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2027
-   },
-   {
-    "base_gbp": 109333370.59695435,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 292445236.05249023,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2027
-   },
-   {
-    "base_gbp": -12663862924.5513,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12442433002.339989,
-    "key": "obr_pmd_nov2025:10553:39c2cf71f48d4440",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2028
-   },
-   {
-    "base_gbp": 109787606.17053986,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 303440070.03996277,
-    "key": "obr_pmd_nov2025:21466:43674024394e1bc0",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2028
-   },
-   {
-    "base_gbp": -12554075318.38076,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12138992932.300026,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2028
-   },
-   {
-    "base_gbp": -12667318767.890686,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12449876132.117287,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2028
-   },
-   {
-    "base_gbp": 3455843.3393855095,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 7443129.777297974,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2028
-   },
-   {
-    "base_gbp": 109787606.17053986,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 303440070.03996277,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-    "year": 2028
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10590:9fb656d369cf6c02",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10596:482eac698ab9c181",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2023
-   },
-   {
-    "base_gbp": null,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10608:8d76207d856fc00c",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:21497:197a81ed0459bc7d",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2023
-   },
-   {
-    "base_gbp": -512170359.34750974,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -444404910.7621303,
-    "key": "obr_pmd_nov2025:10597:37b420855b7005a0",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2024
-   },
-   {
-    "base_gbp": 9706978.086303711,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 39312296.15826416,
-    "key": "obr_pmd_nov2025:21498:3fa4108a7eac0a15",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2024
-   },
-   {
-    "base_gbp": -502463381.26120603,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -405092614.60386616,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2024
-   },
-   {
-    "base_gbp": -512118439.03477466,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -444404910.7621303,
-    "key": "ni_class_2",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2024
-   },
-   {
-    "base_gbp": -51920.31273508072,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2024
-   },
-   {
-    "base_gbp": 9706978.086303711,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 39312296.15826416,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2024
-   },
-   {
-    "base_gbp": -519186159.4330233,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -459264249.43539166,
-    "key": "obr_pmd_nov2025:10598:28f9366b82391330",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2025
-   },
-   {
-    "base_gbp": 9353628.809425354,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 39489133.344177246,
-    "key": "obr_pmd_nov2025:21499:909bf2ab3554e230",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2025
-   },
-   {
-    "base_gbp": -509832530.6235979,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -419775116.0912144,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2025
-   },
-   {
-    "base_gbp": -519141267.9473098,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -459264249.43539166,
-    "key": "ni_class_2",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2025
-   },
-   {
-    "base_gbp": -44891.4857134819,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2025
-   },
-   {
-    "base_gbp": 9353628.809425354,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 39489133.344177246,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2025
-   },
-   {
-    "base_gbp": -542530999.0906498,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -454992560.1827409,
-    "key": "obr_pmd_nov2025:10599:0cdd3c6417e28a14",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2026
-   },
-   {
-    "base_gbp": 11441880.627342224,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 37503348.28427124,
-    "key": "obr_pmd_nov2025:21500:3cd35347ee5fc266",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2026
-   },
-   {
-    "base_gbp": -531089118.4633076,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -417489211.8984697,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2026
-   },
-   {
-    "base_gbp": -542485937.01707,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -454992560.1827409,
-    "key": "ni_class_2",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2026
-   },
-   {
-    "base_gbp": -45062.07357978821,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2026
-   },
-   {
-    "base_gbp": 11441880.627342224,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 37503348.28427124,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1338847352.1526794,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -474097034.6309568,
-    "key": "obr_pmd_nov2025:10600:d0828a5bfb537ca4",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2027
-   },
-   {
-    "base_gbp": 11933081.293174744,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 41829053.17868042,
-    "key": "obr_pmd_nov2025:21501:53e1c92d4a4f4e96",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1326914270.8595047,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -432267981.4522764,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2027
-   },
-   {
-    "base_gbp": -552039153.5443193,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -474097034.6309568,
-    "key": "ni_class_2",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2027
-   },
-   {
-    "base_gbp": -786808198.6083603,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2027
-   },
-   {
-    "base_gbp": 11933081.293174744,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 41829053.17868042,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1054555794.4022624,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -491167651.8830828,
-    "key": "obr_pmd_nov2025:10601:756ded1466aa84b3",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2028
-   },
-   {
-    "base_gbp": 11951206.26462555,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 41993236.97143555,
-    "key": "obr_pmd_nov2025:21502:1ea7fa7e0cfb40da",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1042604588.1376369,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -449174414.91164726,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2028
-   },
-   {
-    "base_gbp": -558680740.925205,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -491167651.8830828,
-    "key": "ni_class_2",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2028
-   },
-   {
-    "base_gbp": -495875053.47705746,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": 0.0,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2028
-   },
-   {
-    "base_gbp": 11951206.26462555,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 41993236.97143555,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-    "year": 2028
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10566:0e8d21e52f88eb57",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10572:2ff1949c7ce7acb3",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2023
-   },
-   {
-    "base_gbp": null,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10584:443a5169e8191f85",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:21479:4eea71bff070729b",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2023
-   },
-   {
-    "base_gbp": -557157541.6621337,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -324495750.0986695,
-    "key": "obr_pmd_nov2025:10573:22a57b73322dcf42",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2024
-   },
-   {
-    "base_gbp": 6461029.071586609,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 18655108.79447937,
-    "key": "obr_pmd_nov2025:21480:4e24d4d5f036370a",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2024
-   },
-   {
-    "base_gbp": -550696512.5905471,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -305840641.30419016,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2024
-   },
-   {
-    "base_gbp": -557157541.6621337,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -324495750.0986695,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2024
-   },
-   {
-    "base_gbp": 6461029.071586609,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 18655108.79447937,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2024
-   },
-   {
-    "base_gbp": -564695883.8826604,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -330653144.5776048,
-    "key": "obr_pmd_nov2025:10574:46d6b72964d38975",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2025
-   },
-   {
-    "base_gbp": 6347881.413131714,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 20918336.49822998,
-    "key": "obr_pmd_nov2025:21481:2b2973b0ac23d6e9",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2025
-   },
-   {
-    "base_gbp": -558348002.4695287,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -309734808.0793748,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2025
-   },
-   {
-    "base_gbp": -564695883.8826604,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -330653144.5776048,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2025
-   },
-   {
-    "base_gbp": 6347881.413131714,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 20918336.49822998,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2025
-   },
-   {
-    "base_gbp": -583538584.2492275,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -348326831.56943035,
-    "key": "obr_pmd_nov2025:10575:e617707f9625fbba",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2026
-   },
-   {
-    "base_gbp": 7701561.54548645,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 22048259.627441406,
-    "key": "obr_pmd_nov2025:21482:753c71d52bde5307",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2026
-   },
-   {
-    "base_gbp": -575837022.7037411,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -326278571.94198895,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2026
-   },
-   {
-    "base_gbp": -583538584.2492275,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -348326831.56943035,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2026
-   },
-   {
-    "base_gbp": 7701561.54548645,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 22048259.627441406,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2026
-   },
-   {
-    "base_gbp": -607032565.8024693,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -369477043.1628766,
-    "key": "obr_pmd_nov2025:10576:033898ebb4865f78",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2027
-   },
-   {
-    "base_gbp": 8119534.424377441,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 23584034.71257019,
-    "key": "obr_pmd_nov2025:21483:8913a74a278eaeb2",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2027
-   },
-   {
-    "base_gbp": -598913031.3780918,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -345893008.4503064,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2027
-   },
-   {
-    "base_gbp": -607032565.8024693,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -369477043.1628766,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2027
-   },
-   {
-    "base_gbp": 8119534.424377441,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 23584034.71257019,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2027
-   },
-   {
-    "base_gbp": -631251667.9559898,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -390706828.95479107,
-    "key": "obr_pmd_nov2025:10577:55cd081c955ca847",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2028
-   },
-   {
-    "base_gbp": 8283750.790786743,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 24746395.838638306,
-    "key": "obr_pmd_nov2025:21484:a26658ab9b55efac",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2028
-   },
-   {
-    "base_gbp": -622967917.1652031,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -365960433.11615276,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2028
-   },
-   {
-    "base_gbp": -631251667.9559898,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -390706828.95479107,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2028
-   },
-   {
-    "base_gbp": 8283750.790786743,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 24746395.838638306,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-    "year": 2028
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:21629:a71ef831d6e1cb87",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2023
-   },
-   {
-    "base_gbp": null,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:21635:7e6b2c17ec9be5e4",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2023
-   },
-   {
-    "base_gbp": -584567128.8834467,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1687110967.884717,
-    "key": "obr_pmd_nov2025:21630:bf9643f47e057983",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2024
-   },
-   {
-    "base_gbp": -584567128.8834467,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1687110967.884717,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2024
-   },
-   {
-    "base_gbp": -35532741.909638405,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -132222067.57011127,
-    "key": "housing_benefit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2024
-   },
-   {
-    "base_gbp": -549034386.9738083,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1554888900.3146057,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2024
-   },
-   {
-    "base_gbp": -799767145.6307344,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1883075660.240798,
-    "key": "obr_pmd_nov2025:21631:75b9415771e2e20c",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2025
-   },
-   {
-    "base_gbp": -799767145.6307344,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1883075660.240798,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2025
-   },
-   {
-    "base_gbp": -74558905.50565815,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -145070938.0732565,
-    "key": "housing_benefit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2025
-   },
-   {
-    "base_gbp": -725208240.1250763,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1738004722.1675415,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2025
-   },
-   {
-    "base_gbp": -833673303.0592041,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1917164100.9136887,
-    "key": "obr_pmd_nov2025:21632:353c5d3f922bfc89",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2026
-   },
-   {
-    "base_gbp": -833673303.0592041,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1917164100.9136887,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2026
-   },
-   {
-    "base_gbp": -79044897.4950409,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -149931822.89990997,
-    "key": "housing_benefit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2026
-   },
-   {
-    "base_gbp": -754628405.5641632,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1767232278.0137787,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2026
-   },
-   {
-    "base_gbp": -859073219.5275888,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1979148274.9173164,
-    "key": "obr_pmd_nov2025:21633:5ce95c1559b8bc39",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2027
-   },
-   {
-    "base_gbp": -859073219.5275888,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1979148274.9173164,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2027
-   },
-   {
-    "base_gbp": -83591867.4580164,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -163561592.63858414,
-    "key": "housing_benefit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2027
-   },
-   {
-    "base_gbp": -775481352.0695724,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1815586682.2787323,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2027
-   },
-   {
-    "base_gbp": -859833233.0249033,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -2000162838.6384335,
-    "key": "obr_pmd_nov2025:21634:ff94f5b54b89d1ee",
-    "level": "source_row",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2028
-   },
-   {
-    "base_gbp": -859833233.0249033,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -2000162838.6384335,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2028
-   },
-   {
-    "base_gbp": -86662248.82321262,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -169179610.90740013,
-    "key": "housing_benefit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2028
-   },
-   {
-    "base_gbp": -773170984.2016907,
-    "event": "autumn_statement_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1830983227.7310333,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-    "year": 2028
-   },
-   {
-    "base_gbp": -3693209247.487488,
-    "event": "spring_budget_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10231:ce0a1472426c8430",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10237:2f261725299509e1",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2023
-   },
-   {
-    "base_gbp": -3693209247.487488,
-    "event": "spring_budget_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2023
-   },
-   {
-    "base_gbp": -4297546474.76123,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3004426501.3733215,
-    "key": "obr_pmd_nov2025:10232:aa24b205227c35bd",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2024
-   },
-   {
-    "base_gbp": -4297546474.76123,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3004426501.3733215,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2024
-   },
-   {
-    "base_gbp": -4297546474.76123,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3004426501.3733215,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2024
-   },
-   {
-    "base_gbp": -5395125608.308472,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3300744216.6347656,
-    "key": "obr_pmd_nov2025:10233:f9cad5be5ec138c8",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2025
-   },
-   {
-    "base_gbp": -5395125608.308472,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3300744216.6347656,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2025
-   },
-   {
-    "base_gbp": -5395125608.308472,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3300744216.6347656,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2025
-   },
-   {
-    "base_gbp": -6040729276.933105,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3540262930.7841797,
-    "key": "obr_pmd_nov2025:10234:7fb22cdd33e49932",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": -6040729276.933105,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3540262930.7841797,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": -6040729276.933105,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3540262930.7841797,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2026
-   },
-   {
-    "base_gbp": -6456452398.171143,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3725202663.6395264,
-    "key": "obr_pmd_nov2025:10235:fbb8ccda250b78e9",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": -6456452398.171143,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3725202663.6395264,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": -6456452398.171143,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -3725202663.6395264,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-    "year": 2027
-   },
-   {
-    "base_gbp": -2321120.9429092407,
-    "event": "spring_budget_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:20832:882117c50af13444",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2023
-   },
-   {
-    "base_gbp": -2321120.9429092407,
-    "event": "spring_budget_2023",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2023
-   },
-   {
-    "base_gbp": -1793717.8464126587,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -239031104.5414734,
-    "key": "obr_pmd_nov2025:20833:270c17d92e54dca4",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1793717.8464126587,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -239031104.5414734,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1793717.8464126587,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -239031104.5414734,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1723210.1202392578,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -251689860.3839264,
-    "key": "obr_pmd_nov2025:20834:e0b34fcdbf83f61a",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1723210.1202392578,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -251689860.3839264,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1723210.1202392578,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -251689860.3839264,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1925531.0124588013,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -255168633.24157715,
-    "key": "obr_pmd_nov2025:20835:1e730fccbdf4c015",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1925531.0124588013,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -255168633.24157715,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1925531.0124588013,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -255168633.24157715,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2026
-   },
-   {
-    "base_gbp": -2069178.6504898071,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -266037263.24046326,
-    "key": "obr_pmd_nov2025:20836:76beca3818ed1fe1",
-    "level": "source_row",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2027
-   },
-   {
-    "base_gbp": -2069178.6504898071,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -266037263.24046326,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2027
-   },
-   {
-    "base_gbp": -2069178.6504898071,
-    "event": "spring_budget_2023",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -266037263.24046326,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-    "year": 2027
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10950:cfbd201bdcc71ff6",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10956:fe78e076cc7bb65b",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:22169:cfddc3a6fdeecca3",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2023
-   },
-   {
-    "base_gbp": -11082510181.993792,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -10630356167.505722,
-    "key": "obr_pmd_nov2025:10957:34718787787f7089",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": 86201088.67014313,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 241090644.10290527,
-    "key": "obr_pmd_nov2025:22170:45627d3976bd492a",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": -10996309093.323648,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -10389265523.402817,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": -11086458169.228767,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -10632796331.321083,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": 3947987.234975338,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 2440163.8153615,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": 86201088.67014313,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 241090644.10290527,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": -11685772883.678026,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11329957617.157879,
-    "key": "obr_pmd_nov2025:10958:c7a912de7a1a9114",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 94249253.54277039,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 266181343.4298706,
-    "key": "obr_pmd_nov2025:22171:93d8943dfe121528",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": -11591523630.135256,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11063776273.728008,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": -11689444668.923279,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11332885657.203163,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 94249253.54277039,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 266181343.4298706,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": -12070073648.808764,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11791691029.942415,
-    "key": "obr_pmd_nov2025:10959:424db47edb88e339",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 104678630.74134064,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 282034438.7785034,
-    "key": "obr_pmd_nov2025:22172:8c021f0cf80fe71b",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": -11965395018.067423,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11509656591.163912,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": -12073479284.911896,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11795774735.615051,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 104678630.74134064,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 282034438.7785034,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": -12356159334.317142,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12126516751.307087,
-    "key": "obr_pmd_nov2025:10960:fa02958b7f130d94",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 109333370.59695435,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 292445236.05249023,
-    "key": "obr_pmd_nov2025:22173:3beb0f8e7601b1e2",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": -12246825963.720188,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -11834071515.254597,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": -12359540300.262665,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12132335398.171082,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 3380965.9455218315,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 5818646.863994598,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 109333370.59695435,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 292445236.05249023,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": -12663862924.5513,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12442433002.339989,
-    "key": "obr_pmd_nov2025:10961:cc058843879051af",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 109787606.17053986,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 303440070.03996277,
-    "key": "obr_pmd_nov2025:22174:b9088212717e5ab4",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": -12554075318.38076,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12138992932.300026,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": -12667318767.890686,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -12449876132.117287,
-    "key": "ni_class_1_employee",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 3455843.3393855095,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 7443129.777297974,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 109787606.17053986,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 303440070.03996277,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10968:f0c2d5c4f10ba12c",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10974:fdd0e608076292a8",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:22187:cc8ffca6f2f5e590",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2023
-   },
-   {
-    "base_gbp": -1114763387.7151809,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -649587042.2363234,
-    "key": "obr_pmd_nov2025:10975:497e18b9ba827fa3",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": 12922100.778694153,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 37366356.46134949,
-    "key": "obr_pmd_nov2025:22188:9f98363a90ba075c",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1101841286.9364867,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -612220685.7749739,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1114763387.7151809,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -649587042.2363234,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": 12922100.778694153,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 37366356.46134949,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1129913657.7188382,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -661746627.0762091,
-    "key": "obr_pmd_nov2025:10976:230199453880fc45",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 12695757.11100769,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 41882343.67687988,
-    "key": "obr_pmd_nov2025:22189:215059939a4b5efc",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1117217900.6078305,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -619864283.3993292,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1129913657.7188382,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -661746627.0762091,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": 12695757.11100769,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 41882343.67687988,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1167913753.6299438,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -696073741.2305636,
-    "key": "obr_pmd_nov2025:10977:57eced9fbf6bab3b",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 15403093.633636475,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 44096154.611190796,
-    "key": "obr_pmd_nov2025:22190:dc5ace295177c84b",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1152510659.9963074,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -651977586.6193728,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1167913753.6299438,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -696073741.2305636,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": 15403093.633636475,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 44096154.611190796,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1215475927.791809,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -738860279.7822428,
-    "key": "obr_pmd_nov2025:10978:58862ededbda2b44",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 16239100.814880371,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 47827344.751449585,
-    "key": "obr_pmd_nov2025:22191:6f3ee686a895fd60",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1199236826.9769287,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -691032935.0307932,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1215475927.791809,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -738860279.7822428,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": 16239100.814880371,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 47827344.751449585,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1263944357.8132381,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -782252598.0831976,
-    "key": "obr_pmd_nov2025:10979:3e84f55a7dc5bd63",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 16707183.741485596,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 49616282.76098633,
-    "key": "obr_pmd_nov2025:22192:79bd1761809b7468",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1247237174.0717525,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -732636315.3222113,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1263944357.8132381,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -782252598.0831976,
-    "key": "ni_class_4",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 16707183.741485596,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 49616282.76098633,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-    "year": 2028
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:10986:8084652420f5c808",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:22205:3c227ad5b7739a89",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2023
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "support"
-    ],
-    "head_gbp": null,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2023
-   },
-   {
-    "base_gbp": -1491806310.2611084,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -779631545.703949,
-    "key": "obr_pmd_nov2025:10987:0f254c98c34bc660",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -336165102.39004517,
-    "key": "obr_pmd_nov2025:22206:49a0caec037600d2",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1491806310.2611084,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1115796648.0939941,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": -0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -336165102.39004517,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1491806310.2611084,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -779631545.703949,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2024
-   },
-   {
-    "base_gbp": -1592760827.531311,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -980457483.7055664,
-    "key": "obr_pmd_nov2025:10988:6a33f7863750611c",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2025
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -282526333.77780914,
-    "key": "obr_pmd_nov2025:22207:01b31afdbe23dae6",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1592760827.531311,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1262983817.4833755,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2025
-   },
-   {
-    "base_gbp": -0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -282526333.77780914,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1592760827.531311,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -980457483.7055664,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2025
-   },
-   {
-    "base_gbp": -1720629444.0709229,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1131591240.399292,
-    "key": "obr_pmd_nov2025:10989:43638ad22300c9c3",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -307810876.10124016,
-    "key": "obr_pmd_nov2025:22208:6c19f800730945b5",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1720629444.0709229,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1439402116.5005322,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": -0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -307810876.10124016,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1720629444.0709229,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1131591240.399292,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2026
-   },
-   {
-    "base_gbp": -1844209824.508789,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1274651222.2009888,
-    "key": "obr_pmd_nov2025:10990:e86af1dbeb4da64e",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -323556121.7815895,
-    "key": "obr_pmd_nov2025:22209:71f606ed0f936afe",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1844209824.508789,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1598207343.9825783,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": -0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -323556121.7815895,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1844209824.508789,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1274651222.2009888,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2027
-   },
-   {
-    "base_gbp": -1972030891.008606,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1394705720.206482,
-    "key": "obr_pmd_nov2025:10991:11a476b01436c0db",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": 0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -363073039.4392204,
-    "key": "obr_pmd_nov2025:22210:0ea61ade0bedb0f5",
-    "level": "source_row",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1972030891.008606,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1757778759.6457024,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": -0.0,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -363073039.4392204,
-    "key": "child_benefit",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": -1972030891.008606,
-    "event": "spring_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -1394705720.206482,
-    "key": "income_tax",
-    "level": "head",
-    "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-    "year": 2028
-   },
-   {
-    "base_gbp": 264112675.57543182,
-    "event": "spring_statement_2025",
-    "flags": [
-     "inertness"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:23317:1b983354102bb14d",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2026
-   },
-   {
-    "base_gbp": 264112675.57543182,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical",
-     "structural",
-     "inertness"
-    ],
-    "head_gbp": 0.0,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2026
-   },
-   {
-    "base_gbp": 264112675.57543182,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -0.0,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2026
-   },
-   {
-    "base_gbp": 338556341.93270874,
-    "event": "spring_statement_2025",
-    "flags": [
-     "inertness"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:23318:dcc529f309fec572",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2027
-   },
-   {
-    "base_gbp": 338556341.93270874,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical",
-     "structural",
-     "inertness"
-    ],
-    "head_gbp": 0.0,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2027
-   },
-   {
-    "base_gbp": 338556341.93270874,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -0.0,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2027
-   },
-   {
-    "base_gbp": 436340777.1042633,
-    "event": "spring_statement_2025",
-    "flags": [
-     "inertness"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:23319:c6ce8500db20415e",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2028
-   },
-   {
-    "base_gbp": 436340777.1042633,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical",
-     "structural",
-     "inertness"
-    ],
-    "head_gbp": 0.0,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2028
-   },
-   {
-    "base_gbp": 436340777.1042633,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -0.0,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2028
-   },
-   {
-    "base_gbp": 626601979.8689651,
-    "event": "spring_statement_2025",
-    "flags": [
-     "inertness"
-    ],
-    "head_gbp": null,
-    "key": "obr_pmd_nov2025:23320:4c41d84635ed82ad",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2029
-   },
-   {
-    "base_gbp": 626601979.8689651,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical",
-     "structural",
-     "inertness"
-    ],
-    "head_gbp": 0.0,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2029
-   },
-   {
-    "base_gbp": 626601979.8689651,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical",
-     "structural"
-    ],
-    "head_gbp": -0.0,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut",
-    "year": 2029
-   },
-   {
-    "base_gbp": -403656800.85860443,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -723462767.5098114,
-    "key": "obr_pmd_nov2025:23335:7e9f9d66b5194ff6",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2026
-   },
-   {
-    "base_gbp": -403656800.85860443,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -723462767.5098114,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2026
-   },
-   {
-    "base_gbp": -403656800.85860443,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -723462767.5098114,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2026
-   },
-   {
-    "base_gbp": -409490512.0053253,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -732669693.5323181,
-    "key": "obr_pmd_nov2025:23336:5d8fea1a1f3c86d6",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2027
-   },
-   {
-    "base_gbp": -409490512.0053253,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -732669693.5323181,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2027
-   },
-   {
-    "base_gbp": -409490512.0053253,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -732669693.5323181,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2027
-   },
-   {
-    "base_gbp": -414257872.6100464,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -746613549.421051,
-    "key": "obr_pmd_nov2025:23337:31f0f1693e3bba3c",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2028
-   },
-   {
-    "base_gbp": -414257872.6100464,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -746613549.421051,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2028
-   },
-   {
-    "base_gbp": -414257872.6100464,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -746613549.421051,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2028
-   },
-   {
-    "base_gbp": -421859102.8292618,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -753234184.9562225,
-    "key": "obr_pmd_nov2025:23338:27e34c93a163b4f0",
-    "level": "source_row",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2029
-   },
-   {
-    "base_gbp": -421859102.8292618,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -753234184.9562225,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2029
-   },
-   {
-    "base_gbp": -421859102.8292618,
-    "event": "spring_statement_2025",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": -753234184.9562225,
-    "key": "universal_credit",
-    "level": "head",
-    "measure_key": "spring_statement_2025__uc_standard_allowance_above_inflation",
-    "year": 2029
-   }
-  ]
- },
- "execution": {
-  "dataset_sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-  "packaged_bundle_manifest_sha256": "fc1abd76660e9b0bdfe6319a2ae5f221847750e087143e5ba6da859a9422e333",
-  "packages": {
-   "policyengine": {
-    "record_sha256": "292af3479d12a7ad10cc8c84377e81cf5362d75b8289603c0948968f53a24790",
-    "version": "6.4.1",
-    "wheel_sha256": "550c3a9ae9c74d409d2fa81b7090850c2e5115b57f91ef1814f3c5fddaca36f2"
-   },
-   "policyengine-core": {
-    "record_sha256": "53a92f2e67982a16faeba61b8b3d145d3ab9a50d298e92c512d61166ffe5d5d4",
-    "version": "3.33.0",
-    "wheel_sha256": "2e32d02a8910ab683a2b7600987904b351d058fc2bd5910a8ea6641438bcd789"
-   },
-   "policyengine-uk": {
-    "record_sha256": "365cc5256f85b474bd445403462e17e468a1c2f5da6cc2c2b1cbf626ac20e243",
-    "version": "2.130.1",
-    "wheel_sha256": "f8b1b8b917c9297ff66937811dbebd9a62d3b1796ce894c326e98051cac4c873"
-   }
-  },
-  "platform": "Linux-6.17.0-1022-azure-x86_64-with-glibc2.39",
-  "python": "3.12.3",
-  "release_bundle": {
-   "bundle_id": "uk-6.4.1",
-   "certified_by": "policyengine.py bundle certification",
-   "certified_data_artifact_sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-   "certified_data_build_id": "policyengine-uk-data-1.58.1",
-   "compatibility_basis": "legacy_compatible_model_package",
-   "country_id": "uk",
-   "data_build_fingerprint": "sha256:c094d7006fdd81df220090284212f16bbffb15624643bc442c4bb3e1b1e5dac8",
-   "data_build_model_git_sha": "daad71cd26c107f1b784ff600d1464ba59c70e4a",
-   "data_build_model_version": "2.122.2",
-   "data_package": "policyengine-uk-data",
-   "data_version": "1.58.1",
-   "default_dataset": "enhanced_frs_2024_25",
-   "default_dataset_uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.1",
-   "model_package": "policyengine-uk",
-   "model_version": "2.130.1",
-   "policyengine_version": "6.4.1"
-  },
-  "requirements_sha256": "d1636b4d91af2a1e1802f5e7551a7bf3023ac1124db7730d31d05925725024d9",
-  "runner": "github-actions Linux X64"
- },
- "integrity": {
-  "failures": [],
-  "status": "incomplete"
- },
- "receipt_sha256": "e3cc6521f0cf2273fc1e7970983421d14a668afc5d21f829a71775b15873f34f",
- "rejection": null,
- "request_id": "d3d242e761b9b5177ae77a2528e1cd3dab306cb73350e79648551dc99c288412",
- "results": {
-  "manifest_sha256": "9def79c1b2903ddabdc8bf70e618d478a3c2950deb49f6ec31ff5e3025718056",
-  "path": "requests/d3d242e761b9b5177ae77a2528e1cd3dab306cb73350e79648551dc99c288412/results/",
-  "ref": "replay-state",
-  "repository": "PolicyEngine/policyengine-scorecard"
- },
- "schema": "policyengine.uk-replay-receipt/v1",
- "status": "complete",
- "variant_id": "pe6.4.1_uk2.130.1_policyengine-uk-data-1.58.1",
- "variant_identity_sha256": "fb1d19d6469a82dd447fdba3aff65daab22da9ed654a718a572da8d0da40d774"
-}
diff --git a/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REQUEST.json b/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REQUEST.json
deleted file mode 100644
index 35e82fcd3..000000000
--- a/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REQUEST.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "attempt": 1,
- "candidate": {
-  "data": {
-   "build_id": "policyengine-uk-data-1.58.1",
-   "dataset": "enhanced_frs_2024_25",
-   "path": "enhanced_frs_2024_25.h5",
-   "release_manifest_sha256": "545797bf231cd3681e64b677065d921304e9a32f1e46e757a940a412b4136c17",
-   "repo_id": "policyengine/policyengine-uk-data-private",
-   "repo_type": "model",
-   "revision": "1.58.1",
-   "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-   "size_bytes": 128409762
-  },
-  "expected_release_bundle": {
-   "bundle_id": "uk-6.4.1",
-   "certified_by": "policyengine.py bundle certification",
-   "certified_data_artifact_sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-   "certified_data_build_id": "policyengine-uk-data-1.58.1",
-   "compatibility_basis": "legacy_compatible_model_package",
-   "country_id": "uk",
-   "data_build_fingerprint": "sha256:c094d7006fdd81df220090284212f16bbffb15624643bc442c4bb3e1b1e5dac8",
-   "data_build_model_git_sha": "daad71cd26c107f1b784ff600d1464ba59c70e4a",
-   "data_build_model_version": "2.122.2",
-   "data_package": "policyengine-uk-data",
-   "data_version": "1.58.1",
-   "default_dataset": "enhanced_frs_2024_25",
-   "default_dataset_uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.1",
-   "model_package": "policyengine-uk",
-   "model_version": "2.130.1",
-   "policyengine_version": "6.4.1"
-  },
-  "policyengine": {
-   "packaged_bundle_manifest_sha256": "fc1abd76660e9b0bdfe6319a2ae5f221847750e087143e5ba6da859a9422e333",
-   "source": {
-    "pypi": {
-     "wheel_sha256": "550c3a9ae9c74d409d2fa81b7090850c2e5115b57f91ef1814f3c5fddaca36f2"
-    }
-   },
-   "version": "6.4.1"
-  },
-  "policyengine_core": {
-   "version": "3.33.0",
-   "wheel_sha256": "2e32d02a8910ab683a2b7600987904b351d058fc2bd5910a8ea6641438bcd789"
-  },
-  "policyengine_uk": {
-   "version": "2.130.1",
-   "wheel_sha256": "f8b1b8b917c9297ff66937811dbebd9a62d3b1796ce894c326e98051cac4c873"
-  }
- },
- "compare_to": "latest_certified",
- "kind": "released_bundle",
- "requested_by": {
-  "commit": "0ccad05d2eecb99acbfa125599a419b51d07f0e1",
-  "note": "Built by hand by the W4 session on 2026-10-15 for policyengine 6.4.1 (release commit 0ccad05d), with released_bundle_request from policyengine.py PR #574 at 769d5efa, because the push workflow's NotifyConsumers request is not on main yet. No workflow run produced it.",
-  "repository": "PolicyEngine/policyengine.py"
- },
- "schema": "policyengine.uk-replay-qualification-request/v1"
-}
diff --git a/tests/fixtures/uk_replay/receipt_6.5.0/REPLAY_RECEIPT.json b/tests/fixtures/uk_replay/receipt_6.5.0/REPLAY_RECEIPT.json
deleted file mode 100644
index c66460517..000000000
--- a/tests/fixtures/uk_replay/receipt_6.5.0/REPLAY_RECEIPT.json
+++ /dev/null
@@ -1,560 +0,0 @@
-{
- "corpus": {
-  "corpus_version": "uk-fiscal-event-replay/2",
-  "events": {
-   "autumn_budget_2024": {
-    "artifacts": 30,
-    "comparison_provenance_sha256": "214c7afe8d9703fed378d0e4386d47abea4c535c3f0b8a2d6ee93bccab822727",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "registry_sha256": "89784d34920fb2d6aae702fb4028f84d7bf87f1694df77a0c9c5d255edbcdd34",
-    "run_manifest_sha256": "23ab600e88ef0269fa7d73f5e403ec3500e7b0a7d5fcddd60ba14c8239e39fda",
-    "staging_manifest_sha256": "1d882c1d4eb7a13b523bf99ac31945e2d4a3ebf836d6789565a006d2b71e789e",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_measure_years": [],
-    "unsupported_years": []
-   },
-   "autumn_budget_2025": {
-    "artifacts": 54,
-    "comparison_provenance_sha256": "f8b8f13cdf1541f387b474721e2d86efac099ada938165be08e71b9f8a806c04",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "registry_sha256": "3da50f9af6c7986fd5fe453ae2dac34275f319d1f2ccd441e3c438f51a18656e",
-    "run_manifest_sha256": "413acf6342a0e0a3a277cf1f2e9c0bf3c4be1e103204201f9171b90ab21ff5c5",
-    "staging_manifest_sha256": "5e4df8946e6cea2fa728200d1af2e6803cb74020cac521dd9b99f8869f80d456",
-    "supported_years": [
-     2025,
-     2026,
-     2027,
-     2028,
-     2029,
-     2030
-    ],
-    "unsupported_measure_years": [],
-    "unsupported_years": []
-   },
-   "autumn_statement_2023": {
-    "artifacts": 20,
-    "comparison_provenance_sha256": "74b8fba87ffc7a67706e4388009295f28e9da67db15a074c69d9537eb845d699",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-      "year": 2023
-     }
-    ],
-    "registry_sha256": "197d5583f0171104c673ca1f40b402a77ca2b003f496de37d6bc913fb9fd1021",
-    "run_manifest_sha256": "eb3705d7edb480a91eb37555c3fd52169861ceee84c5514b5529e248247d882a",
-    "staging_manifest_sha256": "239703b8c314f555fcaf96adaf573a7831962433fcb0e2b26713a217ec48ec7e",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-      "year": 2023
-     }
-    ],
-    "unsupported_years": [
-     {
-      "reason": "before_data_year",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2023": {
-    "artifacts": 8,
-    "comparison_provenance_sha256": "c23f0eef316404f78f23f3b7e429bdde59496f5ea2a93b883e20e1bcfb648c2b",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-      "year": 2023
-     }
-    ],
-    "registry_sha256": "0a78bfe32712bd30bdf9137bdf182e82a266c7da0e9885dd61cac6ef99a76357",
-    "run_manifest_sha256": "29944c4e0393091d621f260f658f700549c207dda4996dce198907665a2b3baa",
-    "staging_manifest_sha256": "a298924c7ed24832820ddb95196db1d9e9b7b40d32103762e7a5ac59477ef8fd",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-      "year": 2023
-     }
-    ],
-    "unsupported_years": [
-     {
-      "reason": "before_data_year",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2024": {
-    "artifacts": 15,
-    "comparison_provenance_sha256": "e15bb23ddc567b3a5afc3b0b5eeaae8bb08f12a1f17378f64bb7e2b67085011b",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-      "year": 2023
-     }
-    ],
-    "registry_sha256": "64a3bccfd950e868ffc5d6261bf3903df88a3ebedc9b4444494acc717259817a",
-    "run_manifest_sha256": "458f2f27eb954422bb8e8a3063b629b43f2ffae9cdf901680924c8846a3e9666",
-    "staging_manifest_sha256": "3679f6e865bd2068efe46db2ea3358f92d6be9d6ade8d2c1c901901ce9813d07",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-      "year": 2023
-     }
-    ],
-    "unsupported_years": [
-     {
-      "reason": "before_data_year",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_statement_2025": {
-    "artifacts": 12,
-    "comparison_provenance_sha256": "01874dea549c740dbb714f5615c45fc090554e47207d06c16641f3b01dfc4703",
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "registry_sha256": "d01ce0612f3f24830a8d8ea0abaaa6b2626963316b16750310d303f404fbab5b",
-    "run_manifest_sha256": "01d97cd339b9a389390e2de1eec9617ab4d3a0e0d3374cd2dd9d466bba717fe4",
-    "staging_manifest_sha256": "dcd2e1349596fa7cd26140ea2b4d29e3f6a2c2b7744359e93143af98d83bdb6c",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_measure_years": [],
-    "unsupported_years": []
-   }
-  }
- },
- "diff": {
-  "base_events": {
-   "autumn_budget_2024": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "run_manifest_sha256": "593a3e37a69faf3c5c4afeda26375aba2e748c208b8193178f6fbef179da6761",
-    "staging_manifest_sha256": "e9abe69562c9f8c0ccc2973331acb66d5b7d2971be7a22d257fb3a64057f8afb",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_measure_years": []
-   },
-   "autumn_budget_2025": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "run_manifest_sha256": "927266db92c873170b3c85617f041a9b37a31343e02543de0ad71285f9f8dabc",
-    "staging_manifest_sha256": "2f4550aa28e20b1498df5c8d790d751368381ae06a2b2934bb72ec9aa9a7856e",
-    "supported_years": [
-     2025,
-     2026,
-     2027,
-     2028,
-     2029,
-     2030
-    ],
-    "unsupported_measure_years": []
-   },
-   "autumn_statement_2023": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-      "year": 2023
-     }
-    ],
-    "run_manifest_sha256": "debb2ffec8011fe577e57ef3e334f72aa0e50d90ab46a8536ab2c231c2259c31",
-    "staging_manifest_sha256": "f2ed6a429597e7bc42e46398cdb03f69d92511c266762c4bfde6d00cf4beae08",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "autumn_statement_2023__class_1_employee_nics_main_rate_cut_2p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_2_self_employed_nics_abolition",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__class_4_self_employed_nics_main_rate_cut_1p",
-      "year": 2023
-     },
-     {
-      "measure_key": "autumn_statement_2023__lha_reset_to_30th_percentile",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2023": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-      "year": 2023
-     }
-    ],
-    "run_manifest_sha256": "e242bf40a01f186fd6b7c759d8d3927058a5a9e382d08d48df618f28199a6d64",
-    "staging_manifest_sha256": "7a74c574a781e37e45d5adb05afc694b4ba3fb1665fb45f5630c063ac75bec51",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "spring_budget_2023__pension_annual_allowance_package",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2023__uc_childcare_cap_increase",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_budget_2024": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [
-     {
-      "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-      "year": 2023
-     }
-    ],
-    "run_manifest_sha256": "0bce7f6e84de2cec8305ecfc8e769cd2c79e73ec736feb8282e9adaf944a4592",
-    "staging_manifest_sha256": "161ae8d04e51c4180d1c78ccd5fd21d0fae410f4d9237228bd7c2d9e61b90d37",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028
-    ],
-    "unsupported_measure_years": [
-     {
-      "measure_key": "spring_budget_2024__class_1_employee_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__class_4_self_employed_nics_main_rate_cut_2pp",
-      "year": 2023
-     },
-     {
-      "measure_key": "spring_budget_2024__hicbc_threshold_and_taper",
-      "year": 2023
-     }
-    ]
-   },
-   "spring_statement_2025": {
-    "full_supported_grid_complete": true,
-    "inert_measure_years": [],
-    "missing_measure_years": [],
-    "run_manifest_sha256": "e3ad05199bc1285c3f2752db7322652a0c275f4f42a0917425150ce55f094767",
-    "staging_manifest_sha256": "f663172c6be69557dbe1b533731559e5fa1aacbfd5c9151c030fffca5ebeff93",
-    "supported_years": [
-     2024,
-     2025,
-     2026,
-     2027,
-     2028,
-     2029
-    ],
-    "unsupported_measure_years": []
-   }
-  },
-  "base_variant_id": "pe6.4.1_uk2.130.1_policyengine-uk-data-1.58.1",
-  "diff_sha256": "131405d7b5555dbe0bd148629896c7eb439a5dd0647f723a1315c28188bbe65e",
-  "flag_counts": {
-   "construction": 6,
-   "coverage": 0,
-   "inertness": 0,
-   "mapping": 0,
-   "numerical": 3,
-   "structural": 0,
-   "support": 0
-  },
-  "flagged_rows": [
-   {
-    "base_gbp": 574999000.021347,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 956314309.095192,
-    "key": "obr_pmd_nov2025:11682:73295721bdfdb9e8",
-    "level": "source_row",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2024
-   },
-   {
-    "base_gbp": 574999000.021347,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical",
-     "construction"
-    ],
-    "head_gbp": 956314309.095192,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2024
-   },
-   {
-    "base_gbp": 574999000.021347,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "numerical"
-    ],
-    "head_gbp": 956314309.095192,
-    "key": "capital_gains_tax",
-    "level": "head",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2024
-   },
-   {
-    "base_gbp": 2321626476.090164,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "construction"
-    ],
-    "head_gbp": 2321626476.090164,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2025
-   },
-   {
-    "base_gbp": 2397857290.327587,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "construction"
-    ],
-    "head_gbp": 2397857290.327587,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2026
-   },
-   {
-    "base_gbp": 2484671863.66201,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "construction"
-    ],
-    "head_gbp": 2484671863.66201,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2027
-   },
-   {
-    "base_gbp": 2572403121.83226,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "construction"
-    ],
-    "head_gbp": 2572403121.83226,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2028
-   },
-   {
-    "base_gbp": 2660288740.9552917,
-    "event": "autumn_budget_2024",
-    "flags": [
-     "construction"
-    ],
-    "head_gbp": 2660288740.9552917,
-    "key": "total",
-    "level": "measure_year",
-    "measure_key": "autumn_budget_2024__capital_gains_main_rates_and_reliefs",
-    "year": 2029
-   }
-  ]
- },
- "execution": {
-  "dataset_sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-  "packaged_bundle_manifest_sha256": "6de668d4f0b417c82d981e334ee5a4b95d3c02904491109e94c62ce84246761c",
-  "packages": {
-   "policyengine": {
-    "record_sha256": "8710127f5a784e9fc0867c34912a03092e6f2b6c3627c046fab6a95d217533b4",
-    "version": "6.5.0",
-    "wheel_sha256": "312a04f7ceb7058aa803d012ed836a8fdd0ed4885dea46112f5c205a42193856"
-   },
-   "policyengine-core": {
-    "record_sha256": "53a92f2e67982a16faeba61b8b3d145d3ab9a50d298e92c512d61166ffe5d5d4",
-    "version": "3.33.0",
-    "wheel_sha256": "2e32d02a8910ab683a2b7600987904b351d058fc2bd5910a8ea6641438bcd789"
-   },
-   "policyengine-uk": {
-    "record_sha256": "365cc5256f85b474bd445403462e17e468a1c2f5da6cc2c2b1cbf626ac20e243",
-    "version": "2.130.1",
-    "wheel_sha256": "f8b1b8b917c9297ff66937811dbebd9a62d3b1796ce894c326e98051cac4c873"
-   }
-  },
-  "platform": "Linux-6.17.0-1022-azure-x86_64-with-glibc2.39",
-  "python": "3.12.3",
-  "release_bundle": {
-   "bundle_id": "uk-6.5.0",
-   "certified_by": "policyengine.py bundle certification",
-   "certified_data_artifact_sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-   "certified_data_build_id": "policyengine-uk-data-1.58.1",
-   "compatibility_basis": "legacy_compatible_model_package",
-   "country_id": "uk",
-   "data_build_fingerprint": "sha256:c094d7006fdd81df220090284212f16bbffb15624643bc442c4bb3e1b1e5dac8",
-   "data_build_model_git_sha": "daad71cd26c107f1b784ff600d1464ba59c70e4a",
-   "data_build_model_version": "2.122.2",
-   "data_package": "policyengine-uk-data",
-   "data_version": "1.58.1",
-   "default_dataset": "enhanced_frs_2024_25",
-   "default_dataset_uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.1",
-   "model_package": "policyengine-uk",
-   "model_version": "2.130.1",
-   "policyengine_version": "6.5.0"
-  },
-  "requirements_sha256": "f37ab7eac78e2b29f2f4b51b2af189ef63517cdda38a7150d60af0dd86f42b99",
-  "runner": "github-actions Linux X64"
- },
- "integrity": {
-  "failures": [],
-  "status": "complete"
- },
- "receipt_sha256": "a7a67c268c21b983ed47930ea5816a23dcd6b37f75373b1a5fc59883b08f5551",
- "rejection": null,
- "request_id": "d83eaf590d3ebe846506d9ce9be399fe5b9b95dc58362d573d4e19fd501a649a",
- "results": {
-  "manifest_sha256": "3bd9b294472469aea0b17a57b0fa3ba3c1bde6fa51b6940169b91679d0a76c29",
-  "path": "requests/d83eaf590d3ebe846506d9ce9be399fe5b9b95dc58362d573d4e19fd501a649a/results/",
-  "ref": "replay-state",
-  "repository": "PolicyEngine/policyengine-scorecard"
- },
- "schema": "policyengine.uk-replay-receipt/v1",
- "status": "complete",
- "variant_id": "pe6.5.0_uk2.130.1_policyengine-uk-data-1.58.1",
- "variant_identity_sha256": "8d5dcd6ae41f0e7685871806c24de41786f414b8f2079ad62ff8acfb28ed4f3c"
-}
diff --git a/tests/fixtures/uk_replay/receipt_6.5.0/REQUEST.json b/tests/fixtures/uk_replay/receipt_6.5.0/REQUEST.json
deleted file mode 100644
index 39ab17e15..000000000
--- a/tests/fixtures/uk_replay/receipt_6.5.0/REQUEST.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "attempt": 1,
- "candidate": {
-  "data": {
-   "build_id": "policyengine-uk-data-1.58.1",
-   "dataset": "enhanced_frs_2024_25",
-   "path": "enhanced_frs_2024_25.h5",
-   "release_manifest_sha256": "545797bf231cd3681e64b677065d921304e9a32f1e46e757a940a412b4136c17",
-   "repo_id": "policyengine/policyengine-uk-data-private",
-   "repo_type": "model",
-   "revision": "1.58.1",
-   "sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-   "size_bytes": 128409762
-  },
-  "expected_release_bundle": {
-   "bundle_id": "uk-6.5.0",
-   "certified_by": "policyengine.py bundle certification",
-   "certified_data_artifact_sha256": "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784",
-   "certified_data_build_id": "policyengine-uk-data-1.58.1",
-   "compatibility_basis": "legacy_compatible_model_package",
-   "country_id": "uk",
-   "data_build_fingerprint": "sha256:c094d7006fdd81df220090284212f16bbffb15624643bc442c4bb3e1b1e5dac8",
-   "data_build_model_git_sha": "daad71cd26c107f1b784ff600d1464ba59c70e4a",
-   "data_build_model_version": "2.122.2",
-   "data_package": "policyengine-uk-data",
-   "data_version": "1.58.1",
-   "default_dataset": "enhanced_frs_2024_25",
-   "default_dataset_uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@1.58.1",
-   "model_package": "policyengine-uk",
-   "model_version": "2.130.1",
-   "policyengine_version": "6.5.0"
-  },
-  "policyengine": {
-   "packaged_bundle_manifest_sha256": "6de668d4f0b417c82d981e334ee5a4b95d3c02904491109e94c62ce84246761c",
-   "source": {
-    "pypi": {
-     "wheel_sha256": "312a04f7ceb7058aa803d012ed836a8fdd0ed4885dea46112f5c205a42193856"
-    }
-   },
-   "version": "6.5.0"
-  },
-  "policyengine_core": {
-   "version": "3.33.0",
-   "wheel_sha256": "2e32d02a8910ab683a2b7600987904b351d058fc2bd5910a8ea6641438bcd789"
-  },
-  "policyengine_uk": {
-   "version": "2.130.1",
-   "wheel_sha256": "f8b1b8b917c9297ff66937811dbebd9a62d3b1796ce894c326e98051cac4c873"
-  }
- },
- "compare_to": "latest_certified",
- "kind": "released_bundle",
- "requested_by": {
-  "commit": "8a30363671e76a4a303bfe806a4223f58c2d4c0f",
-  "note": "Built by hand by the W4 session on 2026-10-16 for policyengine 6.5.0 (release commit 8a303636, the version production sim-api serves), with released_bundle_request from policyengine.py PR #574 at 61155b5d, because the push workflow's NotifyConsumers request is not on main yet. No workflow run produced it.",
-  "repository": "PolicyEngine/policyengine.py"
- },
- "schema": "policyengine.uk-replay-qualification-request/v1"
-}
diff --git a/tests/fixtures/uk_replay/receipt_6.5.0/STATUS.json b/tests/fixtures/uk_replay/receipt_6.5.0/STATUS.json
deleted file mode 100644
index 90904abad..000000000
--- a/tests/fixtures/uk_replay/receipt_6.5.0/STATUS.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "history": [
-  {
-   "at": "2026-10-16T05:15:40Z",
-   "run_url": "https://github.com/PolicyEngine/policyengine-scorecard/actions/runs/38854823607",
-   "status": "queued"
-  },
-  {
-   "at": "2026-10-16T05:16:00Z",
-   "run_url": "https://github.com/PolicyEngine/policyengine-scorecard/actions/runs/38854853696",
-   "status": "running"
-  },
-  {
-   "at": "2026-10-16T05:55:28Z",
-   "run_url": "https://github.com/PolicyEngine/policyengine-scorecard/actions/runs/38854853696",
-   "status": "complete"
-  }
- ],
- "receipt_commit": "19a9ccdc46bcda78a01e81844a838859c4e859d2",
- "receipt_sha256": "a7a67c268c21b983ed47930ea5816a23dcd6b37f75373b1a5fc59883b08f5551",
- "request_id": "d83eaf590d3ebe846506d9ce9be399fe5b9b95dc58362d573d4e19fd501a649a",
- "schema": "policyengine.uk-replay-status/v1",
- "status": "complete"
-}
diff --git a/tests/qualification_fixtures.py b/tests/qualification_fixtures.py
deleted file mode 100644
index 724ab2b0f..000000000
--- a/tests/qualification_fixtures.py
+++ /dev/null
@@ -1,252 +0,0 @@
-"""Shared builders for qualification tests (no network, no credentials)."""
-
-from __future__ import annotations
-
-import json
-import shutil
-import subprocess
-from pathlib import Path
-
-from policyengine.provenance.qualification import (
-    REQUIRED_GATES,
-    CandidatePair,
-    GateResult,
-    IssuedBy,
-    PinnedData,
-    PinnedWheel,
-    QualificationHarness,
-    QualificationReceipt,
-    qualification_verdict,
-)
-
-FIXTURES = Path(__file__).parent / "fixtures" / "uk_replay"
-REPO_ROOT = Path(__file__).resolve().parents[1]
-#: The last packaged bundle certified on the policyengine-uk-data line (main at
-#: 5f97905e, the 6.9.0 release, before Microcosm UK became the default).
-#: ``make_pair`` builds candidates on that line, so qualification tests run
-#: against this bundle.
-UK_DATA_LINE_BUNDLE_PATH = (
-    Path(__file__).parent / "fixtures" / "uk_qualification" / "uk_data_line_bundle.json"
-)
-UK_DATA_LINE_BUNDLE = json.loads(UK_DATA_LINE_BUNDLE_PATH.read_text())
-#: A main certified on the Microcosm line with its area regions routed to a
-#: local-area release: the bundle #685 certified, frozen, so that tests of
-#: other-line pairs do not depend on what main certifies now.
-MICROCOSM_ROUTED_BUNDLE_PATH = (
-    Path(__file__).parent
-    / "fixtures"
-    / "uk_qualification"
-    / "microcosm_routed_bundle.json"
-)
-MICROCOSM_ROUTED_BUNDLE = json.loads(MICROCOSM_ROUTED_BUNDLE_PATH.read_text())
-
-
-def load_candidate_cli(
-    name: str = "check_uk_candidate_for_test",
-    bundle_path: Path = UK_DATA_LINE_BUNDLE_PATH,
-):
-    """``scripts/check_uk_candidate.py``, reading ``bundle_path`` as main's bundle."""
-
-    import importlib.util
-
-    spec = importlib.util.spec_from_file_location(
-        name, REPO_ROOT / "scripts" / "check_uk_candidate.py"
-    )
-    module = importlib.util.module_from_spec(spec)
-    spec.loader.exec_module(module)
-    module.BUNDLE_PATH = bundle_path
-    return module
-
-
-VENDORED_SCHEMAS = (
-    Path(__file__).resolve().parents[1]
-    / "src"
-    / "policyengine"
-    / "data"
-    / "schemas"
-    / "vendor"
-    / "policyengine-scorecard"
-)
-
-
-def sha(char: str) -> str:
-    return char * 64
-
-
-def make_pair(
-    model="2.126.8", data="1.58.0", core="3.33.0", dataset_sha=None
-) -> CandidatePair:
-    return CandidatePair(
-        country_id="uk",
-        model=PinnedWheel(name="policyengine-uk", version=model, wheel_sha256=sha("a")),
-        core=PinnedWheel(name="policyengine-core", version=core, wheel_sha256=sha("b")),
-        data=PinnedData(
-            data_package="policyengine-uk-data",
-            release_version=data,
-            build_id=f"policyengine-uk-data-{data}",
-            repo_id="policyengine/policyengine-uk-data-private",
-            repo_type="model",
-            release_manifest_path=f"releases/{data}/release_manifest.json",
-            release_manifest_revision="f" * 40,
-            release_manifest_sha256=sha("c"),
-            dataset="enhanced_frs_2024_25",
-            dataset_path="enhanced_frs_2024_25.h5",
-            dataset_revision=data,
-            dataset_sha256=dataset_sha or sha("d"),
-            size_bytes=128369110,
-        ),
-    )
-
-
-HARNESS = QualificationHarness(
-    policyengine_version="6.2.6",
-    git_commit="e" * 40,
-    packaged_bundle_manifest_sha256=sha("9"),
-)
-ISSUED = IssuedBy(
-    repository="PolicyEngine/policyengine.py",
-    workflow_run_id=1,
-    run_url="https://github.com/PolicyEngine/policyengine.py/actions/runs/1",
-)
-
-
-def gates(status="pass", **overrides) -> list[GateResult]:
-    return [
-        GateResult(
-            gate_id=gate_id, status=overrides.get(gate_id, status), summary=gate_id
-        )
-        for gate_id in REQUIRED_GATES
-    ]
-
-
-def make_receipt(
-    pair=None, gate_results=None, completed_at="2026-10-15T09:00:00Z", review=None
-) -> QualificationReceipt:
-    pair = pair or make_pair()
-    gate_results = gate_results if gate_results is not None else gates()
-    return QualificationReceipt(
-        schema_version=1,
-        receipt_type="policyengine.candidate_qualification_receipt",
-        pair_id=pair.pair_id,
-        pair=pair,
-        harness=HARNESS,
-        gates=gate_results,
-        verdict=qualification_verdict(gate_results),
-        review=review,
-        issued_by=ISSUED,
-        completed_at=completed_at,
-    )
-
-
-def jq(expression: str, data) -> str:
-    """Apply ``expression`` to ``data`` with the real jq, printing strings
-    raw as gh's ``--jq`` does, so fakes of gh evaluate the code's own jq
-    rather than guess at it (round 6 of #635: a fake that picked fields by
-    name let a wrong source path pass). GitHub's ubuntu runners ship jq; a
-    machine without it fails these tests rather than skipping them."""
-
-    binary = shutil.which("jq")
-    assert binary, "jq is required to evaluate the code's jq expressions"
-    return subprocess.run(
-        [binary, "-r", expression],
-        input=json.dumps(data),
-        capture_output=True,
-        text=True,
-        check=True,
-    ).stdout
-
-
-def _field(argv, name):
-    """The value of gh's ``-f name=value`` / ``-F name=value`` in ``argv``."""
-
-    for flag, value in zip(argv, argv[1:]):
-        if flag in ("-f", "-F") and value.startswith(f"{name}="):
-            return value.split("=", 1)[1]
-    return None
-
-
-def rest_pulls_output(argv, listing, owner="PolicyEngine") -> str:
-    """What `gh api -X GET repos//pulls -f head=: ...`
-    prints for ``listing`` (gh pr list-shaped items: number, headRefName,
-    headRefOid, baseRefName (main), state (OPEN, CLOSED or MERGED), isDraft,
-    isCrossRepository): GitHub keeps only pull requests from ``owner``'s
-    branch, then filters by base and state, and the call's --jq runs over
-    REST-shaped objects with the real jq."""
-
-    head = _field(argv, "head")
-    head_owner, _, branch = head.partition(":")
-    base = _field(argv, "base")
-    state = _field(argv, "state") or "open"
-    page = []
-    for pr in listing:
-        pr = {"baseRefName": "main", "state": "OPEN", "isDraft": True, **pr}
-        pr_owner = "someone" if pr.get("isCrossRepository") else owner
-        rest_state = "open" if pr["state"] == "OPEN" else "closed"
-        if (
-            pr_owner != head_owner
-            or pr["headRefName"] != branch
-            or (base is not None and pr["baseRefName"] != base)
-            or (state != "all" and rest_state != state)
-        ):
-            continue
-        page.append(
-            {
-                "number": pr["number"],
-                "state": rest_state,
-                "draft": pr["isDraft"],
-                "merged_at": "2026-10-16T00:00:00Z"
-                if pr["state"] == "MERGED"
-                else None,
-                "base": {"ref": pr["baseRefName"]},
-                "head": {
-                    "ref": pr["headRefName"],
-                    "sha": pr.get("headRefOid"),
-                    "repo": {"full_name": f"{pr_owner}/policyengine.py"},
-                },
-            }
-        )
-    return jq(argv[argv.index("--jq") + 1], page)
-
-
-#: Each kind of base change and the timeline event GitHub records for it.
-BASE_CHANGE_EVENTS = {
-    "manual": ("BASE_REF_CHANGED_EVENT", "BaseRefChangedEvent"),
-    "automatic": (
-        "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT",
-        "AutomaticBaseChangeSucceededEvent",
-    ),
-}
-
-
-def graphql_base_changes_output(argv, changed) -> str:
-    """What the base-change GraphQL query prints for the pull request it
-    names. ``changed`` maps numbers to the kind of base change they had
-    ("manual" or "automatic"; a set of numbers means manual). As in GitHub,
-    a pull request's event is among the nodes only when the query's
-    itemTypes ask for its type (round 8 of #635: an automatic retarget is a
-    separate event type that a query for BASE_REF_CHANGED_EVENT misses)."""
-
-    query = _field(argv, "query")
-    types = set(query[query.index("itemTypes: [") + 12 :].split("]")[0].split(", "))
-    kinds = changed if isinstance(changed, dict) else dict.fromkeys(changed, "manual")
-    number = int(_field(argv, "number"))
-    item_type, typename = BASE_CHANGE_EVENTS.get(kinds.get(number), (None, None))
-    page = {
-        "data": {
-            "repository": {
-                "pullRequest": {
-                    "timelineItems": {
-                        "nodes": [{"__typename": typename}]
-                        if item_type in types
-                        else [],
-                        "pageInfo": {"hasNextPage": False},
-                    }
-                }
-            }
-        }
-    }
-    return jq(argv[argv.index("--jq") + 1], page)
-
-
-def golden(name: str) -> dict:
-    return json.loads((FIXTURES / f"{name}.json").read_text(encoding="utf-8"))
diff --git a/tests/test_certify_data_release.py b/tests/test_certify_data_release.py
index b3bc472b7..0e0af36e6 100644
--- a/tests/test_certify_data_release.py
+++ b/tests/test_certify_data_release.py
@@ -306,8 +306,8 @@ def test__given_no_basis__then_both_refusals_state_the_same_reason(self):
 
         reason = str(regional.value).split(";")[0]
         assert str(primary.value).startswith(reason + ";")
-        assert "automated qualification" in str(primary.value)
-        assert "automated qualification" not in str(regional.value)
+        assert "compatibility check of the exact pair" in str(primary.value)
+        assert "compatibility check of the exact pair" not in str(regional.value)
 
 
 class TestValidateReleaseManifest:
@@ -1697,8 +1697,8 @@ def certify_temporary_bundle(**kwargs):
     def test__given_pinned_core__then_the_regional_release_must_cover_it(
         self, tmp_path
     ):
-        # A qualified pair names the primary release only, so the regional
-        # release covers the pinned core by its own build or claims.
+        # Without its own compatibility record, the regional release covers
+        # the pinned core by its own build or claims.
         national = _microcosm_uk_national_payload()
         national["compatible_core_packages"] = [
             {"name": "policyengine-core", "specifier": "==3.33.0"}
diff --git a/tests/test_compatibility_certification.py b/tests/test_compatibility_certification.py
index dba85c71f..35e6325dd 100644
--- a/tests/test_compatibility_certification.py
+++ b/tests/test_compatibility_certification.py
@@ -256,17 +256,6 @@ def test__given_core_outside_claims__then_record_covers_it(self):
 
         assert basis == BASIS_COMPATIBILITY_CHECKED
 
-    def test__given_record_and_qualified_pair__then_refuses(self):
-        with pytest.raises(CertificationError, match="qualified"):
-            validate_release_manifest(
-                _manifest(),
-                "policyengine-uk",
-                TARGET_MODEL,
-                core_version=CORE,
-                qualified_pair_id="pair-1",
-                compatibility_record=_record(),
-            )
-
     def test__given_other_core__then_refuses(self):
         with pytest.raises(CertificationError, match=OTHER_CORE):
             validate_release_manifest(
@@ -960,5 +949,4 @@ def validate(*args, **kwargs):
             generator._validate_reviewed_inputs(country, data, Path("unused.jsonld"))
 
         assert captured["core_version"] == CORE
-        assert captured["qualified_pair_id"] is None
         assert captured["compatibility_record"] == _record()
diff --git a/tests/test_qualification_contracts.py b/tests/test_qualification_contracts.py
deleted file mode 100644
index 913de1fd1..000000000
--- a/tests/test_qualification_contracts.py
+++ /dev/null
@@ -1,2505 +0,0 @@
-"""Candidate qualification contracts, promotion order and the replay interface.
-
-Invariants:
-
-- the verdict is a pure, monotone function of the gate results: making any
-  gate worse never makes the verdict better, and a missing gate is never
-  qualified;
-- a review acceptance is bound to the exact receipt it accepts;
-- promotion picks the newest promotable pair that strictly advances the
-  certified pair, whatever order receipts arrive in, and never moves
-  backwards;
-- the replay request, status and receipt mirrors agree with the scorecard's
-  vendored JSON Schemas and reproduce its golden digests (differential);
-- a replay receipt counts only when bound to this request and these
-  artifacts;
-- the replay policy (d1344-replay-regressions-v2) fails exactly the
-  regressions it names, sends every other flagged row to review, and is
-  monotone: adding a flagged row never makes the verdict better.
-"""
-
-from __future__ import annotations
-
-import copy
-import itertools
-import json
-from pathlib import Path
-
-import jsonschema
-import pytest
-from hypothesis import given, settings
-from hypothesis import strategies as st
-from pydantic import ValidationError
-
-from policyengine.provenance.canonical import canonical_sha256
-from policyengine.provenance.qualification import (
-    REPLAY_POLICY_ID,
-    REQUIRED_GATES,
-    GateResult,
-    ReplayQualificationRequest,
-    ReplayReceipt,
-    ReplayStatus,
-    ReviewAcceptance,
-    dominates,
-    evaluate_replay_receipt,
-    qualification_verdict,
-    select_promotion_target,
-)
-from tests.qualification_fixtures import (
-    FIXTURES,
-    VENDORED_SCHEMAS,
-    gates,
-    golden,
-    make_pair,
-    make_receipt,
-    sha,
-)
-
-STATUSES = ["pass", "needs_review", "unavailable", "fail", "error"]
-SEVERITY = {"pass": 0, "needs_review": 1, "unavailable": 2, "fail": 3, "error": 3}
-VERDICT_RANK = {"qualified": 0, "needs_review": 1, "incomplete": 2, "rejected": 3}
-
-
-# --- Verdict ------------------------------------------------------------------
-
-
-@pytest.mark.parametrize(
-    ("overrides", "verdict"),
-    [
-        ({}, "qualified"),
-        ({"replay": "needs_review"}, "needs_review"),
-        ({"reform_contract": "unavailable"}, "incomplete"),
-        ({"metrics_review": "unavailable", "replay": "needs_review"}, "incomplete"),
-        ({"wheel_hashes": "fail", "replay": "unavailable"}, "rejected"),
-        ({"budget_inputs": "error"}, "rejected"),
-    ],
-)
-def test_verdict_examples(overrides, verdict):
-    assert qualification_verdict(gates(**overrides)) == verdict
-
-
-def test_a_missing_required_gate_is_never_qualified():
-    for gate_id in REQUIRED_GATES:
-        partial = [gate for gate in gates() if gate.gate_id != gate_id]
-        assert qualification_verdict(partial) == "incomplete"
-
-
-@settings(max_examples=300, deadline=None)
-@given(
-    statuses=st.lists(
-        st.sampled_from(STATUSES),
-        min_size=len(REQUIRED_GATES),
-        max_size=len(REQUIRED_GATES),
-    ),
-    index=st.integers(0, len(REQUIRED_GATES) - 1),
-    worse=st.sampled_from(STATUSES),
-)
-def test_worsening_a_gate_never_improves_the_verdict(statuses, index, worse):
-    before = [
-        GateResult(gate_id=gate_id, status=status, summary="x")
-        for gate_id, status in zip(REQUIRED_GATES, statuses)
-    ]
-    if SEVERITY[worse] < SEVERITY[statuses[index]]:
-        return
-    after = list(before)
-    after[index] = GateResult(gate_id=REQUIRED_GATES[index], status=worse, summary="x")
-    assert (
-        VERDICT_RANK[qualification_verdict(after)]
-        >= VERDICT_RANK[qualification_verdict(before)]
-    )
-
-
-def test_receipt_verdict_must_follow_from_gates():
-    receipt = make_receipt(gate_results=gates(replay="needs_review"))
-    payload = receipt.model_dump(mode="json")
-    payload["verdict"] = "qualified"
-    with pytest.raises(ValidationError):
-        type(receipt).model_validate(payload)
-
-
-def test_pair_id_must_be_the_pair_digest():
-    payload = make_receipt().model_dump(mode="json")
-    payload["pair_id"] = sha("0")
-    with pytest.raises(ValidationError):
-        type(make_receipt()).model_validate(payload)
-
-
-# --- Review acceptance -----------------------------------------------------------
-
-
-def _accepted(receipt, digest=None):
-    return receipt.model_copy(
-        update={
-            "review": ReviewAcceptance(
-                reviewer="vahid",
-                accepted_at="2026-10-16T10:00:00Z",
-                accepted_receipt_sha256=digest or receipt.unreviewed_sha256,
-                explanation="UC moves follow the documented #2242 uplift.",
-            )
-        }
-    )
-
-
-def test_only_the_accepted_receipt_is_promotable():
-    receipt = make_receipt(gate_results=gates(replay="needs_review"))
-    assert not receipt.promotable
-    assert _accepted(receipt).promotable
-    assert not _accepted(receipt, digest=sha("1")).promotable
-    changed = receipt.model_copy(update={"completed_at": "2026-10-17T00:00:00Z"})
-    stale_acceptance = _accepted(changed, digest=receipt.unreviewed_sha256)
-    assert not stale_acceptance.promotable
-
-
-def test_review_cannot_attach_to_a_rejected_receipt():
-    receipt = make_receipt(gate_results=gates(wheel_hashes="fail"))
-    with pytest.raises(ValidationError):
-        type(receipt).model_validate(
-            {
-                **receipt.model_dump(mode="json"),
-                "review": _accepted(
-                    make_receipt(gate_results=gates(replay="needs_review"))
-                ).review.model_dump(),
-            }
-        )
-
-
-# --- Promotion order --------------------------------------------------------------
-
-VERSIONS = st.tuples(
-    st.sampled_from(["2.125.1", "2.126.6", "2.126.8", "2.127.0"]),
-    st.sampled_from(["1.58.0", "1.59.0", "1.60.0"]),
-    st.sampled_from(["3.33.0", "3.33.1"]),
-)
-
-
-@settings(max_examples=200, deadline=None)
-@given(a=VERSIONS, b=VERSIONS, c=VERSIONS)
-def test_dominance_is_a_strict_partial_order(a, b, c):
-    assert not dominates(a, a)
-    assert not (dominates(a, b) and dominates(b, a))
-    if dominates(a, b) and dominates(b, c):
-        assert dominates(a, c)
-
-
-RECEIPT_SPECS = st.lists(
-    st.tuples(
-        VERSIONS, st.sampled_from(["pass", "needs_review", "fail", "unavailable"])
-    ),
-    min_size=0,
-    max_size=6,
-)
-
-
-def _receipts(specs):
-    receipts = []
-    for index, ((model, data, core), status) in enumerate(specs):
-        receipts.append(
-            make_receipt(
-                pair=make_pair(model=model, data=data, core=core),
-                gate_results=gates(replay=status),
-                completed_at=f"2026-10-15T09:00:{index:02d}Z",
-            )
-        )
-    return receipts
-
-
-@settings(max_examples=200, deadline=None)
-@given(specs=RECEIPT_SPECS, current=VERSIONS, data=st.data())
-def test_promotion_target_is_order_independent_and_never_backwards(
-    specs, current, data
-):
-    receipts = _receipts(specs)
-    shuffled = data.draw(st.permutations(receipts))
-    target = select_promotion_target(receipts, current)
-    assert select_promotion_target(shuffled, current) == target
-    if target is None:
-        return
-    assert target.promotable
-    assert dominates(target.pair.order_key, current)
-    for other in receipts:
-        if other.promotable and dominates(other.pair.order_key, current):
-            key = other.pair.order_key
-            assert key == target.pair.order_key or dominates(target.pair.order_key, key)
-
-
-def test_a_stale_completion_cannot_displace_a_newer_accepted_candidate():
-    newer = make_receipt(
-        pair=make_pair(model="2.126.8"), completed_at="2026-10-15T09:00:00Z"
-    )
-    stale = make_receipt(
-        pair=make_pair(model="2.126.6"), completed_at="2026-10-15T12:00:00Z"
-    )
-    current = ("2.125.1", "1.58.0", "3.33.0")
-    assert select_promotion_target([newer, stale], current) == newer
-    assert select_promotion_target([stale, newer], current) == newer
-
-
-def test_incomparable_newest_pairs_promote_nothing_automatically():
-    newer_model = make_receipt(pair=make_pair(model="2.127.0", data="1.58.0"))
-    newer_data = make_receipt(pair=make_pair(model="2.126.8", data="1.59.0"))
-    assert (
-        select_promotion_target(
-            [newer_model, newer_data], ("2.125.1", "1.58.0", "3.33.0")
-        )
-        is None
-    )
-
-
-# --- Replay interface: mirrors agree with the vendored schemas ---------------
-
-
-def _validator(name):
-    schema = json.loads((VENDORED_SCHEMAS / name).read_text())
-    return jsonschema.Draft202012Validator(
-        schema, format_checker=jsonschema.Draft202012Validator.FORMAT_CHECKER
-    )
-
-
-def test_golden_request_round_trips_with_its_digest():
-    raw = golden("qualification_request_golden")
-    request = ReplayQualificationRequest.model_validate(raw)
-    assert request.document() == raw
-    digests = json.loads((FIXTURES / "DIGESTS.json").read_text())
-    assert request.request_id == canonical_sha256(raw)
-    assert (
-        request.request_id == digests["qualification_request_golden.json"]["request_id"]
-    )
-    _validator("qualification_request.v1.json").validate(request.document())
-
-
-def test_golden_receipt_digest_matches_received_bytes():
-    raw = golden("replay_receipt_golden")
-    receipt = ReplayReceipt.from_document(raw)
-    assert receipt.computed_receipt_sha256 == raw["receipt_sha256"]
-    _validator("replay_receipt.v1.json").validate(raw)
-
-
-REQUEST_MUTATIONS = [
-    ("extra member", lambda r: r.update(unexpected=True)),
-    ("bad kind", lambda r: r.update(kind="other")),
-    ("attempt zero", lambda r: r.update(attempt=0)),
-    ("bad dataset digest", lambda r: r["candidate"]["data"].update(sha256="xyz")),
-    ("bad repo type", lambda r: r["candidate"]["data"].update(repo_type="space")),
-    (
-        "wrapper with both sources",
-        lambda r: r["candidate"]["policyengine"]["source"].update(
-            pypi={"wheel_sha256": "a" * 64}
-        ),
-    ),
-    ("released bundle from git", lambda r: r.update(kind="released_bundle")),
-    (
-        "missing bundle field",
-        lambda r: r["candidate"]["expected_release_bundle"].pop("model_version"),
-    ),
-    ("bad commit", lambda r: r["requested_by"].update(commit="abc")),
-    ("missing commit", lambda r: r["requested_by"].pop("commit")),
-]
-
-
-@pytest.mark.parametrize(
-    ("label", "mutate"), REQUEST_MUTATIONS, ids=[m[0] for m in REQUEST_MUTATIONS]
-)
-def test_request_mirror_and_schema_reject_the_same_requests(label, mutate):
-    raw = copy.deepcopy(golden("qualification_request_golden"))
-    mutate(raw)
-    assert not _validator("qualification_request.v1.json").is_valid(raw), label
-    with pytest.raises(ValidationError):
-        ReplayQualificationRequest.model_validate(raw)
-
-
-REQUEST_MUTATIONS_V1_TIGHTENED = [
-    ("parent segment", "../enhanced_frs_2024_25.h5"),
-    ("nested parent", "a/../b.h5"),
-    ("trailing parent", "a/.."),
-]
-
-
-@pytest.mark.parametrize(
-    ("label", "path"),
-    REQUEST_MUTATIONS_V1_TIGHTENED,
-    ids=[m[0] for m in REQUEST_MUTATIONS_V1_TIGHTENED],
-)
-def test_request_mirror_and_schema_refuse_parent_segments(label, path):
-    raw = copy.deepcopy(golden("qualification_request_golden"))
-    raw["candidate"]["data"]["path"] = path
-    assert not _validator("qualification_request.v1.json").is_valid(raw), label
-    with pytest.raises(ValidationError):
-        ReplayQualificationRequest.model_validate(raw)
-
-
-def test_request_mirror_and_schema_accept_dotted_names():
-    raw = copy.deepcopy(golden("qualification_request_golden"))
-    raw["candidate"]["data"]["path"] = "releases/1.58.0/..hidden.h5"
-    _validator("qualification_request.v1.json").validate(raw)
-    ReplayQualificationRequest.model_validate(raw)
-
-
-def _rejected_receipt():
-    doc = copy.deepcopy(golden("replay_receipt_golden"))
-    doc.update(
-        status="rejected",
-        rejection={"code": "artifact_hash_mismatch", "detail": "dataset bytes differ"},
-        corpus=None,
-        diff=None,
-        variant_id=None,
-        variant_identity_sha256=None,
-        execution=None,
-    )
-    doc["integrity"] = {"status": "not_run", "failures": []}
-    return _sealed(doc)
-
-
-RECEIPT_MUTATIONS = [
-    (
-        "complete without manifest",
-        "complete",
-        lambda r: r["results"].pop("manifest_sha256"),
-    ),
-    (
-        "complete without identity",
-        "complete",
-        lambda r: r.update(variant_identity_sha256=None),
-    ),
-    (
-        "unanchored python",
-        "complete",
-        lambda r: r["execution"].update(python="3.12.14+local"),
-    ),
-    ("rejected with variant", "rejected", lambda r: r.update(variant_id="pe6.2.6")),
-    (
-        "rejected with identity",
-        "rejected",
-        lambda r: r.update(variant_identity_sha256="0" * 64),
-    ),
-    (
-        "rejected with integrity",
-        "rejected",
-        lambda r: r.update(integrity={"status": "failed", "failures": []}),
-    ),
-    (
-        "empty inert measure key",
-        "complete",
-        lambda r: r["corpus"]["events"]["spring_budget_2023"].update(
-            inert_measure_years=[{"measure_key": "", "year": 2026}]
-        ),
-    ),
-    (
-        "inert measure-year twice",
-        "complete",
-        lambda r: r["corpus"]["events"]["spring_budget_2023"].update(
-            inert_measure_years=[{"measure_key": "m", "year": 2026}] * 2
-        ),
-    ),
-    (
-        "supported year twice",
-        "complete",
-        lambda r: r["corpus"]["events"]["spring_budget_2023"].update(
-            supported_years=[2024, 2024]
-        ),
-    ),
-    (
-        "missing measure-year twice",
-        "complete",
-        lambda r: r["corpus"]["events"]["spring_budget_2023"].update(
-            missing_measure_years=[{"measure_key": "m", "year": 2026}] * 2
-        ),
-    ),
-    (
-        "base event without its unsupported list",
-        "complete",
-        lambda r: r["diff"].update(
-            base_events={
-                "spring_budget_2023": {
-                    k: v
-                    for k, v in _base_event().items()
-                    if k != "unsupported_measure_years"
-                }
-            }
-        ),
-    ),
-    (
-        "base event with a short digest",
-        "complete",
-        lambda r: r["diff"].update(
-            base_events={
-                "spring_budget_2023": {
-                    **_base_event(),
-                    "staging_manifest_sha256": "abc",
-                }
-            }
-        ),
-    ),
-    (
-        "base event with an extra field",
-        "complete",
-        lambda r: r["diff"].update(
-            base_events={"spring_budget_2023": {**_base_event(), "extra": 1}}
-        ),
-    ),
-    # Round-1 review of #637: the schema allows these keys to be absent,
-    # never null, and never coerces a string to an integer.
-    (
-        "null missing list",
-        "complete",
-        lambda r: r["corpus"]["events"]["spring_budget_2023"].update(
-            missing_measure_years=None
-        ),
-    ),
-    (
-        "null unsupported list",
-        "complete",
-        lambda r: r["corpus"]["events"]["spring_budget_2023"].update(
-            unsupported_measure_years=None
-        ),
-    ),
-    (
-        "null base events",
-        "complete",
-        lambda r: r["diff"].update(base_events=None),
-    ),
-    (
-        "base measure-year as a string",
-        "complete",
-        lambda r: r["diff"].update(
-            base_events={
-                "spring_budget_2023": {
-                    **_base_event(),
-                    "inert_measure_years": [{"measure_key": "m", "year": "2026"}],
-                }
-            }
-        ),
-    ),
-    (
-        "supported year as a string",
-        "complete",
-        lambda r: r["corpus"]["events"]["spring_budget_2023"].update(
-            supported_years=["2024", 2025]
-        ),
-    ),
-]
-
-
-def _base_event(inert=(), missing=(), unsupported=()):
-    """A base-side grid record (scorecard#183) for one event."""
-
-    def measure_years(items):
-        return [{"measure_key": m, "year": y} for m, y in items]
-
-    return {
-        "staging_manifest_sha256": "a" * 64,
-        "run_manifest_sha256": "b" * 64,
-        "supported_years": [2024, 2025, 2026, 2027],
-        "full_supported_grid_complete": not inert
-        and not set(missing) - set(unsupported),
-        "inert_measure_years": measure_years(inert),
-        "missing_measure_years": measure_years(missing),
-        "unsupported_measure_years": measure_years(unsupported),
-    }
-
-
-def test_a_receipt_with_base_events_and_grid_lists_is_accepted_by_both():
-    """scorecard#183's additive fields, valid: the schema and the mirror both
-    accept them, and the digest covers them as received."""
-
-    raw = copy.deepcopy(golden("replay_receipt_golden"))
-    raw["corpus"]["events"]["spring_budget_2023"].update(
-        missing_measure_years=[{"measure_key": "m", "year": 2023}],
-        unsupported_measure_years=[{"measure_key": "m", "year": 2023}],
-    )
-    raw["diff"]["base_events"] = {"spring_budget_2023": _base_event()}
-    raw = _sealed(raw)
-    _validator("replay_receipt.v1.json").validate(raw)
-    receipt = ReplayReceipt.from_document(raw)
-    assert receipt.computed_receipt_sha256 == raw["receipt_sha256"]
-    assert receipt.diff.base_events["spring_budget_2023"].run_manifest_sha256 == (
-        "b" * 64
-    )
-
-
-@pytest.mark.parametrize(
-    ("label", "base", "mutate"),
-    RECEIPT_MUTATIONS,
-    ids=[m[0] for m in RECEIPT_MUTATIONS],
-)
-def test_receipt_mirror_and_schema_reject_the_same_receipts(label, base, mutate):
-    """Differential against W6's tightened replay_receipt.v1.json (dc040de)."""
-
-    raw = (
-        copy.deepcopy(golden("replay_receipt_golden"))
-        if base == "complete"
-        else _rejected_receipt()
-    )
-    _validator("replay_receipt.v1.json").validate(raw)
-    ReplayReceipt.from_document(raw)
-    mutate(raw)
-    raw = _sealed(raw)
-    assert not _validator("replay_receipt.v1.json").is_valid(raw), label
-    # A pydantic ValidationError is a ValueError, as is a schema refusal.
-    with pytest.raises(ValueError):
-        ReplayReceipt.from_document(raw)
-
-
-def test_requested_by_is_open_as_in_the_schema():
-    raw = copy.deepcopy(golden("qualification_request_golden"))
-    raw["requested_by"]["pair_id"] = sha("a")
-    request = ReplayQualificationRequest.model_validate(raw)
-    assert request.document()["requested_by"]["pair_id"] == sha("a")
-    _validator("qualification_request.v1.json").validate(request.document())
-
-
-# --- Replay gate ------------------------------------------------------------------
-
-
-def _sealed(receipt_doc):
-    doc = {key: value for key, value in receipt_doc.items() if key != "receipt_sha256"}
-    doc["receipt_sha256"] = canonical_sha256(doc)
-    return doc
-
-
-def _status(request_id, receipt_doc, status=None):
-    return ReplayStatus.model_validate(
-        {
-            "schema": "policyengine.uk-replay-status/v1",
-            "request_id": request_id,
-            "status": status or receipt_doc["status"],
-            "history": [
-                {
-                    "status": status or receipt_doc["status"],
-                    "at": "2026-10-15T10:00:00Z",
-                    "run_url": "https://github.com/PolicyEngine/policyengine-scorecard/actions/runs/7",
-                }
-            ],
-            "receipt_sha256": receipt_doc["receipt_sha256"],
-            "receipt_commit": "c" * 40,
-        }
-    )
-
-
-def _gate(receipt_doc, request=None, status=None):
-    request = request or ReplayQualificationRequest.model_validate(
-        golden("qualification_request_golden")
-    )
-    receipt = ReplayReceipt.from_document(receipt_doc)
-    return evaluate_replay_receipt(
-        request, status or _status(request.request_id, receipt_doc), receipt
-    )
-
-
-def _with_requested_wheels(doc):
-    """Add artifact evidence omitted by the scorecard's synthetic golden fixture."""
-
-    requested = golden("qualification_request_golden")["candidate"]
-    for package, request_key in (
-        ("policyengine-uk", "policyengine_uk"),
-        ("policyengine-core", "policyengine_core"),
-    ):
-        doc["execution"]["packages"][package]["wheel_sha256"] = requested[request_key][
-            "wheel_sha256"
-        ]
-    return doc
-
-
-def _with_counts(sealed=True, **counts):
-    """The golden receipt with these flag counts and one flagged row per flag."""
-
-    doc = _with_requested_wheels(copy.deepcopy(golden("replay_receipt_golden")))
-    base = {key: 0 for key in doc["diff"]["flag_counts"]}
-    base.update(counts)
-    doc["diff"]["flag_counts"] = base
-    template = doc["diff"]["flagged_rows"][0]
-    doc["diff"]["flagged_rows"] = [
-        {**template, "flags": [kind], "year": 2024 + index}
-        for kind, count in counts.items()
-        for index in range(count)
-    ]
-    return _sealed(doc) if sealed else doc
-
-
-def test_golden_receipt_needs_review_for_its_sign_reversal():
-    """Its structural row moves ยฃ0.0000001 to -ยฃ123m: a sign reversal, which a
-    model fix can make legitimately, so a named reviewer decides."""
-
-    doc = _with_requested_wheels(copy.deepcopy(golden("replay_receipt_golden")))
-    gate = _gate(_sealed(doc))
-    assert gate.status == "needs_review", gate.summary
-    assert gate.details["regressions"] == []
-    assert sorted(item["level"] for item in gate.details["review_items"]) == [
-        "head",
-        "measure_year",
-        "source_row",
-    ]
-
-
-@pytest.mark.parametrize(
-    ("counts", "status"),
-    [
-        ({}, "pass"),
-        ({"numerical": 2}, "needs_review"),
-        ({"support": 1}, "needs_review"),
-        # The template row has values on both sides: not a lost result.
-        ({"numerical": 2, "coverage": 1}, "needs_review"),
-        ({"construction": 1}, "needs_review"),
-        # Not in the candidate's inert list: inert in the base only.
-        ({"inertness": 1}, "needs_review"),
-        ({"structural": 1}, "needs_review"),
-        ({"mapping": 3}, "fail"),
-    ],
-)
-def test_flag_policy(counts, status):
-    assert _gate(_with_counts(**counts)).status == status
-
-
-def _clean_receipt():
-    return _with_counts(sealed=False)
-
-
-def _edit(receipt, edit):
-    edit(receipt)
-    return _sealed(receipt)
-
-
-EVENT = "spring_budget_2023"
-
-CONTRADICTIONS = {
-    "a structural row with zero counts": lambda r: r["diff"].update(
-        flagged_rows=[{**golden("replay_receipt_golden")["diff"]["flagged_rows"][1]}]
-    ),
-    "a failure under complete integrity": lambda r: r["integrity"].update(
-        failures=[{"code": "construction", "detail": "measure failed"}]
-    ),
-    "supported years with no artifacts": lambda r: r["corpus"]["events"][EVENT].update(
-        artifacts=0
-    ),
-    "nothing replayed": lambda r: r["corpus"]["events"][EVENT].update(
-        artifacts=0, supported_years=[]
-    ),
-    "an event with no years": lambda r: r["corpus"]["events"][EVENT].update(
-        supported_years=[], unsupported_years=[]
-    ),
-}
-
-
-@pytest.mark.parametrize("name", sorted(CONTRADICTIONS))
-def test_a_receipt_that_contradicts_itself_fails(name):
-    """Interrupted review of #574: each of these was schema-valid, correctly
-    digested, and passed the gate because the summary counters were zero."""
-
-    receipt = _edit(_clean_receipt(), CONTRADICTIONS[name])
-    _validator("replay_receipt.v1.json").validate(receipt)
-    gate = _gate(receipt)
-    assert gate.status == "fail", (name, gate.summary)
-    assert "contradicts itself or the request" in gate.summary
-
-
-def test_blocking_flags_count_wherever_the_receipt_states_them():
-    """A row's flag blocks even when its counter is understated."""
-
-    receipt = _with_counts(sealed=False, numerical=1)
-    receipt["diff"]["flagged_rows"].append(
-        {**receipt["diff"]["flagged_rows"][0], "flags": ["mapping"], "year": 2030}
-    )
-    receipt["diff"]["flag_counts"]["mapping"] = 1
-    assert _gate(_sealed(receipt)).status == "fail"
-    assert "mapping" in _gate(_sealed(receipt)).summary
-
-
-def test_a_measure_year_the_candidate_lists_as_inert_fails():
-    """No receipt yet records the base's inert measure-years, so no gap is
-    known, and an inert measure-year is a lost response."""
-
-    receipt = _edit(
-        _clean_receipt(),
-        lambda r: r["corpus"]["events"][EVENT].update(
-            inert_measure_years=[{"measure_key": "uc_childcare", "year": 2026}],
-            full_supported_grid_complete=False,
-        ),
-    )
-    gate = _gate(receipt)
-    assert gate.status == "fail" and "lost_response 1" in gate.summary
-    assert gate.details["known_gaps"] == []
-
-
-def test_a_complete_event_that_lists_a_gap_contradicts_itself():
-    for edit in (
-        {"inert_measure_years": [{"measure_key": "uc_childcare", "year": 2026}]},
-        {
-            "missing_measure_years": [{"measure_key": "uc_childcare", "year": 2026}],
-            "unsupported_measure_years": [],
-        },
-    ):
-        receipt = _edit(
-            _clean_receipt(), lambda r, e=edit: r["corpus"]["events"][EVENT].update(e)
-        )
-        gate = _gate(receipt)
-        assert gate.status == "fail"
-        assert "complete but lists inert or missing" in gate.summary
-
-
-MEASURE = "spring_budget_2023__uc_childcare_cap_increase"
-
-
-def _receipt_with(
-    rows=(),
-    inert=(),
-    complete=True,
-    integrity="complete",
-    counts=None,
-    missing=None,
-    unsupported=(),
-    base_events=None,
-    sealed=True,
-):
-    """The golden receipt with these flagged rows (measure-year totals unless
-    a row says otherwise), counts that match them, and this event state.
-    ``missing`` and ``unsupported`` are the event's grid lists (omitted when
-    ``missing`` is None, as before scorecard#183); ``base_events`` is
-    ``diff.base_events``."""
-
-    doc = _with_requested_wheels(copy.deepcopy(golden("replay_receipt_golden")))
-    template = {
-        "event": EVENT,
-        "measure_key": MEASURE,
-        "year": 2026,
-        "level": "measure_year",
-        "key": "total",
-    }
-    doc["diff"]["flagged_rows"] = [{**template, **row} for row in rows]
-    tally = {key: 0 for key in doc["diff"]["flag_counts"]}
-    for row in doc["diff"]["flagged_rows"]:
-        for kind in row["flags"]:
-            tally[kind] += 1
-    tally.update(counts or {})
-    doc["diff"]["flag_counts"] = tally
-    event = doc["corpus"]["events"][EVENT]
-    event["inert_measure_years"] = [
-        {"measure_key": measure, "year": year} for measure, year in inert
-    ]
-    event["full_supported_grid_complete"] = complete
-    if missing is not None:
-        event["missing_measure_years"] = [
-            {"measure_key": measure, "year": year} for measure, year in missing
-        ]
-        event["unsupported_measure_years"] = [
-            {"measure_key": measure, "year": year} for measure, year in unsupported
-        ]
-    if base_events is not None:
-        doc["diff"]["base_events"] = base_events
-    doc["integrity"]["status"] = integrity
-    return _sealed(doc) if sealed else doc
-
-
-# The regression table of the d1344 decision record (second review), plus the
-# bound's edges. Each: rows, candidate inert, grid complete, integrity, then
-# the expected status and the kinds the gate must record.
-POLICY_CASES = {
-    "sign reversal": (
-        [{"flags": ["numerical", "structural"], "base_gbp": 1e8, "head_gbp": -1e8}],
-        (),
-        True,
-        "complete",
-        "needs_review",
-        {"flagged_move"},
-    ),
-    "ยฃ0 against a material base, distinct worlds": (
-        [{"flags": ["numerical", "structural"], "base_gbp": 1e8, "head_gbp": 0.0}],
-        (),
-        True,
-        "complete",
-        "fail",
-        {"lost_response"},
-    ),
-    "exactly the bound to ยฃ0, no numerical flag": (
-        [{"flags": ["structural"], "base_gbp": 1e6, "head_gbp": 0.0}],
-        (),
-        True,
-        "complete",
-        "fail",
-        {"lost_response"},
-    ),
-    "negative material base to ยฃ0": (
-        [{"flags": ["structural"], "base_gbp": -2.5e8, "head_gbp": 0.0}],
-        (),
-        True,
-        "complete",
-        "fail",
-        {"lost_response"},
-    ),
-    "just below the bound to ยฃ0": (
-        [{"flags": ["structural"], "base_gbp": 999_999.0, "head_gbp": 0.0}],
-        (),
-        True,
-        "complete",
-        "needs_review",
-        {"flagged_move"},
-    ),
-    "ยฃ0 head (not a measure-year total)": (
-        [
-            {
-                "flags": ["structural"],
-                "level": "head",
-                "key": "universal_credit",
-                "base_gbp": 1e8,
-                "head_gbp": 0.0,
-            }
-        ],
-        (),
-        True,
-        "complete",
-        "needs_review",
-        {"flagged_move"},
-    ),
-    "ยฃ0 source row against a material base (not a measure-year total)": (
-        [
-            {
-                "flags": ["structural"],
-                "level": "source_row",
-                "key": "obr-row-1",
-                "base_gbp": 1e8,
-                "head_gbp": 0.0,
-            }
-        ],
-        (),
-        True,
-        "complete",
-        "needs_review",
-        {"flagged_move"},
-    ),
-    "numeric base result, missing candidate result": (
-        [
-            {
-                "flags": ["coverage"],
-                "level": "source_row",
-                "key": "obr-row-1",
-                "base_gbp": 5e8,
-                "head_gbp": None,
-            }
-        ],
-        (),
-        True,
-        "complete",
-        "fail",
-        {"lost_result"},
-    ),
-    "coverage gain": (
-        [
-            {
-                "flags": ["coverage"],
-                "level": "source_row",
-                "key": "obr-row-1",
-                "base_gbp": None,
-                "head_gbp": 574_999_000.021347,
-            }
-        ],
-        (),
-        True,
-        "complete",
-        "needs_review",
-        {"coverage_gain"},
-    ),
-    "null/null coverage, otherwise complete": (
-        [
-            {
-                "flags": ["coverage"],
-                "level": "source_row",
-                "key": "obr-row-1",
-                "base_gbp": None,
-                "head_gbp": None,
-            }
-        ],
-        (),
-        True,
-        "complete",
-        "needs_review",
-        {"coverage_without_values"},
-    ),
-    "absent base, candidate inert and incomplete": (
-        [
-            {
-                "flags": ["coverage"],
-                "level": "source_row",
-                "key": "obr-row-1",
-                "base_gbp": None,
-                "head_gbp": None,
-            }
-        ],
-        ((MEASURE, 2026),),
-        False,
-        "incomplete",
-        "fail",
-        {"lost_response", "incomplete", "coverage_without_values"},
-    ),
-    # As in the 6.4.1 receipt: a measure-year flag and a source-row flag
-    # whose candidate value is null, for a measure-year the candidate lists.
-    "candidate inert, flagged against the base": (
-        [
-            {"flags": ["inertness"], "base_gbp": 2.641127e8, "head_gbp": 0.0},
-            {
-                "flags": ["inertness"],
-                "level": "source_row",
-                "key": "obr-row-1",
-                "base_gbp": 2.641127e8,
-                "head_gbp": None,
-            },
-        ],
-        ((MEASURE, 2026),),
-        False,
-        "incomplete",
-        "fail",
-        {"lost_response", "incomplete"},
-    ),
-    "inert in the base only": (
-        [{"flags": ["inertness"], "base_gbp": 0.0, "head_gbp": 3e8}],
-        (),
-        True,
-        "complete",
-        "needs_review",
-        {"base_only_inertness"},
-    ),
-    "same supported artifact missing on both sides": (
-        [],
-        (),
-        False,
-        "incomplete",
-        "fail",
-        {"incomplete"},
-    ),
-    "incomplete integrity with no incomplete event": (
-        [],
-        (),
-        True,
-        "incomplete",
-        "fail",
-        {"incomplete"},
-    ),
-    "candidate loses a supported year": (
-        [
-            {
-                "flags": ["support"],
-                "level": "source_row",
-                "key": "obr-row-1",
-                "base_gbp": 1e8,
-                "head_gbp": None,
-            }
-        ],
-        (),
-        True,
-        "complete",
-        "needs_review",
-        {"flagged_move"},
-    ),
-    "construction": (
-        [{"flags": ["construction"], "base_gbp": 1e8, "head_gbp": 1.2e8}],
-        (),
-        True,
-        "complete",
-        "needs_review",
-        {"flagged_move"},
-    ),
-    "mapping": (
-        [{"flags": ["mapping"], "base_gbp": 1e8, "head_gbp": 1e8}],
-        (),
-        True,
-        "complete",
-        "fail",
-        {"mapping"},
-    ),
-}
-
-
-@pytest.mark.parametrize("name", sorted(POLICY_CASES))
-def test_the_replay_policy_decides_each_case_of_the_decision_record(name):
-    rows, inert, complete, integrity, status, kinds = POLICY_CASES[name]
-    receipt = _receipt_with(rows, inert, complete, integrity)
-    _validator("replay_receipt.v1.json").validate(receipt)
-    gate = _gate(receipt)
-    assert gate.status == status, (name, gate.summary)
-    recorded = {
-        item["kind"]
-        for item in gate.details["regressions"] + gate.details["review_items"]
-    }
-    assert recorded == kinds, (name, recorded)
-
-
-GAP = (MEASURE, 2026)
-UNSUPPORTED = (MEASURE, 2023)
-
-
-# Each: candidate inert, candidate missing, candidate unsupported, the base
-# events, then the expected status and known-gap reasons.
-KNOWN_GAP_CASES = {
-    "inert in both": (
-        [GAP],
-        [],
-        [],
-        {EVENT: _base_event(inert=[GAP])},
-        "pass",
-        ["inert in the base"],
-    ),
-    "missing in both": (
-        [],
-        [GAP],
-        [],
-        {EVENT: _base_event(missing=[GAP])},
-        "pass",
-        ["missing in the base"],
-    ),
-    "inert here, missing in the base": (
-        [GAP],
-        [],
-        [],
-        {EVENT: _base_event(missing=[GAP])},
-        "pass",
-        ["missing in the base"],
-    ),
-    "the base computed it": (
-        [GAP],
-        [],
-        [],
-        {EVENT: _base_event()},
-        "fail",
-        [],
-    ),
-    "missing in the base, but unsupported there": (
-        [GAP],
-        [],
-        [],
-        {EVENT: _base_event(missing=[GAP], unsupported=[GAP])},
-        "fail",
-        [],
-    ),
-    "a legacy base": (
-        [GAP],
-        [],
-        [],
-        {},
-        "fail",
-        [],
-    ),
-    "a record for another event": (
-        [GAP],
-        [],
-        [],
-        {"autumn_budget_2025": _base_event(inert=[GAP])},
-        "fail",
-        [],
-    ),
-    "another year inert in the base": (
-        [GAP],
-        [],
-        [],
-        {EVENT: _base_event(inert=[(MEASURE, 2027)])},
-        "fail",
-        [],
-    ),
-    "incomplete with nothing listed": (
-        [],
-        [UNSUPPORTED],
-        [UNSUPPORTED],
-        {EVENT: _base_event()},
-        "fail",
-        [],
-    ),
-}
-
-
-@pytest.mark.parametrize("name", sorted(KNOWN_GAP_CASES))
-def test_a_gap_is_known_only_on_the_bases_own_record(name):
-    """The decision record's exact test: a candidate measure-year that is
-    inert, or missing and supported, is a known gap only if the base's record
-    for that event lists it as inert, or missing and supported."""
-
-    inert, missing, unsupported, base_events, status, reasons = KNOWN_GAP_CASES[name]
-    receipt = _receipt_with(
-        inert=inert,
-        complete=False,
-        integrity="incomplete",
-        missing=missing,
-        unsupported=unsupported,
-        base_events=base_events,
-    )
-    _validator("replay_receipt.v1.json").validate(receipt)
-    gate = _gate(receipt)
-    assert gate.status == status, (name, gate.summary)
-    assert [gap["why"] for gap in gate.details["known_gaps"]] == reasons
-    for gap in gate.details["known_gaps"]:
-        assert gap["base_staging_manifest_sha256"] == "a" * 64
-        assert (gap["event"], gap["measure_key"], gap["year"]) == (EVENT, *GAP)
-    if status == "fail":
-        assert {r["kind"] for r in gate.details["regressions"]} & {
-            "incomplete",
-            "lost_response",
-        }
-
-
-OTHER = "spring_budget_2023__other_measure"
-
-# Round-1 review of #637: eight probes that killed mutants the table missed.
-# Each: receipt arguments, the expected status and number of known gaps.
-GAP_PROBES = {
-    "complete, missing only in unsupported years": (
-        dict(
-            complete=True,
-            integrity="complete",
-            missing=[UNSUPPORTED],
-            unsupported=[UNSUPPORTED],
-            base_events={EVENT: _base_event()},
-        ),
-        "pass",
-        0,
-    ),
-    "missing here, inert in the base": (
-        dict(missing=[GAP], base_events={EVENT: _base_event(inert=[GAP])}),
-        "pass",
-        1,
-    ),
-    "another measure inert in the base, same year": (
-        dict(
-            inert=[GAP],
-            missing=[],
-            base_events={EVENT: _base_event(inert=[(OTHER, 2026)])},
-        ),
-        "fail",
-        0,
-    ),
-    "a known inert gap beside a new missing one": (
-        dict(
-            inert=[GAP],
-            missing=[(MEASURE, 2027)],
-            base_events={EVENT: _base_event(inert=[GAP])},
-        ),
-        "fail",
-        1,
-    ),
-    "a known gap against a negative material base": (
-        dict(
-            rows=[{"flags": ["structural"], "base_gbp": -2.5e8, "head_gbp": 0.0}],
-            inert=[GAP],
-            missing=[],
-            base_events={EVENT: _base_event(inert=[GAP])},
-        ),
-        "fail",
-        1,
-    ),
-    "a known gap against exactly the bound": (
-        dict(
-            rows=[{"flags": ["structural"], "base_gbp": 1e6, "head_gbp": 0.0}],
-            inert=[GAP],
-            missing=[],
-            base_events={EVENT: _base_event(inert=[GAP])},
-        ),
-        "fail",
-        1,
-    ),
-    "unsupported-only missing here, missing in the base": (
-        dict(
-            missing=[UNSUPPORTED],
-            unsupported=[UNSUPPORTED],
-            base_events={EVENT: _base_event(missing=[UNSUPPORTED])},
-        ),
-        "fail",
-        0,
-    ),
-    "another measure missing in the base, same year": (
-        dict(missing=[GAP], base_events={EVENT: _base_event(missing=[(OTHER, 2026)])}),
-        "fail",
-        0,
-    ),
-}
-
-
-@pytest.mark.parametrize("name", sorted(GAP_PROBES))
-def test_the_known_gap_rule_on_the_review_probes(name):
-    arguments, status, known = GAP_PROBES[name]
-    arguments = {"complete": False, "integrity": "incomplete", **arguments}
-    receipt = _receipt_with(**arguments)
-    _validator("replay_receipt.v1.json").validate(receipt)
-    gate = _gate(receipt)
-    assert gate.status == status, (name, gate.summary)
-    assert len(gate.details["known_gaps"]) == known, name
-
-
-def test_a_known_inert_gap_excuses_only_its_inertness_flag():
-    """Round 2 of #637: the row's other flags are still judged."""
-
-    def gate(flags):
-        receipt = _receipt_with(
-            rows=[{"flags": flags, "base_gbp": 0.0, "head_gbp": 0.0}],
-            inert=[GAP],
-            complete=False,
-            integrity="incomplete",
-            missing=[],
-            base_events={EVENT: _base_event(inert=[GAP])},
-        )
-        _validator("replay_receipt.v1.json").validate(receipt)
-        return _gate(receipt)
-
-    assert gate(["inertness"]).status == "pass"
-    mixed = gate(["inertness", "construction"])
-    assert mixed.status == "needs_review"
-    assert [item["kind"] for item in mixed.details["review_items"]] == ["flagged_move"]
-
-
-#: The rows scorecard writes for each kind of known gap, from its own
-#: compare_artifacts and compare_source_rows (round 3 of #637, executed at
-#: scorecard 4d44449): an inert artifact has identical worlds (ยฃ0); a missing
-#: one has no artifact. (candidate, base) -> rows.
-PRODUCER_GAP_ROWS = {
-    ("inert", "inert"): [],
-    ("missing", "missing"): [],
-    ("inert", "missing"): [
-        {"flags": ["coverage"], "base_gbp": None, "head_gbp": 0.0},
-        {
-            "flags": ["inertness"],
-            "base_gbp": None,
-            "head_gbp": None,
-            "level": "source_row",
-            "key": "obr_row_1",
-        },
-    ],
-    ("missing", "inert"): [
-        {"flags": ["coverage"], "base_gbp": 0.0, "head_gbp": None},
-        {
-            "flags": ["inertness"],
-            "base_gbp": None,
-            "head_gbp": None,
-            "level": "source_row",
-            "key": "obr_row_1",
-        },
-    ],
-}
-
-
-def _known_gap(rows, candidate="inert", base="inert", second_event=False):
-    """The gate on a schema-valid, sealed receipt whose one measure-year is a
-    known gap of this kind, with these flagged rows."""
-
-    doc = _receipt_with(
-        rows=rows,
-        inert=[GAP] if candidate == "inert" else [],
-        missing=[] if candidate == "inert" else [GAP],
-        complete=False,
-        integrity="incomplete",
-        base_events={EVENT: _base_event(**{base: [GAP]})},
-        sealed=False,
-    )
-    if second_event:
-        other = copy.deepcopy(doc["corpus"]["events"][EVENT])
-        other.update(
-            inert_measure_years=[],
-            missing_measure_years=[],
-            full_supported_grid_complete=True,
-        )
-        doc["corpus"]["events"]["autumn_budget_2025"] = other
-    doc = _sealed(doc)
-    _validator("replay_receipt.v1.json").validate(doc)
-    return _gate(doc)
-
-
-@pytest.mark.parametrize(
-    ("candidate", "base"), sorted(PRODUCER_GAP_ROWS), ids=lambda side: side
-)
-def test_every_kind_of_known_gap_passes_as_scorecard_writes_it(candidate, base):
-    """Round 3 of #637: a known gap does not block (d1344), including the
-    rows by which scorecard records a mixed one. Before, missing/inert
-    failed as a lost result and inert/missing went to review."""
-
-    gate = _known_gap(PRODUCER_GAP_ROWS[candidate, base], candidate, base)
-    assert gate.status == "pass", gate.summary
-    (gap,) = gate.details["known_gaps"]
-    assert (gap["candidate"], gap["why"]) == (candidate, f"{base} in the base")
-    mixed = candidate != base
-    assert [row["level"] for row in gate.details["known_gap_rows"]] == (
-        ["measure_year", "source_row"] if mixed else []
-    )
-
-
-@pytest.mark.parametrize(
-    ("candidate", "base", "row", "kind"),
-    [
-        # ยฃ0 on the wrong side for the gap's kind: judged as usual.
-        ("inert", "missing", {"base_gbp": 0.0, "head_gbp": None}, "lost_result"),
-        ("missing", "inert", {"base_gbp": None, "head_gbp": 0.0}, "coverage_gain"),
-        # A material base value is still a lost result.
-        ("missing", "inert", {"base_gbp": 5e8, "head_gbp": None}, "lost_result"),
-        # A candidate value contradicts the candidate's own record.
-        ("inert", "missing", {"base_gbp": None, "head_gbp": 5e8}, "contradiction"),
-        ("missing", "missing", {"base_gbp": None, "head_gbp": 1.0}, "contradiction"),
-        # inert/inert and missing/missing write no coverage row at all.
-        ("inert", "inert", {"base_gbp": 0.0, "head_gbp": None}, "lost_result"),
-        (
-            "missing",
-            "missing",
-            {"base_gbp": None, "head_gbp": None},
-            "coverage_without_values",
-        ),
-    ],
-)
-def test_other_coverage_rows_at_a_known_gap_are_judged_as_usual(
-    candidate, base, row, kind
-):
-    gate = _known_gap([{"flags": ["coverage"], **row}], candidate, base)
-    recorded = [r["kind"] for r in gate.details["regressions"]] + [
-        r["kind"] for r in gate.details["review_items"]
-    ]
-    assert kind in recorded, gate.summary
-    assert gate.status == ("needs_review" if kind.startswith("coverage") else "fail")
-    assert gate.details["known_gap_rows"] == []
-
-
-def test_a_known_gap_row_still_carries_its_other_flags():
-    rows = copy.deepcopy(PRODUCER_GAP_ROWS["missing", "inert"])
-    rows[0]["flags"].append("construction")
-    gate = _known_gap(rows, "missing", "inert")
-    assert gate.status == "needs_review"
-    assert [r["kind"] for r in gate.details["review_items"]] == ["flagged_move"]
-
-
-# Round 3 of #637: the reach of the inertness exemption. The reviewer's
-# probes, kept; one changed with the policy (base-only inertness at a
-# missing/inert gap is now the gap itself).
-_FLAGS = [
-    "numerical",
-    "structural",
-    "coverage",
-    "support",
-    "inertness",
-    "construction",
-    "mapping",
-]
-
-
-@pytest.mark.parametrize("n", range(1, len(_FLAGS) + 1))
-def test_a_known_inert_gap_strips_only_inertness_for_every_flag_set(n):
-    for combo in itertools.combinations(_FLAGS, n):
-        gate = _known_gap([{"flags": list(combo), "base_gbp": None, "head_gbp": None}])
-        rest = set(combo) - {"inertness"}
-        expected = "fail" if "mapping" in rest else ("needs_review" if rest else "pass")
-        assert gate.status == expected, combo
-        assert len(gate.details["known_gaps"]) == 1
-
-
-@pytest.mark.parametrize(
-    "where",
-    [
-        {"year": 2027},
-        {"measure_key": MEASURE + "_other"},
-        {"event": "autumn_budget_2025"},
-    ],
-    ids=["another year", "another measure", "another event"],
-)
-def test_inertness_beside_a_known_inert_gap_still_needs_review(where):
-    gate = _known_gap(
-        [{"flags": ["inertness"], "base_gbp": 0.0, "head_gbp": 3e8, **where}],
-        second_event=True,
-    )
-    assert gate.status == "needs_review", gate.summary
-    assert [i["kind"] for i in gate.details["review_items"]] == ["base_only_inertness"]
-
-
-def test_inertness_alone_off_the_inert_list_needs_review():
-    gate = _gate(
-        _receipt_with(rows=[{"flags": ["inertness"], "base_gbp": 0.0, "head_gbp": 3e8}])
-    )
-    assert gate.status == "needs_review"
-    assert [i["kind"] for i in gate.details["review_items"]] == ["base_only_inertness"]
-
-
-@pytest.mark.parametrize(
-    ("base", "status"), [("inert", "pass"), ("missing", "needs_review")]
-)
-def test_inertness_on_a_known_missing_gap(base, status):
-    """Where the base is inert, the base-only inertness is the gap itself.
-    Where both are missing, an inertness flag contradicts both records and
-    goes to review."""
-
-    gate = _known_gap(
-        [
-            {
-                "flags": ["inertness"],
-                "base_gbp": None,
-                "head_gbp": None,
-                "level": "source_row",
-                "key": "obr-row-1",
-            }
-        ],
-        candidate="missing",
-        base=base,
-    )
-    assert gate.status == status, gate.summary
-    if status == "needs_review":
-        assert [i["kind"] for i in gate.details["review_items"]] == [
-            "base_only_inertness"
-        ]
-
-
-@pytest.mark.parametrize("level", ["source_row", "measure_year", "head"])
-def test_a_known_inert_gap_strips_inertness_at_every_level(level):
-    gate = _known_gap(
-        [
-            {
-                "flags": ["inertness"],
-                "base_gbp": None,
-                "head_gbp": None,
-                "level": level,
-                "key": "k",
-            }
-        ]
-    )
-    assert gate.status == "pass", gate.summary
-
-
-def test_a_mixed_inertness_row_off_the_inert_list_is_a_flagged_move():
-    gate = _gate(
-        _receipt_with(
-            rows=[
-                {"flags": ["inertness", "numerical"], "base_gbp": 1e8, "head_gbp": 3e8}
-            ]
-        )
-    )
-    assert [i["kind"] for i in gate.details["review_items"]] == ["flagged_move"]
-
-
-def test_an_unknown_inert_zero_total_is_one_lost_response_and_no_review():
-    gate = _gate(
-        _receipt_with(
-            rows=[{"flags": ["structural"], "base_gbp": 5e8, "head_gbp": 0.0}],
-            inert=[GAP],
-            missing=[],
-            complete=False,
-            integrity="incomplete",
-        )
-    )
-    assert gate.status == "fail"
-    assert [r["kind"] for r in gate.details["regressions"]] == [
-        "lost_response",
-        "incomplete",
-    ]
-    assert gate.details["review_items"] == []
-
-
-def test_the_real_6_5_0_receipt():
-    """W6's 6.5.0 qualification (request d83eaf59, replay-state 19a9ccdc):
-    the first real receipt with diff.base_events. Eight flagged rows, all
-    Autumn Budget 2024's capital gains measure (#186's fiscal-year blend):
-    review, no regressions, no known gaps."""
-
-    import json
-
-    path = Path(__file__).parent / "fixtures/uk_replay/receipt_6.5.0"
-    request = ReplayQualificationRequest.model_validate(
-        json.loads((path / "REQUEST.json").read_text())
-    )
-    status = ReplayStatus.model_validate(json.loads((path / "STATUS.json").read_text()))
-    receipt = ReplayReceipt.from_document(
-        json.loads((path / "REPLAY_RECEIPT.json").read_text())
-    )
-    assert (
-        receipt.computed_receipt_sha256
-        == status.receipt_sha256
-        == ("a7a67c268c21b983ed47930ea5816a23dcd6b37f75373b1a5fc59883b08f5551")
-    )
-    assert receipt.diff is not None and len(receipt.diff.base_events or {}) == 6
-    gate = evaluate_replay_receipt(request, status, receipt)
-    assert gate.status == "needs_review", gate.summary
-    assert gate.details["regressions"] == gate.details["known_gaps"] == []
-    items = gate.details["review_items"]
-    assert [item["kind"] for item in items] == ["flagged_move"] * 8
-    assert {item["measure_key"] for item in items} == {
-        "autumn_budget_2024__capital_gains_main_rates_and_reliefs"
-    }
-    assert sorted(item["year"] for item in items) == [
-        2024,
-        2024,
-        2024,
-        2025,
-        2026,
-        2027,
-        2028,
-        2029,
-    ]
-    assert (
-        gate.details["base_variant_id"]
-        == "pe6.4.1_uk2.130.1_policyengine-uk-data-1.58.1"
-    )
-
-
-# Round 4 of #637: where the known-gap rules reach. The reviewer's probes.
-_BESIDE = [
-    {"year": 2027},
-    {"measure_key": MEASURE + "_other"},
-    {"event": "autumn_budget_2025"},
-]
-_BESIDE_IDS = ["another year", "another measure", "another event"]
-
-
-def _kinds(gate):
-    return (
-        [r["kind"] for r in gate.details["regressions"]],
-        [r["kind"] for r in gate.details["review_items"]],
-    )
-
-
-@pytest.mark.parametrize("where", _BESIDE, ids=_BESIDE_IDS)
-def test_a_zero_base_coverage_row_beside_a_missing_inert_gap_is_a_lost_result(where):
-    gate = _known_gap(
-        [{"flags": ["coverage"], "base_gbp": 0.0, "head_gbp": None, **where}],
-        "missing",
-        "inert",
-        second_event=True,
-    )
-    assert gate.status == "fail" and _kinds(gate)[0] == ["lost_result"], gate.summary
-    assert gate.details["known_gap_rows"] == []
-
-
-@pytest.mark.parametrize("where", _BESIDE, ids=_BESIDE_IDS)
-def test_a_zero_head_coverage_row_beside_an_inert_missing_gap_is_a_gain(where):
-    gate = _known_gap(
-        [{"flags": ["coverage"], "base_gbp": None, "head_gbp": 0.0, **where}],
-        "inert",
-        "missing",
-        second_event=True,
-    )
-    assert gate.status == "needs_review" and _kinds(gate)[1] == ["coverage_gain"]
-    assert gate.details["known_gap_rows"] == []
-
-
-@pytest.mark.parametrize("where", _BESIDE, ids=_BESIDE_IDS)
-def test_inertness_beside_a_missing_inert_gap_still_needs_review(where):
-    row = {
-        "flags": ["inertness"],
-        "base_gbp": None,
-        "head_gbp": None,
-        "level": "source_row",
-        "key": "obr-row-1",
-        **where,
-    }
-    gate = _known_gap([row], "missing", "inert", second_event=True)
-    assert gate.status == "needs_review"
-    assert _kinds(gate)[1] == ["base_only_inertness"], gate.summary
-
-
-@pytest.mark.parametrize("where", _BESIDE, ids=_BESIDE_IDS)
-def test_a_candidate_value_beside_a_gap_is_a_gain_not_a_contradiction(where):
-    gate = _known_gap(
-        [{"flags": ["coverage"], "base_gbp": None, "head_gbp": 5e8, **where}],
-        "missing",
-        "missing",
-        second_event=True,
-    )
-    assert gate.status == "needs_review" and _kinds(gate)[1] == ["coverage_gain"]
-
-
-@pytest.mark.parametrize(
-    ("candidate", "base", "row", "status", "kind"),
-    [
-        # exactly ยฃ0, not merely immaterial
-        (
-            "inert",
-            "missing",
-            {"base_gbp": None, "head_gbp": 0.4},
-            "fail",
-            "contradiction",
-        ),
-        (
-            "missing",
-            "inert",
-            {"base_gbp": 0.4, "head_gbp": None},
-            "fail",
-            "lost_result",
-        ),
-        # ยฃ0 on both sides is not the gap's shape
-        (
-            "inert",
-            "missing",
-            {"base_gbp": 0.0, "head_gbp": 0.0},
-            "needs_review",
-            "flagged_move",
-        ),
-        (
-            "missing",
-            "inert",
-            {"base_gbp": 0.0, "head_gbp": 0.0},
-            "needs_review",
-            "flagged_move",
-        ),
-    ],
-)
-def test_only_exactly_the_gaps_shape_is_excused(candidate, base, row, status, kind):
-    gate = _known_gap([{"flags": ["coverage"], **row}], candidate, base)
-    assert gate.status == status, gate.summary
-    assert kind in _kinds(gate)[0] + _kinds(gate)[1]
-    assert gate.details["known_gap_rows"] == []
-
-
-@pytest.mark.parametrize(
-    ("candidate", "base", "row"),
-    [
-        ("inert", "inert", {"flags": ["numerical"], "base_gbp": 1e8, "head_gbp": 3e8}),
-        ("missing", "inert", {"flags": ["coverage"], "base_gbp": 0.0, "head_gbp": 5e8}),
-        (
-            "missing",
-            "missing",
-            {
-                "flags": ["construction"],
-                "base_gbp": None,
-                "head_gbp": 5e8,
-                "level": "head",
-                "key": "income_tax",
-            },
-        ),
-        (
-            "inert",
-            "missing",
-            {"flags": ["inertness"], "base_gbp": None, "head_gbp": 5e8},
-        ),
-        (
-            "missing",
-            "inert",
-            {
-                "flags": ["inertness"],
-                "base_gbp": None,
-                "head_gbp": 5e8,
-                "level": "source_row",
-                "key": "obr-row-1",
-            },
-        ),
-        ("inert", "inert", {"flags": ["inertness"], "base_gbp": 0.0, "head_gbp": 5e8}),
-    ],
-)
-def test_any_candidate_value_at_a_known_gap_is_a_contradiction(candidate, base, row):
-    """Round 4 of #637: the policy says so for every row, not only coverage
-    rows; before, a missing/inert inertness row with a candidate value passed."""
-
-    gate = _known_gap([row], candidate, base)
-    assert gate.status == "fail", gate.summary
-    assert "contradiction" in _kinds(gate)[0]
-    assert _kinds(gate)[1] == []
-
-
-def test_a_candidate_value_contradiction_is_never_also_reviewed():
-    gate = _known_gap(
-        [{"flags": ["coverage"], "base_gbp": None, "head_gbp": 5e8}], "inert", "missing"
-    )
-    assert _kinds(gate) == (["contradiction"], [])
-
-
-def test_a_counter_above_a_non_gap_row_is_a_contradiction():
-    doc = _receipt_with(
-        rows=[{"flags": ["numerical"], "base_gbp": 1e8, "head_gbp": 3e8}],
-        counts={"numerical": 2},
-    )
-    _validator("replay_receipt.v1.json").validate(doc)
-    gate = _gate(doc)
-    assert gate.status == "fail" and _kinds(gate)[0] == ["contradiction"], gate.summary
-
-
-def test_three_producer_shaped_gaps_at_once_pass():
-    """Gaps of three kinds in one event, with rows as scorecard writes them."""
-
-    gaps = {
-        2025: ("missing", "inert"),
-        2026: ("inert", "missing"),
-        2027: ("inert", "inert"),
-    }
-    rows = []
-    for year, kind in gaps.items():
-        rows += [
-            {**row, "year": year} for row in copy.deepcopy(PRODUCER_GAP_ROWS[kind])
-        ]
-    doc = _receipt_with(
-        rows=rows,
-        inert=[(MEASURE, y) for y, (c, _) in gaps.items() if c == "inert"],
-        missing=[(MEASURE, y) for y, (c, _) in gaps.items() if c == "missing"],
-        complete=False,
-        integrity="incomplete",
-        base_events={
-            EVENT: _base_event(
-                inert=[(MEASURE, y) for y, (_, b) in gaps.items() if b == "inert"],
-                missing=[(MEASURE, y) for y, (_, b) in gaps.items() if b == "missing"],
-            )
-        },
-    )
-    _validator("replay_receipt.v1.json").validate(doc)
-    gate = _gate(doc)
-    assert gate.status == "pass", gate.summary
-    assert len(gate.details["known_gaps"]) == 3
-    assert len(gate.details["known_gap_rows"]) == 4
-
-
-# Round 5 of #637: the reviewer's probes on the strip and the text.
-_GAP_KINDS = [
-    ("inert", "inert"),
-    ("missing", "missing"),
-    ("inert", "missing"),
-    ("missing", "inert"),
-]
-_SOURCE_ROW = {"level": "source_row", "key": "obr-row-1"}
-
-
-@pytest.mark.parametrize(
-    "row",
-    [
-        {"flags": ["inertness"], "base_gbp": 0.0, "head_gbp": None, **_SOURCE_ROW},
-        {"flags": ["inertness"], "base_gbp": None, "head_gbp": 0.0, **_SOURCE_ROW},
-        {"flags": ["inertness"], "base_gbp": 0.0, "head_gbp": 0.0, **_SOURCE_ROW},
-        {"flags": ["inertness"], "base_gbp": 0.0, "head_gbp": None},
-        {"flags": ["inertness"], "base_gbp": 5e8, "head_gbp": None, **_SOURCE_ROW},
-        {"flags": ["inertness"], "base_gbp": -5e8, "head_gbp": None, **_SOURCE_ROW},
-    ],
-    ids=[
-        "base ยฃ0",
-        "head ยฃ0",
-        "both ยฃ0",
-        "measure-year base ยฃ0",
-        "base ยฃ500m",
-        "base -ยฃ500m",
-    ],
-)
-def test_only_a_valueless_inertness_row_is_the_gaps_record(row):
-    """At a missing/inert gap scorecard flags inertness only on a row with no
-    value on either side; one with any value, even ยฃ0, is judged as usual."""
-
-    gate = _known_gap([row], "missing", "inert")
-    assert gate.status == "needs_review", (gate.status, _kinds(gate))
-    assert _kinds(gate) == ([], ["base_only_inertness"])
-    assert gate.details["known_gap_rows"] == []
-
-
-def test_the_coverage_record_carrying_inertness_too_is_reviewed():
-    gate = _known_gap(
-        [{"flags": ["coverage", "inertness"], "base_gbp": 0.0, "head_gbp": None}],
-        "missing",
-        "inert",
-    )
-    assert gate.status == "needs_review" and _kinds(gate) == (
-        [],
-        ["base_only_inertness"],
-    )
-
-
-@pytest.mark.parametrize("base_gbp,head_gbp", [(None, None), (None, 0.0), (0.0, 0.0)])
-def test_inertness_at_an_inert_missing_gap_is_decided_by_the_inert_list(
-    base_gbp, head_gbp
-):
-    gate = _known_gap(
-        [
-            {
-                "flags": ["inertness"],
-                "base_gbp": base_gbp,
-                "head_gbp": head_gbp,
-                **_SOURCE_ROW,
-            }
-        ],
-        "inert",
-        "missing",
-    )
-    assert gate.status == "pass", (gate.status, _kinds(gate))
-
-
-def test_a_partly_excused_row_is_recorded_and_its_rest_reviewed():
-    rows = copy.deepcopy(PRODUCER_GAP_ROWS["missing", "inert"])
-    rows[0]["flags"].append("construction")
-    gate = _known_gap(rows, "missing", "inert")
-    assert [r["level"] for r in gate.details["known_gap_rows"]] == [
-        "measure_year",
-        "source_row",
-    ]
-    assert _kinds(gate) == ([], ["flagged_move"])
-
-
-def test_a_partly_stripped_inertness_row_is_recorded():
-    rows = [
-        {
-            "flags": ["inertness", "numerical"],
-            "base_gbp": None,
-            "head_gbp": None,
-            **_SOURCE_ROW,
-        }
-    ]
-    gate = _known_gap(rows, "missing", "inert")
-    assert len(gate.details["known_gap_rows"]) == 1
-    assert _kinds(gate) == ([], ["flagged_move"])
-
-
-def test_a_row_the_gap_does_not_account_for_is_not_recorded():
-    gate = _known_gap(
-        [{"flags": ["numerical"], "base_gbp": 0.0, "head_gbp": 0.0}], "inert", "inert"
-    )
-    assert gate.details["known_gap_rows"] == []
-
-
-@pytest.mark.parametrize(
-    ("candidate", "base"), [k for k in _GAP_KINDS if k != ("missing", "inert")]
-)
-@pytest.mark.parametrize("base_gbp", [0.0, 0.4])
-def test_a_base_value_with_no_candidate_value_is_a_lost_result(
-    candidate, base, base_gbp
-):
-    """Even ยฃ0, except as the missing/inert gap's own record (the policy text
-    said the opposite at ยฃ0 until round 5)."""
-
-    gate = _known_gap(
-        [{"flags": ["coverage"], "base_gbp": base_gbp, "head_gbp": None}],
-        candidate,
-        base,
-    )
-    assert gate.status == "fail" and "lost_result" in _kinds(gate)[0], (
-        gate.status,
-        _kinds(gate),
-    )
-
-
-@pytest.mark.parametrize(("candidate", "base"), _GAP_KINDS)
-@pytest.mark.parametrize("head", [5e8, -5e8, 0.4, -1e-9])
-@pytest.mark.parametrize(
-    ("flags", "level"),
-    [
-        (["inertness"], "source_row"),
-        (["numerical"], "head"),
-        (["construction"], "measure_year"),
-        (["support"], "measure_year"),
-        (["structural"], "head"),
-        (["coverage"], "source_row"),
-    ],
-)
-def test_any_candidate_value_other_than_zero_at_a_known_gap_fails(
-    candidate, base, head, flags, level
-):
-    gate = _known_gap(
-        [
-            {
-                "flags": flags,
-                "base_gbp": None,
-                "head_gbp": head,
-                "level": level,
-                "key": "k",
-            }
-        ],
-        candidate,
-        base,
-    )
-    assert gate.status == "fail" and _kinds(gate) == (["contradiction"], []), (
-        gate.status,
-        _kinds(gate),
-    )
-
-
-# Round 6 of #637: the reviewer's probes.
-@pytest.mark.parametrize(
-    ("level", "key"), [("source_row", "r"), ("measure_year", "total"), ("head", "v")]
-)
-def test_a_valueless_inertness_row_at_a_missing_inert_gap_is_the_gap_at_any_level(
-    level, key
-):
-    gate = _known_gap(
-        [
-            {
-                "flags": ["inertness"],
-                "base_gbp": None,
-                "head_gbp": None,
-                "level": level,
-                "key": key,
-            }
-        ],
-        "missing",
-        "inert",
-    )
-    assert gate.status == "pass" and len(gate.details["known_gap_rows"]) == 1
-
-
-@pytest.mark.parametrize(
-    ("candidate", "base"), [("missing", "inert"), ("inert", "missing")]
-)
-def test_a_valueless_coverage_row_at_a_mixed_gap_is_not_its_record(candidate, base):
-    """The coverage record is ยฃ0 on the inert side; a coverage row with no
-    value on either side is reviewed, at that gap too."""
-
-    gate = _known_gap(
-        [{"flags": ["coverage"], "base_gbp": None, "head_gbp": None}], candidate, base
-    )
-    assert gate.status == "needs_review"
-    assert _kinds(gate) == ([], ["coverage_without_values"])
-    assert gate.details["known_gap_rows"] == []
-
-
-# Round 2 of #637: combinations of a known gap with other rules, and
-# evidence that must stay within its own event.
-def test_a_known_gap_never_excuses_a_complete_event_listing_a_gap():
-    for inert, missing in (([GAP], []), ([], [GAP])):
-        gate = _gate(
-            _receipt_with(
-                inert=inert,
-                missing=missing,
-                base_events={EVENT: _base_event(inert=[GAP])},
-            )
-        )
-        assert gate.status == "fail"
-        assert [r["kind"] for r in gate.details["regressions"]] == ["contradiction"]
-        assert gate.details["policy"] == REPLAY_POLICY_ID
-
-
-def test_a_known_gap_never_excuses_a_mapping_flag_or_a_material_lost_result():
-    mapping = _gate(
-        _receipt_with(
-            rows=[{"flags": ["mapping"], "base_gbp": None, "head_gbp": None}],
-            inert=[GAP],
-            missing=[],
-            complete=False,
-            integrity="incomplete",
-            base_events={EVENT: _base_event(inert=[GAP])},
-        )
-    )
-    assert mapping.status == "fail" and len(mapping.details["known_gaps"]) == 1
-    assert [r["kind"] for r in mapping.details["regressions"]] == ["mapping"]
-    # A base inert by its own record cannot hold ยฃ500m: scorecard cannot
-    # write this row, and the gate still fails it as a lost result.
-    lost = _gate(
-        _receipt_with(
-            rows=[{"flags": ["coverage"], "base_gbp": 5e8, "head_gbp": None}],
-            missing=[GAP],
-            complete=False,
-            integrity="incomplete",
-            base_events={EVENT: _base_event(inert=[GAP])},
-        )
-    )
-    assert lost.status == "fail"
-    assert [r["kind"] for r in lost.details["regressions"]] == ["lost_result"]
-
-
-@pytest.mark.parametrize("candidate", ["inert", "missing"])
-def test_base_evidence_never_crosses_into_another_event(candidate):
-    """The same measure-year in a second event, which the base did not
-    replay, is not excused by the first event's record."""
-
-    receipt = _receipt_with(
-        inert=[GAP] if candidate == "inert" else [],
-        missing=[] if candidate == "inert" else [GAP],
-        complete=False,
-        integrity="incomplete",
-        base_events={EVENT: _base_event(inert=[GAP])},
-        sealed=False,
-    )
-    receipt["corpus"]["events"]["autumn_budget_2025"] = copy.deepcopy(
-        receipt["corpus"]["events"][EVENT]
-    )
-    gate = _gate(_sealed(receipt))
-    assert gate.status == "fail"
-    assert [(gap["event"], gap["candidate"]) for gap in gate.details["known_gaps"]] == [
-        (EVENT, candidate)
-    ]
-    assert {r["event"] for r in gate.details["regressions"]} == {"autumn_budget_2025"}
-    expected = (
-        ["lost_response", "incomplete"] if candidate == "inert" else ["incomplete"]
-    )
-    assert [r["kind"] for r in gate.details["regressions"]] == expected
-
-
-def test_a_known_missing_gap_never_hides_another_missing_measure_year():
-    gate = _gate(
-        _receipt_with(
-            missing=[GAP, (MEASURE, 2027)],
-            complete=False,
-            integrity="incomplete",
-            base_events={EVENT: _base_event(missing=[GAP])},
-        )
-    )
-    assert gate.status == "fail" and len(gate.details["known_gaps"]) == 1
-    assert gate.details["regressions"][0]["measure_years"] == [[MEASURE, 2027]]
-
-
-def test_an_incomplete_event_without_its_missing_list_fails_even_with_base_evidence():
-    """A receipt from before scorecard#183 cannot show what is missing."""
-
-    receipt = _receipt_with(
-        inert=[GAP],
-        complete=False,
-        integrity="incomplete",
-        base_events={EVENT: _base_event(inert=[GAP])},
-    )
-    gate = _gate(receipt)
-    assert gate.status == "fail"
-    assert gate.details["known_gaps"][0]["why"] == "inert in the base"
-    assert [r["kind"] for r in gate.details["regressions"]] == ["incomplete"]
-    assert "does not list its missing" in gate.details["regressions"][0]["why"]
-
-
-def test_a_known_gap_never_excuses_a_material_base_value():
-    """A base whose record lists the measure-year as inert cannot also hold a
-    material value for it, so a ยฃ0 against that value still fails."""
-
-    def receipt(base_gbp):
-        rows = (
-            []
-            if base_gbp is None
-            else [{"flags": ["structural"], "base_gbp": base_gbp, "head_gbp": 0.0}]
-        )
-        return _receipt_with(
-            rows=rows,
-            inert=[GAP],
-            complete=False,
-            integrity="incomplete",
-            missing=[],
-            base_events={EVENT: _base_event(inert=[GAP])},
-        )
-
-    known = _gate(receipt(None))
-    assert known.status == "pass" and known.details["regressions"] == []
-    contradicted = _gate(receipt(2.5e8))
-    assert contradicted.status == "fail"
-    assert [r["kind"] for r in contradicted.details["regressions"]] == ["lost_response"]
-    assert "though the base's record" in contradicted.details["regressions"][0]["why"]
-
-
-@pytest.mark.parametrize("kind", ["numerical", "mapping", "inertness"])
-def test_a_counter_with_no_row_is_a_contradiction(kind):
-    """Scorecard's counters tally its rows' flags (equal on every real
-    receipt), so a flag only the counters state contradicts the rows: it
-    fails, whether or not its kind blocks."""
-
-    receipt = _receipt_with(counts={kind: 1})
-    _validator("replay_receipt.v1.json").validate(receipt)
-    gate = _gate(receipt)
-    assert gate.status == "fail"
-    assert [r["kind"] for r in gate.details["regressions"]] == ["contradiction"]
-    assert f"0 flagged row(s) carry {kind} but flag_counts says 1" in gate.summary
-
-
-def test_a_counter_above_its_rows_cannot_hide_behind_a_known_gap():
-    """Round 3 of #637: one exempt row with flag_counts.inertness=5 passed;
-    the excess is a contradiction."""
-
-    receipt = _receipt_with(
-        rows=[{"flags": ["inertness"], "base_gbp": 0.0, "head_gbp": 0.0}],
-        inert=[GAP],
-        missing=[],
-        complete=False,
-        integrity="incomplete",
-        counts={"inertness": 5},
-        base_events={EVENT: _base_event(inert=[GAP])},
-    )
-    gate = _gate(receipt)
-    assert gate.status == "fail"
-    assert "1 flagged row(s) carry inertness but flag_counts says 5" in gate.summary
-
-
-@pytest.mark.parametrize(
-    "path",
-    [
-        Path(__file__).parent / "fixtures/uk_replay/receipt_6.4.1_attempt1",
-        Path(__file__).parent / "fixtures/uk_replay/receipt_6.5.0",
-    ],
-    ids=["6.4.1 attempt 1", "6.5.0"],
-)
-def test_real_receipts_count_exactly_the_flags_their_rows_carry(path):
-    import json
-
-    receipt = json.loads((path / "REPLAY_RECEIPT.json").read_text())
-    tally: dict[str, int] = {}
-    for row in receipt["diff"]["flagged_rows"]:
-        for kind in row["flags"]:
-            tally[kind] = tally.get(kind, 0) + 1
-    assert {k: n for k, n in receipt["diff"]["flag_counts"].items() if n} == tally
-
-
-def test_every_early_failure_carries_the_policy_record():
-    import hashlib
-    from importlib.resources import files
-
-    text = (files("policyengine.data.qualification") / "replay_policy.md").read_bytes()
-    clean = _receipt_with()
-    rejected = _rejected_receipt()
-    contradictory = _edit(
-        _clean_receipt(),
-        lambda r: r["corpus"]["events"][EVENT].update(artifacts=0),
-    )
-    failed = copy.deepcopy(_with_requested_wheels(golden("replay_receipt_golden")))
-    failed["status"] = "failed"
-    failed["integrity"] = {
-        "status": "failed",
-        "failures": [{"code": "construction_inert", "detail": "x"}],
-    }
-    unbound = copy.deepcopy(clean)
-    unbound["execution"]["dataset_sha256"] = "0" * 64
-    cases = {
-        "rejected": _gate(rejected),
-        "contradiction": _gate(contradictory),
-        "failed": _gate(_sealed(failed)),
-        "unbound": _gate(_sealed(unbound)),
-    }
-    for kind, gate in cases.items():
-        assert gate.status == "fail", kind
-        assert gate.details["policy"] == REPLAY_POLICY_ID
-        assert gate.details["policy_sha256"] == hashlib.sha256(text).hexdigest()
-        assert [r["kind"] for r in gate.details["regressions"]] == [kind], kind
-        assert gate.details["review_items"] == [] and gate.details["known_gaps"] == []
-
-
-def test_the_gate_records_the_policy_it_applied():
-    import hashlib
-    from importlib.resources import files
-
-    gate = _gate(_receipt_with())
-    assert gate.status == "pass"
-    text = (files("policyengine.data.qualification") / "replay_policy.md").read_bytes()
-    assert gate.details["policy"] == REPLAY_POLICY_ID
-    assert gate.details["policy_sha256"] == hashlib.sha256(text).hexdigest()
-    assert REPLAY_POLICY_ID.encode() in text
-    assert gate.details["known_gaps"] == []
-
-
-def test_the_first_real_receipt_fails_on_its_inert_uc_measure_years():
-    """policyengine 6.4.1 + policyengine-uk 2.130.1 + uk-data 1.58.1, receipt
-    e3cc6521โ€ฆ: scorecard's construction of spring_statement_2025's UC health
-    element change was inert in 2026-29, where the base computed ยฃ264.1m to
-    ยฃ626.6m. Those four lost responses and the incomplete grid fail it; its
-    other 346 flagged rows are review items."""
-
-    from collections import Counter
-
-    folder = FIXTURES / "receipt_6.4.1_attempt1"
-    request = ReplayQualificationRequest.model_validate(
-        json.loads((folder / "REQUEST.json").read_text())
-    )
-    document = json.loads((folder / "REPLAY_RECEIPT.json").read_text())
-    receipt = ReplayReceipt.from_document(document)
-    assert receipt.computed_receipt_sha256 == receipt.receipt_sha256
-    gate = evaluate_replay_receipt(
-        request, _status(request.request_id, document), receipt
-    )
-    assert gate.status == "fail"
-    lost = sorted(
-        (item["measure_key"], item["year"])
-        for item in gate.details["regressions"]
-        if item["kind"] == "lost_response"
-    )
-    measure = "spring_statement_2025__uc_health_element_freeze_and_new_claimant_cut"
-    assert lost == [(measure, year) for year in (2026, 2027, 2028, 2029)]
-    assert [
-        item["event"]
-        for item in gate.details["regressions"]
-        if item["kind"] == "incomplete"
-    ] == ["spring_statement_2025"]
-    assert Counter(item["kind"] for item in gate.details["review_items"]) == {
-        "flagged_move": 345,
-        "coverage_gain": 1,
-    }
-
-
-_ROW = st.fixed_dictionaries(
-    {
-        "flags": st.lists(
-            st.sampled_from(
-                [
-                    "numerical",
-                    "structural",
-                    "coverage",
-                    "mapping",
-                    "support",
-                    "inertness",
-                    "construction",
-                ]
-            ),
-            min_size=1,
-            max_size=3,
-            unique=True,
-        ),
-        "level": st.sampled_from(["source_row", "measure_year", "head"]),
-        "year": st.sampled_from([2025, 2026]),
-        "base_gbp": st.one_of(
-            st.none(),
-            st.just(0.0),
-            st.sampled_from([999_999.0, 1e6, -1e6, 2.5e8, -2.5e8]),
-            st.floats(-1e10, 1e10, allow_nan=False),
-        ),
-        "head_gbp": st.one_of(
-            st.none(),
-            st.just(0.0),
-            st.floats(-1e10, 1e10, allow_nan=False),
-        ),
-    }
-)
-_RANK = {"pass": 0, "needs_review": 1, "fail": 2}
-
-
-@settings(max_examples=150, deadline=None)
-@given(
-    rows=st.lists(_ROW, max_size=4),
-    extra=_ROW,
-    inert=st.lists(st.sampled_from([2025, 2026]), max_size=2, unique=True),
-)
-def test_the_replay_policy_is_monotone_and_never_passes_a_flag(rows, extra, inert):
-    """For every receipt: a flagged row never passes; mapping and lost results
-    always fail; fail is exactly "a regression was recorded"; and adding a
-    flagged row never makes the verdict better."""
-
-    listed = tuple((MEASURE, year) for year in inert)
-    complete = not listed
-
-    def judge(these):
-        receipt = _receipt_with(
-            these, listed, complete, "complete" if complete else "incomplete"
-        )
-        return _gate(receipt)
-
-    def oracle(these):
-        """The decision record's outcome, restated independently: a
-        regression fails; any other flagged row needs review."""
-
-        for row in these:
-            base, head = row["base_gbp"], row["head_gbp"]
-            if (
-                "mapping" in row["flags"]
-                or ("coverage" in row["flags"] and base is not None and head is None)
-                or (
-                    row["level"] == "measure_year"
-                    and head == 0
-                    and base is not None
-                    and abs(base) >= 1_000_000
-                )
-            ):
-                return "fail"
-        if listed:
-            return "fail"
-        return "needs_review" if these else "pass"
-
-    before = judge(rows)
-    after = judge([*rows, extra])
-    assert before.status == oracle(rows), (rows, before.summary)
-    assert after.status == oracle([*rows, extra]), (extra, after.summary)
-    assert _RANK[after.status] >= _RANK[before.status]
-    for gate, these in ((before, rows), (after, [*rows, extra])):
-        assert (gate.status == "fail") == bool(gate.details["regressions"])
-        if these or listed:
-            assert gate.status != "pass"
-        if any(
-            "mapping" in row["flags"]
-            or (
-                "coverage" in row["flags"]
-                and row["base_gbp"] is not None
-                and row["head_gbp"] is None
-            )
-            for row in these
-        ):
-            assert gate.status == "fail"
-
-
-@settings(max_examples=300, deadline=None)
-@given(
-    rows=st.lists(_ROW, max_size=4),
-    candidate=st.sampled_from(["inert", "missing"]),
-    base=st.sampled_from(["inert", "missing", None]),
-)
-def test_the_replay_policy_with_known_gaps_against_a_reference(rows, candidate, base):
-    """Round 3 of #637: the policy restated independently, with the
-    measure-year 2026 inert or missing in the candidate and, unless ``base``
-    is None, recorded inert or missing in the base (a known gap). Rows fall
-    on the gap (2026) or beside it (2025)."""
-
-    kwargs = dict(
-        inert=[GAP] if candidate == "inert" else [],
-        missing=[] if candidate == "inert" else [GAP],
-        complete=False,
-        integrity="incomplete",
-    )
-    if base is not None:
-        kwargs["base_events"] = {EVENT: _base_event(**{base: [GAP]})}
-    gate = _gate(_receipt_with(rows, **kwargs))
-
-    known = base is not None
-    fail = not known  # an unknown inert or missing measure-year fails
-    review = False
-    for row in rows:
-        flags = set(row["flags"])
-        b, h = row["base_gbp"], row["head_gbp"]
-        at_gap = known and row["year"] == 2026
-        if at_gap and "coverage" in flags:
-            if (candidate, base) == ("inert", "missing") and b is None and h == 0:
-                flags.discard("coverage")
-            if (candidate, base) == ("missing", "inert") and h is None and b == 0:
-                flags.discard("coverage")
-        if "mapping" in flags:
-            fail = True
-        if "coverage" in flags and b is not None and h is None:
-            fail = True
-        # Any candidate value at a known gap contradicts the candidate's
-        # record (round 4 of #637).
-        if at_gap and h not in (None, 0):
-            fail = True
-        if (
-            row["level"] == "measure_year"
-            and h == 0
-            and b is not None
-            and abs(b) >= max(1e6, 0.01 * abs(b))
-        ):
-            fail = True
-        if (row["year"] == 2026 and candidate == "inert") or (
-            at_gap
-            and (candidate, base) == ("missing", "inert")
-            and b is None
-            and h is None
-        ):
-            flags.discard("inertness")
-        if flags - {"mapping"}:
-            review = True
-    expected = "fail" if fail else ("needs_review" if review else "pass")
-    assert gate.status == expected, (candidate, base, rows, gate.summary)
-    assert (gate.status == "fail") == bool(gate.details["regressions"])
-    assert len(gate.details["known_gaps"]) == (1 if known else 0)
-
-
-def test_the_comparison_base_must_be_the_one_requested():
-    raw = copy.deepcopy(golden("qualification_request_golden"))
-    base_variant = _clean_receipt()["diff"]["base_variant_id"]
-    raw["compare_to"] = base_variant
-    explicit = ReplayQualificationRequest.model_validate(raw)
-    receipt = _clean_receipt()
-    receipt["request_id"] = explicit.request_id
-    assert _gate(_sealed(receipt), request=explicit).status == "pass"
-    raw["compare_to"] = "pe6.2.6_uk2.125.1_policyengine-uk-data-1.58.0"
-    other = ReplayQualificationRequest.model_validate(raw)
-    receipt = _clean_receipt()
-    receipt["request_id"] = other.request_id
-    gate = _gate(_sealed(receipt), request=other)
-    assert gate.status == "fail" and "asked for a comparison" in gate.summary
-
-
-def test_incomplete_or_failed_integrity_fails():
-    doc = copy.deepcopy(golden("replay_receipt_golden"))
-    doc["diff"]["flag_counts"] = {key: 0 for key in doc["diff"]["flag_counts"]}
-    doc["integrity"]["status"] = "incomplete"
-    assert _gate(_sealed(doc)).status == "fail"
-    doc["integrity"] = {
-        "status": "failed",
-        "failures": [{"code": "non_finite", "detail": "NaN in VAT"}],
-    }
-    doc["status"] = "failed"
-    assert _gate(_sealed(doc)).status == "fail"
-
-
-def test_execution_of_other_artifacts_fails():
-    for mutate in (
-        lambda d: d["execution"].update(dataset_sha256="0" * 64),
-        lambda d: d["execution"].update(packaged_bundle_manifest_sha256="0" * 64),
-        lambda d: d["execution"]["packages"]["policyengine-uk"].update(version="9.9.9"),
-        lambda d: d["execution"]["release_bundle"].update(model_version="9.9.9"),
-    ):
-        doc = copy.deepcopy(_with_counts())
-        mutate(doc)
-        assert _gate(_sealed(doc)).status == "fail"
-
-
-@pytest.mark.parametrize("package", ["policyengine-uk", "policyengine-core"])
-@pytest.mark.parametrize("wheel_sha256", [None, "0" * 64])
-def test_replay_requires_exact_country_and_core_wheels(package, wheel_sha256):
-    doc = _clean_receipt()
-    installed = doc["execution"]["packages"][package]
-    if wheel_sha256 is None:
-        installed.pop("wheel_sha256")
-    else:
-        installed["wheel_sha256"] = wheel_sha256
-    gate = _gate(_sealed(doc))
-    assert gate.status == "fail"
-    assert f"{package} wheel hash" in gate.summary
-
-
-@pytest.mark.parametrize("wheel_sha256", [None, "0" * 64])
-def test_released_bundle_replay_requires_requested_wrapper_wheel(wheel_sha256):
-    raw = copy.deepcopy(golden("qualification_request_golden"))
-    raw["kind"] = "released_bundle"
-    raw["candidate"]["policyengine"]["source"] = {"pypi": {"wheel_sha256": "a" * 64}}
-    request = ReplayQualificationRequest.model_validate(raw)
-    doc = _clean_receipt()
-    doc["request_id"] = request.request_id
-    if wheel_sha256 is not None:
-        doc["execution"]["packages"]["policyengine"]["wheel_sha256"] = wheel_sha256
-    gate = _gate(_sealed(doc), request=request)
-    assert gate.status == "fail"
-    assert "policyengine wheel hash" in gate.summary
-
-
-def test_released_bundle_replay_accepts_exact_requested_wrapper_wheel():
-    raw = copy.deepcopy(golden("qualification_request_golden"))
-    raw["kind"] = "released_bundle"
-    raw["candidate"]["policyengine"]["source"] = {"pypi": {"wheel_sha256": "a" * 64}}
-    request = ReplayQualificationRequest.model_validate(raw)
-    doc = _clean_receipt()
-    doc["request_id"] = request.request_id
-    doc["execution"]["packages"]["policyengine"]["wheel_sha256"] = "a" * 64
-    assert _gate(_sealed(doc), request=request).status == "pass"
-
-
-def test_unbound_receipts_fail():
-    sealed = _with_counts()
-    tampered = copy.deepcopy(sealed)
-    tampered["diff"]["flag_counts"]["numerical"] = 0
-    tampered["corpus"]["corpus_version"] = "tampered"
-    assert _gate(tampered).status == "fail"  # digest no longer matches the bytes
-    request = ReplayQualificationRequest.model_validate(
-        golden("qualification_request_golden")
-    )
-    other = _status("0" * 64, sealed)
-    assert _gate(sealed, request=request, status=other).status == "fail"
-
-
-def test_rejected_receipt_fails_with_its_code():
-    doc = copy.deepcopy(golden("replay_receipt_golden"))
-    doc.update(
-        status="rejected",
-        rejection={"code": "artifact_hash_mismatch", "detail": "dataset bytes differ"},
-        corpus=None,
-        diff=None,
-        variant_id=None,
-        variant_identity_sha256=None,
-        execution=None,
-    )
-    doc["integrity"] = {"status": "not_run", "failures": []}
-    gate = _gate(_sealed(doc))
-    assert gate.status == "fail"
-    assert "artifact_hash_mismatch" in gate.summary
-
-
-def test_status_must_name_terminal_receipt():
-    with pytest.raises(ValidationError):
-        ReplayStatus.model_validate(
-            {
-                "schema": "policyengine.uk-replay-status/v1",
-                "request_id": "a" * 64,
-                "status": "complete",
-                "history": [
-                    {
-                        "status": "complete",
-                        "at": "2026-10-15T10:00:00Z",
-                        "run_url": "https://github.com/PolicyEngine/policyengine-scorecard/actions/runs/7",
-                    }
-                ],
-            }
-        )
-
-
-def test_requests_without_a_run_id_are_valid_as_in_the_schema():
-    raw = copy.deepcopy(golden("qualification_request_golden"))
-    raw["requested_by"].pop("workflow_run_id")
-    _validator("qualification_request.v1.json").validate(raw)
-    assert ReplayQualificationRequest.model_validate(raw).document() == raw
-
-
-def test_early_failure_receipt_fails_the_gate():
-    doc = copy.deepcopy(golden("replay_receipt_golden"))
-    doc.update(
-        status="failed",
-        variant_id=None,
-        variant_identity_sha256=None,
-        execution=None,
-        corpus=None,
-        diff=None,
-    )
-    doc["integrity"] = {
-        "status": "failed",
-        "failures": [
-            {"code": "wheel_download_failed", "detail": "pip download failed"}
-        ],
-    }
-    sealed = _sealed(doc)
-    _validator("replay_receipt.v1.json").validate(sealed)
-    gate = _gate(sealed)
-    assert gate.status == "fail" and "wheel_download_failed" in gate.summary
diff --git a/tests/test_qualification_ledger_concurrency.py b/tests/test_qualification_ledger_concurrency.py
deleted file mode 100644
index 95b374168..000000000
--- a/tests/test_qualification_ledger_concurrency.py
+++ /dev/null
@@ -1,521 +0,0 @@
-"""Concurrent publishes never yield a receipt that mixes two attempts.
-
-Round-6 review of #574: two attempts of one pair both write the pair's
-published files. When the older attempt's replay finished after the newer
-attempt had published, the publish script's cherry-pick merged the two
-indented JSON receipts line by line into a valid-looking receipt: the newer
-attempt's harness with the older attempt's passing replay. Promotion then
-readied a commit whose replay never ran.
-
-Invariants:
-
-- after any interleaving of two publishes, the pair's published receipt is
-  the current receipt of its latest-staged attempt, and every attempt's
-  evidence is on the branch;
-- without a rederive hook the publish fails rather than merging receipts;
-- a published receipt that is not its latest attempt's own is refused by
-  every reader (listing, promotion, acceptance, remote fetch).
-"""
-
-from __future__ import annotations
-
-import json
-import os
-import shutil
-import subprocess
-import sys
-from pathlib import Path
-from types import SimpleNamespace
-
-import pytest
-
-from policyengine.provenance.canonical import canonical_sha256
-from policyengine.provenance.qualification import (
-    QualificationReceipt,
-    ReplayReceipt,
-    ReplayStatus,
-    ReviewAcceptance,
-    evaluate_replay_receipt,
-)
-from policyengine.provenance.qualification_ledger import (
-    LedgerInconsistency,
-    fetch_ledger_receipt,
-    latest_receipts,
-    published_receipt,
-    read_json,
-    rederive_publication,
-    write_json,
-)
-from policyengine.provenance.uk_qualification import (
-    accept_review,
-    build_replay_request,
-    candidate_branch,
-    finalize_attempt,
-    plan_promotion,
-    previous_certificate,
-    stage_attempt,
-    write_gate_results,
-)
-from tests.qualification_fixtures import (
-    HARNESS,
-    ISSUED,
-    UK_DATA_LINE_BUNDLE,
-    gates,
-    golden,
-    make_pair,
-)
-
-ROOT = Path(__file__).resolve().parents[1]
-SCRIPT = ROOT / ".github" / "qualification-ledger.sh"
-CLI = ROOT / "scripts" / "check_uk_candidate.py"
-# PAIR is a policyengine-uk-data pair, so main is a bundle on that line.
-BASE = UK_DATA_LINE_BUNDLE
-PAIR = make_pair(
-    model="2.200.0", data=BASE["data_releases"]["uk"]["data_package"]["version"]
-)
-NEWER_HARNESS = HARNESS.model_copy(
-    update={"git_commit": "b" * 40, "packaged_bundle_manifest_sha256": "8" * 64}
-)
-REDERIVE = f"{sys.executable} {CLI} rederive-ledger"
-
-pytestmark = pytest.mark.skipif(shutil.which("git") is None, reason="needs git")
-
-
-def _run(*args, cwd, check=True, rederive=None):
-    env = {
-        **os.environ,
-        "GIT_AUTHOR_NAME": "test",
-        "GIT_AUTHOR_EMAIL": "test@example.org",
-        "GIT_COMMITTER_NAME": "test",
-        "GIT_COMMITTER_EMAIL": "test@example.org",
-        "GIT_TERMINAL_PROMPT": "0",
-        "LEDGER_RETRY_DELAY": "0",
-        "POLICYENGINE_SKIP_COUNTRY_IMPORTS": "1",
-        "PYTHONPATH": str(ROOT / "src") + os.pathsep + str(ROOT),
-    }
-    env.pop("LEDGER_REDERIVE", None)
-    if rederive is not None:
-        env["LEDGER_REDERIVE"] = rederive
-    return subprocess.run(
-        args,
-        cwd=cwd,
-        env=env,
-        check=check,
-        text=True,
-        stdout=subprocess.PIPE,
-        stderr=subprocess.STDOUT,
-    )
-
-
-def _request(harness):
-    return build_replay_request(
-        PAIR,
-        harness,
-        release_bundle=golden("qualification_request_golden")["candidate"][
-            "expected_release_bundle"
-        ],
-        issued_by=ISSUED,
-    )
-
-
-def _complete_replay(attempt: Path, request) -> None:
-    """Write a passing replay for ``request`` into ``attempt``."""
-
-    document = golden("replay_receipt_golden")
-    document["request_id"] = request.request_id
-    execution = document["execution"]
-    execution["packaged_bundle_manifest_sha256"] = (
-        request.candidate.policyengine.packaged_bundle_manifest_sha256
-    )
-    execution["dataset_sha256"] = PAIR.data.dataset_sha256
-    execution["release_bundle"] = request.candidate.expected_release_bundle
-    execution["packages"]["policyengine"]["version"] = (
-        request.candidate.policyengine.version
-    )
-    for key, package in (
-        ("policyengine-uk", PAIR.model),
-        ("policyengine-core", PAIR.core),
-    ):
-        execution["packages"][key]["version"] = package.version
-        execution["packages"][key]["wheel_sha256"] = package.wheel_sha256
-    document["diff"]["flag_counts"] = {
-        key: 0 for key in document["diff"]["flag_counts"]
-    }
-    document["diff"]["flagged_rows"] = []
-    document["receipt_sha256"] = canonical_sha256(
-        {key: value for key, value in document.items() if key != "receipt_sha256"}
-    )
-    receipt = ReplayReceipt.from_document(document)
-    status = ReplayStatus.model_validate(
-        {
-            "schema": "policyengine.uk-replay-status/v1",
-            "request_id": request.request_id,
-            "status": "complete",
-            "receipt_sha256": receipt.receipt_sha256,
-            "receipt_commit": "c" * 40,
-            "history": [
-                {
-                    "status": "complete",
-                    "at": "2026-10-15T10:00:00Z",
-                    "run_url": "https://github.com/PolicyEngine/policyengine-scorecard/actions/runs/7",
-                }
-            ],
-        }
-    )
-    gate = evaluate_replay_receipt(request, status, receipt)
-    assert gate.status == "pass", gate
-    write_json(attempt / "replay" / "request.json", request.document())
-    write_json(attempt / "replay" / "status.json", status.document())
-    write_json(attempt / "replay" / "receipt.json", receipt.document())
-    write_json(attempt / "replay" / "replay.result.json", gate.canonical_payload())
-
-
-def _stage(attempt: Path, harness, owner: str, staged_at: str) -> None:
-    payload = {
-        "pair": PAIR.canonical_payload(),
-        "previous_certificate": previous_certificate(BASE).canonical_payload(),
-        "branch": candidate_branch(PAIR),
-    }
-    stage_attempt(attempt, payload, harness, owner_run_id=owner, staged_at=staged_at)
-    write_gate_results(attempt, [g for g in gates() if g.gate_id != "replay"], {})
-
-
-def _origin(root: Path) -> Path:
-    origin = root / "origin.git"
-    _run("git", "init", "--quiet", "--bare", "-b", "main", str(origin), cwd=root)
-    seed = root / "seed"
-    _run("git", "clone", "--quiet", str(origin), str(seed), cwd=root)
-    (seed / "seed").write_text("seed")
-    _run("git", "add", "seed", cwd=seed)
-    _run("git", "commit", "--quiet", "-m", "seed", cwd=seed)
-    _run("git", "push", "--quiet", "origin", "HEAD:refs/heads/main", cwd=seed)
-    return origin
-
-
-def _ledger_clone(root: Path, origin: Path, name: str) -> Path:
-    clone = root / name
-    _run(
-        "git", "clone", "--quiet", "--branch", "main", str(origin), str(clone), cwd=root
-    )
-    _run("bash", str(SCRIPT), "checkout", "ledger", cwd=clone)
-    return clone
-
-
-def _published(origin: Path, path: str) -> dict:
-    shown = _run(
-        "git", "show", f"uk-qualification-ledger:uk/{PAIR.pair_id}/{path}", cwd=origin
-    )
-    return json.loads(shown.stdout)
-
-
-def _race(tmp_path: Path, *, older_publishes_last: bool, rederive):
-    """Attempt A (older) and B (newer) of one pair publish concurrently.
-
-    A is staged and published first. Each run then works in its own clone:
-    B finalizes incomplete; A's replay completes and it finalizes qualified.
-    """
-
-    origin = _origin(tmp_path)
-    seed = _ledger_clone(tmp_path, origin, "seed-ledger")
-    pair_dir = seed / "ledger" / "uk" / PAIR.pair_id
-    _stage(pair_dir / "attempts" / "a", HARNESS, "1", "2026-10-15T09:00:00Z")
-    finalize_attempt(
-        pair_dir / "attempts" / "a",
-        seed / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-15T09:30:00Z",
-    )
-    _run("bash", str(SCRIPT), "publish", "ledger", "A incomplete", cwd=seed)
-
-    clone_a = _ledger_clone(tmp_path, origin, "a")
-    clone_b = _ledger_clone(tmp_path, origin, "b")
-    attempt_a = clone_a / "ledger" / "uk" / PAIR.pair_id / "attempts" / "a"
-    attempt_b = clone_b / "ledger" / "uk" / PAIR.pair_id / "attempts" / "b"
-    _stage(attempt_b, NEWER_HARNESS, "2", "2026-10-15T10:01:00Z")
-    receipt_b = finalize_attempt(
-        attempt_b,
-        clone_b / "ledger",
-        issued_by=ISSUED.model_copy(update={"workflow_run_id": 2}),
-        completed_at="2026-10-15T10:02:00Z",
-    )
-    assert receipt_b.verdict == "incomplete"
-    _complete_replay(attempt_a, _request(HARNESS))
-    receipt_a = finalize_attempt(
-        attempt_a,
-        clone_a / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-15T10:02:00Z",
-    )
-    assert receipt_a.verdict == "qualified"
-
-    order = [(clone_b, "B"), (clone_a, "A")]
-    if not older_publishes_last:
-        order.reverse()
-    first, second = order
-    _run("bash", str(SCRIPT), "publish", "ledger", f"{first[1]}", cwd=first[0])
-    result = _run(
-        "bash",
-        str(SCRIPT),
-        "publish",
-        "ledger",
-        f"{second[1]}",
-        cwd=second[0],
-        check=False,
-        rederive=rederive,
-    )
-    return origin, result, receipt_a, receipt_b
-
-
-@pytest.mark.parametrize("older_publishes_last", [True, False])
-def test_concurrent_attempts_publish_the_latest_attempts_receipt(
-    tmp_path, older_publishes_last
-):
-    origin, result, receipt_a, receipt_b = _race(
-        tmp_path, older_publishes_last=older_publishes_last, rederive=REDERIVE
-    )
-    assert result.returncode == 0, result.stdout
-    published = QualificationReceipt.model_validate(
-        _published(origin, "qualification_receipt.json")
-    )
-    # B was staged last, so B's receipt is published, whichever came last.
-    assert published.unreviewed_sha256 == receipt_b.unreviewed_sha256
-    assert published.harness.git_commit == "b" * 40
-    assert _published(origin, "latest_attempt.json")["attempt_key"] == "b"
-    files = _run(
-        "git", "ls-tree", "-r", "--name-only", "uk-qualification-ledger", cwd=origin
-    ).stdout.split()
-    for key in ("a", "b"):
-        assert f"uk/{PAIR.pair_id}/attempts/{key}/qualification_receipt.json" in files
-    # Nothing qualified is published for B, so B's commit is never readied.
-    plan = plan_promotion([published], BASE, {candidate_branch(PAIR): "b" * 40})
-    assert plan.ready_commit is None
-
-
-def test_without_a_rederive_hook_the_publish_fails_rather_than_merging(tmp_path):
-    origin, result, _, receipt_b = _race(
-        tmp_path, older_publishes_last=True, rederive=None
-    )
-    assert result.returncode != 0
-    assert "conflicts with a concurrent publish" in result.stdout
-    published = QualificationReceipt.model_validate(
-        _published(origin, "qualification_receipt.json")
-    )
-    assert published.unreviewed_sha256 == receipt_b.unreviewed_sha256
-
-
-def _ledger_with_attempts(root: Path):
-    """A ledger pair with attempt A qualified (sequence 1) and B incomplete (2)."""
-
-    ledger = root / "ledger"
-    pair_dir = ledger / "uk" / PAIR.pair_id
-    _stage(pair_dir / "attempts" / "a", HARNESS, "1", "2026-10-15T09:00:00Z")
-    _complete_replay(pair_dir / "attempts" / "a", _request(HARNESS))
-    receipt_a = finalize_attempt(
-        pair_dir / "attempts" / "a",
-        ledger,
-        issued_by=ISSUED,
-        completed_at="2026-10-15T09:30:00Z",
-    )
-    _stage(pair_dir / "attempts" / "b", NEWER_HARNESS, "2", "2026-10-15T10:01:00Z")
-    receipt_b = finalize_attempt(
-        pair_dir / "attempts" / "b",
-        ledger,
-        issued_by=ISSUED,
-        completed_at="2026-10-15T10:02:00Z",
-    )
-    return ledger, pair_dir, receipt_a, receipt_b
-
-
-def _hybrid(receipt_a, receipt_b) -> dict:
-    """The round-6 merge: B's harness and identity with A's replay and gates."""
-
-    hybrid = receipt_a.canonical_payload()
-    hybrid["harness"] = receipt_b.harness.canonical_payload()
-    hybrid["issued_by"] = receipt_b.issued_by.canonical_payload()
-    QualificationReceipt.model_validate(hybrid)  # it is a valid-looking receipt
-    return hybrid
-
-
-def test_a_merged_receipt_is_refused_by_every_reader(tmp_path, monkeypatch):
-    ledger, pair_dir, receipt_a, receipt_b = _ledger_with_attempts(tmp_path)
-    assert published_receipt(pair_dir).unreviewed_sha256 == receipt_b.unreviewed_sha256
-    write_json(pair_dir / "qualification_receipt.json", _hybrid(receipt_a, receipt_b))
-
-    with pytest.raises(LedgerInconsistency, match="not the receipt of attempt b"):
-        published_receipt(pair_dir)
-    problems: list[str] = []
-    assert latest_receipts(ledger, problems=problems) == []
-    assert problems and PAIR.pair_id in problems[0]
-
-    import importlib.util
-
-    spec = importlib.util.spec_from_file_location("ledger_concurrency_cli", CLI)
-    cli = importlib.util.module_from_spec(spec)
-    spec.loader.exec_module(cli)
-
-    with pytest.raises(LedgerInconsistency):
-        cli.cmd_accept(
-            SimpleNamespace(
-                ledger=str(ledger),
-                pair_id=PAIR.pair_id,
-                reviewer="r",
-                receipt_sha256="0" * 64,
-                explanation="x",
-            )
-        )
-
-    assert (
-        rederive_publication(pair_dir).unreviewed_sha256 == receipt_b.unreviewed_sha256
-    )
-    assert published_receipt(pair_dir).unreviewed_sha256 == receipt_b.unreviewed_sha256
-
-
-def test_an_older_attempts_real_receipt_is_not_the_published_one(tmp_path):
-    """A stale but genuine receipt is refused too: the latest attempt decides."""
-
-    _, pair_dir, receipt_a, _ = _ledger_with_attempts(tmp_path)
-    write_json(pair_dir / "qualification_receipt.json", receipt_a.canonical_payload())
-    with pytest.raises(LedgerInconsistency):
-        published_receipt(pair_dir)
-
-
-def test_rederivation_keeps_a_review_acceptance_of_exactly_that_receipt(tmp_path):
-    from tests.qualification_fixtures import make_receipt
-
-    ledger = tmp_path / "ledger"
-    pair_dir = ledger / "uk" / PAIR.pair_id
-    _stage(pair_dir / "attempts" / "a", HARNESS, "1", "2026-10-15T09:00:00Z")
-    receipt = make_receipt(pair=PAIR, gate_results=gates(metrics_review="needs_review"))
-    assert receipt.verdict == "needs_review" and not receipt.promotable
-    write_json(
-        pair_dir / "attempts" / "a" / "qualification_receipt.json",
-        receipt.canonical_payload(),
-    )
-    accepted = accept_review(
-        receipt,
-        reviewer="reviewer",
-        accepted_receipt_sha256=receipt.unreviewed_sha256,
-        explanation="expected",
-        accepted_at="2026-10-15T11:00:00Z",
-    )
-    write_json(
-        pair_dir / "reviews" / f"{accepted.receipt_sha256}.json",
-        accepted.canonical_payload(),
-    )
-    # A published file a merge left unreadable is rewritten, keeping the review.
-    write_json(pair_dir / "qualification_receipt.json", {"not": "a receipt"})
-    rederived = rederive_publication(pair_dir)
-    assert rederived.review is not None and rederived.promotable
-    assert published_receipt(pair_dir) == rederived
-    assert read_json(pair_dir / "latest_attempt.json") == {
-        "attempt_key": "a",
-        "sequence": read_json(pair_dir / "attempts" / "a" / "staging.json")["sequence"],
-    }
-
-
-@pytest.mark.parametrize("flaw", ["of another receipt", "not a valid acceptance"])
-def test_rederivation_drops_a_review_that_does_not_accept_that_receipt(tmp_path, flaw):
-    """Offered as the published file and as a stored review, an acceptance is
-    kept only if it promotes exactly the latest attempt's receipt."""
-
-    from tests.qualification_fixtures import make_receipt
-
-    pair_dir = tmp_path / "ledger" / "uk" / PAIR.pair_id
-    _stage(pair_dir / "attempts" / "a", HARNESS, "1", "2026-10-15T09:00:00Z")
-    receipt = make_receipt(pair=PAIR, gate_results=gates(metrics_review="needs_review"))
-    write_json(
-        pair_dir / "attempts" / "a" / "qualification_receipt.json",
-        receipt.canonical_payload(),
-    )
-    if flaw == "of another receipt":
-        other = make_receipt(
-            pair=PAIR,
-            gate_results=gates(metrics_review="needs_review"),
-            completed_at="2026-10-15T10:00:00Z",
-        )
-        assert other.unreviewed_sha256 != receipt.unreviewed_sha256
-        offered = accept_review(
-            other,
-            reviewer="reviewer",
-            accepted_receipt_sha256=other.unreviewed_sha256,
-            explanation="expected",
-            accepted_at="2026-10-15T11:00:00Z",
-        )
-        assert offered.promotable
-    else:
-        offered = QualificationReceipt.model_validate(
-            {
-                **receipt.canonical_payload(),
-                "review": ReviewAcceptance(
-                    reviewer="reviewer",
-                    accepted_at="2026-10-15T11:00:00Z",
-                    accepted_receipt_sha256="0" * 64,
-                    explanation="expected",
-                ).canonical_payload(),
-            }
-        )
-        assert offered.unreviewed_sha256 == receipt.unreviewed_sha256
-        assert offered.review is not None and not offered.promotable
-    write_json(
-        pair_dir / "reviews" / f"{offered.receipt_sha256}.json",
-        offered.canonical_payload(),
-    )
-    write_json(pair_dir / "qualification_receipt.json", offered.canonical_payload())
-
-    rederived = rederive_publication(pair_dir)
-    assert rederived.review is None and not rederived.promotable
-    assert rederived.unreviewed_sha256 == receipt.unreviewed_sha256
-    assert published_receipt(pair_dir) == rederived
-
-
-class _Response:
-    def __init__(self, text=None):
-        self.status_code = 404 if text is None else 200
-        self.text = text or ""
-
-    def raise_for_status(self):
-        return None
-
-
-def _remote(files: dict):
-    def get(url, timeout):
-        # The longest matching suffix wins: an attempt's receipt URL also ends
-        # with the pair's receipt path suffix.
-        matches = [suffix for suffix in files if url.endswith(suffix)]
-        if not matches:
-            return _Response(None)
-        value = files[max(matches, key=len)]
-        return _Response(None if value is None else json.dumps(value))
-
-    return get
-
-
-def test_a_fetched_receipt_must_be_its_named_attempts_receipt(tmp_path):
-    _, _, receipt_a, receipt_b = _ledger_with_attempts(tmp_path)
-    pointer = {"attempt_key": "b", "sequence": 2}
-    good = _remote(
-        {
-            f"{PAIR.pair_id}/qualification_receipt.json": receipt_b.canonical_payload(),
-            "/latest_attempt.json": pointer,
-            "/attempts/b/qualification_receipt.json": receipt_b.canonical_payload(),
-        }
-    )
-    assert (
-        fetch_ledger_receipt("uk", PAIR.pair_id, get=good).unreviewed_sha256
-        == receipt_b.unreviewed_sha256
-    )
-    merged = _remote(
-        {
-            f"{PAIR.pair_id}/qualification_receipt.json": _hybrid(receipt_a, receipt_b),
-            "/latest_attempt.json": pointer,
-            "/attempts/b/qualification_receipt.json": receipt_b.canonical_payload(),
-        }
-    )
-    with pytest.raises(LedgerInconsistency):
-        fetch_ledger_receipt("uk", PAIR.pair_id, get=merged)
-    unnamed = _remote(
-        {f"{PAIR.pair_id}/qualification_receipt.json": receipt_b.canonical_payload()}
-    )
-    with pytest.raises(LedgerInconsistency, match="names no attempt"):
-        fetch_ledger_receipt("uk", PAIR.pair_id, get=unnamed)
-    assert fetch_ledger_receipt("uk", PAIR.pair_id, get=_remote({})) is None
diff --git a/tests/test_qualification_ledger_script.py b/tests/test_qualification_ledger_script.py
deleted file mode 100644
index 5e71953f1..000000000
--- a/tests/test_qualification_ledger_script.py
+++ /dev/null
@@ -1,111 +0,0 @@
-"""The ledger publish script (.github/qualification-ledger.sh) under concurrency.
-
-Invariant: publishes from concurrent runs never lose evidence. Each run's new
-directory ends up on the ledger branch, including when both runs found no
-ledger yet and each made the branch's first commit.
-"""
-
-from __future__ import annotations
-
-import os
-import shutil
-import subprocess
-from pathlib import Path
-
-import pytest
-
-SCRIPT = Path(__file__).resolve().parents[1] / ".github" / "qualification-ledger.sh"
-
-pytestmark = pytest.mark.skipif(shutil.which("git") is None, reason="needs git")
-
-
-def _run(*args, cwd, check=True):
-    env = {
-        **os.environ,
-        "GIT_AUTHOR_NAME": "test",
-        "GIT_AUTHOR_EMAIL": "test@example.org",
-        "GIT_COMMITTER_NAME": "test",
-        "GIT_COMMITTER_EMAIL": "test@example.org",
-        "GIT_TERMINAL_PROMPT": "0",
-        "LEDGER_RETRY_DELAY": "0",
-    }
-    return subprocess.run(
-        args,
-        cwd=cwd,
-        env=env,
-        check=check,
-        text=True,
-        stdout=subprocess.PIPE,
-        stderr=subprocess.STDOUT,
-    )
-
-
-def _clone(root: Path, origin: Path, name: str) -> Path:
-    clone = root / name
-    _run(
-        "git", "clone", "--quiet", "--branch", "main", str(origin), str(clone), cwd=root
-    )
-    return clone
-
-
-def _origin(root: Path) -> Path:
-    origin = root / "origin.git"
-    _run("git", "init", "--quiet", "--bare", "-b", "main", str(origin), cwd=root)
-    seed = root / "seed"
-    _run("git", "clone", "--quiet", str(origin), str(seed), cwd=root)
-    (seed / "seed").write_text("seed")
-    _run("git", "add", "seed", cwd=seed)
-    _run("git", "commit", "--quiet", "-m", "seed", cwd=seed)
-    _run("git", "push", "--quiet", "origin", "HEAD:refs/heads/main", cwd=seed)
-    return origin
-
-
-def _ledger_files(origin: Path) -> set[str]:
-    listing = _run(
-        "git", "ls-tree", "-r", "--name-only", "uk-qualification-ledger", cwd=origin
-    )
-    return set(listing.stdout.split())
-
-
-@pytest.mark.parametrize("ledger_exists", [False, True])
-def test_concurrent_publishes_keep_both_runs_evidence(tmp_path, ledger_exists):
-    """Interrupted review of #574: the second first-ever publish failed on HEAD~1."""
-
-    origin = _origin(tmp_path)
-    if ledger_exists:
-        first = _clone(tmp_path, origin, "first")
-        _run("bash", str(SCRIPT), "checkout", "ledger", cwd=first)
-        (first / "ledger" / "existing").write_text("existing")
-        _run("bash", str(SCRIPT), "publish", "ledger", "existing", cwd=first)
-    clones = []
-    for name in ("a", "b"):
-        clone = _clone(tmp_path, origin, name)
-        _run("bash", str(SCRIPT), "checkout", "ledger", cwd=clone)
-        (clone / "ledger" / "uk" / name).mkdir(parents=True)
-        (clone / "ledger" / "uk" / name / "receipt.json").write_text(name)
-        clones.append(clone)
-    for clone, name in zip(clones, ("a", "b")):
-        result = _run(
-            "bash",
-            str(SCRIPT),
-            "publish",
-            "ledger",
-            f"attempt {name}",
-            cwd=clone,
-            check=False,
-        )
-        assert result.returncode == 0, result.stdout
-    files = _ledger_files(origin)
-    assert {"uk/a/receipt.json", "uk/b/receipt.json"} <= files
-    if ledger_exists:
-        assert "existing" in files
-
-
-def test_an_unchanged_ledger_publishes_nothing(tmp_path):
-    origin = _origin(tmp_path)
-    clone = _clone(tmp_path, origin, "a")
-    _run("bash", str(SCRIPT), "checkout", "ledger", cwd=clone)
-    (clone / "ledger" / "x").write_text("x")
-    _run("bash", str(SCRIPT), "publish", "ledger", "first", cwd=clone)
-    again = _run("bash", str(SCRIPT), "publish", "ledger", "again", cwd=clone)
-    assert "Ledger unchanged." in again.stdout
diff --git a/tests/test_qualified_pair_certification.py b/tests/test_qualified_pair_certification.py
deleted file mode 100644
index e2297230f..000000000
--- a/tests/test_qualified_pair_certification.py
+++ /dev/null
@@ -1,616 +0,0 @@
-"""Certification on an automated qualification of the exact pair.
-
-Invariants:
-
-- ``qualified_exact_pair`` is used only when neither the build-time model
-  nor a publisher claim covers the model; it is exact (one model version,
-  one core version, one data build) and names the qualified pair;
-- the core must be the build core, publisher-claimed, or qualified;
-- at runtime a qualified certificate is honoured only for exactly its model
-  version and data build, online and offline;
-- a bundle certificate on that basis needs a promotable ledger receipt for
-  exactly what it certifies (``verify_certification_evidence``).
-"""
-
-from __future__ import annotations
-
-import copy
-import json
-from pathlib import Path
-from unittest.mock import MagicMock, patch
-
-import pytest
-from hypothesis import given, settings
-from hypothesis import strategies as st
-
-from policyengine.provenance.certification import (
-    BASIS_QUALIFIED_PAIR,
-    CertificationError,
-    build_country_manifest_payload,
-    validate_release_manifest,
-)
-from policyengine.provenance.manifest import (
-    DataCertification,
-    DataReleaseManifest,
-    DataReleaseManifestUnavailableError,
-    certify_data_release_compatibility,
-    get_data_release_manifest,
-)
-from policyengine.provenance.qualification_ledger import (
-    latest_receipts,
-    pending_attempts,
-    verify_certification_evidence,
-    write_json,
-)
-from tests.qualification_fixtures import gates, make_pair, make_receipt
-
-PAIR_ID = "a" * 64
-
-
-def _uk_manifest(
-    model_claims=("==2.122.2",), core_claims=("==3.32.13",)
-) -> DataReleaseManifest:
-    return DataReleaseManifest.model_validate(
-        {
-            "schema_version": 1,
-            "data_package": {"name": "policyengine-uk-data", "version": "1.58.0"},
-            "compatible_model_packages": [
-                {"name": "policyengine-uk", "specifier": spec} for spec in model_claims
-            ],
-            "compatible_core_packages": [
-                {"name": "policyengine-core", "specifier": spec} for spec in core_claims
-            ],
-            "default_datasets": {"national": "enhanced_frs_2024_25"},
-            "build": {
-                "build_id": "policyengine-uk-data-1.58.0",
-                "built_with_core_package": {
-                    "name": "policyengine-core",
-                    "version": "3.32.13",
-                },
-                "built_with_model_package": {
-                    "name": "policyengine-uk",
-                    "version": "2.122.2",
-                    "data_build_fingerprint": "sha256:build",
-                },
-            },
-            "artifacts": {
-                "enhanced_frs_2024_25": {
-                    "kind": "microdata",
-                    "path": "enhanced_frs_2024_25.h5",
-                    "repo_id": "policyengine/policyengine-uk-data-private",
-                    "revision": "1.58.0",
-                    "sha256": "d" * 64,
-                    "size_bytes": 10,
-                }
-            },
-        }
-    )
-
-
-class TestValidateWithQualification:
-    def test_uncovered_model_is_admitted_only_with_a_pair_id(self):
-        with pytest.raises(CertificationError, match="qualification"):
-            validate_release_manifest(_uk_manifest(), "policyengine-uk", "2.126.8")
-        basis, warnings = validate_release_manifest(
-            _uk_manifest(core_claims=("==3.33.0",)),
-            "policyengine-uk",
-            "2.126.8",
-            core_version="3.33.0",
-            qualified_pair_id=PAIR_ID,
-        )
-        assert basis == BASIS_QUALIFIED_PAIR
-        assert any("exactly policyengine-uk==2.126.8" in item for item in warnings)
-
-    def test_stronger_bases_win_over_qualification(self):
-        basis, _ = validate_release_manifest(
-            _uk_manifest(), "policyengine-uk", "2.122.2", qualified_pair_id=PAIR_ID
-        )
-        assert basis == "built_with_model_package"
-        basis, _ = validate_release_manifest(
-            _uk_manifest(model_claims=("==2.122.2", "==2.126.8")),
-            "policyengine-uk",
-            "2.126.8",
-            qualified_pair_id=PAIR_ID,
-        )
-        assert basis == "legacy_compatible_model_package"
-
-    @pytest.mark.parametrize(
-        ("model_version", "model_claims"),
-        [("2.122.2", ("==2.122.2",)), ("2.126.8", ("==2.122.2", "==2.126.8"))],
-        ids=["build-time model", "publisher-claimed model"],
-    )
-    def test_an_unclaimed_core_makes_the_basis_the_exact_pair(
-        self, model_version, model_claims
-    ):
-        """Interrupted review of #574: with the model on a stronger basis, a
-        core the publisher never claimed was certified on that basis, and the
-        certificate named no pair, so no evidence was ever required."""
-
-        basis, warnings = validate_release_manifest(
-            _uk_manifest(model_claims=model_claims),
-            "policyengine-uk",
-            model_version,
-            core_version="9.99.0",
-            qualified_pair_id=PAIR_ID,
-        )
-        assert basis == BASIS_QUALIFIED_PAIR
-        assert any("policyengine-core==9.99.0" in item for item in warnings)
-        with pytest.raises(CertificationError, match="policyengine-core 9.99.0"):
-            validate_release_manifest(
-                _uk_manifest(model_claims=model_claims),
-                "policyengine-uk",
-                model_version,
-                core_version="9.99.0",
-            )
-
-    def test_qualified_pair_needs_its_core_version(self):
-        with pytest.raises(CertificationError, match="core"):
-            validate_release_manifest(
-                _uk_manifest(), "policyengine-uk", "2.126.8", qualified_pair_id=PAIR_ID
-            )
-
-    def test_core_outside_claims_is_refused_unless_qualified(self):
-        with pytest.raises(CertificationError, match="policyengine-core 3.34.0"):
-            validate_release_manifest(
-                _uk_manifest(model_claims=("==2.126.8",)),
-                "policyengine-uk",
-                "2.126.8",
-                core_version="3.34.0",
-            )
-        basis, warnings = validate_release_manifest(
-            _uk_manifest(),
-            "policyengine-uk",
-            "2.126.8",
-            core_version="3.34.0",
-            qualified_pair_id=PAIR_ID,
-        )
-        assert basis == BASIS_QUALIFIED_PAIR
-        assert any("outside the publisher's core claims" in item for item in warnings)
-
-    def test_build_core_and_claimed_core_pass(self):
-        for core in ("3.32.13",):
-            validate_release_manifest(
-                _uk_manifest(), "policyengine-uk", "2.122.2", core_version=core
-            )
-
-    def test_payload_names_the_pair_and_core(self):
-        manifest = _uk_manifest()
-        payload = build_country_manifest_payload(
-            country="uk",
-            manifest=manifest,
-            uri_parts={
-                "repo_type": "model",
-                "repo_id": "policyengine/policyengine-uk-data-private",
-                "revision": "f" * 40,
-                "path": "releases/1.58.0/release_manifest.json",
-            },
-            policyengine_version="6.2.7",
-            model_package="policyengine-uk",
-            model_version="2.126.8",
-            model_wheel={
-                "sha256": "a" * 64,
-                "url": "https://files.pythonhosted.org/x.whl",
-            },
-            compatibility_basis=BASIS_QUALIFIED_PAIR,
-            core_version="3.33.0",
-            qualified_pair_id=PAIR_ID,
-        )
-        certification = payload["certification"]
-        assert certification["compatibility_basis"] == BASIS_QUALIFIED_PAIR
-        assert certification["certified_for_core_version"] == "3.33.0"
-        assert certification["qualification_pair_id"] == PAIR_ID
-        assert certification["qualification_ledger_url"].endswith(f"/uk/{PAIR_ID}")
-
-
-def _response(payload):
-    response = MagicMock()
-    response.status_code = 200
-    response.text = json.dumps(payload)
-    response.content = response.text.encode()
-    response.raise_for_status.return_value = None
-    return response
-
-
-def _qualified(model="2.126.8", build_id="policyengine-uk-data-1.58.0"):
-    return DataCertification(
-        compatibility_basis="qualified_exact_pair",
-        certified_for_model_version=model,
-        certified_for_core_version="3.33.0",
-        data_build_id=build_id,
-        data_build_fingerprint="sha256:build",
-        qualification_pair_id=PAIR_ID,
-    )
-
-
-class TestRuntimeAcceptance:
-    def setup_method(self):
-        get_data_release_manifest.cache_clear()
-
-    def _certify(
-        self, bundled, runtime_model, remote=None, fingerprint=None, core="3.33.0"
-    ):
-        manifest = MagicMock(certification=bundled)
-        manifest.model_package.name = "policyengine-uk"
-        manifest.data_package = MagicMock(
-            release_manifest_revision=None, repo_id="r", version="1.58.0"
-        )
-        patches = [
-            patch(
-                "policyengine.provenance.manifest.get_release_manifest",
-                return_value=manifest,
-            )
-        ]
-        if remote is None:
-            patches.append(
-                patch(
-                    "policyengine.provenance.manifest.get_data_release_manifest",
-                    side_effect=DataReleaseManifestUnavailableError("private"),
-                )
-            )
-        else:
-            patches.append(
-                patch(
-                    "policyengine.provenance.manifest.get_data_release_manifest",
-                    return_value=remote,
-                )
-            )
-        with patches[0], patches[1]:
-            return certify_data_release_compatibility(
-                "uk",
-                runtime_model_version=runtime_model,
-                runtime_data_build_fingerprint=fingerprint,
-                runtime_core_version=core,
-            )
-
-    def test_online_exact_model_and_build_is_honoured(self):
-        certification = self._certify(_qualified(), "2.126.8", remote=_uk_manifest())
-        assert certification.compatibility_basis == "qualified_exact_pair"
-
-    def test_online_other_model_version_is_refused(self):
-        with pytest.raises(ValueError, match="not certified"):
-            self._certify(_qualified(), "2.126.9", remote=_uk_manifest())
-
-    def test_online_other_data_build_is_refused(self):
-        with pytest.raises(ValueError, match="not certified"):
-            self._certify(
-                _qualified(build_id="policyengine-uk-data-1.59.0"),
-                "2.126.8",
-                remote=_uk_manifest(),
-            )
-
-    def test_online_exact_pair_on_a_cut_is_named_by_its_cut_tag(self):
-        """A Microcosm cut keeps its line name as ``build.build_id``.
-
-        Certification names the build by ``build.cut_tag`` (#553), so the
-        runtime check must too: the certified cut passes, and another cut of
-        the same line, which shares the line name, is refused.
-        """
-        line = "microcosm-uk-2024-25-national"
-        certified_cut = f"{line}-20261101T000000Z-aaaaaaaa"
-        remote = _uk_manifest()
-        remote.build.build_id = line
-        remote.build.cut_tag = certified_cut
-
-        certification = self._certify(
-            _qualified(build_id=certified_cut), "2.126.8", remote=remote
-        )
-        assert certification.compatibility_basis == "qualified_exact_pair"
-
-        remote.build.cut_tag = f"{line}-20261102T000000Z-bbbbbbbb"
-        with pytest.raises(ValueError, match="not certified.*data build"):
-            self._certify(_qualified(build_id=certified_cut), "2.126.8", remote=remote)
-
-    def test_online_other_core_is_refused(self):
-        """Interrupted review of #574: an exact pair was honoured whatever core ran."""
-
-        with pytest.raises(ValueError, match="not certified"):
-            self._certify(_qualified(), "2.126.8", remote=_uk_manifest(), core="3.34.0")
-
-    @pytest.mark.parametrize(
-        ("runtime_model", "fingerprint", "claims"),
-        [
-            ("2.122.2", None, ()),
-            ("2.126.9", "sha256:build", ()),
-            ("2.126.9", None, ("==2.126.9",)),
-        ],
-        ids=["build-model", "fingerprint", "publisher-claim"],
-    )
-    def test_online_stronger_basis_cannot_bypass_qualified_model(
-        self, runtime_model, fingerprint, claims
-    ):
-        """The qualified core must not extend qualification to another model."""
-
-        with pytest.raises(ValueError, match="not certified.*model"):
-            self._certify(
-                _qualified(),
-                runtime_model,
-                remote=_uk_manifest(model_claims=claims),
-                fingerprint=fingerprint,
-            )
-
-    @pytest.mark.parametrize(
-        ("runtime_model", "fingerprint", "claims"),
-        [
-            ("2.122.2", None, ()),
-            ("2.126.8", "sha256:build", ()),
-            ("2.126.8", None, ("==2.126.8",)),
-        ],
-        ids=["build-model", "fingerprint", "publisher-claim"],
-    )
-    @pytest.mark.parametrize("remote_build", ["another-build", None])
-    def test_online_stronger_basis_cannot_bypass_qualified_build(
-        self, runtime_model, fingerprint, claims, remote_build
-    ):
-        remote = _uk_manifest(model_claims=claims)
-        remote.build.build_id = remote_build
-        with pytest.raises(ValueError, match="not certified.*data build"):
-            self._certify(
-                _qualified(model=runtime_model),
-                runtime_model,
-                remote=remote,
-                fingerprint=fingerprint,
-            )
-
-    def test_online_publisher_claim_cannot_bypass_missing_qualified_build(self):
-        remote = _uk_manifest(model_claims=("==2.126.8",))
-        remote.build = None
-        with pytest.raises(ValueError, match="not certified.*data build"):
-            self._certify(_qualified(), "2.126.8", remote=remote)
-
-    @pytest.mark.parametrize(
-        ("runtime_model", "fingerprint", "claims", "expected_basis"),
-        [
-            ("2.122.2", None, (), "exact_build_model_version"),
-            (
-                "2.126.8",
-                "sha256:build",
-                (),
-                "matching_data_build_fingerprint",
-            ),
-            (
-                "2.126.8",
-                None,
-                ("==2.126.8",),
-                "legacy_compatible_model_package",
-            ),
-        ],
-        ids=["build-model", "fingerprint", "publisher-claim"],
-    )
-    def test_online_stronger_basis_cannot_bypass_qualified_core(
-        self, runtime_model, fingerprint, claims, expected_basis
-    ):
-        remote = _uk_manifest(model_claims=claims)
-        bundled = _qualified(model=runtime_model)
-        assert (
-            self._certify(
-                bundled, runtime_model, remote=remote, fingerprint=fingerprint
-            ).compatibility_basis
-            == expected_basis
-        )
-        with pytest.raises(ValueError, match="not certified"):
-            self._certify(
-                bundled,
-                runtime_model,
-                remote=remote,
-                fingerprint=fingerprint,
-                core="99.0.0",
-            )
-
-    def test_online_build_model_requires_installed_qualified_core(self):
-        from importlib.metadata import PackageNotFoundError
-
-        with patch(
-            "importlib.metadata.version",
-            side_effect=PackageNotFoundError("policyengine-core"),
-        ):
-            with pytest.raises(ValueError, match="not certified"):
-                self._certify(
-                    _qualified(model="2.122.2"),
-                    "2.122.2",
-                    remote=_uk_manifest(),
-                    core=None,
-                )
-
-    def test_offline_other_core_is_not_certified(self):
-        certification = self._certify(_qualified(), "2.126.8", core="3.34.0")
-        assert certification.compatibility_basis == (
-            "unverified_data_release_manifest_unavailable"
-        )
-
-    def test_the_installed_core_is_read_when_none_is_given(self):
-        with patch("importlib.metadata.version", return_value="3.34.0") as installed:
-            with pytest.raises(ValueError, match="not certified"):
-                self._certify(_qualified(), "2.126.8", remote=_uk_manifest(), core=None)
-        installed.assert_called_with("policyengine-core")
-
-    def test_other_bases_make_no_runtime_core_claim(self):
-        legacy = DataCertification(
-            compatibility_basis="legacy_compatible_model_package",
-            certified_for_model_version="2.126.8",
-            certified_for_core_version="3.33.0",
-            data_build_id="policyengine-uk-data-1.58.0",
-        )
-        assert (
-            self._certify(legacy, "2.126.8", core="3.34.0").compatibility_basis
-            == "legacy_compatible_model_package"
-        )
-
-    def test_offline_fingerprint_difference_is_expected(self):
-        certification = self._certify(
-            _qualified(), "2.126.8", fingerprint="sha256:runtime"
-        )
-        assert certification.compatibility_basis == "qualified_exact_pair"
-
-
-# --- Ledger evidence ---------------------------------------------------------
-
-
-def _record_for(receipt):
-    pair = receipt.pair
-    return {
-        "certification": {
-            "compatibility_basis": "qualified_exact_pair",
-            "qualification_pair_id": pair.pair_id,
-            "certified_for_model_version": pair.model.version,
-            "certified_for_core_version": pair.core.version,
-            "data_build_id": pair.data.build_id,
-        },
-        "model_package": {
-            "version": pair.model.version,
-            "sha256": pair.model.wheel_sha256,
-        },
-        "data_package": {
-            "version": pair.data.release_version,
-            "release_manifest_revision": pair.data.release_manifest_revision,
-        },
-        "default_dataset": pair.data.dataset,
-        "certified_data_artifact": {
-            "dataset": pair.data.dataset,
-            "sha256": pair.data.dataset_sha256,
-        },
-        "datasets": {
-            pair.data.dataset: {
-                "repo_id": pair.data.repo_id,
-                "path": pair.data.dataset_path,
-                "revision": pair.data.dataset_revision,
-                "sha256": pair.data.dataset_sha256,
-            }
-        },
-    }
-
-
-def test_other_bases_need_no_ledger_evidence():
-    assert (
-        verify_certification_evidence(
-            {
-                "certification": {
-                    "compatibility_basis": "legacy_compatible_model_package"
-                }
-            },
-            None,
-        )
-        == []
-    )
-
-
-def test_matching_promotable_receipt_is_sufficient():
-    receipt = make_receipt()
-    assert verify_certification_evidence(_record_for(receipt), receipt) == []
-
-
-REFERENCE_FIELDS = ["repo_id", "path", "revision", "sha256"]
-
-
-@pytest.mark.parametrize("field", REFERENCE_FIELDS)
-def test_the_dataset_reference_the_runtime_resolves_is_evidence_too(field):
-    """Interrupted review of #574: a record pointing its default dataset at
-    another repository, path, revision or file verified against the receipt."""
-
-    receipt = make_receipt()
-    record = _record_for(receipt)
-    record["datasets"][receipt.pair.data.dataset][field] = "f" * 64
-    problems = verify_certification_evidence(record, receipt)
-    assert any("dataset reference" in problem for problem in problems)
-    del record["datasets"][receipt.pair.data.dataset]
-    assert verify_certification_evidence(record, receipt)
-
-
-def test_a_record_without_the_model_wheel_hash_is_refused():
-    receipt = make_receipt()
-    record = _record_for(receipt)
-    del record["model_package"]["sha256"]
-    problems = verify_certification_evidence(record, receipt)
-    assert any("model wheel sha256" in problem for problem in problems)
-
-
-def test_missing_or_unpromotable_receipt_is_refused():
-    receipt = make_receipt()
-    record = _record_for(receipt)
-    assert verify_certification_evidence(record, None)
-    pending = make_receipt(gate_results=gates(replay="needs_review"))
-    assert verify_certification_evidence(_record_for(pending), pending)
-
-
-FIELDS = [
-    ("certification", "certified_for_model_version"),
-    ("certification", "certified_for_core_version"),
-    ("certification", "data_build_id"),
-    ("model_package", "version"),
-    ("model_package", "sha256"),
-    ("data_package", "version"),
-    ("data_package", "release_manifest_revision"),
-    ("certified_data_artifact", "sha256"),
-    ("certified_data_artifact", "dataset"),
-]
-
-
-@settings(max_examples=60, deadline=None)
-@given(field=st.sampled_from(FIELDS), value=st.text(min_size=1, max_size=8))
-def test_any_certified_field_differing_from_the_receipt_is_refused(field, value):
-    receipt = make_receipt()
-    record = copy.deepcopy(_record_for(receipt))
-    if record[field[0]][field[1]] == value:
-        return
-    record[field[0]][field[1]] = value
-    assert verify_certification_evidence(record, receipt)
-
-
-def test_ledger_listing(tmp_path):
-    qualified = make_receipt()
-    pair_dir = tmp_path / "uk" / qualified.pair_id
-    # A published receipt counts only as its latest attempt's own receipt.
-    write_json(
-        pair_dir / "attempts" / "a" / "qualification_receipt.json",
-        qualified.canonical_payload(),
-    )
-    write_json(pair_dir / "qualification_receipt.json", qualified.canonical_payload())
-    pending = (
-        tmp_path / "uk" / ("b" * 64) / "attempts" / "abc" / "replay" / "request.json"
-    )
-    write_json(pending, {"schema": "x"})
-    assert [r.pair_id for r in latest_receipts(tmp_path)] == [qualified.pair_id]
-    assert pending_attempts(tmp_path) == [pending.parent.parent]
-
-
-def test_committed_bundle_has_ledger_evidence_for_qualified_pairs():
-    """The release gate: an exact-pair certificate ships only with its evidence."""
-
-    from policyengine.provenance.qualification_ledger import fetch_ledger_receipt
-
-    bundle_path = (
-        Path(__file__).resolve().parents[1]
-        / "src"
-        / "policyengine"
-        / "data"
-        / "bundle"
-        / "manifest.json"
-    )
-    bundle = json.loads(bundle_path.read_text())
-    checked = 0
-    for country_id, record in bundle["data_releases"].items():
-        certification = record.get("certification") or {}
-        if certification.get("compatibility_basis") != "qualified_exact_pair":
-            continue
-        receipt = fetch_ledger_receipt(
-            country_id, certification["qualification_pair_id"]
-        )
-        assert verify_certification_evidence(record, receipt) == []
-        checked += 1
-    qualified = [
-        country_id
-        for country_id, record in bundle["data_releases"].items()
-        if (record.get("certification") or {}).get("compatibility_basis")
-        == "qualified_exact_pair"
-    ]
-    assert checked == len(qualified)
-
-
-def test_pair_id_changes_with_any_pinned_identity():
-    base = make_pair()
-    for variant in (
-        make_pair(model="2.126.9"),
-        make_pair(core="3.33.1"),
-        make_pair(data="1.59.0"),
-        make_pair(dataset_sha="0" * 64),
-    ):
-        assert variant.pair_id != base.pair_id
diff --git a/tests/test_replay_exception_coherence_round3.py b/tests/test_replay_exception_coherence_round3.py
deleted file mode 100644
index b159addb7..000000000
--- a/tests/test_replay_exception_coherence_round3.py
+++ /dev/null
@@ -1,141 +0,0 @@
-"""Independent review regressions reject incoherence at every reported level."""
-
-from __future__ import annotations
-
-import copy
-
-import pytest
-from hypothesis import given, settings
-from hypothesis import strategies as st
-
-from policyengine.provenance import uk_qualification
-from policyengine.provenance.qualification import (
-    ReplayReceipt,
-    evaluate_replay_receipt,
-    qualification_verdict,
-)
-from policyengine.provenance.qualification_ledger import read_json, write_json
-from tests.qualification_fixtures import ISSUED, gates
-from tests.test_qualification_contracts import _base_event, _sealed, _status
-from tests.test_replay_exception_finalize_review import _stage_real_failed_attempt
-from tests.test_replay_exceptions import (
-    EVENT,
-    MEASURE,
-    TEST_ATTEMPT_ID,
-    _failed_receipt,
-    _judge,
-    _probe,
-    _real_budget,
-    _real_receipt,
-)
-
-
-@pytest.mark.parametrize("level", ["measure_year", "source_row", "head"])
-@pytest.mark.parametrize("effect", [1_000_000_000, -1_000_000_000])
-@pytest.mark.parametrize("lists_inert", [False, True])
-@pytest.mark.parametrize("base_known_gap", [False, True])
-def test_every_receipt_row_level_rejects_nonzero_excepted_effect(
-    level, effect, lists_inert, base_known_gap
-):
-    document = _failed_receipt()
-    row = copy.deepcopy(document["diff"]["flagged_rows"][0])
-    row.update(level=level, key="income_tax" if level == "head" else "row-1")
-    row["head_gbp"] = effect
-    document["diff"]["flagged_rows"].append(row)
-    for flag in row["flags"]:
-        document["diff"]["flag_counts"][flag] += 1
-    if not lists_inert:
-        document["corpus"]["events"][EVENT]["inert_measure_years"] = []
-        document["corpus"]["events"][EVENT]["full_supported_grid_complete"] = True
-    if base_known_gap:
-        document["diff"]["base_events"] = {EVENT: _base_event(inert=[(MEASURE, 2026)])}
-    replay = _judge(_sealed(document))
-    assert replay.status == "fail", replay.canonical_payload()
-
-
-def test_finalizer_rejects_nonzero_fiscal_head_in_excepted_real_measure(tmp_path):
-    attempt, _, _ = _stage_real_failed_attempt(tmp_path)
-    document = read_json(attempt / "replay/receipt.json")
-    row = next(
-        row
-        for row in document["diff"]["flagged_rows"]
-        if row["level"] == "head"
-        and row["measure_key"]
-        == "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp"
-        and row["year"] == 2026
-    )
-    row["head_gbp"] = 1_000_000_000
-    document = _sealed(document)
-    write_json(attempt / "replay/receipt.json", document)
-    write_json(
-        attempt / "replay/status.json",
-        _status(document["request_id"], document).document(),
-    )
-    finalized = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T10:00:00Z",
-    )
-    assert finalized.verdict == "rejected", finalized.canonical_payload()
-
-
-@pytest.mark.parametrize("level", ["measure_year", "source_row", "head"])
-@pytest.mark.parametrize("effect", [1_000_000_000, -1_000_000_000])
-def test_archived_real_receipt_rejects_nonzero_excepted_effect_at_every_level(
-    level, effect
-):
-    request, document = _real_receipt()
-    row = next(
-        row
-        for row in document["diff"]["flagged_rows"]
-        if row["level"] == level
-        and row["measure_key"]
-        == "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp"
-    )
-    row["head_gbp"] = effect
-    document = _sealed(document)
-    budget_result, budget_evidence = _real_budget()
-    probe_result, probe_evidence = _probe(request=request)
-    replay = evaluate_replay_receipt(
-        request,
-        _status(request.request_id, document),
-        ReplayReceipt.from_document(document),
-        budget_inputs_result=budget_result,
-        budget_inputs_evidence=budget_evidence,
-        probe_result=probe_result,
-        probe_evidence=probe_evidence,
-        attempt_id=TEST_ATTEMPT_ID,
-    )
-    assert replay.status == "fail", replay.canonical_payload()
-
-
-@settings(max_examples=75, deadline=None)
-@given(
-    level=st.sampled_from(["head", "source_row", "measure_year"]),
-    effect=st.one_of(
-        st.floats(min_value=1e-12, max_value=1e15, allow_nan=False),
-        st.floats(min_value=-1e15, max_value=-1e-12, allow_nan=False),
-    ),
-    lists_inert=st.booleans(),
-    base_known_gap=st.booleans(),
-)
-def test_any_nonzero_reported_level_forbids_exception_and_qualification(
-    level, effect, lists_inert, base_known_gap
-):
-    document = _failed_receipt()
-    row = copy.deepcopy(document["diff"]["flagged_rows"][0])
-    row.update(level=level, key="income_tax" if level == "head" else "source-1")
-    row["head_gbp"] = effect
-    document["diff"]["flagged_rows"].append(row)
-    for flag in row["flags"]:
-        document["diff"]["flag_counts"][flag] += 1
-    if not lists_inert:
-        document["corpus"]["events"][EVENT]["inert_measure_years"] = []
-        document["corpus"]["events"][EVENT]["full_supported_grid_complete"] = True
-    if base_known_gap:
-        document["diff"]["base_events"] = {EVENT: _base_event(inert=[(MEASURE, 2026)])}
-    replay = _judge(_sealed(document))
-    assert replay.status == "fail"
-    assert replay.details["applied_exceptions"] == []
-    assert qualification_verdict(gates(replay=replay.status)) == "rejected"
diff --git a/tests/test_replay_exception_finalize_review.py b/tests/test_replay_exception_finalize_review.py
deleted file mode 100644
index ed9ce510a..000000000
--- a/tests/test_replay_exception_finalize_review.py
+++ /dev/null
@@ -1,319 +0,0 @@
-"""Independent adversarial review probes for replay exception finalization.
-
-The independent review's contradiction and stale-evidence reproducers now
-assert fail-closed behavior for coherence, lineage and positive-input probes.
-"""
-
-from __future__ import annotations
-
-import copy
-
-import pandas as pd
-import pytest
-
-from policyengine.provenance import uk_candidate, uk_qualification
-from policyengine.provenance.qualification import GateResult
-from policyengine.provenance.qualification_ledger import read_json, write_json
-from policyengine.provenance.receipt import content_sha256
-from tests.qualification_fixtures import HARNESS, ISSUED, gates, make_pair
-from tests.test_qualification_contracts import _sealed, _status
-from tests.test_replay_exceptions import (
-    EVENT,
-    INPUT,
-    TEST_ATTEMPT_ID,
-    _failed_receipt,
-    _judge,
-    _legacy_result,
-    _probe,
-    _real_budget,
-    _real_receipt,
-)
-
-
-@pytest.mark.parametrize("head_gbp", [1_000_000_000, -1_000_000_000])
-@pytest.mark.parametrize("lists_inert", [False, True])
-def test_review_probe_nonzero_effect_with_construction_inert_failure(
-    head_gbp, lists_inert
-):
-    """Identical construction worlds cannot produce a nonzero candidate effect."""
-
-    document = _failed_receipt(
-        rows=[
-            {
-                "flags": ["structural", "inertness"],
-                "base_gbp": 2_500_000_000,
-                "head_gbp": head_gbp,
-            }
-        ]
-    )
-    if not lists_inert:
-        document["corpus"]["events"][EVENT]["inert_measure_years"] = []
-        document["corpus"]["events"][EVENT]["full_supported_grid_complete"] = True
-        document = _sealed(document)
-    before = _legacy_result(document)
-    after = _judge(document)
-    assert before.status == "fail"
-    assert after.status == "fail"
-    assert after.details["regressions"]
-    assert after.details["applied_exceptions"] == []
-
-
-@pytest.mark.parametrize("level", ["measure_year", "source_row"])
-def test_review_probe_production_registry_rejects_nonzero_inert_effect(level):
-    request, document = _real_receipt()
-    row = next(
-        row
-        for row in document["diff"]["flagged_rows"]
-        if row["level"] == level
-        and row["measure_key"]
-        == "autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp"
-    )
-    row["head_gbp"] = 1_000_000_000
-    document = _sealed(document)
-    budget_result, budget_evidence = _real_budget()
-    probe_result, probe_evidence = _probe(request=request)
-    actual = uk_qualification.evaluate_replay_receipt(
-        request,
-        _status(request.request_id, document),
-        uk_qualification.ReplayReceipt.from_document(document),
-        budget_inputs_result=budget_result,
-        budget_inputs_evidence=budget_evidence,
-        probe_result=probe_result,
-        probe_evidence=probe_evidence,
-        attempt_id=TEST_ATTEMPT_ID,
-    )
-    assert _legacy_result(document, request).status == "fail"
-    assert actual.status == "fail"
-    assert actual.details["regressions"]
-
-
-@pytest.mark.parametrize("values", [[0, 0], [1, 1], [None, None]])
-@pytest.mark.parametrize("critical", [False, True])
-def test_present_degenerate_input_expires_exception_using_real_budget_gate(
-    tmp_path, values, critical
-):
-    result, evidence = uk_candidate.budget_inputs(
-        make_pair(),
-        tmp_path / "unused.h5",
-        model_input_variables=[INPUT],
-        critical_inputs=[INPUT] if critical else [],
-        accepted_gaps={},
-        previous_missing_inputs=[INPUT],
-        previous_unusable_critical=[],
-        tables={"household": pd.DataFrame({INPUT: values})},
-    )
-    assert evidence["missing_inputs"] == []
-    assert _judge(_failed_receipt(), budget=(result, evidence)).status == "fail"
-
-
-def _stage_real_failed_attempt(tmp_path):
-    attempt = tmp_path / "attempt"
-    uk_qualification.stage_attempt(
-        attempt,
-        {"pair": make_pair().canonical_payload(), "previous_certificate": None},
-        HARNESS,
-    )
-    uk_qualification.write_gate_results(attempt, gates(), {})
-    budget_result, budget_evidence = _real_budget(
-        attempt_id=uk_qualification.attempt_evidence_id(attempt)
-    )
-    uk_qualification.write_gate_results(
-        attempt, [budget_result], {"budget_inputs": budget_evidence}
-    )
-    request, document = _real_receipt()
-    probe_result, probe_evidence = _probe(
-        request=request, attempt_id=uk_qualification.attempt_evidence_id(attempt)
-    )
-    uk_qualification.write_gate_results(
-        attempt, [probe_result], {"replay_probe": probe_evidence}
-    )
-    write_json(attempt / "replay/request.json", request.document())
-    write_json(
-        attempt / "replay/status.json", _status(request.request_id, document).document()
-    )
-    write_json(attempt / "replay/receipt.json", document)
-    # Use a real production-registry evaluation rather than the synthetic
-    # registry _judge normally supplies.
-    cached = uk_qualification.evaluate_replay_receipt(
-        request,
-        _status(request.request_id, document),
-        uk_qualification.ReplayReceipt.from_document(document),
-        budget_inputs_result=budget_result,
-        budget_inputs_evidence=budget_evidence,
-        probe_result=probe_result,
-        probe_evidence=probe_evidence,
-        attempt_id=uk_qualification.attempt_evidence_id(attempt),
-    )
-    assert cached.status == "needs_review"
-    write_json(attempt / "replay/replay.result.json", cached.canonical_payload())
-    return attempt, budget_result, budget_evidence
-
-
-@pytest.mark.parametrize(
-    "change", ["digest_mismatch", "present_with_new_digest", "missing_files"]
-)
-def test_finalize_rejects_stale_real_exception_when_input_evidence_changes(
-    tmp_path, change
-):
-    attempt, result, evidence = _stage_real_failed_attempt(tmp_path)
-    if change == "missing_files":
-        (attempt / "gates/budget_inputs.json").unlink()
-    else:
-        evidence = copy.deepcopy(evidence)
-        evidence["missing_inputs"].remove(INPUT)
-        evidence["newly_missing_inputs"].remove(INPUT)
-        write_json(attempt / "gates/budget_inputs.json", evidence)
-        if change == "present_with_new_digest":
-            details = copy.deepcopy(result.details)
-            details["missing_inputs"] -= 1
-            details["newly_missing_inputs"].remove(INPUT)
-            replacement = GateResult(
-                **{
-                    **result.canonical_payload(),
-                    "evidence_sha256": content_sha256(evidence),
-                    "details": details,
-                }
-            )
-            write_json(
-                attempt / "gates/budget_inputs.result.json",
-                replacement.canonical_payload(),
-            )
-    finalized = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T10:00:00Z",
-    )
-    actual = next(gate for gate in finalized.gates if gate.gate_id == "replay")
-    assert finalized.verdict == "rejected"
-    assert actual.status == "fail"
-    assert actual.details["applied_exceptions"] == []
-    assert (
-        read_json(attempt / "replay/replay.result.json") == actual.canonical_payload()
-    )
-
-
-@pytest.mark.parametrize("changed", ["receipt", "status"])
-def test_finalize_rejects_cached_exception_after_raw_binding_changes(tmp_path, changed):
-    attempt, _, _ = _stage_real_failed_attempt(tmp_path)
-    if changed == "receipt":
-        path = attempt / "replay/receipt.json"
-        document = read_json(path)
-        document["integrity"]["failures"][0]["detail"] += " changed after polling"
-        write_json(path, _sealed(document))
-    else:
-        path = attempt / "replay/status.json"
-        document = read_json(path)
-        document["request_id"] = "0" * 64
-        write_json(path, document)
-    finalized = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T10:00:00Z",
-    )
-    actual = next(gate for gate in finalized.gates if gate.gate_id == "replay")
-    assert finalized.verdict == "rejected"
-    assert actual.details["regressions"][0]["kind"] == "unbound"
-
-
-@pytest.mark.parametrize(
-    "change",
-    ["digest_mismatch", "failed_with_new_digest", "wrong_attempt", "missing_files"],
-)
-def test_finalize_rechecks_probe_evidence_for_the_same_attempt(tmp_path, change):
-    attempt, _, _ = _stage_real_failed_attempt(tmp_path)
-    evidence_path = attempt / "gates/replay_probe.json"
-    result_path = attempt / "gates/replay_probe.result.json"
-    if change == "missing_files":
-        evidence_path.unlink()
-    else:
-        evidence = read_json(evidence_path)
-        if change == "wrong_attempt":
-            evidence["attempt_id"] = "previous-attempt"
-        else:
-            evidence["probes"][0]["status"] = "fail"
-        write_json(evidence_path, evidence)
-        if change != "digest_mismatch":
-            result = GateResult.model_validate(read_json(result_path))
-            result = result.model_copy(
-                update={"evidence_sha256": content_sha256(evidence)}
-            )
-            write_json(result_path, result.canonical_payload())
-    finalized = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T10:00:00Z",
-    )
-    actual = next(gate for gate in finalized.gates if gate.gate_id == "replay")
-    assert finalized.verdict == "rejected"
-    assert actual.status == "fail"
-    assert actual.details["applied_exceptions"] == []
-    assert (
-        read_json(attempt / "replay/replay.result.json") == actual.canonical_payload()
-    )
-
-
-def test_finalize_rejects_a_newly_usable_previous_lineage(tmp_path):
-    attempt, result, evidence = _stage_real_failed_attempt(tmp_path)
-    evidence["previous_input_status"][INPUT] = {
-        "in_model": True,
-        "in_data": True,
-        "usable": True,
-    }
-    write_json(attempt / "gates/budget_inputs.json", evidence)
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-    write_json(attempt / "gates/budget_inputs.result.json", result.canonical_payload())
-    finalized = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T10:00:00Z",
-    )
-    actual = next(gate for gate in finalized.gates if gate.gate_id == "replay")
-    assert finalized.verdict == "rejected"
-    assert actual.status == "fail"
-    assert "fresh registry decision" in str(actual.model_dump()).lower()
-
-
-@pytest.mark.parametrize("history", ["never_usable", "ever_usable", "erased_rehashed"])
-def test_finalize_checks_the_producer_history_marker(tmp_path, history):
-    attempt, _, old_evidence = _stage_real_failed_attempt(tmp_path)
-    result, evidence = uk_candidate.budget_inputs(
-        make_pair(),
-        tmp_path / "unused.h5",
-        model_input_variables=old_evidence["missing_inputs"],
-        critical_inputs=[],
-        accepted_gaps={},
-        previous_missing_inputs=old_evidence["missing_inputs"],
-        previous_unusable_critical=[],
-        previous_input_status=old_evidence["previous_input_status"],
-        previous_ever_usable_inputs=[] if history == "never_usable" else [INPUT],
-        tables={},
-    )
-    evidence["attempt_id"] = uk_qualification.attempt_evidence_id(attempt)
-    if history == "erased_rehashed":
-        # Keep the producer's marker while rehashing erased history arrays.
-        assert INPUT in result.details["ever_usable_inputs"]
-        evidence["previous_ever_usable_inputs"] = []
-        evidence["ever_usable_inputs"] = []
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-    uk_qualification.write_gate_results(attempt, [result], {"budget_inputs": evidence})
-
-    receipt = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T11:00:00Z",
-    )
-    replay = next(gate for gate in receipt.gates if gate.gate_id == "replay")
-
-    if history == "never_usable":
-        assert receipt.verdict == "needs_review"
-        assert replay.status == "needs_review"
-        assert len(replay.details["applied_exceptions"]) == 5
-    else:
-        assert receipt.verdict == "rejected"
-        assert replay.status == "fail"
-        assert replay.details["applied_exceptions"] == []
diff --git a/tests/test_replay_exception_hardening_round3.py b/tests/test_replay_exception_hardening_round3.py
deleted file mode 100644
index 648ce1855..000000000
--- a/tests/test_replay_exception_hardening_round3.py
+++ /dev/null
@@ -1,247 +0,0 @@
-"""Trusted evidence boundaries and monotonic lineage for replay exceptions."""
-
-from __future__ import annotations
-
-import copy
-import itertools
-
-import pytest
-from hypothesis import given, settings
-from hypothesis import strategies as st
-
-import policyengine.provenance.qualification as qualification
-from policyengine.provenance.qualification import qualification_verdict
-from policyengine.provenance.receipt import content_sha256
-from tests.qualification_fixtures import gates
-from tests.test_qualification_contracts import _sealed
-from tests.test_replay_exceptions import (
-    INPUT,
-    _budget_inputs,
-    _entry,
-    _failed_receipt,
-    _judge,
-    _registry,
-    _source_mutant,
-)
-
-STATUS_KEYS = ("in_model", "is_input", "in_data", "usable")
-BAD_CANDIDATE_STATUSES = [
-    dict(zip(STATUS_KEYS, values, strict=True))
-    for values in itertools.product((False, True), repeat=4)
-    if values != (True, True, False, False)
-]
-BAD_PREVIOUS_STATUSES = [
-    {"in_model": False, "is_input": True, "in_data": False, "usable": False},
-    {"in_model": True, "is_input": True, "in_data": False, "usable": True},
-    {"in_model": False, "is_input": False, "in_data": True, "usable": True},
-]
-
-
-def _reseal_budget(result, evidence):
-    return result.model_copy(
-        update={"evidence_sha256": content_sha256(evidence)}
-    ), evidence
-
-
-def _assert_rejected(replay):
-    assert replay.status == "fail", replay.canonical_payload()
-    assert replay.details["applied_exceptions"] == []
-    assert qualification_verdict(gates(replay=replay.status)) == "rejected"
-
-
-@pytest.mark.parametrize("candidate_state", BAD_CANDIDATE_STATUSES)
-def test_candidate_status_must_agree_with_required_missing_input(candidate_state):
-    """Includes all three candidate-status attacks from the independent review."""
-    result, evidence = _budget_inputs()
-    evidence["input_status"][INPUT] = candidate_state
-    _assert_rejected(_judge(_failed_receipt(), budget=_reseal_budget(result, evidence)))
-
-
-@pytest.mark.parametrize("previous_state", BAD_PREVIOUS_STATUSES)
-def test_previous_status_fields_must_be_internally_consistent(previous_state):
-    """Includes the review's is_input=True/in_model=False predecessor."""
-    budget = _budget_inputs(previous_status={INPUT: previous_state})
-    _assert_rejected(_judge(_failed_receipt(), budget=budget))
-
-
-@settings(max_examples=45, deadline=None)
-@given(
-    year=st.integers(2025, 2029),
-    target=st.sampled_from(["candidate", "previous"]),
-    index=st.integers(0, len(BAD_CANDIDATE_STATUSES) - 1),
-)
-def test_contradictory_status_maps_never_qualify(year, target, index):
-    result, evidence = _budget_inputs()
-    if target == "candidate":
-        evidence["input_status"][INPUT] = BAD_CANDIDATE_STATUSES[index]
-    else:
-        evidence["previous_input_status"][INPUT] = BAD_PREVIOUS_STATUSES[
-            index % len(BAD_PREVIOUS_STATUSES)
-        ]
-    replay = _judge(
-        _failed_receipt(year),
-        registry=_registry(_entry(years=[year])),
-        budget=_reseal_budget(result, evidence),
-    )
-    _assert_rejected(replay)
-
-
-IDENTITY_DAMAGE = (
-    "different_pair",
-    "different_attempt",
-    "missing_pair",
-    "missing_attempt",
-    "malformed_pair",
-)
-
-
-def _damage_identity(evidence, damage):
-    if damage == "different_pair":
-        evidence["pair_id"] = "f" * 64
-    elif damage == "different_attempt":
-        evidence["attempt_id"] += "-another"
-    elif damage == "missing_pair":
-        evidence.pop("pair_id")
-    elif damage == "missing_attempt":
-        evidence.pop("attempt_id")
-    elif damage == "malformed_pair":
-        evidence["pair_id"] = "not-a-pair-id"
-    else:
-        raise AssertionError(damage)
-
-
-@pytest.mark.parametrize("damage", IDENTITY_DAMAGE)
-def test_budget_evidence_identity_is_checked_after_digest_resealing(damage):
-    result, evidence = _budget_inputs()
-    _damage_identity(evidence, damage)
-    _assert_rejected(_judge(_failed_receipt(), budget=_reseal_budget(result, evidence)))
-
-
-@settings(max_examples=35, deadline=None)
-@given(year=st.integers(2025, 2029), damage=st.sampled_from(IDENTITY_DAMAGE))
-def test_mismatched_evidence_identity_never_qualifies(year, damage):
-    result, evidence = _budget_inputs()
-    _damage_identity(evidence, damage)
-    replay = _judge(
-        _failed_receipt(year),
-        registry=_registry(_entry(years=[year])),
-        budget=_reseal_budget(result, evidence),
-    )
-    _assert_rejected(replay)
-
-
-@settings(max_examples=55, deadline=None)
-@given(
-    year=st.integers(2025, 2029),
-    later_absent_pairs=st.integers(1, 15),
-    noise=st.sets(st.sampled_from(["another_input", "old_input", "noise"])),
-)
-def test_ever_usable_input_cannot_reauthorize_after_any_absent_chain(
-    year, later_absent_pairs, noise
-):
-    """Each later absent pair retains the same monotonic certified history."""
-    history = sorted(noise | {INPUT})
-    for _ in range(later_absent_pairs):
-        result, evidence = _budget_inputs()
-        evidence["previous_ever_usable_inputs"] = history
-        evidence["ever_usable_inputs"] = history
-        result = result.model_copy(
-            update={"details": {**result.details, "ever_usable_inputs": history}}
-        )
-        replay = _judge(
-            _failed_receipt(year),
-            registry=_registry(_entry(years=[year])),
-            budget=_reseal_budget(result, evidence),
-        )
-        _assert_rejected(replay)
-        assert "a fresh registry decision is required" in str(replay.model_dump())
-
-
-def test_head_level_invariant_kills_skip_head_coherence_mutant():
-    mutant = _source_mutant(
-        "        and row.head_gbp not in (None, 0)\n    ]",
-        '        and row.level != "head" and row.head_gbp not in (None, 0)\n    ]',
-    )
-    document = _failed_receipt()
-    row = copy.deepcopy(document["diff"]["flagged_rows"][0])
-    row.update(level="head", key="income_tax", head_gbp=1_000_000_000)
-    document["diff"]["flagged_rows"].append(row)
-    for flag in row["flags"]:
-        document["diff"]["flag_counts"][flag] += 1
-    replay = _judge(_sealed(document), evaluator=mutant)
-    with pytest.raises(AssertionError):
-        _assert_rejected(replay)
-
-
-def test_history_invariant_kills_predecessor_only_lineage_mutant(monkeypatch):
-    mutant = _source_mutant(
-        "if name in ever_usable_inputs:",
-        'if state["usable"]:',
-        function=qualification._replay_lineage_problem,
-    )
-    monkeypatch.setattr(qualification, "_replay_lineage_problem", mutant)
-    result, evidence = _budget_inputs()
-    evidence["previous_ever_usable_inputs"] = [INPUT]
-    evidence["ever_usable_inputs"] = [INPUT]
-    result = result.model_copy(
-        update={"details": {**result.details, "ever_usable_inputs": [INPUT]}}
-    )
-    replay = _judge(_failed_receipt(), budget=_reseal_budget(result, evidence))
-    with pytest.raises(AssertionError):
-        _assert_rejected(replay)
-
-
-def test_history_marker_invariant_kills_skip_marker_consistency_mutant(monkeypatch):
-    result, evidence = _budget_inputs()
-    # Both rehashed arrays erase a usable input still recorded by the producer.
-    result = result.model_copy(
-        update={"details": {**result.details, "ever_usable_inputs": [INPUT]}}
-    )
-    budget = _reseal_budget(result, evidence)
-    _assert_rejected(_judge(_failed_receipt(), budget=budget))
-    mutant = _source_mutant(
-        "if recorded_ever is None or recorded_ever != _input_name_set(\n"
-        '        evidence.get("ever_usable_inputs")\n'
-        "    ):",
-        "if False:",
-        function=qualification._replay_missing_inputs,
-    )
-    monkeypatch.setattr(qualification, "_replay_missing_inputs", mutant)
-    replay = _judge(_failed_receipt(), budget=budget)
-    assert replay.status == "needs_review"
-    assert replay.details["applied_exceptions"]
-    with pytest.raises(AssertionError):
-        _assert_rejected(replay)
-
-
-def test_status_invariant_kills_skip_missing_map_consistency_mutant(monkeypatch):
-    mutant = _source_mutant(
-        "or missing\n        != {",
-        "or False and missing\n        != {",
-        function=qualification._replay_missing_inputs,
-    )
-    monkeypatch.setattr(qualification, "_replay_missing_inputs", mutant)
-    result, evidence = _budget_inputs()
-    evidence["input_status"][INPUT] = {
-        "in_model": True,
-        "is_input": True,
-        "in_data": True,
-        "usable": False,
-    }
-    replay = _judge(_failed_receipt(), budget=_reseal_budget(result, evidence))
-    with pytest.raises(AssertionError):
-        _assert_rejected(replay)
-
-
-def test_identity_invariant_kills_skip_budget_identity_mutant(monkeypatch):
-    mutant = _source_mutant(
-        "or not _replay_budget_identity_matches(evidence, attempt_id)",
-        "or False",
-        function=qualification._replay_missing_inputs,
-    )
-    monkeypatch.setattr(qualification, "_replay_missing_inputs", mutant)
-    result, evidence = _budget_inputs()
-    _damage_identity(evidence, "different_attempt")
-    replay = _judge(_failed_receipt(), budget=_reseal_budget(result, evidence))
-    with pytest.raises(AssertionError):
-        _assert_rejected(replay)
diff --git a/tests/test_replay_exception_lineage.py b/tests/test_replay_exception_lineage.py
deleted file mode 100644
index c97952c08..000000000
--- a/tests/test_replay_exception_lineage.py
+++ /dev/null
@@ -1,86 +0,0 @@
-"""The approved lineage requires a previously absent model input or column."""
-
-from __future__ import annotations
-
-import pytest
-
-from policyengine.provenance.receipt import content_sha256
-from tests.test_replay_exceptions import (
-    INPUT,
-    _budget_inputs,
-    _failed_receipt,
-    _judge,
-)
-
-
-@pytest.mark.parametrize(
-    ("in_model", "in_data"), [(False, False), (True, False), (False, True)]
-)
-def test_previous_absence_allows_reviewed_exception(in_model, in_data):
-    budget = _budget_inputs(
-        previous_status={
-            INPUT: {"in_model": in_model, "in_data": in_data, "usable": False}
-        }
-    )
-    gate = _judge(_failed_receipt(), budget=budget)
-    assert gate.status == "needs_review"
-    assert len(gate.details["applied_exceptions"]) == 1
-
-
-@pytest.mark.parametrize("usable", [False, True])
-def test_previous_supplied_input_requires_fresh_decision_even_if_degenerate(usable):
-    budget = _budget_inputs(
-        previous_status={INPUT: {"in_model": True, "in_data": True, "usable": usable}}
-    )
-    gate = _judge(_failed_receipt(), budget=budget)
-    assert gate.status == "fail"
-    assert gate.details["applied_exceptions"] == []
-    assert "a fresh registry decision is required" in gate.summary
-
-
-@pytest.mark.parametrize(
-    ("in_model", "in_data"), [(False, False), (True, False), (False, True)]
-)
-def test_inconsistent_previous_usable_flag_requires_fresh_decision(in_model, in_data):
-    budget = _budget_inputs(
-        previous_status={
-            INPUT: {"in_model": in_model, "in_data": in_data, "usable": True}
-        }
-    )
-    gate = _judge(_failed_receipt(), budget=budget)
-    assert gate.status == "fail"
-    assert gate.details["applied_exceptions"] == []
-    assert "a fresh registry decision is required" in gate.summary
-
-
-@pytest.mark.parametrize(
-    "previous",
-    [
-        None,
-        {},
-        {INPUT: None},
-        {INPUT: {}},
-        {INPUT: {"in_model": False, "in_data": False}},
-        {INPUT: {"in_model": 0, "in_data": False, "usable": False}},
-        {INPUT: {"in_model": False, "in_data": "false", "usable": False}},
-        {INPUT: {"in_model": False, "in_data": False, "usable": None}},
-    ],
-)
-def test_unknown_or_malformed_previous_status_cannot_authorize_exception(previous):
-    result, evidence = _budget_inputs()
-    evidence["previous_input_status"] = previous
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-    gate = _judge(_failed_receipt(), budget=(result, evidence))
-    assert gate.status == "fail"
-    assert gate.details["applied_exceptions"] == []
-    assert "unknown" in gate.summary
-
-
-def test_missing_previous_status_cannot_authorize_exception():
-    result, evidence = _budget_inputs()
-    evidence.pop("previous_input_status")
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-    gate = _judge(_failed_receipt(), budget=(result, evidence))
-    assert gate.status == "fail"
-    assert gate.details["applied_exceptions"] == []
-    assert "unknown" in gate.summary
diff --git a/tests/test_replay_exception_lineage_round3.py b/tests/test_replay_exception_lineage_round3.py
deleted file mode 100644
index 8a9316bf4..000000000
--- a/tests/test_replay_exception_lineage_round3.py
+++ /dev/null
@@ -1,501 +0,0 @@
-"""Certified cumulative history prevents a usable input from being forgotten."""
-
-from __future__ import annotations
-
-import copy
-from pathlib import Path
-
-import pandas as pd
-import pytest
-from hypothesis import given, settings
-from hypothesis import strategies as st
-
-from policyengine.provenance.qualification import (
-    PreviousCertificate,
-    QualificationReceipt,
-    ReplayQualificationRequest,
-)
-from policyengine.provenance.receipt import content_sha256
-from policyengine.provenance.uk_candidate import budget_inputs
-from tests.qualification_fixtures import gates, golden, make_pair, make_receipt
-from tests.test_qualification_contracts import _receipt_with, _sealed
-from tests.test_replay_exceptions import INPUT, _failed_receipt, _judge
-
-
-def _coverage(pair, *, supplied=False, formula=False, removed=False, previous=None):
-    inputs = ["household_weight"] + ([] if formula or removed else [INPUT])
-    variables = ["household_weight"] + ([] if removed else [INPUT])
-    table = pd.DataFrame({"household_weight": [1.0, 2.0]})
-    if supplied:
-        table[INPUT] = [0, 300_000]
-    previous_status = previous[1]["input_status"] if previous else None
-    # Mirror orchestration: retain old variables, including removed/formula
-    # entries, while adding the candidate's newly introduced input names.
-    if previous_status is not None:
-        previous_status = dict(previous_status)
-        for name in variables:
-            previous_status.setdefault(
-                name,
-                {
-                    "in_model": False,
-                    "is_input": False,
-                    "in_data": False,
-                    "usable": False,
-                },
-            )
-    result, evidence = budget_inputs(
-        pair,
-        Path("unused.h5"),
-        model_input_variables=inputs,
-        model_variables=variables,
-        critical_inputs=["household_weight"],
-        accepted_gaps={},
-        previous_missing_inputs=previous[1]["missing_inputs"] if previous else None,
-        previous_unusable_critical=[],
-        previous_input_status=previous_status,
-        previous_ever_usable_inputs=(
-            previous[1]["ever_usable_inputs"] if previous else None
-        ),
-        tables={"household": table},
-    )
-    evidence["attempt_id"] = f"{pair.pair_id}/test-attempt"
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-    return result, evidence
-
-
-def _replay_for_pair(pair, document, coverage):
-    raw = golden("qualification_request_golden")
-    candidate = raw["candidate"]
-    candidate["policyengine_uk"].update(
-        version=pair.model.version, wheel_sha256=pair.model.wheel_sha256
-    )
-    candidate["policyengine_core"].update(
-        version=pair.core.version, wheel_sha256=pair.core.wheel_sha256
-    )
-    candidate["data"].update(
-        build_id=pair.data.build_id,
-        revision=pair.data.dataset_revision,
-        sha256=pair.data.dataset_sha256,
-    )
-    candidate["expected_release_bundle"].update(
-        model_version=pair.model.version, data_version=pair.data.release_version
-    )
-    request = ReplayQualificationRequest.model_validate(raw)
-    document["request_id"] = request.request_id
-    document["execution"]["packages"]["policyengine-uk"].update(
-        version=pair.model.version, wheel_sha256=pair.model.wheel_sha256
-    )
-    document["execution"]["packages"]["policyengine-core"].update(
-        version=pair.core.version, wheel_sha256=pair.core.wheel_sha256
-    )
-    document["execution"]["release_bundle"] = candidate["expected_release_bundle"]
-    document["execution"]["dataset_sha256"] = pair.data.dataset_sha256
-    return _judge(
-        _sealed(document),
-        budget=coverage,
-        request=request,
-        attempt_id=f"{pair.pair_id}/test-attempt",
-    )
-
-
-def _qualification(pair, coverage, replay, previous=None):
-    actual = {"budget_inputs": coverage[0], "replay": replay}
-    receipt = make_receipt(
-        pair,
-        gate_results=[actual.get(gate.gate_id, gate) for gate in gates()],
-    )
-    if previous is not None:
-        certificate = PreviousCertificate(
-            bundle_version=previous.harness.policyengine_version,
-            model_version=previous.pair.model.version,
-            core_version=previous.pair.core.version,
-            data_release_version=previous.pair.data.release_version,
-            dataset_sha256=previous.pair.data.dataset_sha256,
-            certificate_sha256=previous.receipt_sha256,
-            qualification_pair_id=previous.pair_id,
-            model_wheel_sha256=previous.pair.model.wheel_sha256,
-            core_wheel_sha256=previous.pair.core.wheel_sha256,
-        )
-        receipt = receipt.model_copy(update={"previous_certificate": certificate})
-    return QualificationReceipt.model_validate(receipt.canonical_payload())
-
-
-@pytest.mark.parametrize("intermediate", ["formula", "removed"])
-def test_three_pair_history_cannot_reactivate_expired_exception(
-    intermediate,
-):
-    """A usable -> B absent/responding -> C absent/inert must be rejected.
-
-    B's reform can respond through an alternate formula or another model input,
-    so it needs no data-limited exception. Every gate and receipt is well formed.
-    """
-    pair_a = make_pair(model="2.135.0", data="1.59.0", dataset_sha="1" * 64)
-    pair_b = make_pair(model="2.135.1", data="1.60.0", dataset_sha="2" * 64)
-    pair_c = make_pair(model="2.135.2", data="1.61.0", dataset_sha="3" * 64)
-    coverage_a = _coverage(pair_a, supplied=True)
-    assert coverage_a[1]["input_status"][INPUT]["usable"] is True
-    # A clean diff has no flagged row for the unchanged, responding measure;
-    # C's subsequent diff records B's unchanged material ยฃ2.5bn base effect.
-    responding = _receipt_with
-    receipt_a = _qualification(
-        pair_a, coverage_a, _replay_for_pair(pair_a, responding(), coverage_a)
-    )
-    assert receipt_a.promotable
-
-    coverage_b = _coverage(
-        pair_b,
-        formula=intermediate == "formula",
-        removed=intermediate == "removed",
-        previous=coverage_a,
-    )
-    receipt_b = _qualification(
-        pair_b,
-        coverage_b,
-        _replay_for_pair(pair_b, responding(), coverage_b),
-        previous=receipt_a,
-    )
-    assert coverage_b[0].status == "pass"
-    assert receipt_b.verdict == "qualified"
-    assert receipt_b.promotable
-    assert receipt_b.previous_certificate.qualification_pair_id == receipt_a.pair_id
-    assert coverage_b[1]["previous_input_status"][INPUT]["usable"] is True
-    assert INPUT in coverage_b[1]["ever_usable_inputs"]
-    assert (
-        next(g for g in receipt_b.gates if g.gate_id == "replay").details[
-            "applied_exceptions"
-        ]
-        == []
-    )
-
-    coverage_c = _coverage(pair_c, previous=coverage_b)
-    replay_c = _replay_for_pair(pair_c, _failed_receipt(), coverage_c)
-    receipt_c = _qualification(pair_c, coverage_c, replay_c, previous=receipt_b)
-    assert coverage_c[0].status == "needs_review"
-    assert receipt_c.verdict == "rejected"
-    assert receipt_c.previous_certificate.qualification_pair_id == receipt_b.pair_id
-    assert replay_c.details["applied_exceptions"] == []
-    assert "a fresh registry decision is required" in replay_c.summary
-
-
-def test_rehashed_current_history_must_agree_with_its_result_marker():
-    pair_a = make_pair(model="2.135.0", data="1.59.0", dataset_sha="1" * 64)
-    pair_b = make_pair(model="2.135.1", data="1.60.0", dataset_sha="2" * 64)
-    pair_c = make_pair(model="2.135.2", data="1.61.0", dataset_sha="3" * 64)
-    coverage_a = _coverage(pair_a, supplied=True)
-    coverage_b = _coverage(pair_b, removed=True, previous=coverage_a)
-    result, evidence = _coverage(pair_c, previous=coverage_b)
-    evidence = copy.deepcopy(evidence)
-    # Rehashing both history arrays cannot erase the producer's independent
-    # result marker, even after the immediate predecessor stopped using INPUT.
-    assert INPUT in result.details["ever_usable_inputs"]
-    assert evidence["previous_input_status"][INPUT]["usable"] is False
-    for key in ("previous_ever_usable_inputs", "ever_usable_inputs"):
-        evidence[key] = [name for name in evidence[key] if name != INPUT]
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-
-    replay = _replay_for_pair(pair_c, _failed_receipt(), (result, evidence))
-
-    assert replay.status == "fail"
-    assert replay.details["applied_exceptions"] == []
-
-
-@pytest.mark.parametrize("damage", ["missing", "malformed", "contradictory"])
-def test_current_history_requires_a_valid_consistent_result_marker(damage):
-    pair = make_pair()
-    result, evidence = _coverage(pair, previous=_coverage(pair))
-    control = _replay_for_pair(pair, _failed_receipt(), (result, evidence))
-    assert control.status == "needs_review"
-    assert len(control.details["applied_exceptions"]) == 1
-    details = copy.deepcopy(result.details)
-    if damage == "missing":
-        details.pop("ever_usable_inputs")
-    elif damage == "malformed":
-        details["ever_usable_inputs"] = [True]
-    else:
-        details["ever_usable_inputs"] = []
-    result = result.model_copy(update={"details": details})
-
-    replay = _replay_for_pair(pair, _failed_receipt(), (result, evidence))
-
-    assert replay.status == "fail"
-    assert replay.details["applied_exceptions"] == []
-
-
-def test_legacy_history_seed_uses_recomputed_predecessor_coverage():
-    pair = make_pair()
-    previous_status = {
-        INPUT: {
-            "in_model": True,
-            "is_input": False,
-            "in_data": True,
-            "usable": True,
-        },
-    }
-    _, evidence = budget_inputs(
-        pair,
-        Path("unused.h5"),
-        model_input_variables=[INPUT],
-        critical_inputs=[],
-        accepted_gaps={},
-        previous_missing_inputs=[],
-        previous_unusable_critical=[],
-        previous_input_status=previous_status,
-        tables={"household": pd.DataFrame()},
-    )
-    assert evidence["pair_id"] == pair.pair_id
-    assert evidence["previous_ever_usable_inputs"] == [INPUT]
-    assert evidence["ever_usable_inputs"] == [INPUT]
-    assert evidence["ever_usable_inputs_basis"] == "seeded from direct predecessor"
-
-
-def test_formula_backed_supplied_candidate_seeds_cumulative_history():
-    _, evidence = _coverage(make_pair(), supplied=True, formula=True)
-    assert evidence["input_status"][INPUT]["is_input"] is False
-    assert evidence["input_status"][INPUT]["usable"] is True
-    assert INPUT in evidence["ever_usable_inputs"]
-    assert evidence["ever_usable_inputs_basis"] == "candidate inputs"
-
-
-@settings(max_examples=40, deadline=None)
-@given(
-    states=st.lists(
-        st.sampled_from(["input", "formula", "removed"]), min_size=1, max_size=15
-    )
-)
-def test_usable_input_history_survives_every_intermediate_model_state(states):
-    pair = make_pair()
-    coverage = _coverage(pair, supplied=True)
-    for state in states:
-        previous = coverage
-        coverage = _coverage(
-            pair,
-            formula=state == "formula",
-            removed=state == "removed",
-            previous=previous,
-        )
-        assert INPUT in coverage[1]["previous_ever_usable_inputs"]
-        assert INPUT in coverage[1]["ever_usable_inputs"]
-        assert set(previous[1]["ever_usable_inputs"]).issubset(
-            coverage[1]["ever_usable_inputs"]
-        )
-        assert coverage[1]["ever_usable_inputs_basis"] == (
-            "carried from direct predecessor"
-        )
-
-
-@pytest.mark.parametrize("bad_history", [None, {}, [INPUT, INPUT], [True], [""]])
-def test_malformed_certified_cumulative_history_cannot_be_reseeded(
-    tmp_path, bad_history
-):
-    from policyengine.provenance.uk_candidate import (
-        PreviousPairUnavailable,
-        _previous_gate_evidence,
-    )
-    from tests.test_uk_candidate_gates import (
-        _previous_identity,
-        _write_previous_receipt,
-    )
-
-    pair = make_pair()
-    _, evidence = _coverage(pair)
-    evidence["ever_usable_inputs"] = bad_history
-    _write_previous_receipt(
-        tmp_path,
-        pair,
-        {
-            "supported_years": {"supported_years": [2025, 2026]},
-            "budget_inputs": evidence,
-        },
-    )
-    with pytest.raises(PreviousPairUnavailable, match="fresh registry decision"):
-        _previous_gate_evidence(tmp_path, _previous_identity(pair))
-
-
-def test_cumulative_history_cannot_omit_a_current_usable_variable(tmp_path):
-    from policyengine.provenance.uk_candidate import (
-        PreviousPairUnavailable,
-        _previous_gate_evidence,
-    )
-    from tests.test_uk_candidate_gates import (
-        _previous_identity,
-        _write_previous_receipt,
-    )
-
-    pair = make_pair()
-    _, evidence = _coverage(pair, supplied=True)
-    evidence["ever_usable_inputs"] = ["household_weight"]
-    _write_previous_receipt(
-        tmp_path,
-        pair,
-        {
-            "supported_years": {"supported_years": [2025, 2026]},
-            "budget_inputs": evidence,
-        },
-    )
-    with pytest.raises(PreviousPairUnavailable, match="fresh registry decision"):
-        _previous_gate_evidence(tmp_path, _previous_identity(pair))
-
-
-@pytest.mark.parametrize("identity", ["pair_id", "attempt_id"])
-def test_certified_cumulative_history_rejects_another_evidence_identity(
-    tmp_path, identity
-):
-    from policyengine.provenance.uk_candidate import (
-        PreviousPairUnavailable,
-        _previous_gate_evidence,
-    )
-    from tests.test_uk_candidate_gates import (
-        _previous_identity,
-        _write_previous_receipt,
-    )
-
-    pair = make_pair()
-    _, evidence = _coverage(pair)
-    evidence[identity] = "another-attempt" if identity == "attempt_id" else "0" * 64
-    _write_previous_receipt(
-        tmp_path,
-        pair,
-        {
-            "supported_years": {"supported_years": [2025, 2026]},
-            "budget_inputs": evidence,
-        },
-    )
-    with pytest.raises(PreviousPairUnavailable, match="another pair or attempt"):
-        _previous_gate_evidence(tmp_path, _previous_identity(pair))
-
-
-def test_damaged_cumulative_history_cannot_fall_back_to_a_fresh_seed(tmp_path):
-    from policyengine.provenance.qualification_ledger import write_json
-    from policyengine.provenance.uk_candidate import (
-        PreviousPairUnavailable,
-        _previous_gate_evidence,
-    )
-    from tests.test_uk_candidate_gates import (
-        _previous_identity,
-        _write_previous_receipt,
-    )
-
-    pair = make_pair()
-    _, evidence = _coverage(pair, supplied=True)
-    _, attempt = _write_previous_receipt(
-        tmp_path,
-        pair,
-        {
-            "supported_years": {"supported_years": [2025, 2026]},
-            "budget_inputs": evidence,
-        },
-    )
-    write_json(attempt / "gates" / "supported_years.json", {"supported_years": [2025]})
-    with pytest.raises(PreviousPairUnavailable, match="fresh registry decision"):
-        _previous_gate_evidence(tmp_path, _previous_identity(pair))
-
-
-@pytest.mark.parametrize("gate_name", ["supported_years", "budget_inputs"])
-@pytest.mark.parametrize("damage", ["missing", "invalid_json"])
-def test_unreadable_certified_history_artifacts_cannot_reset_the_chain(
-    tmp_path, gate_name, damage
-):
-    from policyengine.provenance.uk_candidate import (
-        PreviousPairUnavailable,
-        _previous_gate_evidence,
-    )
-    from tests.test_uk_candidate_gates import (
-        _previous_identity,
-        _write_previous_receipt,
-    )
-
-    pair = make_pair()
-    _, evidence = _coverage(pair, supplied=True)
-    _, attempt = _write_previous_receipt(
-        tmp_path,
-        pair,
-        {
-            "supported_years": {"supported_years": [2025, 2026]},
-            "budget_inputs": evidence,
-        },
-    )
-    path = attempt / "gates" / f"{gate_name}.json"
-    if damage == "missing":
-        path.unlink()
-    else:
-        path.write_text("not-json")
-    with pytest.raises(PreviousPairUnavailable, match="fresh registry decision"):
-        _previous_gate_evidence(tmp_path, _previous_identity(pair))
-
-
-def test_certified_history_without_a_matching_attempt_cannot_reset_the_chain(tmp_path):
-    from policyengine.provenance.uk_candidate import (
-        PreviousPairUnavailable,
-        _previous_gate_evidence,
-    )
-    from tests.test_uk_candidate_gates import (
-        _previous_identity,
-        _write_previous_receipt,
-    )
-
-    pair = make_pair()
-    _, evidence = _coverage(pair, supplied=True)
-    _, attempt = _write_previous_receipt(
-        tmp_path,
-        pair,
-        {
-            "supported_years": {"supported_years": [2025, 2026]},
-            "budget_inputs": evidence,
-        },
-    )
-    (attempt / "qualification_receipt.json").unlink()
-    with pytest.raises(PreviousPairUnavailable, match="no matching attempt"):
-        _previous_gate_evidence(tmp_path, _previous_identity(pair))
-
-
-@pytest.mark.parametrize("unavailable", ["no_ledger", "missing_receipt", "bad_receipt"])
-def test_unknown_certified_receipt_cannot_be_treated_as_legacy(tmp_path, unavailable):
-    from policyengine.provenance.uk_candidate import (
-        PreviousPairUnavailable,
-        _previous_gate_evidence,
-    )
-    from tests.test_uk_candidate_gates import _previous_identity
-
-    pair = make_pair()
-    ledger_root = None if unavailable == "no_ledger" else tmp_path
-    if unavailable == "bad_receipt":
-        path = tmp_path / "uk" / pair.pair_id / "qualification_receipt.json"
-        path.parent.mkdir(parents=True)
-        path.write_text("not-json")
-    with pytest.raises(PreviousPairUnavailable, match="fresh registry decision"):
-        _previous_gate_evidence(ledger_root, _previous_identity(pair))
-
-
-def test_true_legacy_certificate_without_a_bound_pair_can_still_be_recomputed():
-    from policyengine.provenance.uk_candidate import _previous_gate_evidence
-
-    assert _previous_gate_evidence(None, {"bundle_version": "6.0.0"}) == {}
-
-
-@pytest.mark.parametrize(
-    "pin", ["model_version", "dataset_sha256", "core_wheel_sha256"]
-)
-def test_mismatched_certified_pins_cannot_reset_a_recorded_history(tmp_path, pin):
-    from policyengine.provenance.uk_candidate import (
-        PreviousPairUnavailable,
-        _previous_gate_evidence,
-    )
-    from tests.test_uk_candidate_gates import (
-        _previous_identity,
-        _write_previous_receipt,
-    )
-
-    pair = make_pair()
-    _, evidence = _coverage(pair, supplied=True)
-    _write_previous_receipt(
-        tmp_path,
-        pair,
-        {
-            "supported_years": {"supported_years": [2025, 2026]},
-            "budget_inputs": evidence,
-        },
-    )
-    previous = _previous_identity(pair)
-    previous[pin] = "999.0.0" if pin == "model_version" else "0" * 64
-    with pytest.raises(PreviousPairUnavailable, match="fresh registry decision"):
-        _previous_gate_evidence(tmp_path, previous)
diff --git a/tests/test_replay_exception_policy_review.py b/tests/test_replay_exception_policy_review.py
deleted file mode 100644
index 82de6211d..000000000
--- a/tests/test_replay_exception_policy_review.py
+++ /dev/null
@@ -1,149 +0,0 @@
-"""Independent attacks on the proposed data-limited exception policy.
-
-These tests preserve the independent review attacks as regression checks.
-Synthetic probe evidence and no representative microdata are used.
-"""
-
-from __future__ import annotations
-
-from pathlib import Path
-
-import pandas as pd
-import pytest
-
-from policyengine.provenance.qualification import qualification_verdict
-from policyengine.provenance.receipt import content_sha256
-from policyengine.provenance.uk_candidate import budget_inputs
-from tests.qualification_fixtures import gates, make_pair
-from tests.test_qualification_contracts import _base_event, _sealed
-from tests.test_replay_exceptions import (
-    EVENT,
-    INPUT,
-    MEASURE,
-    TEST_ATTEMPT_ID,
-    _entry,
-    _failed_receipt,
-    _judge,
-    _registry,
-)
-
-
-def _actual_budget(values, *, previously_missing):
-    table = pd.DataFrame({"household_weight": [1.0, 2.0]})
-    if values is not None:
-        table[INPUT] = values
-    result, evidence = budget_inputs(
-        make_pair(),
-        Path("unused.h5"),
-        model_input_variables=["household_weight", INPUT],
-        critical_inputs=["household_weight"],
-        accepted_gaps={},
-        previous_missing_inputs=[INPUT] if previously_missing else [],
-        previous_input_status={
-            INPUT: {
-                "in_model": True,
-                "is_input": True,
-                "in_data": not previously_missing,
-                "usable": not previously_missing,
-            }
-        },
-        previous_unusable_critical=[],
-        tables={"household": table},
-    )
-    evidence["attempt_id"] = TEST_ATTEMPT_ID
-    return result.model_copy(
-        update={"evidence_sha256": content_sha256(evidence)}
-    ), evidence
-
-
-def test_exception_cannot_reactivate_after_a_previously_supplied_input_is_dropped():
-    """A previous usable input requires a fresh registry decision if lost."""
-    document = _failed_receipt()
-    supplied = _actual_budget([0, 100_000], previously_missing=True)
-    dropped = _actual_budget(None, previously_missing=False)
-    assert supplied[0].status == "pass"
-    assert _judge(document, budget=supplied).status == "fail"
-    assert dropped[0].status == "needs_review"
-    assert dropped[1]["newly_missing_inputs"] == [INPUT]
-    replay = _judge(document, budget=dropped)
-    assert replay.status == "fail"
-    assert "fresh registry decision" in str(replay.model_dump()).lower()
-    combined = [
-        dropped[0] if gate.gate_id == "budget_inputs" else gate
-        for gate in gates(replay=replay.status)
-    ]
-    assert qualification_verdict(combined) == "rejected"
-
-
-@pytest.mark.parametrize("year", [2025, 2026, 2029])
-def test_different_inert_measure_in_the_registered_year_still_fails(year):
-    document = _failed_receipt(year)
-    other = "another_measure_disabled_by_a_model_regression"
-    document["corpus"]["events"][EVENT]["inert_measure_years"].append(
-        {"measure_key": other, "year": year}
-    )
-    document["integrity"]["failures"].append(
-        {
-            "code": "construction_inert",
-            "detail": "A different measure also became inert.",
-            "event": EVENT,
-            "measure_key": other,
-            "year": year,
-        }
-    )
-    replay = _judge(_sealed(document), registry=_registry(_entry(years=[year])))
-    assert replay.status == "fail"
-    assert replay.details["applied_exceptions"] == []
-
-
-@pytest.mark.parametrize("flag", ["mapping", "coverage"])
-def test_matching_waiver_cannot_hide_an_unmatched_diff_failure(flag):
-    document = _failed_receipt()
-    document["diff"]["flagged_rows"].append(
-        {
-            "event": EVENT,
-            "measure_key": "unrelated_lost_result",
-            "year": 2026,
-            "level": "measure_year",
-            "key": "total",
-            "flags": [flag],
-            "base_gbp": 2_500_000_000,
-            "head_gbp": None,
-        }
-    )
-    document["diff"]["flag_counts"][flag] += 1
-    replay = _judge(_sealed(document))
-    assert replay.status == "fail"
-    assert replay.details["applied_exceptions"]
-    expected = "mapping" if flag == "mapping" else "lost_result"
-    assert expected in {row["kind"] for row in replay.details["regressions"]}
-
-
-@pytest.mark.parametrize("reverse_registry", [False, True])
-def test_overlapping_registry_entries_cannot_produce_qualified(reverse_registry):
-    # Partitioning a failure's codes between different reviewed entries must
-    # preserve the review floor, independently of file ordering.
-    entries = [
-        _entry(id="integrity", codes=["construction_inert"]),
-        _entry(id="lost-response", codes=["lost_response"]),
-        _entry(id="zzz-overlap"),
-    ]
-    if reverse_registry:
-        entries.reverse()
-    replay = _judge(_failed_receipt(), registry=_registry(*entries))
-    assert replay.status == "needs_review"
-    assert qualification_verdict(gates(replay=replay.status)) == "needs_review"
-    assert {row["id"] for row in replay.details["applied_exceptions"]} == {
-        "integrity",
-        "lost-response",
-    }
-
-
-def test_base_known_gap_cannot_remove_construction_exception_review_floor():
-    document = _failed_receipt(rows=[])
-    document["diff"]["base_events"] = {EVENT: _base_event(inert=[(MEASURE, 2026)])}
-    replay = _judge(_sealed(document))
-    assert replay.details["known_gaps"]
-    assert replay.details["applied_exceptions"]
-    assert replay.status == "needs_review"
-    assert qualification_verdict(gates(replay=replay.status)) != "qualified"
diff --git a/tests/test_replay_exception_probe.py b/tests/test_replay_exception_probe.py
deleted file mode 100644
index 06ff6b6b2..000000000
--- a/tests/test_replay_exception_probe.py
+++ /dev/null
@@ -1,161 +0,0 @@
-"""The exact candidate must respond to a positive missing purchase input."""
-
-from __future__ import annotations
-
-from importlib.metadata import version
-
-import pytest
-
-import policyengine.provenance.replay_probe as replay_probe
-from policyengine.provenance.qualification import (
-    ReplayQualificationRequest,
-    _replay_exceptions,
-    _replay_probe_passes,
-)
-from policyengine.provenance.receipt import content_sha256
-from tests.qualification_fixtures import golden
-
-
-@pytest.fixture
-def registry():
-    return _replay_exceptions()[0]
-
-
-@pytest.fixture(scope="module")
-def country():
-    model = pytest.importorskip("policyengine_uk")
-    if not version("policyengine-uk").startswith("2.134."):
-        pytest.skip("The replay probe real-model tests require pe-uk 2.134.x.")
-    return model
-
-
-def run(registry):
-    return replay_probe.run_replay_probes(
-        attempt_id="probe-attempt",
-        candidate_model_version=version("policyengine-uk"),
-        exception_registry=registry,
-    )
-
-
-@pytest.mark.real_install
-def test_sdlt_positive_input_probe_passes_on_installed_candidate(country, registry):
-    result, evidence = run(registry)
-    assert result.status == "pass", evidence
-    assert result.evidence_sha256 == content_sha256(evidence)
-    assert evidence["attempt_id"] == "probe-attempt"
-    assert evidence["candidate_model_version"] == version("policyengine-uk")
-    (probe,) = evidence["probes"]
-    assert probe["status"] == "pass"
-    assert probe["installed_model_version"] == evidence["candidate_model_version"]
-    assert probe["spec_sha256"] == content_sha256(
-        registry.exceptions[0].probe.model_dump(mode="json")
-    )
-    assert probe["positive_change_gbp"] == pytest.approx(6000, abs=0.1)
-    assert (
-        probe["positive_reform_gbp"] - probe["positive_baseline_gbp"]
-        == probe["positive_change_gbp"]
-    )
-    assert probe["zero_change_gbp"] == 0
-    assert probe["zero_reform_gbp"] == probe["zero_baseline_gbp"]
-    assert len(probe["rates"]) == 5
-    assert all(
-        rate["reform"] - rate["baseline"] == pytest.approx(0.02)
-        for rate in probe["rates"]
-    )
-    request_document = golden("qualification_request_golden")
-    request_document["candidate"]["policyengine_uk"]["version"] = version(
-        "policyengine-uk"
-    )
-    request = ReplayQualificationRequest.model_validate(request_document)
-    assert _replay_probe_passes(
-        registry.exceptions[0], request, result, evidence, "probe-attempt"
-    )
-
-
-@pytest.mark.real_install
-def test_probe_fails_when_installed_model_ignores_purchase_input(
-    country, registry, monkeypatch
-):
-    import numpy as np
-    from sortedcontainers import SortedDict
-
-    original_init = country.CountryTaxBenefitSystem.__init__
-
-    def broken_init(self, *args, **kwargs):
-        original_init(self, *args, **kwargs)
-        self.variables[
-            "sdlt_on_residential_property_transactions"
-        ].formulas = SortedDict(
-            {
-                "0001-01-01": lambda household, period, parameters: np.zeros(
-                    household.count
-                )
-            }
-        )
-
-    monkeypatch.setattr(country.CountryTaxBenefitSystem, "__init__", broken_init)
-    result, evidence = run(registry)
-    assert result.status == "fail"
-    (probe,) = evidence["probes"]
-    assert probe["status"] == "fail"
-    assert "error" not in probe, probe
-    assert probe["positive_change_gbp"] == 0
-    assert probe["zero_change_gbp"] == 0
-
-
-@pytest.mark.real_install
-def test_wrong_parameter_path_records_failing_probe(country, registry):
-    payload = registry.canonical_payload()
-    payload["exceptions"][0]["probe"]["parameter"] = "gov.hmrc.no_such_sdlt_parameter"
-    registry = type(registry).model_validate(payload)
-    result, evidence = run(registry)
-    assert result.status == "fail"
-    assert evidence["probes"][0]["status"] == "fail"
-    assert "no_such_sdlt_parameter" in evidence["probes"][0]["error"]
-    assert result.evidence_sha256 == content_sha256(evidence)
-
-
-def test_probe_for_other_installed_version_records_failure(registry, monkeypatch):
-    monkeypatch.setattr(replay_probe, "version", lambda package: "0.0.0")
-    result, evidence = replay_probe.run_replay_probes(
-        attempt_id="attempt",
-        candidate_model_version="2.134.7",
-        exception_registry=registry,
-    )
-    assert result.status == "fail"
-    assert "does not match candidate" in evidence["probes"][0]["error"]
-
-
-def test_probe_records_the_registry_digest_it_read(registry, monkeypatch):
-    monkeypatch.setattr(
-        replay_probe,
-        "_run_probe",
-        lambda spec: {
-            "status": "pass",
-            "positive_change_gbp": 6000,
-            "zero_change_gbp": 0,
-        },
-    )
-    result, evidence = run(registry)
-    digest = content_sha256(registry.canonical_payload())
-    assert evidence["exception_registry_sha256"] == digest
-    assert result.details["exception_registry_sha256"] == digest
-    assert result.evidence_sha256 == content_sha256(evidence)
-
-
-@pytest.mark.parametrize("error", [ImportError("unavailable model"), KeyError("input")])
-def test_probe_calculation_error_records_failure(registry, monkeypatch, error):
-    monkeypatch.setattr(replay_probe, "version", lambda package: "2.134.7")
-
-    def broken(spec):
-        raise error
-
-    monkeypatch.setattr(replay_probe, "_run_probe", broken)
-    result, evidence = replay_probe.run_replay_probes(
-        attempt_id="attempt",
-        candidate_model_version="2.134.7",
-        exception_registry=registry,
-    )
-    assert result.status == "fail"
-    assert type(error).__name__ in evidence["probes"][0]["error"]
-    assert result.evidence_sha256 == content_sha256(evidence)
diff --git a/tests/test_replay_exception_probe_round3.py b/tests/test_replay_exception_probe_round3.py
deleted file mode 100644
index 36d09fd86..000000000
--- a/tests/test_replay_exception_probe_round3.py
+++ /dev/null
@@ -1,214 +0,0 @@
-"""Round-two reproductions and round-three probe evidence hardening."""
-
-from __future__ import annotations
-
-import copy
-
-import pytest
-from hypothesis import given
-from hypothesis import strategies as st
-
-from policyengine.provenance import uk_qualification
-from policyengine.provenance.qualification import (
-    GateResult,
-    ReplayQualificationRequest,
-    _replay_probe_passes,
-    qualification_verdict,
-)
-from policyengine.provenance.qualification_ledger import write_json
-from policyengine.provenance.receipt import content_sha256
-from tests.qualification_fixtures import gates, golden, make_pair
-from tests.test_qualification_contracts import _receipt_with
-from tests.test_replay_exceptions import (
-    TEST_ATTEMPT_ID,
-    _entry,
-    _failed_receipt,
-    _judge,
-    _probe,
-    _registry,
-)
-
-
-@pytest.mark.parametrize(
-    "change",
-    [
-        "positive_bool",
-        "positive_nan",
-        "positive_inf",
-        "positive_string",
-        "zero_bool",
-        "zero_nan",
-        "duplicate",
-    ],
-)
-def test_incoherent_probe_values_never_authorize_exception(change):
-    registry = _registry(_entry())
-    result, evidence = _probe(registry)
-    probe = evidence["probes"][0]
-    if change == "positive_bool":
-        probe["positive_change_gbp"] = True
-    elif change == "positive_nan":
-        probe["positive_change_gbp"] = float("nan")
-    elif change == "positive_inf":
-        probe["positive_change_gbp"] = float("inf")
-    elif change == "positive_string":
-        probe["positive_change_gbp"] = "6000"
-    elif change == "zero_bool":
-        probe["zero_change_gbp"] = False
-    elif change == "zero_nan":
-        probe["zero_change_gbp"] = float("nan")
-    else:
-        evidence["probes"].append(copy.deepcopy(probe))
-    # Non-finite JSON cannot be sealed by the receipt's canonical encoder.
-    try:
-        evidence_digest = content_sha256(evidence)
-    except ValueError:
-        assert change in {"positive_nan", "positive_inf", "zero_nan"}
-        return
-    result = result.model_copy(update={"evidence_sha256": evidence_digest})
-    actual = _judge(_failed_receipt(), registry=registry, probe=(result, evidence))
-    assert actual.status == "fail"
-    assert actual.details["applied_exceptions"] == []
-
-
-@pytest.mark.parametrize(
-    "status", ["pass", "needs_review", "fail", "error", "unavailable"]
-)
-def test_probe_status_is_irrelevant_to_a_clean_candidate(status):
-    registry = _registry(_entry())
-    result, evidence = _probe(registry)
-    result = result.model_copy(update={"status": status})
-    clean = _receipt_with()
-    baseline = _judge(clean, registry=registry, probe=(None, None))
-    actual = _judge(clean, registry=registry, probe=(result, evidence))
-    assert actual.canonical_payload() == baseline.canonical_payload()
-    assert actual.status == "pass"
-
-
-@pytest.mark.parametrize("damage", ["failed", "malformed", "wrong_gate", "missing"])
-def test_failed_or_unreadable_probe_is_not_an_unconditional_gate(tmp_path, damage):
-    uk_qualification.write_gate_results(tmp_path, gates(), {})
-    path = tmp_path / "gates/replay_probe.result.json"
-    if damage == "failed":
-        write_json(
-            path,
-            GateResult(
-                gate_id="replay_probe", status="fail", summary="failed"
-            ).canonical_payload(),
-        )
-    elif damage == "malformed":
-        path.write_text("bad json")
-    elif damage == "wrong_gate":
-        write_json(
-            path,
-            GateResult(
-                gate_id="foreign", status="error", summary="failed"
-            ).canonical_payload(),
-        )
-    loaded = uk_qualification.load_gate_results(tmp_path)
-    assert sorted(loaded, key=lambda gate: gate.gate_id) == sorted(
-        gates(), key=lambda gate: gate.gate_id
-    )
-    assert qualification_verdict(loaded) == "qualified"
-
-
-@pytest.mark.parametrize(
-    "target_pair",
-    [
-        make_pair(data="1.58.1"),
-        make_pair(dataset_sha="e" * 64),
-        make_pair(core="3.33.1"),
-    ],
-)
-def test_probe_cannot_cross_pairs_with_identical_model_and_attempt_name(
-    tmp_path, target_pair
-):
-    source = tmp_path / "source/attempts/same-commit"
-    target = tmp_path / "target/attempts/same-commit"
-    write_json(source / "candidate.json", {"pair": make_pair().canonical_payload()})
-    write_json(target / "candidate.json", {"pair": target_pair.canonical_payload()})
-    result, evidence = _probe(attempt_id=uk_qualification.attempt_evidence_id(source))
-    uk_qualification.write_gate_results(target, [result], {"replay_probe": evidence})
-    assert uk_qualification.attempt_evidence_id(
-        source
-    ) != uk_qualification.attempt_evidence_id(target)
-    assert uk_qualification.load_attempt_replay_probe(target) == (None, None)
-
-
-@pytest.mark.parametrize(
-    ("field", "value"),
-    [
-        ("installed_model_version", "2.134.0"),
-        ("installed_model_version", None),
-        ("positive_baseline_gbp", 1),
-        ("positive_reform_gbp", 1),
-        ("positive_change_gbp", 6000.5),
-        ("zero_baseline_gbp", 1),
-        ("zero_reform_gbp", 1),
-    ],
-)
-def test_probe_rejects_contradictory_recorded_version_or_outputs(field, value):
-    registry = _registry(_entry())
-    result, evidence = _probe(registry)
-    evidence["probes"][0][field] = value
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-    replay = _judge(_failed_receipt(), registry=registry, probe=(result, evidence))
-    assert replay.status == "fail"
-    assert replay.details["applied_exceptions"] == []
-    assert qualification_verdict(gates(replay=replay.status)) == "rejected"
-
-
-@pytest.mark.parametrize(
-    "field",
-    [
-        "positive_baseline_gbp",
-        "positive_reform_gbp",
-        "positive_change_gbp",
-        "zero_baseline_gbp",
-        "zero_reform_gbp",
-        "zero_change_gbp",
-    ],
-)
-@pytest.mark.parametrize("value", [None, False, "0", float("nan"), float("inf")])
-def test_probe_consumer_fails_closed_on_invalid_recorded_numbers(field, value):
-    registry = _registry(_entry())
-    result, evidence = _probe(registry)
-    request = ReplayQualificationRequest.model_validate(
-        golden("qualification_request_golden")
-    )
-    assert _replay_probe_passes(
-        registry.exceptions[0], request, result, evidence, TEST_ATTEMPT_ID
-    )
-    evidence["probes"][0][field] = value
-    # Invalid JSON numbers cannot have a digest; the consumer must reject them
-    # as evidence rather than raising while attempting to rehash the document.
-    try:
-        digest = content_sha256(evidence)
-    except ValueError:
-        digest = "0" * 64
-    result = result.model_copy(update={"evidence_sha256": digest})
-    assert not _replay_probe_passes(
-        registry.exceptions[0], request, result, evidence, TEST_ATTEMPT_ID
-    )
-
-
-@given(
-    field=st.sampled_from(
-        [
-            "positive_baseline_gbp",
-            "positive_reform_gbp",
-            "zero_baseline_gbp",
-            "zero_reform_gbp",
-        ]
-    ),
-    discrepancy=st.integers(min_value=1, max_value=10**9),
-)
-def test_any_raw_output_discrepancy_cannot_authorize_an_exception(field, discrepancy):
-    registry = _registry(_entry())
-    result, evidence = _probe(registry)
-    evidence["probes"][0][field] += discrepancy
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-    replay = _judge(_failed_receipt(), registry=registry, probe=(result, evidence))
-    assert replay.status == "fail"
-    assert replay.details["applied_exceptions"] == []
-    assert qualification_verdict(gates(replay=replay.status)) != "qualified"
diff --git a/tests/test_replay_exceptions.py b/tests/test_replay_exceptions.py
deleted file mode 100644
index 5ffda3729..000000000
--- a/tests/test_replay_exceptions.py
+++ /dev/null
@@ -1,1123 +0,0 @@
-"""Data-limited replay exceptions retain a review floor and expire with inputs.
-
-The copied real fixtures contain national aggregates and provenance metadata only.
-A frozen v1 evaluator provides a differential oracle for unchanged receipt cases.
-"""
-
-from __future__ import annotations
-
-import copy
-import hashlib
-import inspect
-import json
-import os
-import subprocess
-import sys
-from pathlib import Path
-from textwrap import dedent
-
-import pytest
-from hypothesis import given, settings
-from hypothesis import strategies as st
-from pydantic import ValidationError
-
-import policyengine.provenance.qualification as qualification
-from policyengine.provenance.qualification import (
-    GateResult,
-    ReplayDataLimitedException,
-    ReplayExceptionRegistry,
-    ReplayQualificationRequest,
-    ReplayReceipt,
-    evaluate_replay_receipt,
-    qualification_verdict,
-)
-from policyengine.provenance.receipt import content_sha256
-from tests.qualification_fixtures import FIXTURES, gates, golden, make_pair
-from tests.test_qualification_contracts import (
-    CONTRADICTIONS,
-    EVENT,
-    KNOWN_GAP_CASES,
-    MEASURE,
-    POLICY_CASES,
-    _base_event,
-    _clean_receipt,
-    _edit,
-    _receipt_with,
-    _rejected_receipt,
-    _sealed,
-    _status,
-    _with_requested_wheels,
-)
-
-EXCEPTION_FIXTURES = Path(__file__).parent / "fixtures" / "replay_exceptions"
-INPUT = "additional_residential_property_purchased"
-TEST_ATTEMPT_ID = f"{make_pair().pair_id}/test-attempt"
-RANK = {"pass": 0, "needs_review": 1, "unavailable": 2, "fail": 3, "error": 3}
-EXCEPTION_METADATA = {
-    "exception_registry_sha256",
-    "applied_exceptions",
-    "budget_inputs_result_sha256",
-    "probe_result_sha256",
-    "probe_evidence_sha256",
-}
-
-
-def _json(name):
-    return json.loads((EXCEPTION_FIXTURES / name).read_text())
-
-
-def _main_evaluator():
-    namespace = dict(vars(qualification))
-    metadata = _json("main_policy_metadata.json")
-    namespace.update(
-        REPLAY_POLICY_ID=metadata["policy"],
-        replay_policy_sha256=lambda: metadata["policy_sha256"],
-    )
-    source = (EXCEPTION_FIXTURES / "main_replay_policy.py.txt").read_text()
-    exec(compile(source, "frozen_main_replay_policy", "exec"), namespace)
-    return namespace["evaluate_replay_receipt"]
-
-
-MAIN_EVALUATOR = _main_evaluator()
-
-
-def _entry(**overrides):
-    return {
-        "id": "test-purchase-input",
-        "codes": ["construction_inert", "lost_response"],
-        "event": EVENT,
-        "measure_key": MEASURE,
-        "years": [2026],
-        "requires_missing_inputs": [INPUT],
-        "cause": "Purchases are absent from the candidate data.",
-        "issue": "PolicyEngine/policyengine-uk-data#573",
-        "decided_under": "cos d1344",
-        "review": "Independent review required before adoption.",
-        "approved_lineage": "Never supplied usably by any certified data release.",
-        "publication": "Not computable while the input is unavailable.",
-        "probe": {
-            "input_variable": overrides.get("requires_missing_inputs", [INPUT])[0],
-            "input_entity": "household",
-            "year": 2026,
-            "positive_input_gbp": 300_000,
-            "output_variable": "sdlt_on_residential_property_transactions",
-            "parameter": "gov.hmrc.stamp_duty.residential.purchase.additional.rate",
-            "rate_increment": 0.02,
-            "expected_change_gbp": 6_000,
-            "absolute_tolerance_gbp": 1,
-            "region": "LONDON",
-        },
-        **overrides,
-    }
-
-
-def _registry(*entries):
-    return ReplayExceptionRegistry.model_validate({"exceptions": list(entries)})
-
-
-def _budget_inputs(
-    missing=(INPUT,),
-    *,
-    status="needs_review",
-    newly_missing=None,
-    previous_status=None,
-    attempt_id=TEST_ATTEMPT_ID,
-    request=None,
-):
-    previous = (
-        {
-            name: {
-                "in_model": False,
-                "is_input": False,
-                "in_data": False,
-                "usable": False,
-            }
-            for name in {*missing, INPUT}
-        }
-        if previous_status is None
-        else {
-            name: {"is_input": state.get("in_model", False), **state}
-            for name, state in previous_status.items()
-        }
-    )
-    previous_ever = sorted(
-        name for name, state in previous.items() if state.get("usable")
-    )
-    states = {
-        name: {
-            "in_model": True,
-            "is_input": True,
-            "in_data": name not in missing,
-            "usable": name not in missing,
-        }
-        for name in {*missing, INPUT}
-    }
-    evidence = {
-        "pair_id": attempt_id.partition("/")[0],
-        "attempt_id": attempt_id,
-        "input_status": states,
-        "previous_input_status": previous,
-        "previous_ever_usable_inputs": previous_ever,
-        "ever_usable_inputs": sorted(
-            set(previous_ever)
-            | {name for name, state in states.items() if state["usable"]}
-        ),
-        "ever_usable_inputs_basis": "seeded from direct predecessor",
-        "missing_inputs": sorted(missing),
-        "newly_missing_inputs": sorted(
-            missing if newly_missing is None else newly_missing
-        ),
-    }
-    result = GateResult(
-        gate_id="budget_inputs",
-        status=status,
-        summary="Candidate input coverage.",
-        evidence_sha256=content_sha256(evidence),
-        details={
-            "missing_inputs": len(missing),
-            "newly_missing_inputs": evidence["newly_missing_inputs"],
-            "ever_usable_inputs": evidence["ever_usable_inputs"],
-        },
-    )
-    return result, evidence
-
-
-def _probe(registry=None, request=None, *, attempt_id=TEST_ATTEMPT_ID):
-    """Build same-attempt evidence matching every registered probe specification."""
-    if registry is None:
-        registry, _ = qualification._replay_exceptions()
-    if request is None:
-        request = ReplayQualificationRequest.model_validate(
-            golden("qualification_request_golden")
-        )
-    evidence = {
-        "attempt_id": attempt_id,
-        "candidate_model_version": request.candidate.policyengine_uk.version,
-        "probes": [
-            {
-                "exception_id": entry.id,
-                "spec_sha256": content_sha256(entry.probe.model_dump(mode="json")),
-                "status": "pass",
-                "installed_model_version": request.candidate.policyengine_uk.version,
-                "positive_baseline_gbp": 0,
-                "positive_reform_gbp": entry.probe.expected_change_gbp,
-                "zero_baseline_gbp": 0,
-                "zero_reform_gbp": 0,
-                "positive_change_gbp": entry.probe.expected_change_gbp,
-                "zero_change_gbp": 0,
-            }
-            for entry in registry.exceptions
-        ],
-    }
-    return (
-        GateResult(
-            gate_id="replay_probe",
-            status="pass",
-            summary="Synthetic positive-input and zero-input probes passed.",
-            evidence_sha256=content_sha256(evidence),
-        ),
-        evidence,
-    )
-
-
-def _failed_receipt(year=2026, *, extra_failures=(), rows=None):
-    rows = (
-        [{"flags": ["structural", "inertness"], "base_gbp": 2.5e9, "head_gbp": 0}]
-        if rows is None
-        else rows
-    )
-    document = _receipt_with(
-        [{"year": year, **row} for row in rows],
-        inert=[(MEASURE, year)],
-        missing=[],
-        complete=False,
-        integrity="failed",
-        sealed=False,
-    )
-    document["status"] = "failed"
-    document["integrity"]["failures"] = [
-        {
-            "code": "construction_inert",
-            "detail": "Identical worlds because the input is absent.",
-            "event": EVENT,
-            "measure_key": MEASURE,
-            "year": year,
-        },
-        *extra_failures,
-    ]
-    return _sealed(document)
-
-
-def _judge(
-    document,
-    *,
-    registry=None,
-    budget=None,
-    probe="default",
-    request=None,
-    evaluator=None,
-    attempt_id=TEST_ATTEMPT_ID,
-):
-    request = request or ReplayQualificationRequest.model_validate(
-        golden("qualification_request_golden")
-    )
-    result, evidence = budget if budget is not None else _budget_inputs()
-    evaluator = evaluator or evaluate_replay_receipt
-    registry = registry if registry is not None else _registry(_entry())
-    probe_result, probe_evidence = (
-        _probe(registry, request, attempt_id=attempt_id)
-        if probe == "default"
-        else probe
-    )
-    return evaluator(
-        request,
-        _status(request.request_id, document),
-        ReplayReceipt.from_document(document),
-        exception_registry=registry,
-        budget_inputs_result=result,
-        budget_inputs_evidence=evidence,
-        probe_result=probe_result,
-        probe_evidence=probe_evidence,
-        attempt_id=attempt_id,
-    )
-
-
-def _legacy_result(document, request=None):
-    request = request or ReplayQualificationRequest.model_validate(
-        golden("qualification_request_golden")
-    )
-    return MAIN_EVALUATOR(
-        request,
-        _status(request.request_id, document),
-        ReplayReceipt.from_document(document),
-    )
-
-
-def _unchanged_payload(gate):
-    """Policy version and mandatory new provenance fields are the only allowance."""
-    payload = gate.model_dump(mode="json")
-    for key in EXCEPTION_METADATA | {"policy", "policy_sha256"}:
-        payload["details"].pop(key, None)
-    return payload
-
-
-def _assert_narrow_mismatch_unchanged(
-    dimension, year=2026, noise=(), *, evaluator=None
-):
-    entry = _entry(years=[year])
-    document = _failed_receipt(year)
-    budget = _budget_inputs([INPUT, *noise])
-    if dimension == "code":
-        entry["codes"] = ["lost_response"]
-    elif dimension == "event":
-        entry["event"] = "another_event"
-    elif dimension == "measure_key":
-        entry["measure_key"] = "another_measure"
-    elif dimension == "year":
-        entry["years"] = [year + 1]
-    elif dimension == "missing_input":
-        budget = _budget_inputs(noise)
-    elif dimension == "extra_failure":
-        document["integrity"]["failures"].append(
-            {"code": "event_outputs_missing", "detail": "Unrelated missing output."}
-        )
-    else:
-        raise AssertionError(dimension)
-    document = _sealed(document)
-    gate = _judge(
-        document, registry=_registry(entry), budget=budget, evaluator=evaluator
-    )
-    legacy = _legacy_result(document)
-    assert gate.status == legacy.status == "fail"
-    assert _unchanged_payload(gate) == _unchanged_payload(legacy)
-
-
-@settings(max_examples=65, deadline=None)
-@given(
-    year=st.integers(2025, 2029),
-    other_years=st.sets(st.integers(2024, 2035), max_size=5),
-    missing=st.sets(st.sampled_from([INPUT, "other_input", "persistent_input"])),
-    distractor_count=st.integers(0, 3),
-    status=st.sampled_from(["pass", "needs_review", "fail"]),
-)
-def test_applied_exceptions_always_require_a_named_review(
-    year, other_years, missing, distractor_count, status
-):
-    """Invariant 1: arbitrary valid registries and input results retain the floor."""
-    missing = sorted(missing | {INPUT})
-    registry = _registry(
-        _entry(years=sorted(other_years | {year})),
-        *[
-            _entry(id=f"unrelated-{i}", event=f"unrelated_event_{i}")
-            for i in range(distractor_count)
-        ],
-    )
-    gate = _judge(
-        _failed_receipt(year),
-        registry=registry,
-        budget=_budget_inputs(missing, status=status),
-    )
-    assert gate.status == "needs_review", gate.summary
-    assert qualification_verdict(gates(replay=gate.status)) == "needs_review"
-    assert len(gate.details["applied_exceptions"]) == 1
-    assert gate.details["applied_exceptions"][0]["year"] == year
-    assert set(gate.details["applied_exceptions"][0]["codes"]) == {
-        "construction_inert",
-        "lost_response",
-    }
-    items = gate.details["review_items"]
-    assert any(
-        item.get("exception_id") == "test-purchase-input"
-        and item.get("publication") == _entry()["publication"]
-        and item.get("approved_lineage") == _entry()["approved_lineage"]
-        and item.get("cause") == _entry()["cause"]
-        and INPUT in item.get("requires_missing_inputs", [])
-        for item in items
-    )
-
-
-@settings(max_examples=90, deadline=None)
-@given(
-    dimension=st.sampled_from(
-        ["code", "event", "measure_key", "year", "missing_input", "extra_failure"]
-    ),
-    year=st.integers(2025, 2029),
-    noise=st.sets(st.sampled_from(["irrelevant_input", "other_input"])),
-)
-def test_unmatched_fields_and_extra_integrity_failures_are_noops(
-    dimension, year, noise
-):
-    """Invariant 2: each narrow mismatch preserves the old failed verdict."""
-    _assert_narrow_mismatch_unchanged(dimension, year, sorted(noise))
-
-
-def _existing_receipt_cases():
-    cases = []
-    for name, case in POLICY_CASES.items():
-        rows, inert, complete, integrity, *_ = case
-        cases.append((name, _receipt_with(rows, inert, complete, integrity), None))
-    for name, case in KNOWN_GAP_CASES.items():
-        inert, missing, unsupported, base_events, *_ = case
-        cases.append(
-            (
-                f"known-gap: {name}",
-                _receipt_with(
-                    inert=inert,
-                    missing=missing,
-                    unsupported=unsupported,
-                    base_events=base_events,
-                    complete=not (inert or missing),
-                    integrity="incomplete" if inert or missing else "complete",
-                ),
-                None,
-            )
-        )
-    for name, edit in CONTRADICTIONS.items():
-        cases.append((name, _edit(_clean_receipt(), edit), None))
-    cases.extend(
-        [
-            ("rejected", _rejected_receipt(), None),
-            ("failed", _failed_receipt(), None),
-            (
-                "golden",
-                _sealed(_with_requested_wheels(golden("replay_receipt_golden"))),
-                None,
-            ),
-        ]
-    )
-    for folder in [FIXTURES / "receipt_6.4.1_attempt1", FIXTURES / "receipt_6.5.0"]:
-        request = ReplayQualificationRequest.model_validate(
-            json.loads((folder / "REQUEST.json").read_text())
-        )
-        cases.append(
-            (
-                folder.name,
-                json.loads((folder / "REPLAY_RECEIPT.json").read_text()),
-                request,
-            )
-        )
-    return cases
-
-
-@pytest.mark.parametrize(
-    ("name", "document", "replay_request"),
-    _existing_receipt_cases(),
-    ids=[case[0] for case in _existing_receipt_cases()],
-)
-def test_empty_registry_preserves_existing_replay_receipts(
-    name, document, replay_request
-):
-    """Invariant 3: all existing decision-table and real-fixture receipt cases."""
-    current = _judge(document, request=replay_request, registry=_registry())
-    legacy = _legacy_result(document, request=replay_request)
-    assert _unchanged_payload(current) == _unchanged_payload(legacy), name
-
-
-@settings(max_examples=80, deadline=None)
-@given(
-    year=st.integers(2025, 2029),
-    included=st.booleans(),
-    extra_kind=st.sampled_from(["mapping", "lost_response"]),
-    extra_year=st.integers(2024, 2035),
-    extra_base=st.sampled_from([1e6, -1e6, 2.5e9]),
-)
-def test_adding_a_regression_never_improves_a_verdict(
-    year, included, extra_kind, extra_year, extra_base
-):
-    """Invariant 4 covers both matched and unmatched new regression rows."""
-    registry = _registry(_entry(years=[year] if included else [year + 1]))
-    document = _failed_receipt(year)
-    before = _judge(document, registry=registry)
-    row = {
-        **document["diff"]["flagged_rows"][0],
-        "flags": ["mapping" if extra_kind == "mapping" else "structural"],
-        "year": extra_year,
-        "base_gbp": extra_base,
-        "head_gbp": 0,
-    }
-    document["diff"]["flagged_rows"].append(row)
-    for flag in row["flags"]:
-        document["diff"]["flag_counts"][flag] += 1
-    after = _judge(_sealed(document), registry=registry)
-    assert RANK[after.status] >= RANK[before.status]
-    if extra_kind == "mapping" or extra_year != year:
-        assert after.status == "fail"
-
-
-@settings(max_examples=45, deadline=None)
-@given(
-    years=st.sets(st.integers(2025, 2029), min_size=1),
-    missing=st.sets(st.sampled_from([INPUT, "another_input"])),
-    codes=st.lists(
-        st.sampled_from(["construction_inert", "lost_response"]),
-        min_size=1,
-        unique=True,
-    ),
-)
-def test_exception_evaluation_and_recorded_digests_are_deterministic(
-    years, missing, codes
-):
-    """Invariant 5 compares every result field, including all provenance digests."""
-    registry = _registry(_entry(years=sorted(years), codes=codes))
-    document = _failed_receipt(min(years))
-    budget = _budget_inputs(sorted(missing))
-    first = _judge(document, registry=registry, budget=budget)
-    second = _judge(copy.deepcopy(document), registry=registry, budget=budget)
-    assert first.model_dump(mode="json") == second.model_dump(mode="json")
-    assert first.details["exception_registry_sha256"] == content_sha256(
-        registry.canonical_payload()
-    )
-    if first.details["applied_exceptions"]:
-        assert first.details["budget_inputs_result_sha256"] == content_sha256(
-            budget[0].canonical_payload()
-        )
-    else:
-        assert first.details["budget_inputs_result_sha256"] is None
-
-
-def _real_receipt():
-    """Recreate the unavailable REQUEST from execution, retaining original aggregates.
-
-    The archived fixture has no request document. Its bytes and digest remain
-    unchanged on disk; only a test copy receives this reconstructed request id.
-    """
-    document = _json("replay_receipt_uk2.134.7_failed.json")
-    raw = golden("qualification_request_golden")
-    execution = document["execution"]
-    candidate = raw["candidate"]
-    candidate["policyengine"].update(
-        version=execution["packages"]["policyengine"]["version"],
-        packaged_bundle_manifest_sha256=execution["packaged_bundle_manifest_sha256"],
-    )
-    for name, field in [
-        ("policyengine-uk", "policyengine_uk"),
-        ("policyengine-core", "policyengine_core"),
-    ]:
-        candidate[field] = {
-            key: execution["packages"][name][key] for key in ("version", "wheel_sha256")
-        }
-    candidate["data"]["sha256"] = execution["dataset_sha256"]
-    candidate["expected_release_bundle"] = execution["release_bundle"]
-    request = ReplayQualificationRequest.model_validate(raw)
-    document["request_id"] = request.request_id
-    return request, _sealed(document)
-
-
-def _real_budget(*, attempt_id=TEST_ATTEMPT_ID, request=None):
-    """Add explicit never-usable lineage to copies of the archived evidence."""
-    evidence = _json("uk2.134.7_budget_inputs.json")
-    evidence.update(
-        {
-            "pair_id": attempt_id.partition("/")[0],
-            "attempt_id": attempt_id,
-            "input_status": {
-                name: {
-                    "in_model": True,
-                    "is_input": True,
-                    "in_data": False,
-                    "usable": False,
-                }
-                for name in evidence["missing_inputs"]
-            },
-            "previous_input_status": {
-                INPUT: {
-                    "in_model": False,
-                    "is_input": False,
-                    "in_data": False,
-                    "usable": False,
-                }
-            },
-            "previous_ever_usable_inputs": [],
-            "ever_usable_inputs": [],
-            "ever_usable_inputs_basis": "seeded from direct predecessor",
-        }
-    )
-    result = GateResult.model_validate(_json("uk2.134.7_budget_inputs.result.json"))
-    return result.model_copy(
-        update={
-            "evidence_sha256": content_sha256(evidence),
-            "details": {
-                **result.details,
-                "ever_usable_inputs": evidence["ever_usable_inputs"],
-            },
-        }
-    ), evidence
-
-
-def test_real_21347_failed_receipt_has_exactly_five_reviewed_measure_years():
-    """Invariant 6: the production registry handles the real data limitation."""
-    request, document = _real_receipt()
-    budget = _real_budget()
-    receipt = ReplayReceipt.from_document(document)
-    probe_result, probe_evidence = _probe(request=request)
-    gate = evaluate_replay_receipt(
-        request,
-        _status(request.request_id, document),
-        receipt,
-        budget_inputs_result=budget[0],
-        budget_inputs_evidence=budget[1],
-        probe_result=probe_result,
-        probe_evidence=probe_evidence,
-        attempt_id=TEST_ATTEMPT_ID,
-    )
-    assert gate.status == "needs_review", gate.summary
-    applied = gate.details["applied_exceptions"]
-    assert len(applied) == 5
-    assert {item["id"] for item in applied} == {"ab2024-sdlt-hrad-purchase-input"}
-    assert sorted(item["year"] for item in applied) == list(range(2025, 2030))
-    assert all(
-        set(item["codes"]) == {"construction_inert", "lost_response"}
-        for item in applied
-    )
-    assert gate.details["regressions"] == []
-    assert all(item["publication"] for item in applied)
-    assert gate.details["probe_result_sha256"] == content_sha256(
-        probe_result.canonical_payload()
-    )
-    assert gate.details["probe_evidence_sha256"] == content_sha256(probe_evidence)
-    assert gate.details["budget_inputs_result_sha256"] == content_sha256(
-        budget[0].canonical_payload()
-    )
-    registry_file = (
-        Path(qualification.__file__).parents[1]
-        / "data/qualification/uk_replay_exceptions.json"
-    )
-    assert (
-        gate.details["exception_registry_sha256"]
-        == hashlib.sha256(registry_file.read_bytes()).hexdigest()
-    )
-
-
-@pytest.mark.parametrize("change", ["input_available", "extra_integrity_failure"])
-def test_real_21347_receipt_fails_when_exception_conditions_no_longer_hold(change):
-    request, document = _real_receipt()
-    result, evidence = _real_budget()
-    if change == "input_available":
-        evidence["missing_inputs"].remove(INPUT)
-        evidence["newly_missing_inputs"].remove(INPUT)
-        details = copy.deepcopy(result.details)
-        details["newly_missing_inputs"].remove(INPUT)
-        details["missing_inputs"] -= 1
-        result = result.model_copy(
-            update={"details": details, "evidence_sha256": content_sha256(evidence)}
-        )
-    else:
-        document["integrity"]["failures"].append(
-            {"code": "event_outputs_missing", "detail": "Synthetic unrelated failure."}
-        )
-        document = _sealed(document)
-    probe_result, probe_evidence = _probe(request=request)
-    gate = evaluate_replay_receipt(
-        request,
-        _status(request.request_id, document),
-        ReplayReceipt.from_document(document),
-        budget_inputs_result=result,
-        budget_inputs_evidence=evidence,
-        probe_result=probe_result,
-        probe_evidence=probe_evidence,
-        attempt_id=TEST_ATTEMPT_ID,
-    )
-    assert gate.status == "fail"
-
-
-@pytest.mark.parametrize("status", ["error", "unavailable"])
-def test_unavailable_budget_inputs_cannot_authorize_an_exception(status):
-    gate = _judge(_failed_receipt(), budget=_budget_inputs(status=status))
-    assert gate.status == "fail"
-
-
-@pytest.mark.parametrize(
-    "change", ["wrong_gate", "wrong_digest", "missing_result", "missing_evidence"]
-)
-def test_unbound_budget_input_evidence_cannot_authorize_an_exception(change):
-    result, evidence = _budget_inputs()
-    if change == "wrong_gate":
-        result = result.model_copy(update={"gate_id": "some_other_gate"})
-    elif change == "wrong_digest":
-        result = result.model_copy(update={"evidence_sha256": "0" * 64})
-    elif change == "missing_result":
-        result = None
-    else:
-        evidence = None
-    assert _judge(_failed_receipt(), budget=(result, evidence)).status == "fail"
-
-
-def test_inputs_missing_in_both_pairs_still_authorize_review():
-    gate = _judge(_failed_receipt(), budget=_budget_inputs(newly_missing=[]))
-    assert gate.status == "needs_review"
-
-
-def test_exception_never_excuses_a_base_gap_with_a_material_value():
-    document = _failed_receipt()
-    document["diff"]["base_events"] = {EVENT: _base_event(inert=[(MEASURE, 2026)])}
-    assert _judge(_sealed(document)).status == "fail"
-
-
-def test_exception_never_excuses_failures_under_complete_integrity():
-    document = _failed_receipt()
-    document["status"] = "complete"
-    document["integrity"]["status"] = "complete"
-    assert _judge(_sealed(document)).status == "fail"
-
-
-@pytest.mark.parametrize("codes", [["event_run_failed"], ["mapping"], ["incomplete"]])
-def test_registry_cannot_expand_the_exception_to_other_failure_kinds(codes):
-    with pytest.raises(ValidationError):
-        _registry(_entry(codes=codes))
-
-
-@pytest.mark.parametrize(
-    "dropped", ["code", "event", "measure_key", "year", "missing_input"]
-)
-def test_narrow_match_invariants_kill_five_predicate_mutants(monkeypatch, dropped):
-    """Execute actual matcher replacements; the invariant assertion kills each.
-
-    Mutants remove the code, event, measure key, year, or missing-input predicate.
-    The unmodified invariant is exercised above by Hypothesis as well.
-    """
-
-    def mutant(self, code, event, measure_key, year, missing_inputs):
-        predicates = {
-            "code": code in self.codes,
-            "event": event == self.event,
-            "measure_key": measure_key == self.measure_key,
-            "year": year in self.years,
-            "missing_input": set(self.requires_missing_inputs) <= missing_inputs,
-        }
-        return all(value for key, value in predicates.items() if key != dropped)
-
-    monkeypatch.setattr(ReplayDataLimitedException, "matches", mutant)
-    with pytest.raises(AssertionError):
-        _assert_narrow_mismatch_unchanged(dropped)
-
-
-def test_registry_preserves_comment_through_json_roundtrip():
-    registry = ReplayExceptionRegistry.model_validate(
-        {"_comment": "Reviewed like code.", "exceptions": [_entry()]}
-    )
-    assert (
-        ReplayExceptionRegistry.model_validate_json(registry.model_dump_json())
-        == registry
-    )
-    payload = registry.canonical_payload()
-    assert payload["_comment"] == "Reviewed like code."
-    assert ReplayExceptionRegistry.model_validate(payload) == registry
-
-
-@pytest.mark.parametrize("code", ["lost_response", "event_run_failed", "mapping"])
-def test_only_construction_inert_can_be_excepted_as_a_receipt_failure(code):
-    document = _failed_receipt()
-    document["integrity"]["failures"][0]["code"] = code
-    assert _judge(_sealed(document)).status == "fail"
-
-
-def test_a_missing_result_is_not_excused_when_it_is_also_listed_inert():
-    document = _failed_receipt()
-    document["corpus"]["events"][EVENT]["missing_measure_years"] = [
-        {"measure_key": MEASURE, "year": 2026}
-    ]
-    assert _judge(_sealed(document)).status == "fail"
-
-
-def _source_mutant(before, after, function=evaluate_replay_receipt):
-    source = dedent(inspect.getsource(function))
-    assert source.count(before) == 1, (
-        "Mutation site changed; update this explicit mutant."
-    )
-    namespace = dict(vars(qualification))
-    exec(
-        compile(source.replace(before, after), "mutant_replay_policy", "exec"),
-        namespace,
-    )
-    return namespace[function.__name__]
-
-
-def test_extra_failure_invariant_kills_all_to_any_mutant():
-    mutant = _source_mutant("and all(\n", "and any(\n")
-    with pytest.raises(AssertionError):
-        _assert_narrow_mismatch_unchanged("extra_failure", evaluator=mutant)
-
-
-def test_review_floor_invariant_kills_automatic_pass_mutant():
-    mutant = _source_mutant(
-        'if review_items:\n        return GateResult(\n            gate_id="replay",\n            status="needs_review",',
-        'if review_items:\n        return GateResult(\n            gate_id="replay",\n            status="pass",',
-    )
-    with pytest.raises(AssertionError):
-        gate = _judge(_failed_receipt(rows=[]), evaluator=mutant)
-        assert qualification_verdict(gates(replay=gate.status)) != "qualified"
-
-
-def test_every_existing_replay_evaluation_matches_main_with_an_empty_registry(tmp_path):
-    """Invariant 3 also covers each generated receipt in the full existing suite.
-
-    A child pytest wraps the suite's evaluator; every invocation is compared
-    with the frozen main policy, including receipts created by Hypothesis.
-    """
-    plugin = tmp_path / "replay_differential_plugin.py"
-    plugin.write_text(
-        """from tests.test_replay_exceptions import (
-    MAIN_EVALUATOR, _registry, _unchanged_payload,
-)
-from policyengine.provenance.qualification import evaluate_replay_receipt
-
-count = 0
-
-def pytest_collection_modifyitems(items):
-    modules = {item.module for item in items}
-    for module in modules:
-        if module.__name__ == "tests.test_qualification_contracts":
-            module.evaluate_replay_receipt = compare
-
-def compare(*args, **kwargs):
-    global count
-    actual = evaluate_replay_receipt(*args, **kwargs, exception_registry=_registry())
-    expected = MAIN_EVALUATOR(*args)
-    assert _unchanged_payload(actual) == _unchanged_payload(expected)
-    count += 1
-    return actual
-
-def pytest_terminal_summary(terminalreporter):
-    assert count > 0
-    terminalreporter.write_line(f"Differential replay evaluations: {count}")
-"""
-    )
-    environment = dict(os.environ)
-    environment["POLICYENGINE_SKIP_COUNTRY_IMPORTS"] = "1"
-    environment["PYTHONPATH"] = os.pathsep.join(
-        [str(tmp_path), environment.get("PYTHONPATH", "")]
-    )
-    run = subprocess.run(
-        [
-            sys.executable,
-            "-m",
-            "pytest",
-            "--noconftest",
-            "tests/test_qualification_contracts.py",
-            "-p",
-            "replay_differential_plugin",
-            "-q",
-        ],
-        cwd=Path(__file__).parents[1],
-        env=environment,
-        capture_output=True,
-        text=True,
-        timeout=120,
-        check=False,
-    )
-    assert run.returncode == 0, run.stdout + run.stderr
-    assert "Differential replay evaluations:" in run.stdout
-
-
-def _assert_every_required_input_missing(required, missing, *, year=2026):
-    document = _failed_receipt(year)
-    gate = _judge(
-        document,
-        registry=_registry(_entry(years=[year], requires_missing_inputs=required)),
-        budget=_budget_inputs(sorted(missing)),
-    )
-    if set(required) <= set(missing):
-        assert gate.status == "needs_review"
-        assert gate.details["applied_exceptions"]
-        assert set(
-            gate.details["applied_exceptions"][0]["requires_missing_inputs"]
-        ) == set(required)
-    else:
-        assert gate.status == "fail"
-        assert _unchanged_payload(gate) == _unchanged_payload(_legacy_result(document))
-
-
-@settings(max_examples=80, deadline=None)
-@given(
-    required=st.lists(
-        st.sampled_from([INPUT, "second_required_input", "third_required_input"]),
-        min_size=2,
-        max_size=3,
-        unique=True,
-    ),
-    missing=st.sets(
-        st.sampled_from(
-            [INPUT, "second_required_input", "third_required_input", "unrelated_input"]
-        )
-    ),
-    year=st.integers(2025, 2029),
-)
-def test_every_required_missing_input_must_be_reported_missing(required, missing, year):
-    """Invariant 2 requires all names, including multi-input registry entries."""
-    _assert_every_required_input_missing(required, missing, year=year)
-
-
-def test_required_input_invariant_kills_subset_to_any_mutant(monkeypatch):
-    mutant = _source_mutant(
-        "set(self.requires_missing_inputs) <= missing_inputs",
-        "bool(set(self.requires_missing_inputs) & missing_inputs)",
-        function=ReplayDataLimitedException.matches,
-    )
-    monkeypatch.setattr(ReplayDataLimitedException, "matches", mutant)
-    with pytest.raises(AssertionError):
-        _assert_every_required_input_missing([INPUT, "second_required_input"], [INPUT])
-
-
-def _assert_diff_only_exception(*, input_missing=True, base=2.5e9, evaluator=None):
-    document = _receipt_with(
-        rows=[{"flags": ["structural"], "base_gbp": base, "head_gbp": 0}],
-        inert=[],
-        complete=True,
-        integrity="complete",
-    )
-    gate = _judge(
-        document,
-        registry=_registry(_entry(codes=["lost_response"])),
-        budget=_budget_inputs([INPUT] if input_missing else []),
-        evaluator=evaluator,
-    )
-    if input_missing:
-        assert gate.status == "needs_review"
-        assert len(gate.details["applied_exceptions"]) == 1
-        assert gate.details["applied_exceptions"][0]["codes"] == ["lost_response"]
-        assert gate.details["regressions"] == []
-    else:
-        assert gate.status == "fail"
-        assert _unchanged_payload(gate) == _unchanged_payload(_legacy_result(document))
-
-
-@pytest.mark.parametrize("input_missing", [True, False])
-@pytest.mark.parametrize("base", [1e6, -1e6, 2.5e9])
-def test_diff_only_lost_response_requires_the_missing_input(input_missing, base):
-    """The ยฃ0 total branch works without corpus inertness or integrity failures."""
-    _assert_diff_only_exception(input_missing=input_missing, base=base)
-
-
-def test_diff_only_invariant_kills_mutant_removing_zero_total_exception():
-    mutant = _source_mutant(
-        'if not except_regression(record, "lost_response"):', "if True:"
-    )
-    with pytest.raises(AssertionError):
-        _assert_diff_only_exception(evaluator=mutant)
-
-
-@settings(max_examples=80, deadline=None)
-@given(
-    value=st.floats(allow_nan=False, allow_infinity=False).filter(
-        lambda value: value != 0
-    ),
-    level=st.sampled_from(["measure_year", "source_row"]),
-    base_known_gap=st.booleans(),
-)
-def test_any_nonzero_candidate_effect_prevents_an_exception(
-    value, level, base_known_gap
-):
-    document = _failed_receipt()
-    row = copy.deepcopy(document["diff"]["flagged_rows"][0])
-    row.update(level=level, key="total" if level == "measure_year" else "source-1")
-    row["head_gbp"] = value
-    if level == "measure_year":
-        document["diff"]["flagged_rows"][0] = row
-    else:
-        document["diff"]["flagged_rows"].append(row)
-        for flag in row["flags"]:
-            document["diff"]["flag_counts"][flag] += 1
-    if base_known_gap:
-        document["diff"]["base_events"] = {EVENT: _base_event(inert=[(MEASURE, 2026)])}
-    gate = _judge(_sealed(document))
-    assert gate.status == "fail"
-    assert gate.details["applied_exceptions"] == []
-    assert gate.details["regressions"]
-
-
-@settings(max_examples=40, deadline=None)
-@given(
-    year=st.integers(2025, 2029),
-    missing=st.sets(st.sampled_from([INPUT, "another_input", "noise"])),
-)
-def test_a_previously_usable_input_never_authorizes_the_exception(year, missing):
-    gate = _judge(
-        _failed_receipt(year),
-        registry=_registry(_entry(years=[year])),
-        budget=_budget_inputs(
-            sorted(missing | {INPUT}),
-            previous_status={
-                INPUT: {"in_model": True, "in_data": True, "usable": True}
-            },
-        ),
-    )
-    assert gate.status == "fail"
-    assert gate.details["applied_exceptions"] == []
-    assert "fresh registry decision" in str(gate.model_dump()).lower()
-
-
-def test_missing_previous_input_lineage_fails_closed():
-    gate = _judge(_failed_receipt(), budget=_budget_inputs(previous_status={}))
-    assert gate.status == "fail"
-    assert gate.details["applied_exceptions"] == []
-
-
-def _invalid_probe(change, registry=None, request=None):
-    result, evidence = _probe(registry or _registry(_entry()), request)
-    if change == "missing_result":
-        return None, evidence
-    if change == "missing_evidence":
-        return result, None
-    if change == "wrong_digest":
-        return result.model_copy(update={"evidence_sha256": "0" * 64}), evidence
-    if change == "wrong_gate":
-        return result.model_copy(update={"gate_id": "other_probe"}), evidence
-    if change == "failed_result":
-        return result.model_copy(update={"status": "fail"}), evidence
-    if change == "failed_probe":
-        evidence["probes"][0]["status"] = "fail"
-    elif change == "missing_probe":
-        evidence["probes"] = []
-    elif change == "wrong_spec":
-        evidence["probes"][0]["spec_sha256"] = "0" * 64
-    elif change == "wrong_attempt":
-        evidence["attempt_id"] = "another-attempt"
-    elif change == "wrong_model":
-        evidence["candidate_model_version"] = "0.0.0"
-    elif change == "zero_control_moves":
-        evidence["probes"][0]["zero_change_gbp"] = 1
-    elif change == "positive_control_inert":
-        evidence["probes"][0]["positive_change_gbp"] = 0
-    else:
-        raise AssertionError(change)
-    return result.model_copy(
-        update={"evidence_sha256": content_sha256(evidence)}
-    ), evidence
-
-
-PROBE_FAILURES = [
-    "missing_result",
-    "missing_evidence",
-    "wrong_digest",
-    "wrong_gate",
-    "failed_result",
-    "failed_probe",
-    "missing_probe",
-    "wrong_spec",
-    "wrong_attempt",
-    "wrong_model",
-    "zero_control_moves",
-    "positive_control_inert",
-]
-
-
-@settings(max_examples=45, deadline=None)
-@given(change=st.sampled_from(PROBE_FAILURES), year=st.integers(2025, 2029))
-def test_failing_missing_or_unbound_probe_never_authorizes_an_exception(change, year):
-    registry = _registry(_entry(years=[year]))
-    gate = _judge(
-        _failed_receipt(year), registry=registry, probe=_invalid_probe(change, registry)
-    )
-    assert gate.status == "fail"
-    assert gate.details["applied_exceptions"] == []
-
-
-def test_real_21347_receipt_fails_without_a_positive_input_probe():
-    request, document = _real_receipt()
-    registry, _ = qualification._replay_exceptions()
-    gate = _judge(
-        document,
-        registry=registry,
-        request=request,
-        budget=_real_budget(),
-        probe=(None, None),
-    )
-    assert gate.status == "fail"
-    assert gate.details["applied_exceptions"] == []
-
-
-def test_nonzero_effect_invariant_kills_skip_coherence_mutant():
-    mutant = _source_mutant(
-        "        and row.head_gbp not in (None, 0)\n    ]",
-        "        and False\n    ]",
-    )
-    document = _failed_receipt(
-        rows=[
-            {
-                "flags": ["structural", "inertness"],
-                "base_gbp": 2.5e9,
-                "head_gbp": 1_000_000_000,
-            }
-        ]
-    )
-    gate = _judge(document, evaluator=mutant)
-    with pytest.raises(AssertionError):
-        assert gate.status == "fail"
-
-
-def test_previously_usable_invariant_kills_skip_lineage_mutant():
-    mutant = _source_mutant("if lineage_problem is not None:", "if False:")
-    budget = _budget_inputs(
-        previous_status={
-            INPUT: {"in_model": True, "in_data": True, "usable": True},
-        }
-    )
-    gate = _judge(_failed_receipt(), budget=budget, evaluator=mutant)
-    with pytest.raises(AssertionError):
-        assert gate.status == "fail"
-
-
-def test_failing_probe_invariant_kills_skip_probe_mutant():
-    mutant = _source_mutant(
-        """if not _replay_probe_passes(
-                entry, request, probe_result, probe_evidence, attempt_id
-            ):""",
-        "if False:",
-    )
-    gate = _judge(
-        _failed_receipt(), evaluator=mutant, probe=_invalid_probe("failed_probe")
-    )
-    with pytest.raises(AssertionError):
-        assert gate.status == "fail"
-
-
-def test_same_attempt_invariant_kills_accept_another_attempt_mutant(monkeypatch):
-    mutant = _source_mutant(
-        '        or evidence.get("attempt_id") != attempt_id\n',
-        "",
-        function=qualification._replay_probe_passes,
-    )
-    monkeypatch.setattr(qualification, "_replay_probe_passes", mutant)
-    gate = _judge(_failed_receipt(), probe=_invalid_probe("wrong_attempt"))
-    with pytest.raises(AssertionError):
-        assert gate.status == "fail"
diff --git a/tests/test_uk_budget_reform_contract.py b/tests/test_uk_budget_reform_contract.py
index 2d031d1d3..4fd19db3a 100644
--- a/tests/test_uk_budget_reform_contract.py
+++ b/tests/test_uk_budget_reform_contract.py
@@ -1,10 +1,9 @@
 """The UK Budget reform contract runner.
 
 The runner's oracles, representations and status logic are tested here
-without depending on which policyengine-uk is installed. Whether an
-installed model satisfies the contract is what qualification checks; the
-integration test at the end runs one case when the installed
-policyengine-uk has the statutory-timeline reform routes.
+without depending on which policyengine-uk is installed. The integration
+test at the end runs one case when the installed policyengine-uk has the
+statutory-timeline reform routes.
 """
 
 import datetime
@@ -2113,10 +2112,9 @@ def array(tag, variable, year):
 
 
 def test_the_household_route_runs_where_country_imports_are_skipped(monkeypatch):
-    """scripts/check_uk_candidate.py sets POLICYENGINE_SKIP_COUNTRY_IMPORTS, so
-    ``policyengine.uk`` is None in the qualification gate; every household-route
-    row there errored with "'NoneType' object has no attribute
-    'calculate_household'"."""
+    """With POLICYENGINE_SKIP_COUNTRY_IMPORTS set, ``policyengine.uk`` is None;
+    every household-route row in such a process once errored with
+    "'NoneType' object has no attribute 'calculate_household'"."""
     import policyengine
 
     monkeypatch.setattr(policyengine, "uk", None)
diff --git a/tests/test_uk_candidate_gates.py b/tests/test_uk_candidate_gates.py
deleted file mode 100644
index f550f32fe..000000000
--- a/tests/test_uk_candidate_gates.py
+++ /dev/null
@@ -1,4047 +0,0 @@
-"""Mandatory local qualification gates (no network, no credentials).
-
-Invariants:
-
-- installed files match the wheel byte for byte, or the gate fails: mutating
-  any single installed file fails it;
-- no gate can skip: a missing harness is ``unavailable`` and a crash is
-  ``error``; ``run_gates`` returns exactly one result per gate;
-- inputs newly missing from the data are exactly (missing now) โˆ’ (missing
-  before); a critical input that becomes unusable always fails;
-- metric review is monotone: shrinking every move toward zero never makes
-  the status worse.
-"""
-
-from __future__ import annotations
-
-import base64
-import copy
-import hashlib
-import io
-import json
-import sys
-import zipfile
-from pathlib import Path
-from types import SimpleNamespace
-
-import pandas as pd
-import pytest
-from hypothesis import given, settings
-from hypothesis import strategies as st
-
-from policyengine.provenance import uk_candidate as gates_module
-from policyengine.provenance.manifest import DataReleaseManifest
-from policyengine.provenance.uk_candidate import (
-    budget_inputs,
-    compare_metric_reports,
-    core_compatibility,
-    data_access,
-    dataset_bytes,
-    installed_versions,
-    metrics_review,
-    reform_contract,
-    run_gates,
-    supported_years,
-    wheel_hashes,
-)
-from policyengine.provenance.wheels import (
-    parse_record,
-    record_digest_to_hex,
-    verify_installed_against_wheel,
-)
-from tests.qualification_fixtures import HARNESS, make_pair, make_receipt
-
-# --- Installed versions --------------------------------------------------------
-
-
-class FakeMetadata:
-    PackageNotFoundError = KeyError
-
-    def __init__(self, versions, requires):
-        self.versions, self._requires = versions, requires
-
-    def version(self, name):
-        return self.versions[name]
-
-    def requires(self, name):
-        return self._requires.get(name, [])
-
-
-def test_installed_versions_pass_and_fail():
-    pair = make_pair()
-    versions = {
-        "policyengine": "6.2.6",
-        "policyengine-uk": "2.126.8",
-        "policyengine-core": "3.33.0",
-        "numpy": "2.1.0",
-    }
-    requires = {
-        "policyengine-uk": ["policyengine-core>=3.32.27", "numpy>=1.26"],
-        "policyengine": ["pydantic; extra == 'docs'"],
-    }
-    result, _ = installed_versions(
-        pair, HARNESS, metadata=FakeMetadata(versions, requires)
-    )
-    assert result.status == "pass", result.summary
-    result, evidence = installed_versions(
-        pair,
-        HARNESS,
-        metadata=FakeMetadata({**versions, "policyengine-uk": "2.126.6"}, requires),
-    )
-    assert result.status == "fail" and "2.126.6" in result.summary
-    result, _ = installed_versions(
-        pair,
-        HARNESS,
-        metadata=FakeMetadata({**versions, "policyengine-core": "3.30.0"}, requires),
-    )
-    assert result.status == "fail"
-    result, _ = installed_versions(
-        pair,
-        HARNESS,
-        metadata=FakeMetadata(
-            versions, {**requires, "policyengine-core": ["missing-pkg>=1"]}
-        ),
-    )
-    assert result.status == "fail" and "missing-pkg" in result.summary
-
-
-# --- Wheel RECORD verification ----------------------------------------------------
-
-
-def _b64(data: bytes) -> str:
-    return base64.urlsafe_b64encode(hashlib.sha256(data).digest()).decode().rstrip("=")
-
-
-FILES = {
-    "policyengine_uk/__init__.py": b"VERSION = '2.126.8'\n",
-    "policyengine_uk/system.py": b"system = object()\n",
-    "policyengine_uk/parameters/rate.yaml": b"values:\n  2027-04-06: 0.2\n",
-}
-
-
-def _build(tmp_path: Path, files=FILES):
-    dist_info = "policyengine_uk-2.126.8.dist-info"
-    record_lines = [
-        f"{path},sha256={_b64(data)},{len(data)}" for path, data in files.items()
-    ]
-    record_lines.append(f"{dist_info}/RECORD,,")
-    wheel = tmp_path / "policyengine_uk-2.126.8-py3-none-any.whl"
-    with zipfile.ZipFile(wheel, "w") as archive:
-        for path, data in files.items():
-            archive.writestr(path, data)
-        archive.writestr(f"{dist_info}/RECORD", "\n".join(record_lines) + "\n")
-    site = tmp_path / "site"
-    for path, data in files.items():
-        (site / path).parent.mkdir(parents=True, exist_ok=True)
-        (site / path).write_bytes(data)
-    installed_record = record_lines + [
-        f"{dist_info}/INSTALLER,sha256={_b64(b'uv')},2",
-        f"{dist_info}/REQUESTED,,",
-    ]
-    return wheel, site, installed_record
-
-
-class FakeDistribution:
-    def __init__(self, site: Path, record_lines):
-        self.site = site
-        self.files = []
-        for line in record_lines:
-            path, digest, *_ = line.split(",")
-            hash_ = (
-                SimpleNamespace(mode="sha256", value=digest.split("=", 1)[1])
-                if digest
-                else None
-            )
-            self.files.append(SimpleNamespace(hash=hash_, __str__=None, path=path))
-
-    def locate_file(self, path):
-        return self.site / path
-
-
-class _File(str):
-    pass
-
-
-def _distribution(site, record_lines):
-    dist = SimpleNamespace(site=site, files=[], locate_file=lambda path: site / path)
-    for line in record_lines:
-        path, digest, *_ = line.split(",")
-        item = _File(path)
-        item.hash = (
-            SimpleNamespace(mode="sha256", value=digest.split("=", 1)[1])
-            if digest
-            else None
-        )
-        dist.files.append(item)
-    return dist
-
-
-def _metadata_for(site, record_lines):
-    return SimpleNamespace(distribution=lambda name: _distribution(site, record_lines))
-
-
-def test_record_hash_decoding():
-    data = b"hello"
-    assert (
-        record_digest_to_hex(f"sha256={_b64(data)}") == hashlib.sha256(data).hexdigest()
-    )
-    parsed = parse_record(f"a.py,sha256={_b64(data)},5\nRECORD,,\n")
-    assert parsed == {"a.py": hashlib.sha256(data).hexdigest(), "RECORD": None}
-    with pytest.raises(ValueError):
-        record_digest_to_hex("md5=abc")
-
-
-def test_untouched_install_verifies(tmp_path):
-    wheel, site, record = _build(tmp_path)
-    evidence = verify_installed_against_wheel(
-        "policyengine-uk", wheel, metadata=_metadata_for(site, record)
-    )
-    assert evidence["problems"] == []
-    assert evidence["files_verified"] == len(FILES)
-
-
-@settings(max_examples=30, deadline=None)
-@given(index=st.integers(0, len(FILES) - 1), extra=st.binary(min_size=1, max_size=8))
-def test_any_mutated_installed_file_fails(tmp_path_factory, index, extra):
-    tmp_path = tmp_path_factory.mktemp("wheel")
-    wheel, site, record = _build(tmp_path)
-    target = site / list(FILES)[index]
-    target.write_bytes(target.read_bytes() + extra)
-    evidence = verify_installed_against_wheel(
-        "policyengine-uk", wheel, metadata=_metadata_for(site, record)
-    )
-    assert evidence["problems"]
-
-
-def test_extra_installed_file_fails(tmp_path):
-    wheel, site, record = _build(tmp_path)
-    (site / "policyengine_uk" / "injected.py").write_bytes(b"x = 1\n")
-    record = record + [f"policyengine_uk/injected.py,sha256={_b64(b'x = 1')},6"]
-    evidence = verify_installed_against_wheel(
-        "policyengine-uk", wheel, metadata=_metadata_for(site, record)
-    )
-    assert any("injected.py" in problem for problem in evidence["problems"])
-
-
-def test_wheel_hash_gate(tmp_path):
-    wheel, site, record = _build(tmp_path)
-    digest = hashlib.sha256(wheel.read_bytes()).hexdigest()
-    pair = make_pair()
-    pair = pair.model_copy(
-        update={"model": pair.model.model_copy(update={"wheel_sha256": digest})}
-    )
-    (tmp_path / "core").mkdir()
-    core_wheel, core_site, core_record = _build(tmp_path / "core")
-    core_digest = hashlib.sha256(core_wheel.read_bytes()).hexdigest()
-    pair = pair.model_copy(
-        update={"core": pair.core.model_copy(update={"wheel_sha256": core_digest})}
-    )
-    metadata = SimpleNamespace(
-        distribution=lambda name: (
-            _distribution(site, record)
-            if name == "policyengine-uk"
-            else _distribution(core_site, core_record)
-        )
-    )
-    result, _ = wheel_hashes(
-        pair,
-        wheel_paths={"policyengine-uk": wheel, "policyengine-core": core_wheel},
-        pypi_digests={"policyengine-uk": digest, "policyengine-core": core_digest},
-        metadata=metadata,
-    )
-    assert result.status == "pass", result.summary
-    result, _ = wheel_hashes(
-        pair,
-        wheel_paths={"policyengine-uk": wheel, "policyengine-core": core_wheel},
-        pypi_digests={"policyengine-uk": "0" * 64, "policyengine-core": core_digest},
-        metadata=metadata,
-    )
-    assert result.status == "fail"
-
-
-# --- Core compatibility, data access, bytes, years -----------------------------------
-
-
-def _manifest(model_claims=(), core_claims=()):
-    return DataReleaseManifest.model_validate(
-        {
-            "schema_version": 1,
-            "data_package": {"name": "policyengine-uk-data", "version": "1.58.0"},
-            "compatible_model_packages": [
-                {"name": "policyengine-uk", "specifier": s} for s in model_claims
-            ],
-            "compatible_core_packages": [
-                {"name": "policyengine-core", "specifier": s} for s in core_claims
-            ],
-            "default_datasets": {"national": "enhanced_frs_2024_25"},
-            "build": {
-                "build_id": "b",
-                "built_with_model_package": {
-                    "name": "policyengine-uk",
-                    "version": "2.122.2",
-                },
-            },
-            "artifacts": {
-                "enhanced_frs_2024_25": {
-                    "kind": "microdata",
-                    "path": "enhanced_frs_2024_25.h5",
-                    "repo_id": "policyengine/policyengine-uk-data-private",
-                    "revision": "1.58.0",
-                    "sha256": "d" * 64,
-                },
-                "frs_2024_25": {
-                    "kind": "microdata",
-                    "path": "frs_2024_25.h5",
-                    "repo_id": "policyengine/policyengine-uk-data-private",
-                    "revision": "1.58.0",
-                },
-            },
-        }
-    )
-
-
-def test_core_compatibility():
-    pair = make_pair()
-    result, evidence = core_compatibility(
-        pair, _manifest(), model_requires_core=">=3.32.27"
-    )
-    assert result.status == "pass" and evidence["publisher_claim_covers_model"] is False
-    result, _ = core_compatibility(
-        pair, _manifest(["==2.126.8"], ["==3.33.0"]), model_requires_core=">=3.32.27"
-    )
-    assert result.details == {
-        "publisher_claim_covers_model": True,
-        "publisher_claim_covers_core": True,
-    }
-    result, _ = core_compatibility(pair, _manifest(), model_requires_core=">=3.34")
-    assert result.status == "fail"
-
-
-class _Response:
-    def __init__(self, status, content=b""):
-        self.status_code, self.content = status, content
-
-
-def test_data_access():
-    pair = make_pair()
-    manifest_bytes = _manifest().model_dump_json().encode()
-    pair = pair.model_copy(
-        update={
-            "data": pair.data.model_copy(
-                update={
-                    "release_manifest_sha256": hashlib.sha256(
-                        manifest_bytes
-                    ).hexdigest()
-                }
-            )
-        }
-    )
-
-    def get(url, headers=None, timeout=None):
-        return _Response(200 if headers else 401, manifest_bytes)
-
-    def head(url, headers=None, timeout=None, allow_redirects=True):
-        return _Response(200 if headers else 401)
-
-    result, evidence, manifest = data_access(pair, get=get, head=head, token="t")
-    assert result.status == "pass" and manifest is not None
-    assert evidence["anonymous_dataset_status"] == 401
-    result, _, _ = data_access(pair, get=get, head=head, token=None)
-    assert result.status == "fail"
-    result, _, _ = data_access(
-        pair, get=get, head=lambda *a, **k: _Response(200), token="t"
-    )
-    assert result.status == "fail" and "without credentials" in result.summary
-    result, _, _ = data_access(
-        pair,
-        get=get,
-        head=lambda url, headers=None, **k: _Response(
-            404
-            if headers and "frs_2024_25.h5" in url and "enhanced" not in url
-            else (200 if headers else 401)
-        ),
-        token="t",
-    )
-    assert result.status == "fail" and "frs_2024_25 returned HTTP 404" in result.summary
-
-
-def _tiny_dataset(path: Path, year=2024, extra_person=None):
-    person = pd.DataFrame(
-        {
-            "person_id": [1, 2],
-            "age": [30.0, 5.0],
-            "employment_income": [30000.0, 0.0],
-            **(extra_person or {}),
-        }
-    )
-    benunit = pd.DataFrame({"benunit_id": [1], "would_claim_uc": [True]})
-    household = pd.DataFrame(
-        {"household_id": [1], "household_weight": [100.0], "rent": [0.0]}
-    )
-    with pd.HDFStore(path, mode="w") as store:
-        store.put("person", person)
-        store.put("benunit", benunit)
-        store.put("household", household)
-        store.put("time_period", pd.Series([str(year)]))
-    return path
-
-
-def test_dataset_bytes(tmp_path):
-    path = _tiny_dataset(tmp_path / "data.h5")
-    digest = hashlib.sha256(path.read_bytes()).hexdigest()
-    pair = make_pair(dataset_sha=digest)
-    pair = pair.model_copy(
-        update={
-            "data": pair.data.model_copy(update={"size_bytes": path.stat().st_size})
-        }
-    )
-    assert dataset_bytes(pair, path)[0].status == "pass"
-    assert dataset_bytes(make_pair(), path)[0].status == "fail"
-
-
-@pytest.mark.parametrize(
-    ("projected", "previous", "status"),
-    [
-        (list(range(2024, 2032)), list(range(2024, 2031)), "pass"),
-        (list(range(2024, 2031)), list(range(2024, 2031)), "needs_review"),
-        (list(range(2024, 2030)), list(range(2024, 2031)), "fail"),
-        (list(range(2026, 2031)), None, "fail"),
-        ([2020, 2021], None, "fail"),
-    ],
-)
-def test_supported_years(tmp_path, projected, previous, status):
-    path = _tiny_dataset(tmp_path / "data.h5", year=max(projected[0], 2024))
-    result, evidence = supported_years(
-        make_pair(),
-        path,
-        required_years=list(range(2025, 2031)),
-        budget_horizon_years=list(range(2026, 2032)),
-        previous_supported_years=previous,
-        projected_years=lambda _: projected,
-    )
-    assert result.status == status, result.summary
-
-
-# --- Budget inputs -------------------------------------------------------------------
-
-INPUT_NAMES = [
-    "age",
-    "employment_income",
-    "rent",
-    "would_claim_uc",
-    "household_weight",
-    "new_input_a",
-    "new_input_b",
-]
-
-
-def _tables(columns):
-    tables = {
-        "person": pd.DataFrame({"age": [30.0, 5.0], "employment_income": [3.0e4, 0.0]})
-    }
-    tables["household"] = pd.DataFrame(
-        {"household_weight": [1.0, 2.0], "rent": [0.0, 9.0]}
-    )
-    tables["benunit"] = pd.DataFrame({"would_claim_uc": [True, False]})
-    for entity in tables:
-        tables[entity] = tables[entity][
-            [c for c in tables[entity].columns if c in columns]
-        ]
-    return tables
-
-
-@settings(max_examples=60, deadline=None)
-@given(
-    present=st.sets(st.sampled_from(INPUT_NAMES[:5]), min_size=1),
-    previous=st.sets(st.sampled_from(INPUT_NAMES)),
-)
-def test_newly_missing_is_missing_now_minus_missing_before(present, previous):
-    result, evidence = budget_inputs(
-        make_pair(),
-        Path("unused.h5"),
-        model_input_variables=INPUT_NAMES,
-        critical_inputs=[],
-        accepted_gaps={},
-        previous_missing_inputs=sorted(previous),
-        previous_unusable_critical=[],
-        tables=_tables(present),
-    )
-    missing = sorted(set(INPUT_NAMES) - present)
-    assert evidence["missing_inputs"] == missing
-    assert evidence["newly_missing_inputs"] == sorted(set(missing) - previous)
-
-
-def test_critical_input_regression_fails_and_standing_gaps_need_review():
-    common = dict(
-        model_input_variables=INPUT_NAMES,
-        accepted_gaps={},
-        previous_missing_inputs=None,
-    )
-    result, _ = budget_inputs(
-        make_pair(),
-        Path("x"),
-        critical_inputs=["rent", "age"],
-        previous_unusable_critical=[],
-        tables=_tables(
-            {"age", "employment_income", "household_weight", "would_claim_uc"}
-        ),
-        **common,
-    )
-    assert result.status == "fail" and "rent (missing)" in result.summary
-    degenerate = _tables(set(INPUT_NAMES))
-    degenerate["household"]["rent"] = 0.0
-    result, _ = budget_inputs(
-        make_pair(),
-        Path("x"),
-        critical_inputs=["rent"],
-        previous_unusable_critical=[],
-        tables=degenerate,
-        **common,
-    )
-    assert result.status == "fail" and "degenerate" in result.summary
-    result, _ = budget_inputs(
-        make_pair(),
-        Path("x"),
-        critical_inputs=["rent"],
-        previous_unusable_critical=["rent"],
-        tables=degenerate,
-        **common,
-    )
-    assert result.status == "needs_review"
-    result, _ = budget_inputs(
-        make_pair(),
-        Path("x"),
-        critical_inputs=["rent"],
-        previous_unusable_critical=["rent"],
-        tables=degenerate,
-        **{**common, "accepted_gaps": {"rent": "uk-data#999"}},
-    )
-    assert result.status == "pass"
-
-
-def test_critical_inputs_file_lists_real_model_inputs():
-    import json
-
-    from policyengine_uk.system import system
-
-    path = (
-        Path(gates_module.__file__).resolve().parents[1]
-        / "data"
-        / "qualification"
-        / "uk_budget_critical_inputs.json"
-    )
-    critical = json.loads(path.read_text())["critical"]
-    not_inputs = [
-        name
-        for name in critical
-        if name not in system.variables
-        or not system.variables[name].is_input_variable()
-    ]
-    assert not_inputs == []
-
-
-# --- Reform contract -----------------------------------------------------------------
-
-
-def _declared_coverage(source):
-    """ROUTES, CASES and PROPERTIES as a runner module declares them, read
-    from a report of a full run (each case limited to the routes it ran on)."""
-
-    source = source or {}
-    from policyengine.tax_benefit_models.uk import budget_reform_contract as runner
-
-    declared_checks = {}
-    for case in runner.CASES:
-        for check in case.checks:
-            declared_checks.setdefault(
-                (case.id, check.target, check.name, check.year), []
-            ).append(check)
-    by_case = {}
-    for row in source.get("cases") or []:
-        by_case.setdefault(row.get("case_id"), []).append(row)
-    return {
-        "ROUTES": tuple(source.get("routes") or ()),
-        "CASES": tuple(
-            SimpleNamespace(
-                id=case,
-                routes=tuple(dict.fromkeys(row.get("route") for row in rows)),
-                checks=tuple(
-                    SimpleNamespace(
-                        target=label.split(":")[0],
-                        name=label.split(":")[1],
-                        year=int(label.split(":")[2]),
-                        expected=getattr(declaration, "expected", None),
-                        oracle=getattr(declaration, "oracle", None),
-                        pending=getattr(declaration, "pending", None)
-                        if declaration
-                        else next(
-                            (
-                                row.get("decision_id")
-                                for row in rows
-                                if row.get("check") == label
-                            ),
-                            None,
-                        ),
-                    )
-                    for label in dict.fromkeys(row.get("check") for row in rows)
-                    if label
-                    and len(label.split(":")) == 3
-                    and label.split(":")[0]
-                    not in ("baseline_isolation", "unreformed_after_reform")
-                    for declaration in declared_checks.get(
-                        (case, *label.split(":")[:2], int(label.split(":")[2])),
-                        [None],
-                    )
-                ),
-                expect_error="rejected"
-                if any(row.get("check") == "rejected" for row in rows)
-                else None,
-            )
-            for case, rows in by_case.items()
-            if case != "module_parameters_unchanged"
-        ),
-        "PROPERTIES": {
-            row.get("property_id"): "" for row in source.get("properties") or []
-        },
-        "UNSUPPORTED_ROUTES": {
-            row["route"]: row.get("reason", "")
-            for row in source.get("cases") or []
-            if row.get("status") == "unsupported"
-            and row.get("check") is None
-            and all(
-                other.get("status") == "unsupported" and other.get("check") is None
-                for other in source.get("cases") or []
-                if other.get("route") == row["route"]
-            )
-        },
-        "PENDING_DECISIONS": {
-            row["decision_id"]
-            for row in source.get("cases") or []
-            if row.get("decision_id")
-        },
-        "POPULATION_CHECK_ROUTES": tuple(
-            (row["check_id"], row["route"]) for row in source.get("population") or []
-        ),
-    }
-
-
-def _importer(report=None, raises=None, missing=False, coverage=None, declare=True):
-    """A runner module returning ``report``.
-
-    It declares the coverage of ``coverage`` (a report of a full run), by
-    default ``report`` itself, so a test of row statuses is not also a test
-    of coverage.
-    """
-
-    def runner(**kwargs):
-        if raises:
-            raise raises
-        return report
-
-    def importer(name):
-        if missing:
-            raise ModuleNotFoundError(name)
-        declared = (
-            _declared_coverage(coverage if coverage is not None else report)
-            if declare
-            else {}
-        )
-        return SimpleNamespace(run_budget_reform_contract=runner, **declared)
-
-    return importer
-
-
-ENTRY = "policyengine.tax_benefit_models.uk.budget_reform_contract:run_budget_reform_contract"
-
-
-def _run_level_row():
-    return {
-        "case_id": "module_parameters_unchanged",
-        "route": "all",
-        "check": "every parameter's dated values and metadata in system",
-        "status": "pass",
-    }
-
-
-@pytest.mark.parametrize(
-    ("kwargs", "status"),
-    [
-        ({"missing": True}, "unavailable"),
-        ({"raises": RuntimeError("boom")}, "error"),
-        (
-            {
-                "report": {
-                    "contract_version": "1.0.0",
-                    "cases": [
-                        {
-                            "case_id": "april",
-                            "route": "wrapper.policy",
-                            "status": "pass",
-                        },
-                        _run_level_row(),
-                    ],
-                }
-            },
-            "pass",
-        ),
-        (
-            {
-                "report": {
-                    "cases": [
-                        {
-                            "case_id": "april",
-                            "route": "country.reform_dict",
-                            "status": "fail",
-                        }
-                    ]
-                }
-            },
-            "fail",
-        ),
-        (
-            {
-                "report": {
-                    "cases": [
-                        {
-                            "case_id": "api",
-                            "route": "api.sim_api",
-                            "status": "unsupported",
-                        }
-                    ]
-                }
-            },
-            "error",
-        ),
-        (
-            {
-                "report": {
-                    "cases": [
-                        {
-                            "case_id": "api",
-                            "route": "api.sim_api",
-                            "status": "unsupported",
-                            "reason": "runs in sim-api",
-                        },
-                        {
-                            "case_id": "freeze",
-                            "route": "wrapper.policy",
-                            "check": "variable:income_tax:2027",
-                            "status": "pending",
-                            "decision_id": "d1344",
-                        },
-                        {
-                            "case_id": "freeze",
-                            "route": "wrapper.policy",
-                            "check": "unreformed_after_reform:income_tax:2027",
-                            "status": "pass",
-                        },
-                        _run_level_row(),
-                    ]
-                }
-            },
-            "pass",
-        ),
-        ({"report": {"cases": []}}, "error"),
-        (
-            {
-                "report": {
-                    "cases": [{"case_id": "x", "route": "r", "status": "pass"}],
-                    "properties": [
-                        {"property_id": "baseline_isolation", "status": "fail"}
-                    ],
-                }
-            },
-            "fail",
-        ),
-    ],
-)
-def test_reform_contract_statuses(kwargs, status):
-    result, _ = reform_contract(
-        entrypoint=ENTRY,
-        dataset_path=None,
-        seed=0,
-        max_examples=5,
-        importer=_importer(**kwargs),
-    )
-    assert result.status == status, result.summary
-
-
-def test_no_contract_configured_is_unavailable():
-    assert (
-        reform_contract(entrypoint=None, dataset_path=None, seed=0, max_examples=1)[
-            0
-        ].status
-        == "unavailable"
-    )
-
-
-CONTRACT_FIXTURES = Path(__file__).parent / "fixtures" / "uk_contract"
-CERTIFIED_SHA = "056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784"
-STATUS_RANK = {"pass": 0, "error": 1, "fail": 2}
-
-
-def _fixture(name: str) -> dict:
-    return json.loads((CONTRACT_FIXTURES / name).read_text())
-
-
-def _recount(report: dict) -> dict:
-    """Make a hand-edited report's summary and holds match its rows again."""
-
-    summary = dict.fromkeys(("pass", "fail", "error", "unsupported", "pending"), 0)
-    for section in ("cases", "properties", "population"):
-        for row in report.get(section) or []:
-            summary[row["status"]] += 1
-    report["summary"] = summary
-    report["holds"] = summary["fail"] == 0 and summary["error"] == 0
-    return report
-
-
-def _passing_report() -> dict:
-    """A real full run of the runner: every route, 20 examples, the certified
-    pair and dataset."""
-
-    return _fixture("full_released_uk_2.135.0.json")
-
-
-def _run_contract(
-    report, *, versions=None, dataset_sha=CERTIFIED_SHA, coverage=None, **kwargs
-):
-    """Gate ``report`` against the coverage of W1's real full run (or ``coverage``)."""
-
-    kwargs.setdefault("seed", 0)
-    kwargs.setdefault("max_examples", 20)
-    kwargs.setdefault("dataset_path", Path("enhanced_frs_2024_25.h5"))
-    return reform_contract(
-        entrypoint=ENTRY,
-        importer=_importer(
-            report=report,
-            coverage=coverage if coverage is not None else _passing_report(),
-        ),
-        expected_versions=versions or _passing_report()["versions"],
-        expected_dataset_sha256=dataset_sha,
-        **kwargs,
-    )[0]
-
-
-def _run_released_contract(report, *, pending_decisions=()):
-    """Gate a fixture through the real runner's declarations and route logic."""
-
-    return _released_contract_outcome(report, pending_decisions=pending_decisions)[0]
-
-
-def _released_contract_outcome(report, *, pending_decisions=()):
-    """``(result, evidence)`` of ``_run_released_contract``."""
-    import importlib
-    import types
-
-    from policyengine.tax_benefit_models.uk import budget_reform_contract as runner
-
-    if runner.CONTRACT_VERSION != report["contract_version"]:
-        # Round 9 of #574: skipping hid a gate that rejected every real run.
-        pytest.fail(
-            f"the runner declares contract {runner.CONTRACT_VERSION}, the fixture "
-            f"{report['contract_version']}: refresh tests/fixtures/uk_contract "
-            "with a real full run of the runner"
-        )
-    proxy = types.ModuleType(runner.__name__)
-    proxy.__dict__.update(vars(runner))
-    proxy.run_budget_reform_contract = lambda **kwargs: report
-
-    def importer(name):
-        return proxy if name == runner.__name__ else importlib.import_module(name)
-
-    return reform_contract(
-        entrypoint=ENTRY,
-        importer=importer,
-        expected_versions=report["versions"],
-        expected_dataset_sha256=CERTIFIED_SHA,
-        seed=0,
-        max_examples=20,
-        dataset_path=Path("enhanced_frs_2024_25.h5"),
-        pending_decisions=pending_decisions,
-    )
-
-
-def test_the_released_models_full_run_passes_the_runners_own_declarations():
-    """W1's full run remains valid against the real runner's declarations."""
-
-    result = _run_released_contract(_fixture("full_released_uk_2.135.0.json"))
-    assert result.status == "pass", result.summary
-    assert result.details["counts"] == RELEASED_COUNTS
-
-
-RELEASED_COUNTS = {
-    "pass": 905,
-    "fail": 0,
-    "error": 0,
-    "unsupported": 120,
-    "pending": 34,
-}
-
-
-def test_the_released_run_without_assertion_ids_resolves_by_oracle_and_order():
-    """Round 10 of #574: every row of the released run has an assertion_id, so
-    the gate's resolution of rows without one (by oracle, then order) no
-    longer ran on real data, and three mutants of it survived."""
-
-    report = _fixture("full_released_uk_2.135.0.json")
-    for row in report["cases"]:
-        row.pop("assertion_id", None)
-    result = _run_released_contract(report)
-    assert result.status == "pass", result.summary
-    assert result.details["counts"] == RELEASED_COUNTS
-
-
-def _population_leaves(value):
-    if isinstance(value, dict):
-        for item in value.values():
-            yield from _population_leaves(item)
-    elif isinstance(value, list):
-        for item in value:
-            yield from _population_leaves(item)
-    else:
-        yield value
-
-
-@pytest.mark.parametrize("outcome", ["pass", "fail", "error"])
-@pytest.mark.parametrize(
-    "variant", ["small counts", "routes differ", "numpy", "text and decimal"]
-)
-def test_the_ledger_publishes_no_value_from_the_survey_data(outcome, variant):
-    """Rounds 10, supp-r3 and supp-r4 of #574: population rows are computed on
-    the survey data, and their numbers combine (rows of one check on
-    different routes share a subsample, so their difference is a handful's),
-    so the published evidence keeps only each detail's shape and true/false
-    findings, on a pass, a fail and an error alike. Its digest is the digest
-    recorded, never one of the full report. Values synthetic."""
-
-    from decimal import Decimal
-
-    import numpy as np
-
-    from policyengine.provenance.uk_candidate import WITHHELD_VALUE
-
-    report = _fixture("full_released_uk_2.135.0.json")
-    april = [
-        r
-        for r in report["population"]
-        if r["check_id"] == "population_april_rate_change"
-    ]
-    for index, row in enumerate(april):
-        row["detail"] = {
-            "2026_unchanged": True,
-            "2027_total_change": 205573.0
-            + (index * 4321.0 if variant == "routes differ" else 0),
-            "2027_people_with_lower_tax": {
-                "small counts": 3,
-                "routes differ": 20,
-                "numpy": np.int64(4),
-                "text and decimal": "4",
-            }[variant],
-            "2027_people_with_higher_tax": (
-                Decimal(1093) if variant == "text and decimal" else 1093 + index * 4
-            ),
-            "nested": [{"count": 5, "ok": False}],
-            "names": ["income_tax:2027", "income_tax:2028"],
-            "total_nan": float("nan"),
-        }
-    if outcome == "fail":
-        case = next(r for r in report["cases"] if r["status"] == "pass")
-        case["status"] = "fail"
-        report = _recount(report)
-    if outcome == "error":
-        report["seed"] = 1
-    result, evidence = _released_contract_outcome(report)
-    assert result.status == outcome, result.summary
-    for row in evidence["population"]:
-        for leaf in _population_leaves(row.get("detail")):
-            assert leaf is None or isinstance(leaf, bool) or leaf == WITHHELD_VALUE, (
-                row["check_id"],
-                leaf,
-            )
-    published = [
-        r["detail"]
-        for r in evidence["population"]
-        if r["check_id"] == "population_april_rate_change"
-    ]
-    assert published[0] == {
-        "2026_unchanged": True,
-        "2027_total_change": WITHHELD_VALUE,
-        "2027_people_with_lower_tax": WITHHELD_VALUE,
-        "2027_people_with_higher_tax": WITHHELD_VALUE,
-        # A nested list or mapping is withheld whole: its length or keys
-        # could be a count (supp-r5), and a NaN reads "withheld" too (P12).
-        "nested": WITHHELD_VALUE,
-        "names": WITHHELD_VALUE,
-        "total_nan": WITHHELD_VALUE,
-    }
-    # Every field but the detail is published as reported (supp-r5 C04).
-    assert [
-        {k: v for k, v in r.items() if k != "detail"} for r in evidence["population"]
-    ] == [{k: v for k, v in r.items() if k != "detail"} for r in report["population"]]
-    assert {k: v for k, v in evidence.items() if k != "population"} == {
-        k: v for k, v in report.items() if k != "population"
-    }
-    assert result.details["report_sha256"] == gates_module.evidence_sha256(evidence)
-    assert result.evidence_sha256 == gates_module.evidence_sha256(evidence)
-
-
-@settings(max_examples=200, deadline=None)
-@given(
-    detail=st.recursive(
-        st.one_of(
-            st.integers(-20, 2000),
-            st.booleans(),
-            st.floats(allow_nan=False, allow_infinity=False),
-            st.none(),
-            st.text(max_size=5),
-        ),
-        lambda children: (
-            st.lists(children, max_size=3)
-            | st.dictionaries(st.text(max_size=5), children, max_size=3)
-        ),
-        max_leaves=10,
-    )
-)
-def test_only_true_false_findings_survive_publication(detail):
-    from policyengine.provenance.uk_candidate import (
-        WITHHELD_VALUE,
-        publishable_contract_report,
-    )
-
-    report = {"cases": [{"detail": detail}], "population": [{"detail": detail}]}
-    published = publishable_contract_report(report)
-    # Synthetic case rows are left alone.
-    assert published["cases"] == report["cases"]
-
-    def finding(value):
-        return value if value is None or isinstance(value, bool) else WITHHELD_VALUE
-
-    expected = (
-        {key: finding(value) for key, value in detail.items()}
-        if isinstance(detail, dict)
-        else finding(detail)
-    )
-    assert published["population"][0]["detail"] == expected
-
-
-def test_population_rows_publish_only_the_runners_fixed_fields():
-    """supp-r5 C04 and C07: the runner's fixed fields, an error row's status
-    among them, are published as reported; any other field is withheld,
-    true/false ones included (the confirmation review: an unknown field's
-    name is not the runner's, so its finding is not published), and an
-    error row's text in its detail too. Values synthetic."""
-
-    from policyengine.provenance.uk_candidate import (
-        WITHHELD_VALUE,
-        publishable_contract_report,
-    )
-
-    fixed = {
-        "check_id": "population_april_rate_change",
-        "route": "country.reform_dict",
-        "status": "error",
-        "reason": None,
-        "seed": 0,
-        "subsample_households": 1000,
-        "reform_identity": None,
-        "reform_identity_unavailable": "population check rows are not bound to a reform identity",
-    }
-    row = {
-        **fixed,
-        "detail": "RuntimeError: total 1234.5 over 4 households\n",
-        "total_change": 1234.5,
-        "households": ["h1", "h2"],
-        "flag": True,
-    }
-    (published,) = publishable_contract_report({"population": [row]})["population"]
-    assert published == {
-        **fixed,
-        "detail": WITHHELD_VALUE,
-        "total_change": WITHHELD_VALUE,
-        "households": WITHHELD_VALUE,
-        "flag": WITHHELD_VALUE,
-    }
-
-
-@pytest.mark.parametrize("section", ["cases", "population"])
-def test_supported_failures_cannot_be_relabelled_unsupported(section):
-    report = _fixture("full_released_uk_2.135.0.json")
-    row = next(
-        row
-        for row in report[section]
-        if row["status"] == "pass" and row["route"] == "country.reform_dict"
-    )
-    row["status"] = "fail"
-    assert _run_released_contract(_recount(report)).status == "fail"
-    row.update(status="unsupported", reason="this candidate does not support it")
-    result = _run_released_contract(_recount(report))
-    assert result.status == "error", result.summary
-    assert any(
-        "undeclared unsupported" in problem for problem in result.details["problems"]
-    )
-
-
-def test_population_cannot_exempt_every_required_check():
-    report = _fixture("full_released_uk_2.135.0.json")
-    assert len(report["population"]) == 19
-    for row in report["population"]:
-        row.update(status="unsupported", reason="no population support")
-    result = _run_released_contract(_recount(report))
-    assert result.status == "error", result.summary
-    assert (
-        len([p for p in result.details["problems"] if "undeclared unsupported" in p])
-        == 19
-    )
-
-
-@pytest.mark.parametrize("row_index", range(19))
-def test_each_population_route_row_is_required(row_index):
-    report = _fixture("full_released_uk_2.135.0.json")
-    omitted = report["population"].pop(row_index)
-    result = _run_released_contract(_recount(report))
-    assert result.status == "error", result.summary
-    assert any(
-        f"{omitted['check_id']}@{omitted['route']}" in problem
-        for problem in result.details["problems"]
-    )
-
-
-def test_deleting_a_failed_uc_population_route_cannot_qualify():
-    report = _fixture("full_released_uk_2.135.0.json")
-    omitted = next(
-        row
-        for row in report["population"]
-        if row["check_id"] == "population_uc_standard_allowance_plus_10"
-        and row["route"] == "country.scenario_parameter_changes"
-    )
-    omitted["status"] = "fail"
-    assert _run_released_contract(_recount(report)).status == "fail"
-    report["population"].remove(omitted)
-    assert _run_released_contract(_recount(report)).status == "error"
-
-
-@pytest.mark.parametrize("override", [(), ("d1344",)])
-@pytest.mark.parametrize(
-    "check_id",
-    [
-        "population_query_order",
-        "population_uc_standard_allowance_plus_10",
-        "population_state_pension_plus_10",
-    ],
-)
-def test_population_assertion_cannot_borrow_a_case_pending_decision(override, check_id):
-    report = _fixture("full_released_uk_2.135.0.json")
-    row = next(row for row in report["population"] if row["check_id"] == check_id)
-    row["status"] = "fail"
-    assert _run_released_contract(_recount(report)).status == "fail"
-    row.update(status="pending", decision_id="d1344")
-    result = _run_released_contract(_recount(report), pending_decisions=override)
-    assert result.status == "error", result.summary
-    assert any(
-        "population checks cannot be pending" in p for p in result.details["problems"]
-    )
-
-
-def test_one_population_row_per_check_id_cannot_qualify():
-    report = _fixture("full_released_uk_2.135.0.json")
-    report["population"] = list(
-        {row["check_id"]: row for row in report["population"]}.values()
-    )
-    assert len(report["population"]) == 7
-    assert _run_released_contract(_recount(report)).status == "error"
-
-
-def test_duplicate_population_route_cannot_replace_another_route():
-    report = _fixture("full_released_uk_2.135.0.json")
-    report["population"][1] = dict(report["population"][0])
-    assert _run_released_contract(_recount(report)).status == "error"
-
-
-def test_an_unknown_assertion_identity_cannot_qualify():
-    report = _fixture("full_released_uk_2.135.0.json")
-    row = next(
-        row
-        for row in report["cases"]
-        if row["status"] == "pass" and row.get("oracle") == "frozen"
-    )
-    row["assertion_id"] = "an assertion the runner does not declare"
-    result = _run_released_contract(report)
-    assert result.status == "error", result.summary
-    assert any(
-        "no unique declared assertion identity" in p for p in result.details["problems"]
-    )
-
-
-@pytest.mark.parametrize("override", [(), ("d1344",)])
-def test_mandatory_freeze_assertion_cannot_borrow_pending_authorization(override):
-    report = _fixture("full_released_uk_2.135.0.json")
-    row = next(
-        row
-        for row in report["cases"]
-        if row["case_id"] == "extended_freeze"
-        and row["route"] == "country.reform_dict"
-        and row.get("check")
-        == "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034"
-        # The gating 2034 check (contract 1.1.0 also had one awaiting d1344).
-        and row["status"] == "pass"
-        and row.get("decision_id") is None
-    )
-    row["status"] = "fail"
-    assert _run_released_contract(_recount(report)).status == "fail"
-    row.update(status="pending", decision_id="d1344")
-    result = _run_released_contract(_recount(report), pending_decisions=override)
-    assert result.status == "error", result.summary
-    assert any("mandatory assertion" in p for p in result.details["problems"])
-
-
-def _mandatory_and_pending_rows(report):
-    """Contract 2.0.0's gating 2034 allowance check after the extended freeze
-    (pending d1344 in 1.1.0) and a check still pending a decision."""
-
-    mandatory = next(
-        row
-        for row in report["cases"]
-        if row["case_id"] == "extended_freeze"
-        and row["route"] == "country.reform_dict"
-        and row.get("check")
-        == "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034"
-    )
-    assert mandatory["status"] == "pass"
-    pending = next(row for row in report["cases"] if row["status"] == "pending")
-    return mandatory, pending
-
-
-def test_swapping_mandatory_and_pending_statuses_cannot_qualify():
-    report = _fixture("full_released_uk_2.135.0.json")
-    mandatory, pending = _mandatory_and_pending_rows(report)
-    mandatory.update(status="pending", decision_id="d1344")
-    pending.update(status="pass", decision_id=None)
-    assert _run_released_contract(_recount(report)).status == "error"
-
-
-@pytest.mark.parametrize("replace_status", ["pass", "pending"])
-def test_a_duplicate_assertion_cannot_satisfy_the_other_category(replace_status):
-    report = _fixture("full_released_uk_2.135.0.json")
-    mandatory, pending = _mandatory_and_pending_rows(report)
-    source, replaced = (
-        (mandatory, pending) if replace_status == "pass" else (pending, mandatory)
-    )
-    report["cases"][report["cases"].index(replaced)] = dict(source)
-    result = _run_released_contract(_recount(report))
-    assert result.status == "error", result.summary
-    assert any(
-        "assertion multiplicities differ" in p for p in result.details["problems"]
-    )
-
-
-@pytest.mark.parametrize("route", ["api.sim_api", "wrapper.household"])
-def test_declared_case_exemptions_require_the_runners_reason(route):
-    report = _fixture("full_released_uk_2.135.0.json")
-    row = next(
-        row
-        for row in report["cases"]
-        if row["route"] == route and row["status"] == "unsupported"
-    )
-    row["reason"] = "a different exemption"
-    result = _run_released_contract(report)
-    assert result.status == "error", result.summary
-    assert any("different reason" in p for p in result.details["problems"])
-
-
-def test_the_runners_own_run_level_row_is_recognised():
-    """Round 9 of #574: contract 1.1.0 reworded the shared parameter check,
-    and a gate fixed to the 1.0.0 wording rejected every candidate. The row
-    the installed runner emits must pass; an unrelated check must not."""
-
-    from policyengine.tax_benefit_models.uk import budget_reform_contract as runner
-
-    def gated(current):
-        # The runner's whole row, so a renamed case or route fails too
-        # (round 10 of #574).
-        report = _passing_report()
-        index = next(
-            index
-            for index, row in enumerate(report["cases"])
-            if row["case_id"] == "module_parameters_unchanged"
-        )
-        report["cases"][index] = current
-        return _run_contract(report)
-
-    current = runner.module_parameters_unchanged(runner.shared_state())
-    assert current["status"] == "pass"
-    assert gated(current).status == "pass", gated(current).summary
-    unrelated = gated(
-        {**current, "check": "every case's reform digest in policyengine-uk"}
-    )
-    assert unrelated.status == "error"
-    assert any(
-        "does not identify the shared parameter check" in problem
-        for problem in unrelated.details["problems"]
-    )
-
-
-def test_deleting_a_failed_run_level_check_cannot_qualify():
-    report = _fixture("full_released_uk_2.135.0.json")
-    row = next(
-        row
-        for row in report["cases"]
-        if row["case_id"] == "module_parameters_unchanged"
-    )
-    row["status"] = "fail"
-    assert _run_released_contract(_recount(report)).status == "fail"
-    report["cases"].remove(row)
-    result = _run_released_contract(_recount(report))
-    assert result.status == "error", result.summary
-    assert any(
-        "module_parameters_unchanged@all" in p for p in result.details["problems"]
-    )
-
-
-@pytest.mark.parametrize(
-    ("route", "check_prefix"),
-    [
-        ("country.reform_dict", "baseline_isolation:"),
-        ("country.scenario_parameter_changes", "baseline_isolation:"),
-        ("country.reform_from_dict", "baseline_isolation:"),
-        ("country.reform_dict", "unreformed_after_reform:gov."),
-        ("country.reform_dict", "unreformed_after_reform:income_tax:"),
-        ("wrapper.household", "unreformed_after_reform:"),
-        ("wrapper.policy", "unreformed_after_reform:"),
-    ],
-)
-def test_each_runner_isolation_row_is_required(route, check_prefix):
-    report = _fixture("full_released_uk_2.135.0.json")
-    omitted = next(
-        row
-        for row in report["cases"]
-        if row["route"] == route and (row.get("check") or "").startswith(check_prefix)
-    )
-    report["cases"].remove(omitted)
-    result = _run_released_contract(_recount(report))
-    assert result.status == "error", result.summary
-    assert any(omitted["check"] in p for p in result.details["problems"])
-
-
-def test_deleting_all_runner_isolation_rows_cannot_qualify():
-    report = _fixture("full_released_uk_2.135.0.json")
-    report["cases"] = [
-        row
-        for row in report["cases"]
-        if not (row.get("check") or "").startswith(
-            ("baseline_isolation:", "unreformed_after_reform:")
-        )
-    ]
-    result = _run_released_contract(_recount(report))
-    assert result.status == "error", result.summary
-    assert any("baseline_isolation:" in p for p in result.details["problems"])
-
-
-@pytest.mark.parametrize(
-    "check_prefix", ["baseline_isolation:", "unreformed_after_reform:"]
-)
-def test_failing_isolation_checks_cannot_be_relabelled_pending(check_prefix):
-    report = _fixture("full_released_uk_2.135.0.json")
-    row = next(
-        row
-        for row in report["cases"]
-        if row["route"] == "country.reform_dict"
-        and (row.get("check") or "").startswith(check_prefix)
-    )
-    row["status"] = "fail"
-    assert _run_released_contract(_recount(report)).status == "fail"
-    row.update(status="pending", decision_id="d1344")
-    result = _run_released_contract(_recount(report), pending_decisions=("d1344",))
-    assert result.status == "error", result.summary
-    assert any(
-        "isolation check" in p and "did not run" in p
-        for p in result.details["problems"]
-    )
-
-
-def test_w1_report_on_the_pinned_model_fails_on_its_defects():
-    """W1's real report on policyengine-uk 2.125.1: 66 failures and 35 errors."""
-
-    report = _fixture("pinned_uk_2.125.1_defects.json")
-    result = _run_contract(
-        report,
-        versions={"policyengine-uk": "2.125.1", "policyengine-core": "3.33.0"},
-        dataset_sha=None,
-        dataset_path=None,
-        max_examples=report["max_examples"],
-        coverage=report,
-    )
-    assert result.status == "fail"
-    assert result.summary.startswith("101 contract row(s) failed")
-    # This historical runner predates the always-emitted run-level check and
-    # after-run isolation rows. Its failures remain decisive; current coverage
-    # validation also correctly identifies those absent rows.
-    assert any("declared case check(s)" in p for p in result.details["problems"])
-    assert any(
-        "module_parameters_unchanged@all" in p for p in result.details["problems"]
-    )
-
-
-def test_w1_population_run_alone_is_incomplete():
-    """W1's real population-only run has no cases and no sampled properties."""
-
-    population_only = _fixture("population_pass_max_examples_0.json")
-    result = _run_contract(population_only, max_examples=0, coverage=population_only)
-    assert result.status == "error"
-    problems = result.details["problems"]
-    assert "the report has no cases" in problems
-    assert any("annual_values_match_the_oracle did not run" in p for p in problems)
-
-
-def test_w1_full_run_passes():
-    """The real full run of contract 2.1.0 on the certified dataset: 905 pass,
-    34 pending a methodology call, 120 unsupported by design."""
-
-    result = _run_contract(_passing_report())
-    assert result.status == "pass", result.summary
-    assert "every case, property and population check passed (905)" in result.summary
-    assert "34 pending a methodology call" in result.summary
-    assert result.details["problems"] == []
-
-
-def _drop(report, **sections):
-    """``report`` with rows removed, its summary and holds recounted."""
-
-    return _recount({**report, **sections})
-
-
-COVERAGE_GAPS = {
-    "each case reduced to one check per route": lambda r: _drop(
-        r,
-        cases=list(
-            {(row["case_id"], row["route"]): row for row in r["cases"]}.values()
-        ),
-    ),
-    "all but one population check": lambda r: _drop(r, population=r["population"][:1]),
-    "pending properties with invented decisions": lambda r: _drop(
-        r,
-        properties=[
-            {**row, "status": "pending", "decision_id": "invented", "examples_run": 0}
-            for row in r["properties"]
-        ],
-    ),
-    "one case on one route": lambda r: (
-        _drop(r, cases=r["cases"][:1], population=r["population"][:1], properties=[])
-        | {"routes": r["routes"][:1]}
-    ),
-    "a route": lambda r: _drop(
-        r, cases=[row for row in r["cases"] if row["route"] != "wrapper.policy"]
-    ),
-    "a route from the route list": lambda r: {**r, "routes": r["routes"][:-1]},
-    "a case on one route": lambda r: _drop(
-        r,
-        cases=[
-            row
-            for row in r["cases"]
-            if (row["case_id"], row["route"])
-            != ("extended_freeze", "wrapper.household")
-        ],
-    ),
-    "a sampled property": lambda r: _drop(r, properties=r["properties"][:1]),
-    "every sampled property": lambda r: _drop(r, properties=[]),
-    "the sampled examples": lambda r: {
-        **r,
-        "properties": [{**row, "examples_run": 0} for row in r["properties"]],
-    },
-    "most sampled examples": lambda r: {
-        **r,
-        "properties": [{**row, "examples_run": 19} for row in r["properties"]],
-    },
-}
-
-
-@pytest.mark.parametrize("name", sorted(COVERAGE_GAPS))
-def test_a_report_that_drops_coverage_does_not_qualify(name):
-    """Interrupted review of #574: a recounted partial report passed, as did
-    properties that passed on zero examples."""
-
-    report = COVERAGE_GAPS[name](copy.deepcopy(_passing_report()))
-    result = _run_contract(report)
-    assert result.status == "error", (name, result.summary)
-
-
-def test_a_runner_that_declares_no_coverage_cannot_qualify():
-    report = _passing_report()
-    result = reform_contract(
-        entrypoint=ENTRY,
-        dataset_path=Path("enhanced_frs_2024_25.h5"),
-        seed=0,
-        max_examples=20,
-        expected_versions={"policyengine-uk": "2.126.8", "policyengine-core": "3.33.0"},
-        expected_dataset_sha256=CERTIFIED_SHA,
-        importer=_importer(report=report, declare=False),
-    )[0]
-    assert result.status == "error"
-    assert "declares no ROUTES, CASES and PROPERTIES" in result.summary
-
-
-def test_population_coverage_uses_the_population_runners_declarations():
-    """A check added by the runner must be required without a gate-side list."""
-
-    report = _passing_report()
-    importer = _importer(report=report, coverage=report)
-    module = importer("contract")
-    del module.POPULATION_CHECK_ROUTES
-    population = SimpleNamespace()
-    population.__doc__ = (
-        "Checks:\n\n``new_population_check``\n    Declared by the population runner."
-    )
-    result = reform_contract(
-        entrypoint=ENTRY,
-        dataset_path=Path("dataset.h5"),
-        seed=0,
-        max_examples=20,
-        importer=lambda name: (
-            population if name.endswith("budget_reform_population") else module
-        ),
-    )[0]
-    assert result.status == "error"
-    assert "new_population_check" in result.summary
-
-
-def test_new_population_route_declaration_is_required_without_a_gate_side_list(
-    monkeypatch,
-):
-    from policyengine.tax_benefit_models.uk import (
-        budget_reform_population as population,
-    )
-
-    declared = population.population_check_routes
-    monkeypatch.setattr(
-        population,
-        "population_check_routes",
-        lambda routes: (*declared(routes), ("new_population_check", "unreformed")),
-    )
-    report = _fixture("full_released_uk_2.135.0.json")
-    result = _run_released_contract(report)
-    assert result.status == "error", result.summary
-    assert any(
-        "new_population_check@unreformed" in p for p in result.details["problems"]
-    )
-    report["population"].append(
-        {"check_id": "new_population_check", "route": "unreformed", "status": "pass"}
-    )
-    assert _run_released_contract(_recount(report)).status == "pass"
-
-
-REPORT_TAMPERING = {
-    "invented pending decision": lambda r: _recount(
-        {
-            **r,
-            "cases": [
-                {**row, "decision_id": "invented"}
-                if row["status"] == "pending"
-                else row
-                for row in r["cases"]
-            ],
-        }
-    ),
-    "other model": lambda r: r["versions"].update({"policyengine-uk": "2.125.1"}),
-    "other core": lambda r: r["versions"].update({"policyengine-core": "3.30.0"}),
-    "other dataset": lambda r: r["dataset"].update(sha256="0" * 64),
-    "no population": lambda r: _recount({**r, "population": []}),
-    "other seed": lambda r: r.update(seed=7),
-    "fewer examples": lambda r: r.update(max_examples=5),
-    "summary": lambda r: r["summary"].update(
-        unsupported=r["summary"]["unsupported"] + 1
-    ),
-    "holds": lambda r: r.update(holds=False),
-    "pending without decision": lambda r: _recount(
-        {**r, "cases": [{**r["cases"][0], "status": "pending"}, *r["cases"][1:]]}
-    ),
-    "unsupported without reason": lambda r: _recount(
-        {
-            **r,
-            "population": [
-                {**r["population"][0], "status": "unsupported"},
-                *r["population"][1:],
-            ],
-        }
-    ),
-}
-
-
-@pytest.mark.parametrize("name", sorted(REPORT_TAMPERING))
-def test_a_report_that_is_not_a_full_run_of_this_candidate_is_an_error(name):
-    report = copy.deepcopy(_passing_report())
-    tampered = REPORT_TAMPERING[name](report) or report
-    assert _run_contract(tampered).status == "error"
-
-
-@settings(max_examples=40, deadline=None)
-@given(
-    data=st.data(),
-    worse=st.sampled_from(["fail", "error"]),
-    section=st.sampled_from(["cases", "properties", "population"]),
-)
-def test_a_worse_row_never_improves_the_gate(data, worse, section):
-    """Monotone: turning any row into a failure fails the gate."""
-
-    report = _passing_report()
-    index = data.draw(st.integers(0, len(report[section]) - 1))
-    report[section][index] = {**report[section][index], "status": worse}
-    result = _run_contract(_recount(report))
-    assert STATUS_RANK[result.status] >= STATUS_RANK["fail"]
-
-
-# --- Metrics review ------------------------------------------------------------------
-
-BOUNDS = {
-    "default": {"relative": 0.02, "absolute": 5e8},
-    "kinds": {"poverty": {"relative": 0.0, "absolute": 0.005}},
-}
-
-
-#: The small-cell fields every row of the pinned tool's report carries.
-PUBLISHED = {"suppressed": False, "excludes": [], "exclude_signs": {}}
-
-
-def _report(values, **extra):
-    return {
-        "status": "ok",
-        "metrics_version": "m1",
-        "partition_version": "p1",
-        "metrics": [
-            {"metric_id": mid, "year": year, "value": value, "kind": kind, **PUBLISHED}
-            for (mid, year, kind), value in values.items()
-        ],
-        # Every real report carries checks; one always passes here.
-        "identities": [
-            {"identity_id": "weights:household", "status": "pass"},
-            *extra.pop("identities", []),
-        ],
-        **extra,
-    }
-
-
-BASE = {
-    ("income_tax", 2027, "receipt"): 3.0e11,
-    ("relative_poverty", 2027, "poverty"): 0.17,
-}
-
-
-def test_metric_comparison_rules():
-    assert compare_metric_reports(_report(BASE), _report(BASE), BOUNDS)[0] == "pass"
-    moved = {**BASE, ("income_tax", 2027, "receipt"): 3.1e11}
-    assert (
-        compare_metric_reports(_report(moved), _report(BASE), BOUNDS)[0]
-        == "needs_review"
-    )
-    assert (
-        compare_metric_reports(
-            _report(BASE, metrics_version="m2"), _report(BASE), BOUNDS
-        )[0]
-        == "fail"
-    )
-    assert (
-        compare_metric_reports(
-            _report(BASE, partition_version="p2"), _report(BASE), BOUNDS
-        )[0]
-        == "needs_review"
-    )
-    lost = {("income_tax", 2027, "receipt"): 3.0e11}
-    assert compare_metric_reports(_report(lost), _report(BASE), BOUNDS)[0] == "fail"
-    nan = {**BASE, ("income_tax", 2027, "receipt"): float("nan")}
-    assert compare_metric_reports(_report(nan), _report(BASE), BOUNDS)[0] == "fail"
-    warned = _report(
-        BASE, identities=[{"identity_id": "inert:alcohol_duty", "status": "warn"}]
-    )
-    # A warning the previous report also gave is recorded; any other is new
-    # (the tool's new_warning), including one from a check it did not run.
-    status, _, evidence = compare_metric_reports(warned, warned, BOUNDS)
-    assert status == "pass" and evidence["warn_identities"] == ["inert:alcohol_duty"]
-    status, _, evidence = compare_metric_reports(warned, _report(BASE), BOUNDS)
-    assert status == "needs_review"
-    assert evidence["new_warnings"] == ["inert:alcohol_duty"]
-
-
-def test_reports_that_measure_nothing_fail():
-    """Interrupted review of #574: two empty reports compared as a pass."""
-
-    assert compare_metric_reports({}, {}, BOUNDS)[0] == "fail"
-    full = _report(BASE)
-    for broken in (
-        {**full, "metrics": []},
-        {**full, "identities": []},
-        {**full, "status": "error"},
-        {key: value for key, value in full.items() if key != "status"},
-    ):
-        assert compare_metric_reports(broken, full, BOUNDS)[0] == "fail"
-        assert compare_metric_reports(full, broken, BOUNDS)[0] == "fail"
-
-
-@pytest.mark.parametrize("status", ["error", "unsupported", "pending", None, "PASS"])
-def test_a_check_with_an_unknown_status_is_not_a_pass(status):
-    candidate = _report(BASE, identities=[{"identity_id": "closure", "status": status}])
-    previous = _report(BASE, identities=[{"identity_id": "closure", "status": "pass"}])
-    result = compare_metric_reports(candidate, previous, BOUNDS)
-    assert result[0] == "fail" and "unknown status" in result[1]
-
-
-def test_a_check_that_disappears_is_lost_coverage():
-    previous = _report(
-        BASE,
-        identities=[
-            {"identity_id": "closure", "status": "pass"},
-            {"identity_id": "sign:vat", "status": "pass"},
-        ],
-    )
-    # A hard check that vanished under the same partition fails.
-    no_closure = _report(
-        BASE, identities=[{"identity_id": "sign:vat", "status": "pass"}]
-    )
-    result = compare_metric_reports(no_closure, previous, BOUNDS)
-    assert result[0] == "fail" and "checks disappeared: closure" in result[1]
-    # A no-worsening check that vanished needs a look.
-    no_sign = _report(BASE, identities=[{"identity_id": "closure", "status": "pass"}])
-    assert compare_metric_reports(no_sign, previous, BOUNDS)[0] == "needs_review"
-    # When the model's partition changed, vanished per-head checks need review.
-    repartitioned = _report(
-        BASE,
-        partition_version="p2",
-        identities=[{"identity_id": "sign:vat", "status": "pass"}],
-    )
-    assert compare_metric_reports(repartitioned, previous, BOUNDS)[0] == "needs_review"
-
-
-def _checks(**statuses):
-    return [
-        {"identity_id": key.replace("__", ":"), "status": value}
-        for key, value in statuses.items()
-    ]
-
-
-@pytest.mark.parametrize(
-    ("candidate", "previous", "status"),
-    [
-        # Hard checks fail whatever the previous pair did.
-        ({"finite__vat": "fail"}, {"finite__vat": "fail"}, "fail"),
-        ({"closure": "fail"}, {}, "fail"),
-        (
-            {"identity__partition_sum": "fail"},
-            {"identity__partition_sum": "pass"},
-            "fail",
-        ),
-        ({"determinism__repeat": "fail"}, {}, "fail"),
-        # Unknown check kinds are treated as hard: no silent skips.
-        ({"newkind__x": "fail"}, {"newkind__x": "fail"}, "fail"),
-        # Known-defect checks fail only as regressions.
-        (
-            {"counted_once__statutory_sick_pay": "fail"},
-            {"counted_once__statutory_sick_pay": "fail"},
-            "pass",
-        ),
-        (
-            {"counted_once__statutory_sick_pay": "fail"},
-            {"counted_once__statutory_sick_pay": "pass"},
-            "fail",
-        ),
-        ({"sign__vat": "fail"}, {}, "fail"),
-        ({"bounds__uc": "fail"}, {"bounds__uc": "fail"}, "pass"),
-        # The overlap guard fails on main for a known defect: no-worsening.
-        (
-            {"overlap_guard__property_transaction_tax_geography": "fail"},
-            {"overlap_guard__property_transaction_tax_geography": "fail"},
-            "pass",
-        ),
-        (
-            {"overlap_guard__property_transaction_tax_geography": "fail"},
-            {"overlap_guard__property_transaction_tax_geography": "pass"},
-            "fail",
-        ),
-        # A check skipped before that fails now has worsened.
-        (
-            {"counted_once__statutory_sick_pay": "fail"},
-            {"counted_once__statutory_sick_pay": "skipped"},
-            "fail",
-        ),
-        # Skipped is neither a pass nor a failure, but losing a passing
-        # check needs a look.
-        (
-            {"counted_once__winter_fuel": "skipped"},
-            {"counted_once__winter_fuel": "skipped"},
-            "pass",
-        ),
-        (
-            {"counted_once__winter_fuel": "skipped"},
-            {"counted_once__winter_fuel": "pass"},
-            "needs_review",
-        ),
-        # The reform checks are hard, whatever the previous pair did.
-        (
-            {"responsive__state_pension_plus_10pc": "fail"},
-            {"responsive__state_pension_plus_10pc": "fail"},
-            "fail",
-        ),
-        (
-            {"reform_runs__uc_taper_20pc": "fail"},
-            {"reform_runs__uc_taper_20pc": "fail"},
-            "fail",
-        ),
-        # Warnings are recorded; a check that newly warns needs review.
-        ({"inert__tobacco_duty": "warn"}, {"inert__tobacco_duty": "warn"}, "pass"),
-        (
-            {"inert__tobacco_duty": "warn"},
-            {"inert__tobacco_duty": "pass"},
-            "needs_review",
-        ),
-        (
-            {"inert__tobacco_duty": "warn"},
-            {"inert__tobacco_duty": "skipped"},
-            "needs_review",
-        ),
-        (
-            {"inert__tobacco_duty": "warn"},
-            {"inert__tobacco_duty": "fail"},
-            "needs_review",
-        ),
-    ],
-)
-def test_check_classification(candidate, previous, status):
-    result = compare_metric_reports(
-        _report(BASE, identities=_checks(**candidate)),
-        _report(BASE, identities=_checks(**previous)),
-        BOUNDS,
-    )
-    assert result[0] == status, result[1]
-
-
-def test_a_known_failure_that_spreads_to_more_years_has_worsened():
-    """No-worsening by scope: the failing scopes must be a subset of the previous pair's."""
-
-    def check(scopes):
-        return _report(
-            BASE,
-            identities=[
-                {
-                    "identity_id": "sign:vat",
-                    "status": "fail",
-                    "failing_scopes": scopes,
-                }
-            ],
-        )
-
-    same = compare_metric_reports(
-        check(["2026", "2027"]), check(["2026", "2027"]), BOUNDS
-    )
-    fewer = compare_metric_reports(check(["2026"]), check(["2026", "2027"]), BOUNDS)
-    more = compare_metric_reports(
-        check(["2026", "2028"]), check(["2026", "2027"]), BOUNDS
-    )
-    assert (same[0], fewer[0], more[0]) == ("pass", "pass", "fail")
-    assert "sign:vat (fails in more scopes)" in more[1]
-    # Without scopes on both sides the failures cannot be told apart.
-    unscoped = _report(BASE, identities=[{"identity_id": "sign:vat", "status": "fail"}])
-    assert (
-        compare_metric_reports(check(["2026", "2028"]), unscoped, BOUNDS)[0] == "pass"
-    )
-
-
-@settings(max_examples=150, deadline=None)
-@given(
-    changes=st.lists(
-        st.floats(min_value=-0.5, max_value=0.5, allow_nan=False),
-        min_size=2,
-        max_size=2,
-    ),
-    shrink=st.floats(min_value=0.0, max_value=1.0),
-)
-def test_shrinking_moves_never_worsens_the_status(changes, shrink):
-    order = {"pass": 0, "needs_review": 1, "fail": 2}
-    keys = list(BASE)
-
-    def candidate(scale):
-        return _report(
-            {
-                key: BASE[key] * (1 + scale * change)
-                for key, change in zip(keys, changes)
-            }
-        )
-
-    full = compare_metric_reports(candidate(1.0), _report(BASE), BOUNDS)[0]
-    smaller = compare_metric_reports(candidate(shrink), _report(BASE), BOUNDS)[0]
-    assert order[smaller] <= order[full]
-
-
-DSA = "spending.disabled_students_allowance"
-
-
-def _cells(rows):
-    """A report from ``(metric_id, year, kind, value, suppressed, excludes)``
-    rows, with an optional seventh item giving ``exclude_signs`` (by default
-    +1 for each excluded figure)."""
-
-    report = _report({})
-    report["metrics"] = [
-        {
-            "metric_id": metric_id,
-            "year": year,
-            "kind": kind,
-            "value": value,
-            "suppressed": suppressed,
-            "excludes": list(excludes),
-            "exclude_signs": dict(signs[0])
-            if signs
-            else {excluded: 1 for excluded in excludes},
-        }
-        for metric_id, year, kind, value, suppressed, excludes, *signs in rows
-    ]
-    return report
-
-
-def _small_cell_pair(*, head=(None, True, ()), total=(5.4e11, False, (DSA,))):
-    """A suppressed head and a total rebuilt without it, for 2027."""
-
-    return _cells(
-        [
-            ("income_tax", 2027, "receipt", 3.0e11, False, ()),
-            (DSA, 2027, "spending", *head),
-            ("model.gov_spending", 2027, "model_total", *total),
-        ]
-    )
-
-
-def test_a_suppressed_figure_is_present_but_never_compared():
-    """W3's rule 1: a small cell is published as null, suppressed; not a NaN."""
-
-    status, summary, evidence = compare_metric_reports(
-        _small_cell_pair(), _small_cell_pair(), BOUNDS
-    )
-    assert status == "pass", summary
-    assert evidence["suppressed_metrics"] == [f"{DSA} 2027"]
-    assert evidence["suppressed_on_both_sides"] == 1
-    assert "2 metrics within their review bounds" in summary
-    # A null that is not marked suppressed is still a non-finite value.
-    unmarked = _small_cell_pair(head=(None, False, ()))
-    status, summary, _ = compare_metric_reports(unmarked, _small_cell_pair(), BOUNDS)
-    assert status == "fail" and f"non-finite values: {DSA} 2027" in summary
-
-
-@pytest.mark.parametrize(
-    ("candidate", "previous", "reason"),
-    [
-        (
-            _small_cell_pair(),
-            _small_cell_pair(head=(2.0e6, False, ()), total=(5.4e11, False, ())),
-            "suppressed in the candidate report",
-        ),
-        (
-            _small_cell_pair(head=(2.0e6, False, ()), total=(5.4e11, False, ())),
-            _small_cell_pair(),
-            "suppressed in the previous report",
-        ),
-    ],
-    ids=["newly suppressed", "no longer suppressed"],
-)
-def test_a_figure_suppressed_on_one_side_is_withheld(candidate, previous, reason):
-    """Its change would come from fewer than 10 records: never computed."""
-
-    status, summary, evidence = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == "needs_review", summary
-    assert "withheld" in summary
-    withheld = {
-        (row["metric_id"], row["reason"]) for row in evidence["withheld_changes"]
-    }
-    assert withheld == {(DSA, reason)}
-    # The total is lined up: the side that publishes the head takes it out.
-    assert evidence["lined_up_totals"] == ["model.gov_spending 2027"]
-    assert evidence["moves_beyond_bounds"] == []
-
-
-def _one_sided(kind, sign, *, rest_c, rest_p, head_p=2.0e10, metric="total"):
-    """A total over a head suppressed in the candidate and published in the
-    previous report, which it holds there with ``sign``. Values are synthetic."""
-
-    candidate = _cells(
-        [
-            (DSA, 2027, "spending", None, True, ()),
-            (metric, 2027, kind, rest_c, False, (DSA,), {DSA: sign}),
-        ]
-    )
-    previous = _cells(
-        [
-            (DSA, 2027, "spending", head_p, False, ()),
-            (metric, 2027, kind, rest_p + sign * head_p, False, (), {}),
-        ]
-    )
-    return candidate, previous
-
-
-@pytest.mark.parametrize("sign", [1, -1])
-@pytest.mark.parametrize(
-    ("kind", "metric"),
-    [
-        ("model_total", "model.gov_spending"),
-        ("balance", "balance.balance"),
-        ("household_total", "household.household_net_income"),
-    ],
-)
-def test_additive_totals_are_lined_up_from_published_figures(kind, metric, sign):
-    """As the tool's compare._aligned: the previous side takes out the head
-    only the candidate excludes, at its own published value and the
-    candidate's sign. The head (ยฃ20bn, synthetic) is four times the bound,
-    so comparing the totals as published would flag it."""
-
-    same, previous = _one_sided(kind, sign, rest_c=5.0e11, rest_p=5.0e11, metric=metric)
-    status, _, evidence = compare_metric_reports(same, previous, BOUNDS)
-    assert status == "needs_review"  # the head itself is withheld
-    assert evidence["lined_up_totals"] == [f"{metric} 2027"]
-    assert evidence["moves_beyond_bounds"] == []
-    assert [row["metric_id"] for row in evidence["withheld_changes"]] == [DSA]
-    moved, previous = _one_sided(
-        kind, sign, rest_c=5.3e11, rest_p=5.0e11, metric=metric
-    )
-    (move,) = compare_metric_reports(moved, previous, BOUNDS)[2]["moves_beyond_bounds"]
-    assert move["metric_id"] == metric and move["lined_up_without"] == [DSA]
-    assert move["change"] == pytest.approx(3.0e10)
-    # The published levels are recorded, never a lined-up one.
-    assert move["previous"] == 5.0e11 + sign * 2.0e10
-    assert move["candidate"] == 5.3e11
-    # Lined up the other way round: the candidate publishes the head.
-    status, _, evidence = compare_metric_reports(previous, moved, BOUNDS)
-    assert evidence["lined_up_totals"] == [f"{metric} 2027"]
-    assert evidence["moves_beyond_bounds"][0]["change"] == pytest.approx(-3.0e10)
-
-
-def test_the_relative_bound_is_taken_on_the_previous_published_total():
-    """W3: the tool flags with threshold.exceeded(b, b + delta), b the base's
-    published level. Published previous ยฃ5.0bn (with the head ยฃ2.0bn),
-    lined-up previous ยฃ3.0bn: 2% is ยฃ100m on the first, ยฃ60m on the second."""
-
-    bounds = {"default": {"relative": 0.02, "absolute": 0.0}}
-
-    def change(by):
-        return _one_sided(
-            "model_total", 1, rest_c=3.0e9 + by, rest_p=3.0e9, head_p=2.0e9
-        )
-
-    within, previous = change(8.0e7)
-    assert (
-        compare_metric_reports(within, previous, bounds)[2]["moves_beyond_bounds"] == []
-    )
-    beyond, previous = change(1.2e8)
-    (move,) = compare_metric_reports(beyond, previous, bounds)[2]["moves_beyond_bounds"]
-    assert move["threshold"] == pytest.approx(1.0e8)
-
-
-@pytest.mark.parametrize(
-    ("kind", "metric"),
-    [
-        ("decile", "deciles.mean_income.3"),
-        ("household_total", "household.hbai_household_net_income"),
-        ("caseload", "caseloads.child_benefit"),
-        ("poverty", "poverty.relative_bhc"),
-    ],
-)
-def test_other_totals_with_different_exclusions_are_withheld(kind, metric):
-    """Decile means and the HBAI total (reset at zero) are not sums of
-    heads, so different exclusions cannot be lined up: withheld."""
-
-    candidate, previous = _one_sided(
-        kind, 1, rest_c=5.0e11, rest_p=5.0e11, metric=metric
-    )
-    status, summary, evidence = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == "needs_review", summary
-    assert {
-        "metric_id": metric,
-        "year": 2027,
-        "reason": "the reports leave out different suppressed figures",
-        "candidate_excludes": [DSA],
-        "previous_excludes": [],
-    } in evidence["withheld_changes"]
-    assert evidence["lined_up_totals"] == evidence["moves_beyond_bounds"] == []
-
-
-def test_totals_that_cannot_be_lined_up_are_withheld():
-    other = "spending.other_head"
-    # The head the previous side would take out is not in its report.
-    candidate, previous = _one_sided("model_total", 1, rest_c=5.0e11, rest_p=5.0e11)
-    previous["metrics"] = [
-        row for row in previous["metrics"] if row["metric_id"] != DSA
-    ]
-    evidence = compare_metric_reports(candidate, previous, BOUNDS)[2]
-    assert evidence["withheld_changes"][-1]["reason"] == (
-        "the reports leave out different suppressed figures, and one needed "
-        "to line them up is not published"
-    )
-    assert evidence["lined_up_totals"] == []
-    # A figure both sides exclude enters with different signs (the partition
-    # changed): the two totals are not the same sum.
-    candidate = _cells(
-        [
-            (DSA, 2027, "spending", None, True, ()),
-            (other, 2027, "spending", None, True, ()),
-            ("total", 2027, "balance", 5.0e11, False, (DSA, other), {DSA: 1, other: 1}),
-        ]
-    )
-    previous = _cells(
-        [
-            (DSA, 2027, "spending", None, True, ()),
-            (other, 2027, "spending", 1.0e9, False, ()),
-            ("total", 2027, "balance", 5.0e11, False, (DSA,), {DSA: -1}),
-        ]
-    )
-    evidence = compare_metric_reports(candidate, previous, BOUNDS)[2]
-    assert evidence["withheld_changes"][-1]["reason"] == (
-        "a figure both reports leave out enters their totals with different signs"
-    )
-    # Signs that do not match the exclusions fail the report, and nothing
-    # is lined up from them.
-    candidate, previous = _one_sided("model_total", 1, rest_c=5.0e11, rest_p=5.0e11)
-    candidate["metrics"][1]["exclude_signs"] = {}
-    status, summary, evidence = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == "fail" and "exclude_signs that are not +1 or -1" in summary
-    assert evidence["values_withheld"] is True
-    assert evidence["withheld_changes"] == evidence["moves_beyond_bounds"] == []
-
-
-def test_totals_at_equal_exclusions_compare_numerically():
-    small = _small_cell_pair(total=(5.4e11 + 1.0e9, False, (DSA,)))
-    assert compare_metric_reports(small, _small_cell_pair(), BOUNDS)[0] == "pass"
-    large = _small_cell_pair(total=(6.0e11, False, (DSA,)))
-    status, _, evidence = compare_metric_reports(large, _small_cell_pair(), BOUNDS)
-    assert status == "needs_review"
-    assert [move["metric_id"] for move in evidence["moves_beyond_bounds"]] == [
-        "model.gov_spending"
-    ]
-    assert evidence["withheld_changes"] == []
-
-
-@pytest.mark.parametrize(
-    "kind", ["decile", "household_total", "model_total", "balance"]
-)
-def test_the_same_figure_excluded_with_opposite_signs_is_withheld(kind):
-    """supp-r2 P1: equal excluded ids are not equal exclusions when a sign
-    differs (the tool compares the signed maps), so the change is withheld,
-    never computed, in every section and both review steps."""
-
-    def side(sign, value):
-        return _cells(
-            [
-                (DSA, 2027, "spending", None, True, ()),
-                ("total", 2027, kind, value, False, (DSA,), {DSA: sign}),
-            ]
-        )
-
-    candidate, previous = side(1, 9.0e11), side(-1, 5.0e11)
-    status, _, evidence = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == "needs_review"
-    assert evidence["moves_beyond_bounds"] == evidence["lined_up_totals"] == []
-    (row,) = evidence["withheld_changes"]
-    assert row["metric_id"] == "total"
-    # One figure with two signs says so in every section (supp-r4 N01).
-    assert row["reason"] == (
-        "a figure both reports leave out enters their totals with different signs"
-    )
-    result, steps = metrics_review(
-        candidate_report=candidate,
-        previous_report=previous,
-        bounds=BOUNDS,
-        cross_report=candidate,
-    )
-    assert steps["model_only"]["moves_beyond_bounds"] == []
-    assert steps["model_only"]["withheld_changes"][0]["metric_id"] == "total"
-
-
-def test_figures_both_sides_exclude_are_skipped_when_lining_up():
-    """supp-r2 M03: the candidate excludes A and B, the previous report A
-    only; B (published there) is taken out of the previous total, A of
-    neither (it is suppressed on both sides). Values synthetic."""
-
-    other = "spending.other_head"
-    candidate = _cells(
-        [
-            (DSA, 2027, "spending", None, True, ()),
-            (other, 2027, "spending", None, True, ()),
-            (
-                "total",
-                2027,
-                "model_total",
-                4.0e11,
-                False,
-                (DSA, other),
-                {DSA: 1, other: -1},
-            ),
-        ]
-    )
-    previous = _cells(
-        [
-            (DSA, 2027, "spending", None, True, ()),
-            (other, 2027, "spending", 3.0e10, False, ()),
-            ("total", 2027, "model_total", 4.0e11 - 3.0e10, False, (DSA,), {DSA: 1}),
-        ]
-    )
-    evidence = compare_metric_reports(candidate, previous, BOUNDS)[2]
-    assert evidence["lined_up_totals"] == ["total 2027"]
-    assert evidence["moves_beyond_bounds"] == []
-
-
-def test_a_caseload_can_be_suppressed_beside_its_published_head():
-    """supp-r2 P2: a published head's caseload counts only its positive
-    records, so a head with negative values can be published while its
-    caseload is suppressed. Valid, and published to the ledger."""
-
-    from policyengine.provenance.uk_candidate import publishable_metrics_report
-
-    report = _small_cell_pair(head=(2.0e6, False, ()), total=(5.4e11, False, ()))
-    report["metrics"].append(
-        {
-            "metric_id": "caseloads.disabled_students_allowance",
-            "year": 2027,
-            "kind": "caseload",
-            "value": None,
-            "suppressed": True,
-            "excludes": [],
-            "exclude_signs": {},
-        }
-    )
-    status, summary, _ = compare_metric_reports(report, report, BOUNDS)
-    assert status == "pass", summary
-    assert publishable_metrics_report(report) == report
-
-
-def test_no_value_from_an_unsafe_report_enters_the_evidence():
-    """supp-r2 P1: a report that breaks the small-cell format fails, and
-    neither the comparison's moves nor the responsiveness table carries any
-    of its values (the ledger publishes both). Values synthetic."""
-
-    marker = 123456789.25
-    legacy = _report({("income_tax", 2027, "receipt"): marker})
-    for row in legacy["metrics"]:
-        for field in ("suppressed", "excludes", "exclude_signs"):
-            row.pop(field)
-    status, _, evidence = compare_metric_reports(
-        legacy, _report({("income_tax", 2027, "receipt"): 3.0e11}), BOUNDS
-    )
-    assert status == "fail" and evidence["values_withheld"] is True
-    assert str(marker) not in json.dumps(evidence)
-    result, steps = metrics_review(
-        candidate_report=legacy,
-        previous_report=_report({("income_tax", 2027, "receipt"): 3.0e11}),
-        bounds=BOUNDS,
-        cross_report=legacy,
-    )
-    assert str(marker) not in json.dumps(steps)
-
-    report = _responsive_report()
-    for row in report["metrics"]:
-        row.pop("exclude_signs")
-    result, evidence = reform_responsiveness_gate(report)
-    assert result.status == "error"
-    assert "rows without the small-cell fields" in result.summary
-    for reform in evidence["reforms"]:
-        assert set(reform["target_changes"].values()) == {None}
-        assert reform["detail"] is None
-
-
-def test_a_report_the_tool_could_not_finish_is_still_checked_before_publication():
-    """supp-r2 M28: an unfinished report with metrics in it is held to the
-    same format before the ledger publishes it."""
-
-    from policyengine.provenance.uk_candidate import publishable_metrics_report
-
-    report = _small_cell_pair()
-    report["status"] = "error"
-    report["metrics"][1]["value"] = 2.0e6
-    assert "withheld" in publishable_metrics_report(report)
-    unfinished = {"status": "error", "error": "Traceback ..."}
-    assert publishable_metrics_report(unfinished) == unfinished
-
-
-@pytest.mark.parametrize(
-    ("mutate", "message"),
-    [
-        (
-            lambda rows: rows[1].update(value=2.0e6),
-            f"suppressed figures with a value: {DSA} 2027",
-        ),
-        (
-            lambda rows: rows[1].update(suppressed="yes"),
-            "a suppressed flag that is not true or false",
-        ),
-        (
-            lambda rows: rows[2].update(excludes=DSA),
-            "excludes that are not a list of metric ids",
-        ),
-        (
-            lambda rows: rows[2].update(excludes=[DSA, 7]),
-            "excludes that are not a list of metric ids",
-        ),
-        (
-            lambda rows: rows[2].update(excludes=[DSA, "income_tax"]),
-            "totals excluding a figure it does not suppress: "
-            "model.gov_spending 2027 excludes income_tax",
-        ),
-        (
-            lambda rows: rows[2].update(year=2028),
-            "totals excluding a figure it does not suppress",
-        ),
-        (
-            lambda rows: rows[0].pop("exclude_signs"),
-            "rows without the small-cell fields",
-        ),
-        (
-            lambda rows: [row.pop("suppressed") for row in rows],
-            "rows without the small-cell fields",
-        ),
-        (
-            lambda rows: rows[0].update(year="2027"),
-            "metric rows whose year is not an integer",
-        ),
-        (
-            lambda rows: rows[2].update(exclude_signs={DSA: 2}),
-            "exclude_signs that are not +1 or -1 for exactly its excludes",
-        ),
-        (
-            lambda rows: rows[2].update(exclude_signs={DSA: True}),
-            "exclude_signs that are not +1 or -1",
-        ),
-        (
-            lambda rows: rows[2].update(exclude_signs={DSA: 1, "income_tax": -1}),
-            "exclude_signs that are not +1 or -1",
-        ),
-        (
-            lambda rows: rows[2].update(exclude_signs=[DSA]),
-            "exclude_signs that are not +1 or -1",
-        ),
-        (
-            # W3's measure_year suppresses the caseload with its head, even
-            # when the caseload is zero.
-            lambda rows: rows.append(
-                {
-                    "metric_id": "caseloads.disabled_students_allowance",
-                    "year": 2027,
-                    "kind": "caseload",
-                    "value": 0.0,
-                    **PUBLISHED,
-                }
-            ),
-            "caseloads published beside their suppressed spending head: "
-            "caseloads.disabled_students_allowance 2027",
-        ),
-        (
-            lambda rows: rows[1].update(year=True),
-            "metric rows whose year is not an integer",
-        ),
-        (
-            lambda rows: rows[2].update(exclude_signs={DSA: 0}),
-            "exclude_signs that are not +1 or -1",
-        ),
-        (
-            lambda rows: rows.append(dict(rows[0])),
-            "duplicate metrics: income_tax 2027",
-        ),
-    ],
-    ids=[
-        "suppressed with a value",
-        "flag not boolean",
-        "excludes a string",
-        "excludes a number",
-        "excludes an unsuppressed figure",
-        "excludes a figure suppressed in another year",
-        "no exclude_signs",
-        "no suppressed flags (a tool from before suppression)",
-        "year as text",
-        "sign of 2",
-        "sign True",
-        "signs for a figure not excluded",
-        "signs not a map",
-        "zero caseload published beside a suppressed head",
-        "year True",
-        "sign of 0",
-        "a figure twice",
-    ],
-)
-@pytest.mark.parametrize("side", ["candidate", "previous"])
-def test_a_report_that_breaks_the_small_cell_format_fails(mutate, message, side):
-    broken = _small_cell_pair()
-    mutate(broken["metrics"])
-    pair = (broken, _small_cell_pair())
-    if side == "previous":
-        pair = pair[::-1]
-    status, summary, _ = compare_metric_reports(*pair, BOUNDS)
-    assert status == "fail", summary
-    assert f"the {side} report has" in summary and message in summary
-
-
-def test_numpy_scalars_in_evidence_become_the_numbers_they_hold():
-    """supp-r3 Low 2 and supp-r4 J03 and nit: NumPy bool, integer and float
-    scalars are unwrapped before the non-finite check (a float32 NaN is
-    "NaN", never an error); other NumPy values, such as a 0-d array or a
-    datetime64, are left for strict JSON to refuse."""
-
-    import numpy as np
-
-    safe = gates_module._json_safe
-    assert safe(np.int64(4)) == 4 and type(safe(np.int64(4))) is int
-    assert safe(np.bool_(True)) is True
-    assert safe(np.float32("nan")) == "NaN"
-    assert safe(np.float64("-inf")) == "-Infinity"
-    assert gates_module.evidence_sha256({"x": np.float32("nan")})
-    array = np.array(4)
-    assert safe(array) is array
-    stamp = np.datetime64("2026-10-16T00:00:00", "ns")
-    assert safe(stamp) is stamp
-
-
-def test_a_boolean_metric_value_is_not_a_number():
-    report = _report(BASE)
-    report["metrics"][0]["value"] = True
-    status, summary, _ = compare_metric_reports(report, _report(BASE), BOUNDS)
-    assert status == "fail" and "non-finite values" in summary
-
-
-@pytest.mark.parametrize("side", ["candidate", "previous"])
-def test_a_repeated_check_cannot_decide_the_comparison(side):
-    """A second copy of a check must not turn a regression into a carried
-    failure (supp-r1 review): a repeated id fails the report."""
-
-    regression = (
-        _report(BASE, identities=[{"identity_id": "sign:x", "status": "fail"}]),
-        _report(BASE, identities=[{"identity_id": "sign:x", "status": "pass"}]),
-    )
-    assert compare_metric_reports(*regression, BOUNDS)[0] == "fail"
-    candidate, previous = regression
-    repeated = previous if side == "previous" else candidate
-    repeated["identities"].append(
-        {"identity_id": "sign:x", "status": "fail" if side == "previous" else "pass"}
-    )
-    status, summary, _ = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == "fail" and f"the {side} report repeats checks: sign:x" in summary
-
-
-@pytest.mark.parametrize("status", ["INVALID", None, "PASS"])
-def test_an_unknown_status_in_the_previous_report_is_not_a_pass(status):
-    """It decides new warnings and regressions, so it fails like the
-    candidate's would (supp-r1 review)."""
-
-    candidate = _report(BASE, identities=[{"identity_id": "inert:x", "status": "warn"}])
-    previous = _report(BASE, identities=[{"identity_id": "inert:x", "status": status}])
-    result = compare_metric_reports(candidate, previous, BOUNDS)
-    assert result[0] == "fail"
-    assert "the previous report has checks with an unknown status: inert:x" in result[1]
-
-
-@pytest.mark.parametrize(
-    ("check", "previous", "status", "newly", "hard"),
-    [
-        # W3's rule 4: skipped means not run.
-        ("sign:dsa", "skipped", "pass", False, False),
-        ("sign:dsa", None, "pass", False, False),
-        ("sign:dsa", "pass", "needs_review", True, False),
-        ("sign:dsa", "warn", "needs_review", True, False),
-        # A known failure that is no longer run is not a fix.
-        ("sign:dsa", "fail", "needs_review", True, False),
-        # A hard check that was not run is never a pass.
-        ("closure", "skipped", "needs_review", False, True),
-        ("finite:metrics", None, "needs_review", False, True),
-        ("responsive:x", "pass", "needs_review", True, True),
-    ],
-)
-def test_a_skipped_check_is_not_run(check, previous, status, newly, hard):
-    before = [] if previous is None else [{"identity_id": check, "status": previous}]
-    result = compare_metric_reports(
-        _report(BASE, identities=[{"identity_id": check, "status": "skipped"}]),
-        _report(BASE, identities=before),
-        BOUNDS,
-    )
-    assert result[0] == status, result[1]
-    evidence = result[2]
-    assert evidence["skipped_checks"] == [check]
-    assert evidence["newly_skipped_checks"] == ([check] if newly else [])
-    assert evidence["hard_checks_not_run"] == ([check] if hard else [])
-
-
-_CELL = st.tuples(
-    st.sampled_from(["published", "suppressed"]),
-    st.sampled_from([(), (DSA,), (DSA, "other_head")]),
-    st.floats(min_value=-0.5, max_value=0.5, allow_nan=False),
-)
-
-
-@settings(max_examples=300, deadline=None)
-@given(cells=st.lists(st.tuples(_CELL, _CELL), min_size=1, max_size=4))
-def test_the_small_cell_rule_against_a_reference(cells):
-    """Differential: the gate's status for small cells matches the rule
-    stated independently, and no withheld change carries a value."""
-
-    def side(choices):
-        rows = [
-            (DSA, 2027, "spending", None, True, ()),
-            ("other_head", 2027, "spending", None, True, ()),
-        ]
-        for i, (state, excludes, change) in enumerate(choices):
-            value = None if state == "suppressed" else 1.0e11 * (1 + change)
-            rows.append(
-                (f"m{i}", 2027, "model_total", value, state == "suppressed", excludes)
-            )
-        return _cells(rows)
-
-    candidate = side([pair[0] for pair in cells])
-    previous = side([pair[1] for pair in cells])
-    expected = "pass"
-    for (state_c, ex_c, ch_c), (state_p, ex_p, ch_p) in cells:
-        if state_c == state_p == "suppressed":
-            continue
-        if "suppressed" in (state_c, state_p) or tuple(sorted(ex_c)) != tuple(
-            sorted(ex_p)
-        ):
-            expected = "needs_review"
-            continue
-        new, old = 1.0e11 * (1 + ch_c), 1.0e11 * (1 + ch_p)
-        if abs(new - old) > max(0.02 * abs(old), 5e8):
-            expected = "needs_review"
-    status, summary, evidence = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == expected, summary
-    for row in evidence["withheld_changes"]:
-        assert set(row) <= {
-            "metric_id",
-            "year",
-            "reason",
-            "candidate_excludes",
-            "previous_excludes",
-        }
-
-
-_SIDE = st.tuples(
-    st.sampled_from(["published", "suppressed"]),
-    # Heads can be negative (supp-r2 M06): their published value is taken
-    # out with the sign, whatever its own sign.
-    st.one_of(
-        st.floats(min_value=1.0e8, max_value=5.0e10),
-        st.floats(min_value=-5.0e10, max_value=-1.0e8),
-    ),
-    st.floats(min_value=-0.5, max_value=0.5, allow_nan=False),
-    # Each side's sign for the head; they differ only if the partition
-    # changed (supp-r2: opposite signs for one figure were never generated).
-    st.sampled_from([1, -1]),
-)
-
-
-@settings(max_examples=500, deadline=None)
-@given(
-    candidate_side=_SIDE,
-    previous_side=_SIDE,
-    kind=st.sampled_from(["model_total", "balance", "decile"]),
-)
-def test_lining_up_against_a_reference(candidate_side, previous_side, kind):
-    """Differential against the tool's rule, stated independently: a head
-    published or suppressed on each side, a total that holds it with that
-    side's sign where it is published and excludes it, with that sign, where
-    it is not."""
-
-    def side(state, head, change, sign):
-        rest = 4.0e11 * (1 + change)
-        if state == "suppressed":
-            rows = [
-                (DSA, 2027, "spending", None, True, ()),
-                ("total", 2027, kind, rest, False, (DSA,), {DSA: sign}),
-            ]
-        else:
-            rows = [
-                (DSA, 2027, "spending", head, False, ()),
-                ("total", 2027, kind, rest + sign * head, False, (), {}),
-            ]
-        return _cells(rows), rows
-
-    candidate, c_rows = side(*candidate_side)
-    previous, p_rows = side(*previous_side)
-    (c_state, c_head, _, c_sign), (p_state, p_head, _, p_sign) = (
-        candidate_side,
-        previous_side,
-    )
-    c_total, p_total = c_rows[1][3], p_rows[1][3]
-    review, lined_up, change = False, False, None
-    if c_state == p_state == "published":
-        head_threshold = max(0.02 * abs(p_head), 5e8)
-        review |= abs(c_head - p_head) > head_threshold
-        change = c_total - p_total
-    elif c_state == p_state == "suppressed":
-        if c_sign == p_sign:
-            change = c_total - p_total
-        else:
-            review = True  # one figure, two signs: withheld in every section
-    else:
-        review = True  # the head is withheld
-        if kind in ("model_total", "balance"):
-            lined_up = True
-            # The side that publishes the head takes it out with the sign
-            # the excluding side records, exactly as the gate computes it.
-            if c_state == "published":
-                change = (c_total - p_sign * c_head) - p_total
-            else:
-                change = c_total - (p_total - c_sign * p_head)
-    moved = change is not None and abs(change) > max(0.02 * abs(p_total), 5e8)
-    review |= moved
-    status, summary, evidence = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == ("needs_review" if review else "pass"), summary
-    assert evidence["lined_up_totals"] == (["total 2027"] if lined_up else [])
-    total_moves = [
-        m for m in evidence["moves_beyond_bounds"] if m["metric_id"] == "total"
-    ]
-    assert bool(total_moves) == moved
-    if moved:
-        assert total_moves[0]["change"] == change
-    for row in evidence["withheld_changes"]:
-        assert set(row) <= {
-            "metric_id",
-            "year",
-            "reason",
-            "candidate_excludes",
-            "previous_excludes",
-        }
-
-
-@settings(max_examples=200, deadline=None)
-@given(
-    rows=st.lists(
-        st.tuples(
-            st.sampled_from(["income_tax", "vat", DSA]),
-            st.sampled_from([2026, 2027]),
-            st.one_of(st.none(), st.floats(allow_nan=True, allow_infinity=True)),
-            st.sampled_from([True, False]),
-            st.sampled_from([(), (DSA,)]),
-        ),
-        min_size=1,
-        max_size=6,
-    )
-)
-def test_a_suppressed_cell_never_hides_a_hard_failure(rows):
-    """Whatever the cells, a failed hard check still fails the comparison."""
-
-    report = _cells([(m, y, "receipt", v, s, e) for m, y, v, s, e in rows])
-    report["identities"] = [{"identity_id": "closure", "status": "fail"}]
-    assert compare_metric_reports(report, report, BOUNDS)[0] == "fail"
-
-
-def test_metrics_gate_splits_model_and_data_steps():
-    cross = {**BASE, ("income_tax", 2027, "receipt"): 3.2e11}
-    result, evidence = metrics_review(
-        candidate_report=_report(cross),
-        previous_report=_report(BASE),
-        bounds=BOUNDS,
-        cross_report=_report(cross),
-    )
-    assert result.details == {"model_only": "needs_review", "data_only": "pass"}
-    assert result.status == "needs_review"
-    assert (
-        metrics_review(candidate_report=None, previous_report=None, bounds=BOUNDS)[
-            0
-        ].status
-        == "unavailable"
-    )
-
-
-# --- Orchestration -------------------------------------------------------------------
-
-
-@settings(max_examples=50, deadline=None)
-@given(
-    outcomes=st.lists(
-        st.sampled_from(["pass", "fail", "raise"]), min_size=1, max_size=9
-    )
-)
-def test_run_gates_returns_one_result_per_gate(outcomes):
-    def make(index, outcome):
-        def function():
-            if outcome == "raise":
-                raise RuntimeError(f"gate {index} crashed")
-            return gates_module._result(f"wrong-id-{index}", outcome, "x", {})
-
-        return (f"gate_{index}", function)
-
-    results, evidence = run_gates([make(i, o) for i, o in enumerate(outcomes)])
-    assert [r.gate_id for r in results] == [f"gate_{i}" for i in range(len(outcomes))]
-    for result, outcome in zip(results, outcomes):
-        assert result.status == ("error" if outcome == "raise" else outcome)
-    assert set(evidence) == {f"gate_{i}" for i in range(len(outcomes))}
-
-
-# --- Previous-pair runners -----------------------------------------------------------
-
-
-def _write_previous_receipt(root, pair, evidence, *, attempt="a"):
-    from policyengine.provenance.qualification_ledger import write_json
-
-    if "ever_usable_inputs" in evidence.get("budget_inputs", {}):
-        inputs = dict(evidence["budget_inputs"])
-        inputs.setdefault("pair_id", pair.pair_id)
-        inputs.setdefault("attempt_id", f"{pair.pair_id}/{attempt}")
-        evidence = {**evidence, "budget_inputs": inputs}
-    receipt = make_receipt(pair)
-    receipt = receipt.model_copy(
-        update={
-            "gates": [
-                gate.model_copy(
-                    update={
-                        "evidence_sha256": gates_module.evidence_sha256(
-                            evidence[gate.gate_id]
-                        ),
-                        "details": {
-                            **gate.details,
-                            **(
-                                {
-                                    "ever_usable_inputs": evidence[gate.gate_id][
-                                        "ever_usable_inputs"
-                                    ]
-                                }
-                                if gate.gate_id == "budget_inputs"
-                                and "ever_usable_inputs" in evidence[gate.gate_id]
-                                else {}
-                            ),
-                        },
-                    }
-                )
-                if gate.gate_id in evidence
-                else gate
-                for gate in receipt.gates
-            ]
-        }
-    )
-    pair_dir = root / "uk" / pair.pair_id
-    write_json(pair_dir / "qualification_receipt.json", receipt.canonical_payload())
-    attempt_dir = pair_dir / "attempts" / attempt
-    write_json(attempt_dir / "qualification_receipt.json", receipt.canonical_payload())
-    write_json(attempt_dir / "harness.json", receipt.harness.canonical_payload())
-    for gate_id, value in evidence.items():
-        write_json(attempt_dir / "gates" / f"{gate_id}.json", value)
-    return receipt, attempt_dir
-
-
-def _previous_identity(pair):
-    return {
-        "bundle_version": HARNESS.policyengine_version,
-        "model_version": pair.model.version,
-        "core_version": pair.core.version,
-        "data_release_version": pair.data.release_version,
-        "dataset_sha256": pair.data.dataset_sha256,
-        "qualification_pair_id": pair.pair_id,
-        "model_wheel_sha256": pair.model.wheel_sha256,
-        "core_wheel_sha256": pair.core.wheel_sha256,
-    }
-
-
-def test_previous_evidence_matches_the_exact_certified_core_and_wheels(tmp_path):
-    wrong = make_pair(core="3.32.0")
-    certified = make_pair(core="3.33.0")
-    wrong_evidence = {
-        "supported_years": {"supported_years": [2025]},
-        "budget_inputs": {"missing_inputs": ["age"], "unusable_critical": []},
-    }
-    expected = {
-        "supported_years": {"supported_years": [2025, 2026]},
-        "budget_inputs": {"missing_inputs": [], "unusable_critical": []},
-    }
-    _write_previous_receipt(tmp_path, wrong, wrong_evidence)
-    _write_previous_receipt(tmp_path, certified, expected)
-    assert (
-        gates_module._previous_gate_evidence(tmp_path, _previous_identity(certified))
-        == expected
-    )
-    for wheel in ("core_wheel_sha256", "model_wheel_sha256"):
-        altered = {**_previous_identity(certified), wheel: "0" * 64}
-        assert gates_module._previous_gate_evidence(tmp_path, altered) == {}
-
-
-def test_previous_evidence_belongs_to_the_receipts_attempt(tmp_path):
-    from policyengine.provenance.qualification_ledger import write_json
-
-    pair = make_pair()
-    expected = {
-        "supported_years": {"supported_years": [2025, 2026]},
-        "budget_inputs": {"missing_inputs": [], "unusable_critical": []},
-    }
-    receipt, attempt = _write_previous_receipt(tmp_path, pair, expected)
-    unrelated = attempt.parent / "z"
-    other_receipt = receipt.model_copy(
-        update={"harness": HARNESS.model_copy(update={"git_commit": "1" * 40})}
-    )
-    write_json(
-        unrelated / "qualification_receipt.json", other_receipt.canonical_payload()
-    )
-    for name in expected:
-        write_json(unrelated / "gates" / f"{name}.json", {"untrusted": True})
-    assert (
-        gates_module._previous_gate_evidence(tmp_path, _previous_identity(pair))
-        == expected
-    )
-
-
-@pytest.mark.parametrize(
-    "damage",
-    [
-        "none",
-        "empty_status",
-        "missing_counts",
-        "wrong_model_count",
-        "wrong_input_count",
-        "wrong_data_count",
-        "missing_list",
-    ],
-)
-def test_previous_lineage_requires_a_complete_variable_enumeration(tmp_path, damage):
-    name = "additional_residential_property_purchased"
-    inputs = {
-        "model_variables": 1,
-        "model_input_variables": 1,
-        "dataset_columns": 0,
-        "missing_inputs": [name],
-        "unusable_critical": [],
-        "input_status": {
-            name: {
-                "in_model": True,
-                "is_input": True,
-                "in_data": False,
-                "usable": False,
-            }
-        },
-    }
-    if damage == "empty_status":
-        inputs["input_status"] = {}
-    elif damage == "missing_counts":
-        inputs.pop("model_variables")
-    elif damage == "wrong_model_count":
-        inputs["model_variables"] = 2
-    elif damage == "wrong_input_count":
-        inputs["model_input_variables"] = 2
-    elif damage == "wrong_data_count":
-        inputs["dataset_columns"] = 1
-    elif damage == "missing_list":
-        inputs["missing_inputs"] = []
-    evidence = {
-        "supported_years": {"supported_years": [2025, 2026]},
-        "budget_inputs": inputs,
-    }
-    pair = make_pair()
-    _write_previous_receipt(tmp_path, pair, evidence)
-    actual = gates_module._previous_gate_evidence(tmp_path, _previous_identity(pair))
-    assert actual == (evidence if damage == "none" else {})
-
-
-def test_formula_backed_supplied_variable_is_recorded_as_previously_usable(tmp_path):
-    _, evidence = budget_inputs(
-        make_pair(),
-        tmp_path / "unused.h5",
-        model_input_variables=["pure_input"],
-        model_variables=["pure_input", "formula_backed_variable"],
-        critical_inputs=[],
-        accepted_gaps={},
-        previous_missing_inputs=None,
-        previous_unusable_critical=None,
-        tables={"household": pd.DataFrame({"formula_backed_variable": [0, 300_000]})},
-    )
-    assert evidence["input_status"]["formula_backed_variable"] == {
-        "in_model": True,
-        "is_input": False,
-        "in_data": True,
-        "usable": True,
-    }
-    assert evidence["model_variables"] == 2
-
-
-@pytest.mark.parametrize(
-    "corruption", ["digest", "shape", "receipt", "missing identity"]
-)
-def test_unverified_previous_evidence_is_recomputed(tmp_path, corruption):
-    from policyengine.provenance.qualification_ledger import write_json
-
-    pair = make_pair()
-    expected = {
-        "supported_years": {"supported_years": [2025, 2026]},
-        "budget_inputs": {"missing_inputs": [], "unusable_critical": []},
-    }
-    receipt, attempt = _write_previous_receipt(tmp_path, pair, expected)
-    previous = _previous_identity(pair)
-    if corruption == "digest":
-        write_json(
-            attempt / "gates" / "supported_years.json", {"supported_years": [2025]}
-        )
-    elif corruption == "shape":
-        invalid = {**expected, "supported_years": {"supported_years": [True]}}
-        _write_previous_receipt(tmp_path, pair, invalid)
-    elif corruption == "receipt":
-        payload = receipt.canonical_payload() | {"verdict": "needs_review"}
-        write_json(attempt.parent.parent / "qualification_receipt.json", payload)
-    else:
-        previous.pop("qualification_pair_id")
-        previous.pop("core_wheel_sha256")
-    if corruption == "receipt":
-        with pytest.raises(gates_module.PreviousPairUnavailable):
-            gates_module._previous_gate_evidence(tmp_path, previous)
-    else:
-        assert gates_module._previous_gate_evidence(tmp_path, previous) == {}
-
-
-@pytest.mark.parametrize(
-    "baseline_kind", ["valid", "corrupt", "legacy", "legacy_history"]
-)
-def test_orchestration_hashes_every_finalized_gate_evidence(
-    tmp_path, monkeypatch, baseline_kind
-):
-    from policyengine.provenance import dataset_materialization
-    from policyengine.provenance.qualification_ledger import write_json
-
-    pair = make_pair()
-    config = json.loads(
-        (
-            Path(__file__).parents[1] / "src/policyengine/data/qualification/uk.json"
-        ).read_text()
-    )
-    monkeypatch.setattr(
-        dataset_materialization,
-        "materialize_dataset",
-        lambda *a, **k: SimpleNamespace(path=tmp_path / "dataset.h5"),
-    )
-    monkeypatch.setitem(
-        sys.modules,
-        "policyengine_uk.system",
-        SimpleNamespace(system=SimpleNamespace(variables={})),
-    )
-    baseline = {
-        "budget_inputs": {
-            "missing_inputs": [],
-            "unusable_critical": [],
-            "input_status": {},
-            "model_variables": 0,
-            "model_input_variables": 0,
-            "dataset_columns": 0,
-            "ever_usable_inputs": [],
-        },
-        "supported_years": {"supported_years": [2025]},
-    }
-    if baseline_kind == "legacy":
-        baseline["budget_inputs"].pop("input_status")
-        baseline["budget_inputs"].pop("ever_usable_inputs")
-    elif baseline_kind == "legacy_history":
-        baseline["budget_inputs"].pop("ever_usable_inputs")
-    elif baseline_kind == "corrupt":
-        baseline["budget_inputs"].pop("ever_usable_inputs")
-    _, attempt = _write_previous_receipt(tmp_path, pair, baseline)
-    if baseline_kind == "corrupt":
-        write_json(
-            attempt / "gates" / "supported_years.json", {"supported_years": [2024]}
-        )
-    snapshots = []
-
-    def snapshot(*args, **kwargs):
-        snapshots.append(args[0])
-        return {
-            "missing_inputs": [],
-            "unusable_critical": [],
-            "supported_years": [2025],
-            "input_status": {},
-        }
-
-    monkeypatch.setattr(gates_module, "run_inputs_snapshot", snapshot)
-    monkeypatch.setattr(gates_module, "vendor_metrics_tool", lambda *a, **k: tmp_path)
-    monkeypatch.setattr(gates_module, "load_standard_reforms", lambda *a: [])
-    monkeypatch.setattr(gates_module, "previous_pair_python", lambda *a: "python")
-    monkeypatch.setattr(
-        gates_module, "previous_pair_dataset", lambda *a: tmp_path / "dataset.h5"
-    )
-    monkeypatch.setattr(
-        gates_module,
-        "run_metrics_report",
-        lambda *a, **k: {"partition_source": "test", "dataset_path": "dataset.h5"},
-    )
-    monkeypatch.setattr(
-        gates_module, "_download", lambda *a, **k: tmp_path / "wheel.whl"
-    )
-    for name in (
-        "installed_versions",
-        "wheel_hashes",
-        "core_compatibility",
-        "dataset_bytes",
-        "supported_years",
-        "budget_inputs",
-        "reform_contract",
-        "metrics_review",
-        "reform_responsiveness",
-    ):
-        monkeypatch.setattr(
-            gates_module,
-            name,
-            lambda *a, _name=name, **k: gates_module._result(
-                _name, "pass", "test", {"before_metadata": _name}
-            ),
-        )
-    monkeypatch.setattr(
-        gates_module,
-        "data_access",
-        lambda *a, **k: (*gates_module._result("data_access", "pass", "test", {}), {}),
-    )
-    resolved = SimpleNamespace(
-        pair=pair,
-        model_wheel=SimpleNamespace(
-            url="model", filename="model.whl", sha256=pair.model.wheel_sha256
-        ),
-        core_wheel=SimpleNamespace(
-            url="core", filename="core.whl", sha256=pair.core.wheel_sha256
-        ),
-        model_requires_core=">=3.0",
-    )
-    results, evidence = gates_module.run_candidate_gates(
-        resolved,
-        HARNESS,
-        config=config,
-        work_dir=tmp_path,
-        previous_certificate=_previous_identity(pair),
-        ledger_root=tmp_path,
-    )
-    mismatches = [
-        result.gate_id
-        for result in results
-        if result.evidence_sha256
-        != gates_module.evidence_sha256(evidence[result.gate_id])
-    ]
-    assert mismatches == []
-    assert snapshots == (["python"] if baseline_kind != "valid" else [])
-    assert evidence["budget_inputs"]["previous_source"] == (
-        f"computed with policyengine {HARNESS.policyengine_version}"
-        if baseline_kind != "valid"
-        else "ledger"
-    )
-
-
-@settings(max_examples=15, deadline=None)
-@given(
-    present=st.sets(st.sampled_from(["age", "employment_income", "rent"]), min_size=1),
-    critical=st.lists(
-        st.sampled_from(["age", "rent", "would_claim_uc", "missing_x"]),
-        unique=True,
-        max_size=3,
-    ),
-    projected=st.lists(st.integers(2022, 2032), min_size=1, max_size=6, unique=True),
-)
-def test_inputs_runner_agrees_with_the_gates(
-    tmp_path_factory, present, critical, projected
-):
-    """Differential: the previous-pair runner and the in-process gates agree."""
-
-    import sys
-
-    from policyengine.provenance.uk_candidate import (
-        dataset_columns,
-        run_inputs_snapshot,
-    )
-
-    directory = tmp_path_factory.mktemp("runner")
-    extra = {"rent_person": [1.0, 0.0]} if "rent" in present else {}
-    path = _tiny_dataset(directory / "data.h5", year=2024, extra_person=extra)
-    inputs = [
-        "age",
-        "employment_income",
-        "rent",
-        "would_claim_uc",
-        "household_weight",
-        "missing_x",
-    ]
-    model_variables = [*inputs, "rent_person"]
-    snapshot = run_inputs_snapshot(
-        sys.executable,
-        critical=critical,
-        out=directory / "snapshot.json",
-        dataset_path=path,
-        model_input_variables=inputs,
-        model_variables=model_variables,
-        projected_years=projected,
-    )
-    tables = dataset_columns(path)
-    _, evidence = budget_inputs(
-        make_pair(),
-        path,
-        model_input_variables=inputs,
-        model_variables=model_variables,
-        critical_inputs=critical,
-        accepted_gaps={},
-        previous_missing_inputs=None,
-        previous_unusable_critical=None,
-        tables=tables,
-    )
-    assert snapshot["missing_inputs"] == evidence["missing_inputs"]
-    assert snapshot["unusable_critical"] == evidence["unusable_critical"]
-    assert snapshot["input_status"] == evidence["input_status"]
-    _, years = supported_years(
-        make_pair(),
-        path,
-        required_years=[],
-        budget_horizon_years=[],
-        previous_supported_years=None,
-        projected_years=lambda _: sorted(projected),
-    )
-    assert snapshot["supported_years"] == years["supported_years"]
-
-
-STANDARD_REFORMS_FIXTURE = (
-    Path(__file__).parent / "fixtures" / "uk_metrics" / "standard_reforms.yaml"
-)
-
-
-def _tool_tarball(commit="c" * 40, include_partition=True, include_reforms=True):
-    import tarfile
-
-    buffer = io.BytesIO()
-    prefix = f"policyengine-uk-{commit}"
-    files = {
-        f"{prefix}/policyengine_uk/utils/aggregate_impact/__init__.py": b"TOOL_SCHEMA = 'x/1'\n",
-        f"{prefix}/policyengine_uk/utils/aggregate_impact/api.py": b"def compute_budget_metrics(sim, **kwargs):\n    return {}\n",
-        f"{prefix}/policyengine_uk/utils/other.py": b"not copied\n",
-    }
-    if include_partition:
-        files[f"{prefix}/policyengine_uk/data/fiscal_partition.yaml"] = b"heads: []\n"
-    if include_reforms:
-        files[
-            f"{prefix}/policyengine_uk/utils/aggregate_impact/standard_reforms.yaml"
-        ] = STANDARD_REFORMS_FIXTURE.read_bytes()
-    with tarfile.open(fileobj=buffer, mode="w:gz") as archive:
-        for name, data in files.items():
-            info = tarfile.TarInfo(name)
-            info.size = len(data)
-            archive.addfile(info, io.BytesIO(data))
-    return buffer.getvalue()
-
-
-def test_metrics_tool_is_vendored_from_one_commit(tmp_path):
-    from policyengine.provenance.uk_candidate import vendor_metrics_tool
-
-    calls = []
-
-    def get(url, timeout=None):
-        calls.append(url)
-        response = SimpleNamespace(
-            content=_tool_tarball(), raise_for_status=lambda: None
-        )
-        return response
-
-    tool = {
-        "repository": "PolicyEngine/policyengine-uk",
-        "commit": "c" * 40,
-        "path": "policyengine_uk/utils/aggregate_impact",
-    }
-    root = vendor_metrics_tool(tool, tmp_path, get=get)
-    assert calls == [
-        f"https://codeload.github.com/PolicyEngine/policyengine-uk/tar.gz/{'c' * 40}"
-    ]
-    assert sorted(p.name for p in (root / "pe_uk_aggregate_impact").iterdir()) == [
-        "__init__.py",
-        "api.py",
-        "standard_reforms.yaml",
-    ]
-    assert (root / "fiscal_partition.yaml").read_text() == "heads: []\n"
-    assert (
-        vendor_metrics_tool(
-            tool, tmp_path, get=lambda *a, **k: pytest.fail("refetched")
-        )
-        == root
-    )
-
-
-def test_metrics_report_runner_command(tmp_path):
-    import json as _json
-
-    from policyengine.provenance.uk_candidate import METRICS_RUNNER, run_metrics_report
-
-    seen = {}
-
-    def run(command, check, cwd):
-        seen["command"] = command
-        Path(command[-1]).write_text(_json.dumps({"status": "ok", "metrics": []}))
-
-    report = run_metrics_report(
-        "/venv/bin/python",
-        tmp_path / "tool",
-        years=[2026, 2027],
-        out=tmp_path / "report.json",
-        dataset_path=tmp_path / "data.h5",
-        run=run,
-    )
-    assert report == {"status": "ok", "metrics": []}
-    python, flag, code, vendor, settings, out = seen["command"]
-    assert (python, flag, code) == ("/venv/bin/python", "-c", METRICS_RUNNER)
-    assert _json.loads(settings)["years"] == [2026, 2027]
-    assert _json.loads(settings)["run_guard"] is True
-    # The runner must not pass ``reforms``: the tool then costs its own
-    # standard set, whereas an empty list would cost none.
-    assert "reforms=" not in METRICS_RUNNER
-
-
-def test_the_standard_reforms_are_read_from_the_vendored_tool(tmp_path):
-    from policyengine.provenance.uk_candidate import (
-        load_standard_reforms,
-        vendor_metrics_tool,
-    )
-
-    tool = {
-        "repository": "PolicyEngine/policyengine-uk",
-        "commit": "c" * 40,
-        "path": "policyengine_uk/utils/aggregate_impact",
-    }
-    root = vendor_metrics_tool(
-        tool,
-        tmp_path,
-        get=lambda url, timeout=None: SimpleNamespace(
-            content=_tool_tarball(), raise_for_status=lambda: None
-        ),
-    )
-    reforms = load_standard_reforms(root, "standard_reforms.yaml")
-    assert len(reforms) == 10
-    assert reforms[0] == {
-        "id": "basic_rate_plus_1pp",
-        "name": "Raise basic rate by 1pp",
-        "variable": "income_tax",
-        "direction": "up",
-        "minimum": 1.2e9,
-    }
-    assert {reform["id"] for reform in reforms} >= {
-        "uc_standard_allowance_plus_10pc",
-        "state_pension_plus_10pc",
-    }
-    with pytest.raises(ValueError, match="ships no"):
-        load_standard_reforms(root, "missing.yaml")
-
-
-@pytest.mark.parametrize(
-    "entry",
-    [
-        {
-            "name": "No id",
-            "responds": {"variable": "x", "direction": "up", "minimum": 1},
-        },
-        {"id": "no_response", "name": "No response"},
-        {
-            "id": "bad",
-            "responds": {"variable": "x", "direction": "sideways", "minimum": 1},
-        },
-        {"id": "zero", "responds": {"variable": "x", "direction": "up", "minimum": 0}},
-    ],
-    ids=["no id", "no response", "bad direction", "zero minimum"],
-)
-def test_a_standard_reform_without_a_stated_response_is_refused(tmp_path, entry):
-    import yaml
-
-    from policyengine.provenance.uk_candidate import load_standard_reforms
-
-    package = tmp_path / "pe_uk_aggregate_impact"
-    package.mkdir()
-    (package / "standard_reforms.yaml").write_text(yaml.safe_dump({"reforms": [entry]}))
-    with pytest.raises(ValueError):
-        load_standard_reforms(tmp_path, "standard_reforms.yaml")
-
-
-# --- Reform responsiveness -----------------------------------------------------------
-
-RESPONSE_YEARS = [2025, 2026, 2027, 2028, 2029, 2030, 2031]
-
-
-def _standard_reforms(tmp_path_factory=None):
-    import yaml
-
-    return [
-        {
-            "id": entry["id"],
-            "name": entry["name"],
-            "variable": entry["responds"]["variable"],
-            "direction": entry["responds"]["direction"],
-            "minimum": float(entry["responds"]["minimum"]),
-        }
-        for entry in yaml.safe_load(STANDARD_REFORMS_FIXTURE.read_text())["reforms"]
-    ]
-
-
-def _tool_check(reform, changes):
-    """The tool's responsive verdict, restated from reforms.responsiveness()."""
-
-    sign = 1.0 if reform["direction"] == "up" else -1.0
-    return bool(changes) and all(
-        sign * change >= reform["minimum"] for change in changes.values()
-    )
-
-
-def _responsive_report(scale=5.0, overrides=None, years=RESPONSE_YEARS, lie=None):
-    """A report in which each reform moves its target by scale x its minimum.
-
-    ``overrides`` replaces single values (None removes the row). The
-    ``responsive`` checks follow the tool's rule, unless ``lie`` names a
-    reform id whose check is inverted.
-    """
-
-    overrides = overrides or {}
-    metrics, identities = [], []
-    for reform in _standard_reforms():
-        sign = 1.0 if reform["direction"] == "up" else -1.0
-        changes = {}
-        for year in years:
-            value = overrides.get(
-                (reform["id"], year), sign * reform["minimum"] * scale
-            )
-            if value is not None:
-                changes[year] = value
-                metrics.append(
-                    {
-                        "metric_id": f"reform_targets.{reform['id']}",
-                        "year": year,
-                        "value": value,
-                        "kind": "reform_target",
-                        **PUBLISHED,
-                    }
-                )
-        finite = {y: v for y, v in changes.items() if v == v}
-        ok = len(finite) == len(years) and _tool_check(reform, finite)
-        if lie == reform["id"]:
-            ok = not ok
-        identities.append(
-            {"identity_id": f"reform_runs:{reform['id']}", "status": "pass"}
-        )
-        identities.append(
-            {
-                "identity_id": f"responsive:{reform['id']}",
-                "status": "pass" if ok else "fail",
-                "detail": "" if ok else f"expected {reform['variable']} to move",
-            }
-        )
-    return {
-        "status": "ok",
-        "years": list(years),
-        "metrics": metrics,
-        "identities": identities,
-    }
-
-
-def _responsiveness(report, reforms=None, years=RESPONSE_YEARS):
-    from policyengine.provenance.uk_candidate import reform_responsiveness
-
-    return reform_responsiveness(
-        report=report,
-        standard_reforms=_standard_reforms() if reforms is None else reforms,
-        years=years,
-    )[0]
-
-
-def test_reforms_that_all_respond_pass():
-    result = _responsiveness(_responsive_report())
-    assert result.status == "pass", result.summary
-    assert "All 10 standard reforms" in result.summary
-    assert "2025-26 to 2031-32" in result.summary
-
-
-UC_ALLOWANCE = "uc_standard_allowance_plus_10pc"
-STATE_PENSION = "state_pension_plus_10pc"
-
-
-@pytest.mark.parametrize(
-    ("overrides", "reform_id"),
-    [
-        ({(UC_ALLOWANCE, year): 0.0 for year in RESPONSE_YEARS}, UC_ALLOWANCE),
-        ({(STATE_PENSION, year): 4.0e7 for year in RESPONSE_YEARS}, STATE_PENSION),
-        ({(UC_ALLOWANCE, 2027): 0.0}, UC_ALLOWANCE),
-        ({(STATE_PENSION, 2031): -1.3e10}, STATE_PENSION),
-        ({("basic_rate_plus_1pp", 2030): None}, "basic_rate_plus_1pp"),
-        ({("basic_rate_plus_1pp", 2030): float("nan")}, "basic_rate_plus_1pp"),
-    ],
-    ids=[
-        "exactly zero",
-        "nearly inert",
-        "one inert year",
-        "wrong sign",
-        "missing",
-        "nan",
-    ],
-)
-def test_a_reform_that_does_not_respond_fails_qualification(overrides, reform_id):
-    """The backtest's two modes (exactly ยฃ0, nearly inert) and their neighbours."""
-
-    result = _responsiveness(_responsive_report(overrides=overrides))
-    assert result.status == "fail"
-    assert f"({reform_id}) did not respond" in result.summary, result.summary
-
-
-def test_a_run_that_costed_no_reforms_cannot_pass():
-    """Presence is required: an empty or partial check set is a failure."""
-
-    report = _responsive_report()
-    report["identities"] = []
-    result = _responsiveness(report)
-    assert result.status == "fail" and "did not run" in result.summary
-    report = _responsive_report()
-    report["identities"] = [
-        row
-        for row in report["identities"]
-        if row["identity_id"] != f"responsive:{STATE_PENSION}"
-    ]
-    result = _responsiveness(report)
-    assert result.status == "fail"
-    assert "no responsive check in the report" in result.summary
-    report = _responsive_report()
-    for row in report["identities"]:
-        if row["identity_id"] == f"reform_runs:{UC_ALLOWANCE}":
-            row["status"] = "fail"
-    assert f"({UC_ALLOWANCE}) did not run" in _responsiveness(report).summary
-
-
-def test_the_tools_verdict_is_checked_against_its_own_numbers():
-    """Differential: a pass the reform_targets values do not support is an error."""
-
-    inert = {(UC_ALLOWANCE, year): 0.0 for year in RESPONSE_YEARS}
-    lying_pass = _responsive_report(overrides=inert, lie=UC_ALLOWANCE)
-    result = _responsiveness(lying_pass)
-    assert result.status == "error"
-    assert "do not meet the minimum" in result.summary
-    lying_fail = _responsive_report(lie=STATE_PENSION)
-    assert _responsiveness(lying_fail).status == "fail"
-    short = _responsive_report(years=RESPONSE_YEARS[:-1])
-    assert _responsiveness(short).status in ("fail", "error")
-
-
-@pytest.mark.parametrize("direction", ["up", "down"])
-def test_a_large_move_in_the_wrong_direction_is_not_a_response(direction):
-    """A reform that moves its target the wrong way, by far more than the
-    minimum, has not responded, whatever the tool's verdict says. The
-    magnitude alone must never pass: the comparison is signed."""
-
-    reform = next(r for r in _standard_reforms() if r["direction"] == direction)
-    sign = 1.0 if direction == "up" else -1.0
-    wrong_way = {
-        (reform["id"], year): -sign * reform["minimum"] * 5.0 for year in RESPONSE_YEARS
-    }
-    honest = _responsiveness(_responsive_report(overrides=wrong_way))
-    assert honest.status == "fail"
-    assert f"({reform['id']}) did not respond" in honest.summary, honest.summary
-    lying_pass = _responsiveness(
-        _responsive_report(overrides=wrong_way, lie=reform["id"])
-    )
-    assert lying_pass.status == "error", lying_pass.summary
-    assert "do not meet the minimum" in lying_pass.summary
-
-
-def test_responsiveness_is_never_skipped_or_guessed():
-    from policyengine.provenance.qualification import (
-        REQUIRED_GATES,
-        GateResult,
-        qualification_verdict,
-    )
-
-    assert _responsiveness(None).status == "unavailable"
-    assert _responsiveness(_responsive_report(), reforms=[]).status == "unavailable"
-    assert "reform_responsiveness" in REQUIRED_GATES
-    for status, verdict in (("unavailable", "incomplete"), ("fail", "rejected")):
-        gates = [
-            GateResult(
-                gate_id=name,
-                status=status if name == "reform_responsiveness" else "pass",
-                summary="x",
-            )
-            for name in REQUIRED_GATES
-        ]
-        assert qualification_verdict(gates) == verdict
-    missing = [
-        GateResult(gate_id=name, status="pass", summary="x")
-        for name in REQUIRED_GATES
-        if name != "reform_responsiveness"
-    ]
-    assert qualification_verdict(missing) == "incomplete"
-
-
-@settings(max_examples=100, deadline=None)
-@given(
-    low=st.floats(min_value=-3.0, max_value=6.0),
-    high=st.floats(min_value=-3.0, max_value=6.0),
-)
-def test_responsiveness_is_monotone_in_the_size_of_the_response(low, high):
-    """Shrinking every response, or flipping its sign, never turns fail into pass."""
-
-    low, high = sorted((low, high))
-    order = {"fail": 0, "pass": 1}
-    weaker = _responsiveness(_responsive_report(scale=low)).status
-    stronger = _responsiveness(_responsive_report(scale=high)).status
-    assert order[weaker] <= order[stronger]
-    assert (weaker == "pass") == (low >= 1.0)
-    assert (stronger == "pass") == (high >= 1.0)
-
-
-def _withhold(report, reform_id, years):
-    """Publish ``reform_id``'s target change as suppressed in ``years``, as
-    the tool does for a change from fewer than 10 records."""
-
-    for row in report["metrics"]:
-        if row["metric_id"] == f"reform_targets.{reform_id}" and row["year"] in years:
-            row.update(value=None, suppressed=True)
-    return report
-
-
-def test_a_withheld_year_cannot_pass_unverified():
-    """W3's rule 5: the tool decides responsiveness from the withheld value;
-    the gate cannot recompute it, so a pass there needs review."""
-
-    report = _withhold(_responsive_report(), UC_ALLOWANCE, {2027})
-    result, evidence = reform_responsiveness_gate(report)
-    assert result.status == "needs_review", result.summary
-    assert f"({UC_ALLOWANCE})" in result.summary and "2027-28" in result.summary
-    rows = {row["id"]: row for row in evidence["reforms"]}
-    assert rows[UC_ALLOWANCE]["withheld_years"] == [2027]
-    assert rows[UC_ALLOWANCE]["target_changes"]["2027"] is None
-    # Withholding every year is no better.
-    everything = _withhold(_responsive_report(), UC_ALLOWANCE, set(RESPONSE_YEARS))
-    assert reform_responsiveness_gate(everything)[0].status == "needs_review"
-
-
-def test_a_withheld_year_never_excuses_a_failure():
-    # The tool's failing verdict may come from the withheld year: it fails.
-    failing = _withhold(_responsive_report(), UC_ALLOWANCE, {2027})
-    for row in failing["identities"]:
-        if row["identity_id"] == f"responsive:{UC_ALLOWANCE}":
-            row.update(status="fail", detail="2027-28: did not move enough")
-    result = reform_responsiveness_gate(failing)[0]
-    assert (
-        result.status == "fail"
-        and f"({UC_ALLOWANCE}) did not respond" in result.summary
-    )
-    # A published year that misses the minimum, under a passing verdict, is
-    # still a disagreement, withheld years or not.
-    lying = _withhold(
-        _responsive_report(overrides={(UC_ALLOWANCE, 2028): 0.0}, lie=UC_ALLOWANCE),
-        UC_ALLOWANCE,
-        {2027},
-    )
-    assert reform_responsiveness_gate(lying)[0].status == "error"
-    # A null that is not marked suppressed is a missing value, not withheld.
-    unmarked = _responsive_report()
-    for row in unmarked["metrics"]:
-        if row["metric_id"] == f"reform_targets.{UC_ALLOWANCE}" and row["year"] == 2027:
-            row["value"] = None
-    assert reform_responsiveness_gate(unmarked)[0].status == "error"
-
-
-def test_a_suppressed_reform_target_with_a_value_is_never_used_or_recorded():
-    """supp-r1 review: a target marked suppressed but carrying a value (a
-    synthetic one here) must not pass, and its value never reaches the
-    evidence."""
-
-    report = _responsive_report()
-    for row in report["metrics"]:
-        if row["metric_id"] == f"reform_targets.{UC_ALLOWANCE}" and row["year"] == 2027:
-            row["suppressed"] = True  # keeps its (passing) value
-    result, evidence = reform_responsiveness_gate(report)
-    assert result.status == "error"
-    assert (
-        f"suppressed reform targets carry a value: reform_targets.{UC_ALLOWANCE} 2027"
-        in (result.summary)
-    )
-    rows = {row["id"]: row for row in evidence["reforms"]}
-    assert rows[UC_ALLOWANCE]["target_changes"]["2027"] is None
-    assert rows[UC_ALLOWANCE]["withheld_years"] == []
-
-
-@pytest.mark.parametrize("what", ["target", "reform_runs", "responsive"])
-def test_a_repeated_reform_row_cannot_decide_responsiveness(what):
-    report = _responsive_report()
-    if what == "target":
-        row = next(
-            r
-            for r in report["metrics"]
-            if r["metric_id"] == f"reform_targets.{UC_ALLOWANCE}"
-        )
-        report["metrics"].append({**row, "value": 0.0})
-        repeated = f"reform_targets.{UC_ALLOWANCE} {row['year']}"
-    else:
-        check = f"{what}:{UC_ALLOWANCE}"
-        report["identities"].append({"identity_id": check, "status": "pass"})
-        repeated = check
-    result = reform_responsiveness_gate(report)[0]
-    assert (
-        result.status == "error" and f"the report repeats {repeated}" in result.summary
-    )
-
-
-def test_a_boolean_reform_target_is_not_a_number():
-    """supp-r1 mutant M21: True must not count as a change of 1."""
-
-    reform = {**_standard_reforms()[0], "minimum": 0.5}
-    report = {
-        "status": "ok",
-        "years": [2027],
-        "metrics": [
-            {
-                "metric_id": f"reform_targets.{reform['id']}",
-                "year": 2027,
-                "value": True,
-                **PUBLISHED,
-            }
-        ],
-        "identities": [
-            {"identity_id": f"reform_runs:{reform['id']}", "status": "pass"},
-            {"identity_id": f"responsive:{reform['id']}", "status": "pass"},
-        ],
-    }
-    from policyengine.provenance.uk_candidate import reform_responsiveness
-
-    result = reform_responsiveness(
-        report=report, standard_reforms=[reform], years=[2027]
-    )[0]
-    assert result.status == "error" and "do not meet the minimum" in result.summary
-
-
-@settings(max_examples=150, deadline=None)
-@given(
-    withheld=st.sets(st.sampled_from(RESPONSE_YEARS)),
-    scale=st.floats(min_value=-3.0, max_value=6.0),
-)
-def test_withholding_never_improves_responsiveness(withheld, scale):
-    """Monotone in information: withholding years never turns a fail or an
-    error into a pass, and never passes at all. Only the State Pension
-    reform varies; the other nine respond, so its own verdict decides."""
-
-    order = {"pass": 0, "needs_review": 1, "fail": 2, "error": 2}
-    pension = next(r for r in _standard_reforms() if r["id"] == STATE_PENSION)
-    sign = 1.0 if pension["direction"] == "up" else -1.0
-    overrides = {
-        (STATE_PENSION, year): sign * pension["minimum"] * scale
-        for year in RESPONSE_YEARS
-    }
-    full = reform_responsiveness_gate(_responsive_report(overrides=overrides))[0].status
-    hidden = reform_responsiveness_gate(
-        _withhold(_responsive_report(overrides=overrides), STATE_PENSION, withheld)
-    )[0].status
-    assert full == ("pass" if scale >= 1.0 else "fail")
-    if withheld:
-        assert hidden != "pass"
-    assert order[hidden] >= order[full]
-
-
-REAL_REPORT = (
-    Path(__file__).parent / "fixtures" / "uk_metrics" / "budget_metrics_report.json"
-)
-
-
-def _real_report():
-    return json.loads(REAL_REPORT.read_text())
-
-
-def test_the_real_report_on_the_certified_data_passes_responsiveness():
-    """W3's real report: ten reforms, each clearing its minimum in every year."""
-
-    report = _real_report()
-    result, evidence = reform_responsiveness_gate(report)
-    assert result.status == "pass", result.summary
-    assert "All 10 standard reforms" in result.summary
-    rows = {row["id"]: row for row in evidence["reforms"]}
-    uc = rows["uc_standard_allowance_plus_10pc"]["target_changes"]
-    pension = rows["state_pension_plus_10pc"]["target_changes"]
-    assert all(3.0e9 < value < 3.4e9 for value in uc.values())
-    assert all(12.0e9 < value < 14.5e9 for value in pension.values())
-    assert all(row["withheld_years"] == [] for row in rows.values())
-
-
-def reform_responsiveness_gate(report):
-    from policyengine.provenance.uk_candidate import reform_responsiveness
-
-    return reform_responsiveness(
-        report=report, standard_reforms=_standard_reforms(), years=RESPONSE_YEARS
-    )
-
-
-@pytest.mark.parametrize("reform_id", [UC_ALLOWANCE, STATE_PENSION])
-def test_the_backtest_failures_fail_on_the_real_report(reform_id):
-    """Nikhil's backtest: UC allowance +10% returned exactly ยฃ0; State Pension +10% barely moved."""
-
-    report = _real_report()
-    for row in report["metrics"]:
-        if row["metric_id"] == f"reform_targets.{reform_id}":
-            row["value"] = 0.0 if reform_id == UC_ALLOWANCE else row["value"] * 0.01
-    # The tool's own check would say fail; a report that still says pass is an error.
-    assert reform_responsiveness_gate(report)[0].status == "error"
-    for row in report["identities"]:
-        if row["identity_id"] == f"responsive:{reform_id}":
-            row["status"] = "fail"
-            row["detail"] = "did not move"
-    result = reform_responsiveness_gate(report)[0]
-    assert result.status == "fail"
-    assert f"({reform_id}) did not respond" in result.summary
-
-
-def _real_bounds():
-    return json.loads(
-        (
-            Path(__file__).parents[1]
-            / "src/policyengine/data/qualification/uk_review_bounds.json"
-        ).read_text()
-    )
-
-
-def test_the_real_report_fits_the_metrics_review_classification():
-    """Every check that fails on the certified pair is a no-worsening check,
-    and every metric kind has a review bound, so a pair compared with itself
-    passes, suppressed figures and all."""
-
-    from policyengine.provenance.uk_candidate import classify_check
-
-    report = _real_report()
-    bounds = _real_bounds()
-    failing = sorted(
-        row["identity_id"] for row in report["identities"] if row["status"] == "fail"
-    )
-    assert failing == ["sign:vat"]
-    assert {classify_check(check_id) for check_id in failing} == {"regression"}
-    assert {row["kind"] for row in report["metrics"]} <= set(bounds["kinds"])
-    status, summary, evidence = compare_metric_reports(report, report, bounds)
-    assert status == "pass", summary
-    assert "14 suppressed on both sides, not compared" in summary
-    assert sorted(evidence["preexisting_check_failures"]) == failing
-    assert evidence["skipped_checks"] == ["sign:disabled_students_allowance"]
-    assert evidence["newly_skipped_checks"] == evidence["hard_checks_not_run"] == []
-    assert evidence["withheld_changes"] == []
-    assert len(evidence["suppressed_metrics"]) == 14
-    # The same failures against a pair that passed them are regressions.
-    clean = _real_report()
-    for row in clean["identities"]:
-        if row["status"] == "fail":
-            row["status"] = "pass"
-    assert compare_metric_reports(report, clean, bounds)[0] == "fail"
-
-
-def test_the_real_report_suppresses_its_small_cells():
-    """W3's report on the certified pair: Disabled Students' Allowance comes
-    from fewer than 10 records, so its total and caseload are suppressed in
-    every year, every total holding it is rebuilt without it, and its sign
-    check is not run. A report that published it would fail the gate."""
-
-    report = _real_report()
-    suppressed = sorted(
-        (row["metric_id"], row["year"])
-        for row in report["metrics"]
-        if row["suppressed"]
-    )
-    dsa = (
-        "spending.disabled_students_allowance",
-        "caseloads.disabled_students_allowance",
-    )
-    assert suppressed == sorted((m, y) for m in dsa for y in RESPONSE_YEARS)
-    assert all(row["value"] is None for row in report["metrics"] if row["suppressed"])
-    rebuilt = [row for row in report["metrics"] if row["excludes"]]
-    assert len(rebuilt) == 112
-    assert len({row["metric_id"] for row in rebuilt}) == 16
-    assert {tuple(row["excludes"]) for row in rebuilt} == {(dsa[0],)}
-    # A figure published from a small cell, or a total that names one it
-    # does not suppress, is a report the gate cannot read safely.
-    published = _real_report()
-    for row in published["metrics"]:
-        if row["metric_id"] == dsa[0] and row["year"] == 2027:
-            row["value"] = 1.0e6
-    status, summary, _ = compare_metric_reports(published, report, _real_bounds())
-    assert status == "fail"
-    assert f"suppressed figures with a value: {dsa[0]} 2027" in summary
-    unsuppressed = _real_report()
-    for row in unsuppressed["metrics"]:
-        if row["metric_id"] == dsa[0] and row["year"] == 2027:
-            row.update(value=1.0e6, suppressed=False)
-    status, summary, _ = compare_metric_reports(unsuppressed, report, _real_bounds())
-    assert status == "fail"
-    assert "totals excluding a figure it does not suppress" in summary
-
-
-def test_the_real_report_gives_each_excluded_figure_its_sign():
-    """At 1191ac5a4 Disabled Students' Allowance enters the spending totals,
-    household benefits and household net income at +1, and the two balances
-    at -1."""
-
-    signs = {
-        row["metric_id"]: row["exclude_signs"]
-        for row in _real_report()["metrics"]
-        if row["excludes"] and row["year"] == 2027
-    }
-    dsa = "spending.disabled_students_allowance"
-    assert {metric for metric, sign in signs.items() if sign == {dsa: -1}} == {
-        "model.gov_balance",
-        "balance.balance",
-    }
-    assert all(sign in ({dsa: 1}, {dsa: -1}) for sign in signs.values())
-
-
-def test_a_head_published_in_the_previous_pair_lines_up_on_the_real_report():
-    """A previous pair that published Disabled Students' Allowance in
-    2027-28 (a synthetic ยฃ5m and 1,000 claimants, not data): its totals hold
-    it, the candidate's are rebuilt without it. The six additive totals line
-    up exactly; the head, its caseload and the ten decile means are
-    withheld."""
-
-    candidate, previous = _real_report(), _real_report()
-    dsa = "spending.disabled_students_allowance"
-    synthetic = {dsa: 5.0e6, "caseloads.disabled_students_allowance": 1.0e3}
-    for row in previous["metrics"]:
-        if row["year"] != 2027:
-            continue
-        if row["metric_id"] in synthetic:
-            row.update(value=synthetic[row["metric_id"]], suppressed=False)
-        elif row["excludes"]:
-            row["value"] += row["exclude_signs"][dsa] * synthetic[dsa]
-            row.update(excludes=[], exclude_signs={})
-    status, summary, evidence = compare_metric_reports(
-        candidate, previous, _real_bounds()
-    )
-    assert status == "needs_review", summary
-    assert sorted(evidence["lined_up_totals"]) == sorted(
-        f"{metric} 2027"
-        for metric in (
-            "balance.balance",
-            "balance.spending",
-            "household.household_net_income",
-            "model.gov_balance",
-            "model.gov_spending",
-            "model.household_benefits",
-        )
-    )
-    withheld = sorted(row["metric_id"] for row in evidence["withheld_changes"])
-    assert withheld == sorted(
-        [dsa, "caseloads.disabled_students_allowance"]
-        + [f"deciles.mean_income.{decile}" for decile in range(1, 11)]
-    )
-    assert evidence["moves_beyond_bounds"] == []
-
-
-def test_only_a_well_formed_report_is_published_to_the_ledger():
-    """The ledger is public: a report that breaks the small-cell format is
-    replaced by its digest and problems (supp-r1 review)."""
-
-    from policyengine.provenance.uk_candidate import publishable_metrics_report
-
-    report = _real_report()
-    assert publishable_metrics_report(report) == report
-    marker = 123456789.25  # synthetic
-    leaked = _real_report()
-    for row in leaked["metrics"]:
-        if row["metric_id"] == "spending.disabled_students_allowance":
-            row["value"] = marker
-    published = publishable_metrics_report(leaked)
-    assert set(published) == {"withheld", "report_sha256", "problems"}
-    assert "suppressed figures with a value" in published["problems"][0]
-    assert str(marker) not in json.dumps(published)
-    # A report from a tool that predates suppression is not published either.
-    old = _real_report()
-    for row in old["metrics"]:
-        for field in ("suppressed", "excludes", "exclude_signs"):
-            row.pop(field)
-        row["value"] = row["value"] if row["value"] is not None else marker
-    assert "withheld" in publishable_metrics_report(old)
-    assert str(marker) not in json.dumps(publishable_metrics_report(old))
-
-
-def test_a_real_failure_that_spread_to_a_new_year_has_worsened():
-    """Scope-based no-worsening on the tool's real failing_scopes."""
-
-    bounds = _real_bounds()
-    report = _real_report()
-    scopes = {
-        row["identity_id"]: row["failing_scopes"]
-        for row in report["identities"]
-        if row["status"] == "fail"
-    }
-    assert scopes == {"sign:vat": [str(year) for year in RESPONSE_YEARS]}
-    # The previous pair failed sign:vat in every year but the last.
-    earlier = _real_report()
-    for row in earlier["identities"]:
-        if row["identity_id"] == "sign:vat":
-            row["failing_scopes"] = row["failing_scopes"][:-1]
-    status, summary, _ = compare_metric_reports(report, earlier, bounds)
-    assert status == "fail" and "sign:vat (fails in more scopes)" in summary
-    # A candidate that fails it in fewer years than before has not worsened.
-    assert compare_metric_reports(earlier, report, bounds)[0] == "pass"
-
-
-def test_reform_checks_are_hard_in_the_metrics_review():
-    from policyengine.provenance.uk_candidate import classify_check
-
-    assert classify_check("reform_runs:basic_rate_plus_1pp") == "hard"
-    assert classify_check("responsive:state_pension_plus_10pc") == "hard"
-
-
-def test_metrics_with_nan_values_fail_rather_than_crash():
-    nan = {**BASE, ("income_tax", 2027, "receipt"): float("nan")}
-    result, evidence = metrics_review(
-        candidate_report=_report(nan), previous_report=_report(BASE), bounds=BOUNDS
-    )
-    assert result.status == "fail"
-    assert result.evidence_sha256
-
-
-# Same-label assertions. Contract 1.1.0 read the 2034 allowance twice (one
-# gating check, one pending d1344), so its full run exercised the gate's
-# resolution of rows that share a label. Since 2.0.0 there is no such pair, so
-# these tests declare one on top of the real runner and its real full run.
-
-_SAME_LABEL = "parameter:gov.hmrc.income_tax.allowances.personal_allowance.amount:2034"
-_SAME_LABEL_ORACLE = "a second reading of the 2034 allowance, pending d1344"
-
-
-def _with_same_label_rows(report):
-    """Add the rows the runner would emit for a second, pending check on
-    ``_SAME_LABEL``: pending on the country routes, the declared parameter
-    exemption on the in-process wrappers, none on api.sim_api (whose whole
-    route is exempt)."""
-
-    from policyengine.tax_benefit_models.uk import budget_reform_contract as runner
-
-    freeze = next(case for case in runner.CASES if case.id == "extended_freeze")
-    extra_id = f"{_SAME_LABEL}:{len(freeze.checks)}"
-    rows = []
-    for row in report["cases"]:
-        rows.append(row)
-        if row["case_id"] == "extended_freeze" and row.get("check") == _SAME_LABEL:
-            second = dict(row, assertion_id=extra_id)
-            if row["status"] == "pass":
-                second.update(
-                    status="pending",
-                    decision_id="d1344",
-                    oracle=_SAME_LABEL_ORACLE,
-                )
-            rows.append(second)
-    report["cases"] = rows
-    return report
-
-
-def _gate_with_same_label(report):
-    """Gate ``report`` against the real runner plus the second check."""
-    import dataclasses
-    import importlib
-    import types
-
-    from policyengine.tax_benefit_models.uk import budget_reform_contract as runner
-
-    cases = list(runner.CASES)
-    index = next(i for i, case in enumerate(cases) if case.id == "extended_freeze")
-    freeze = cases[index]
-    gating = next(
-        check
-        for check in freeze.checks
-        if f"{check.target}:{check.name}:{check.year}" == _SAME_LABEL
-    )
-    second = dataclasses.replace(gating, oracle=_SAME_LABEL_ORACLE, pending="d1344")
-    cases[index] = dataclasses.replace(freeze, checks=(*freeze.checks, second))
-    proxy = types.ModuleType(runner.__name__)
-    proxy.__dict__.update(vars(runner))
-    proxy.CASES = tuple(cases)
-    proxy.run_budget_reform_contract = lambda **kwargs: _recount(report)
-
-    def importer(name):
-        return proxy if name == runner.__name__ else importlib.import_module(name)
-
-    return reform_contract(
-        entrypoint=ENTRY,
-        importer=importer,
-        expected_versions=report["versions"],
-        expected_dataset_sha256=CERTIFIED_SHA,
-        seed=0,
-        max_examples=20,
-        dataset_path=Path("enhanced_frs_2024_25.h5"),
-    )[0]
-
-
-def _same_label_rows(report, route="country.reform_dict"):
-    return [
-        row
-        for row in report["cases"]
-        if row["case_id"] == "extended_freeze"
-        and row["route"] == route
-        and row.get("check") == _SAME_LABEL
-    ]
-
-
-def _strip_ids(report):
-    for row in report["cases"]:
-        row.pop("assertion_id", None)
-
-
-@pytest.mark.parametrize("strip_ids", [False, True])
-def test_same_label_assertions_resolve_by_id_or_by_oracle_and_order(strip_ids):
-    report = _with_same_label_rows(_fixture("full_released_uk_2.135.0.json"))
-    assert len(_same_label_rows(report)) == 2
-    assert len(_same_label_rows(report, "wrapper.household")) == 2
-    if strip_ids:
-        _strip_ids(report)
-    result = _gate_with_same_label(report)
-    assert result.status == "pass", result.summary
-
-
-@pytest.mark.parametrize("strip_ids", [False, True])
-def test_same_label_mandatory_and_pending_statuses_cannot_swap(strip_ids):
-    report = _with_same_label_rows(_fixture("full_released_uk_2.135.0.json"))
-    mandatory, pending = _same_label_rows(report)
-    mandatory.update(status="pending", decision_id="d1344")
-    pending.update(status="pass", decision_id=None)
-    if strip_ids:
-        _strip_ids(report)
-    assert _gate_with_same_label(report).status == "error"
-
-
-@pytest.mark.parametrize("strip_ids", [False, True])
-@pytest.mark.parametrize("replace_status", ["pass", "pending"])
-def test_same_label_duplicate_cannot_satisfy_the_other_category(
-    replace_status, strip_ids
-):
-    report = _with_same_label_rows(_fixture("full_released_uk_2.135.0.json"))
-    mandatory, pending = _same_label_rows(report)
-    source, replaced = (
-        (mandatory, pending) if replace_status == "pass" else (pending, mandatory)
-    )
-    report["cases"][report["cases"].index(replaced)] = dict(source)
-    if strip_ids:
-        _strip_ids(report)
-    result = _gate_with_same_label(report)
-    assert result.status == "error", result.summary
-    assert any(
-        "assertion multiplicities differ" in p for p in result.details["problems"]
-    )
-
-
-def test_same_label_rows_without_an_oracle_or_id_cannot_resolve():
-    report = _with_same_label_rows(_fixture("full_released_uk_2.135.0.json"))
-    for row in _same_label_rows(report):
-        row.pop("assertion_id", None)
-        row.pop("oracle", None)
-    result = _gate_with_same_label(report)
-    assert result.status == "error", result.summary
-    assert any(
-        "no unique declared assertion identity" in p for p in result.details["problems"]
-    )
-
-
-def test_same_label_unsupported_rows_are_each_consumed_once():
-    report = _with_same_label_rows(_fixture("full_released_uk_2.135.0.json"))
-    _strip_ids(report)
-    first, second = _same_label_rows(report, "wrapper.household")
-    report["cases"].remove(second)
-    result = _gate_with_same_label(report)
-    assert result.status == "error", result.summary
-    assert any(
-        "assertion multiplicities differ" in p for p in result.details["problems"]
-    )
-
-
-def test_a_pending_assertion_reported_pass_cannot_qualify():
-    """A check declared pending is reported pending; a pass in its place is
-    counted against the pending category, not accepted as an extra pass."""
-    report = _fixture("full_released_uk_2.135.0.json")
-    row = next(row for row in report["cases"] if row["status"] == "pending")
-    row.update(status="pass", decision_id=None)
-    result = _run_released_contract(_recount(report))
-    assert result.status == "error", result.summary
-    assert any(
-        p.startswith("pending assertion multiplicities differ")
-        for p in result.details["problems"]
-    )
-
-
-def test_an_assertion_id_with_another_oracle_cannot_qualify():
-    report = _fixture("full_released_uk_2.135.0.json")
-    row = next(
-        row for row in report["cases"] if row["status"] == "pass" and row.get("oracle")
-    )
-    row["oracle"] = "an oracle the runner does not declare for this assertion"
-    result = _run_released_contract(report)
-    assert result.status == "error", result.summary
-    assert any(
-        "no unique declared assertion identity" in p for p in result.details["problems"]
-    )
diff --git a/tests/test_uk_candidate_metric_baselines.py b/tests/test_uk_candidate_metric_baselines.py
deleted file mode 100644
index b55fc15ec..000000000
--- a/tests/test_uk_candidate_metric_baselines.py
+++ /dev/null
@@ -1,743 +0,0 @@
-"""Review bounds require usable baseline values for each candidate metric."""
-
-import copy
-
-import pytest
-
-from policyengine.provenance.uk_candidate import compare_metric_reports, metrics_review
-
-BOUNDS = {"default": {"relative": 0.02, "absolute": 5e8}}
-
-
-#: The small-cell fields every row of the pinned tool's report carries.
-PUBLISHED = {"suppressed": False, "excludes": [], "exclude_signs": {}}
-
-
-def _report():
-    return {
-        "status": "ok",
-        "metrics_version": "m1",
-        "partition_version": "p1",
-        "metrics": [
-            {
-                "metric_id": "income_tax",
-                "year": 2027,
-                "kind": "receipt",
-                "value": 3e11,
-                **PUBLISHED,
-            },
-            {
-                "metric_id": "relative_poverty",
-                "year": 2027,
-                "kind": "poverty",
-                "value": 0.17,
-                **PUBLISHED,
-            },
-        ],
-        "identities": [{"identity_id": "weights:household", "status": "pass"}],
-    }
-
-
-@pytest.mark.parametrize(
-    "baseline_value", [float("nan"), float("inf"), -float("inf"), None, "invalid"]
-)
-def test_unusable_baseline_cannot_claim_a_large_move_is_within_bounds(baseline_value):
-    candidate, previous = _report(), _report()
-    candidate["metrics"][0]["value"] = 1e12
-    previous["metrics"][0]["value"] = baseline_value
-
-    status, summary, _ = compare_metric_reports(candidate, previous, BOUNDS)
-
-    assert status == "fail"
-    assert "previous" in summary and "non-finite" in summary
-    gate, _ = metrics_review(
-        candidate_report=candidate, previous_report=previous, bounds=BOUNDS
-    )
-    assert gate.status == "fail"
-    assert gate.evidence_sha256
-
-
-def test_a_baseline_row_without_a_value_cannot_pass():
-    candidate, previous = _report(), _report()
-    del previous["metrics"][0]["value"]
-    assert compare_metric_reports(candidate, previous, BOUNDS)[0] == "fail"
-
-
-def test_a_metric_without_a_baseline_requires_review():
-    candidate, previous = _report(), _report()
-    previous["metrics"] = previous["metrics"][1:]
-    status, summary, evidence = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == "needs_review"
-    assert "no baseline" in summary and "income_tax" in summary
-    assert evidence["metrics_without_baseline"] == ["income_tax 2027"]
-
-
-@pytest.mark.parametrize("side", ["candidate", "previous"])
-def test_a_duplicate_metric_cannot_hide_an_unusable_value(side):
-    candidate, previous = _report(), _report()
-    report = candidate if side == "candidate" else previous
-    report["metrics"].insert(0, {**report["metrics"][0], "value": float("nan")})
-    status, summary, _ = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == "fail"
-    assert "duplicate metrics" in summary and side in summary
-
-
-def test_duplicate_finite_baselines_cannot_select_the_most_favourable_comparison():
-    candidate, previous = _report(), _report()
-    candidate["metrics"][0]["value"] = 1e12
-    previous["metrics"].append({**previous["metrics"][0], "value": 1e12})
-    status, summary, _ = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == "fail"
-    assert "previous report has duplicate metrics: income_tax 2027" in summary
-
-
-def test_an_unusable_cross_report_cannot_pass_either_review_step():
-    candidate, previous, cross = _report(), _report(), _report()
-    cross["metrics"][0]["value"] = float("nan")
-    gate, evidence = metrics_review(
-        candidate_report=candidate,
-        previous_report=previous,
-        cross_report=cross,
-        bounds=BOUNDS,
-    )
-    assert gate.status == "fail"
-    assert "model_only" in evidence and "data_only" in evidence
-    assert "data_only: the previous report has non-finite" in gate.summary
-
-
-def test_valid_baselines_preserve_bounds_and_do_not_mutate_reports():
-    candidate, previous = _report(), _report()
-    original = copy.deepcopy((candidate, previous))
-    assert compare_metric_reports(candidate, previous, BOUNDS)[0] == "pass"
-    assert (candidate, previous) == original
-    candidate["metrics"][0]["value"] = 1e12
-    status, _, evidence = compare_metric_reports(candidate, previous, BOUNDS)
-    assert status == "needs_review"
-    assert evidence["moves_beyond_bounds"][0]["metric_id"] == "income_tax"
-
-
-def _previous_certificate():
-    return {
-        "bundle_version": "6.3.0",
-        "model_version": "2.125.1",
-        "core_version": "3.33.0",
-        "model_wheel_sha256": "1" * 64,
-        "core_wheel_sha256": "2" * 64,
-        "data_release_version": "1.58.0",
-        "dataset_sha256": "3" * 64,
-        "dataset_name": "national",
-        "release_manifest_reference": {
-            "repo_id": "policyengine/uk-data",
-            "repo_type": "model",
-            "path": "releases/1.58.0/release_manifest.json",
-            "revision": "b" * 40,
-        },
-        "dataset_reference": {
-            "repo_id": "policyengine/uk-data",
-            "repo_type": "model",
-            "path": "national.h5",
-            "revision": "a" * 40,
-            "sha256": "3" * 64,
-        },
-    }
-
-
-def _previous_install_io(
-    tmp_path, monkeypatch, *, bad_pypi=None, bad_download=None, identity_problems=None
-):
-    import json
-    from pathlib import Path
-    from types import SimpleNamespace
-
-    import requests
-
-    from policyengine.provenance import uk_candidate
-
-    previous = _previous_certificate()
-    commands = []
-
-    def get(url, **kwargs):
-        package, version = url.removeprefix("https://pypi.org/pypi/").split("/")[:2]
-        digest = previous[
-            "model_wheel_sha256"
-            if package == "policyengine-uk"
-            else "core_wheel_sha256"
-        ]
-        if package == bad_pypi:
-            digest = "0" * 64
-        return SimpleNamespace(
-            raise_for_status=lambda: None,
-            json=lambda: {
-                "urls": [
-                    {
-                        "packagetype": "bdist_wheel",
-                        "filename": f"{package.replace('-', '_')}-{version}-py3-none-any.whl",
-                        "url": f"https://wheels/{package}/{version}",
-                        "digests": {"sha256": digest},
-                    }
-                ]
-            },
-        )
-
-    def run(command, **kwargs):
-        commands.append(command)
-        if command[:2] == ["uv", "venv"]:
-            python = Path(command[2]) / "bin/python"
-            python.parent.mkdir(parents=True)
-            python.touch()
-        elif "-c" in command:
-            Path(command[-1]).write_text(
-                json.dumps({"problems": identity_problems or []})
-            )
-
-    monkeypatch.setattr(requests, "get", get)
-    monkeypatch.setattr(uk_candidate, "_download", lambda url, path, **kwargs: path)
-    monkeypatch.setattr(
-        uk_candidate,
-        "sha256_file",
-        lambda path: (
-            "0" * 64
-            if (
-                ("policyengine_uk" in path.name and bad_download == "policyengine-uk")
-                or (
-                    "policyengine_core" in path.name
-                    and bad_download == "policyengine-core"
-                )
-            )
-            else previous[
-                "model_wheel_sha256"
-                if "policyengine_uk" in path.name
-                else "core_wheel_sha256"
-            ]
-        ),
-    )
-    return previous, commands, run
-
-
-def test_previous_baseline_installs_the_certificate_pair_not_the_wrapper_extra(
-    tmp_path, monkeypatch
-):
-    from policyengine.provenance import uk_candidate
-
-    previous, commands, run = _previous_install_io(tmp_path, monkeypatch)
-    uk_candidate.previous_pair_python(previous, tmp_path, run=run)
-    install = next(
-        command for command in commands if command[:3] == ["uv", "pip", "install"]
-    )
-    assert f"policyengine=={previous['bundle_version']}" in install
-    assert not any(argument.startswith("policyengine[uk]") for argument in install)
-    assert any("policyengine_uk-2.125.1" in argument for argument in install)
-    assert any("policyengine_core-3.33.0" in argument for argument in install)
-    assert any("-c" in command for command in commands), (
-        "The installed wheels must be verified."
-    )
-
-
-@pytest.mark.parametrize("package", ["policyengine-uk", "policyengine-core"])
-@pytest.mark.parametrize("source", ["PyPI", "download"])
-def test_previous_baseline_refuses_a_different_wheel_hash(
-    tmp_path, monkeypatch, package, source
-):
-    from policyengine.provenance import uk_candidate
-
-    previous, _, run = _previous_install_io(
-        tmp_path,
-        monkeypatch,
-        bad_pypi=package if source == "PyPI" else None,
-        bad_download=package if source == "download" else None,
-    )
-    result, _ = uk_candidate.run_gate(
-        "metrics_review",
-        lambda: uk_candidate.previous_pair_python(previous, tmp_path, run=run),
-    )
-    assert result.status == "unavailable"
-    assert package in result.summary and "wheel differs" in result.summary
-
-
-def test_previous_baseline_refuses_installed_mismatches_and_rechecks_reused_environments(
-    tmp_path, monkeypatch
-):
-    from policyengine.provenance import uk_candidate
-
-    previous, commands, run = _previous_install_io(tmp_path, monkeypatch)
-    first = uk_candidate.previous_pair_python(previous, tmp_path, run=run)
-    second = uk_candidate.previous_pair_python(previous, tmp_path, run=run)
-    assert first == second
-    assert sum(command[:2] == ["uv", "venv"] for command in commands) == 1
-    assert sum("-c" in command for command in commands) == 2
-    previous, _, run = _previous_install_io(
-        tmp_path,
-        monkeypatch,
-        identity_problems=["policyengine-core: installed bytes differ"],
-    )
-    result, _ = uk_candidate.run_gate(
-        "metrics_review",
-        lambda: uk_candidate.previous_pair_python(previous, tmp_path, run=run),
-    )
-    assert result.status == "unavailable"
-    assert "installed bytes differ" in result.summary
-
-
-def test_previous_baseline_cache_changes_when_same_wrapper_certifies_a_new_pair(
-    tmp_path, monkeypatch
-):
-    from policyengine.provenance import uk_candidate
-
-    previous, _, run = _previous_install_io(tmp_path, monkeypatch)
-    first = uk_candidate.previous_pair_python(previous, tmp_path, run=run)
-    previous["model_version"] = "2.126.12"
-    second = uk_candidate.previous_pair_python(previous, tmp_path, run=run)
-    assert first != second
-
-
-@pytest.mark.parametrize(
-    "changed_pin",
-    [
-        "model_version",
-        "core_version",
-        "data_release_version",
-        "dataset_sha256",
-        "model_wheel_sha256",
-        "core_wheel_sha256",
-    ],
-)
-def test_a_ledger_baseline_must_match_every_previous_certificate_pin(
-    tmp_path, changed_pin
-):
-    from policyengine.provenance import uk_candidate
-    from policyengine.provenance.qualification_ledger import write_json
-    from tests.qualification_fixtures import make_pair, make_receipt
-
-    pair = make_pair()
-    previous = {
-        "bundle_version": "6.3.0",
-        "qualification_pair_id": pair.pair_id,
-        "model_version": pair.model.version,
-        "core_version": pair.core.version,
-        "data_release_version": pair.data.release_version,
-        "dataset_sha256": pair.data.dataset_sha256,
-    }
-    write_json(
-        tmp_path / "uk" / pair.pair_id / "qualification_receipt.json",
-        make_receipt(pair).canonical_payload(),
-    )
-    previous[changed_pin] = "0" * 64 if changed_pin.endswith("sha256") else "999.0.0"
-    result, _ = uk_candidate.run_gate(
-        "metrics_review", lambda: uk_candidate._previous_pair_pins(previous, tmp_path)
-    )
-    assert result.status == "unavailable"
-    assert "different pairs" in result.summary
-
-
-def test_a_ledger_baseline_supplies_exact_wheel_and_data_pins(tmp_path):
-    from policyengine.provenance import uk_candidate
-    from policyengine.provenance.qualification_ledger import write_json
-    from tests.qualification_fixtures import make_pair, make_receipt
-
-    pair = make_pair()
-    previous = {
-        "bundle_version": "6.3.0",
-        "qualification_pair_id": pair.pair_id,
-        "model_version": pair.model.version,
-        "core_version": pair.core.version,
-        "data_release_version": pair.data.release_version,
-        "dataset_sha256": pair.data.dataset_sha256,
-    }
-    write_json(
-        tmp_path / "uk" / pair.pair_id / "qualification_receipt.json",
-        make_receipt(pair).canonical_payload(),
-    )
-    pins = uk_candidate._previous_pair_pins(previous, tmp_path)
-    assert pins["model_wheel_sha256"] == pair.model.wheel_sha256
-    assert pins["core_wheel_sha256"] == pair.core.wheel_sha256
-    assert pins["dataset_reference"] == {
-        "repo_id": pair.data.repo_id,
-        "repo_type": pair.data.repo_type,
-        "path": pair.data.dataset_path,
-        "revision": pair.data.dataset_revision,
-        "sha256": pair.data.dataset_sha256,
-    }
-
-
-@pytest.mark.parametrize("package", ["policyengine-uk", "policyengine-core"])
-@pytest.mark.parametrize(
-    "mismatch", ["version", "wheel", "installed bytes", "missing package"]
-)
-def test_baseline_identity_verification_detects_installed_mismatches(
-    tmp_path, monkeypatch, package, mismatch
-):
-    import json
-    import sys
-
-    from policyengine.provenance import uk_candidate, wheels
-
-    settings = {
-        "source": str(
-            __import__("pathlib").Path(uk_candidate.__file__).resolve().parents[1]
-        ),
-        "wheels": [
-            {
-                "name": name,
-                "version": "1.0.0",
-                "sha256": "1" * 64,
-                "path": str(tmp_path / f"{name}.whl"),
-            }
-            for name in ("policyengine-uk", "policyengine-core")
-        ],
-    }
-
-    def installed_version(name):
-        from importlib.metadata import PackageNotFoundError
-
-        if name == package and mismatch == "missing package":
-            raise PackageNotFoundError(name)
-        return "2.0.0" if name == package and mismatch == "version" else "1.0.0"
-
-    monkeypatch.setattr("importlib.metadata.version", installed_version)
-    monkeypatch.setattr(
-        wheels,
-        "verify_installed_against_wheel",
-        lambda name, path: {
-            "wheel_sha256": "2" * 64
-            if name == package and mismatch == "wheel"
-            else "1" * 64,
-            "problems": [f"{name}: mutated installed bytes"]
-            if name == package and mismatch == "installed bytes"
-            else [],
-        },
-    )
-    output = tmp_path / "identity.json"
-    monkeypatch.setattr(sys, "argv", ["runner", json.dumps(settings), str(output)])
-    # Restore the package namespace the isolated verifier creates when the test ends.
-    monkeypatch.setitem(sys.modules, "policyengine", sys.modules["policyengine"])
-    exec(
-        compile(uk_candidate.PREVIOUS_IDENTITY_RUNNER, "previous-identity", "exec"), {}
-    )
-    report = json.loads(output.read_text())
-    assert report["problems"] and package in report["problems"][0]
-
-
-def test_previous_data_is_downloaded_from_its_pin_and_verified(tmp_path, monkeypatch):
-    import hashlib
-    import json
-    from types import SimpleNamespace
-
-    import requests
-
-    from policyengine.provenance import uk_candidate
-
-    data = b"exact previous data"
-    digest = hashlib.sha256(data).hexdigest()
-    previous = _previous_certificate()
-    previous["dataset_sha256"] = previous["dataset_reference"]["sha256"] = digest
-    urls = []
-
-    def download(url, path, **kwargs):
-        urls.append(url)
-        path.parent.mkdir(parents=True)
-        path.write_bytes(data)
-        return path
-
-    monkeypatch.setattr(uk_candidate, "_download", download)
-    monkeypatch.setattr(
-        requests,
-        "get",
-        lambda *args, **kwargs: SimpleNamespace(
-            raise_for_status=lambda: None,
-            content=json.dumps(_previous_release_manifest(previous)).encode(),
-        ),
-    )
-    path = uk_candidate.previous_pair_dataset(previous, tmp_path)
-    assert urls == [
-        "https://huggingface.co/policyengine/uk-data/resolve/"
-        + "a" * 40
-        + "/national.h5"
-    ]
-    assert path.read_bytes() == data
-    path.write_bytes(b"wrong published wrapper data")
-    result, _ = uk_candidate.run_gate(
-        "metrics_review", lambda: uk_candidate.previous_pair_dataset(previous, tmp_path)
-    )
-    assert result.status == "unavailable"
-    assert "dataset bytes differ" in result.summary
-
-
-def _previous_release_manifest(previous):
-    return {
-        "schema_version": 1,
-        "country_id": "uk",
-        "data_package": {
-            "name": "uk-data",
-            "version": previous["data_release_version"],
-        },
-        "default_datasets": {"national": previous["dataset_name"]},
-        "artifacts": {
-            previous["dataset_name"]: {
-                "kind": "microdata",
-                **previous["dataset_reference"],
-            }
-        },
-    }
-
-
-@pytest.mark.parametrize(
-    "mismatch",
-    [
-        "release",
-        "default dataset",
-        "dataset sha",
-        "dataset revision",
-        "dataset path",
-        "dataset repo",
-        "dataset repo type",
-        "dataset absent",
-        "manifest sha",
-    ],
-)
-def test_previous_baseline_refuses_a_mismatched_release_manifest(
-    tmp_path, monkeypatch, mismatch
-):
-    import hashlib
-    import json
-    from types import SimpleNamespace
-
-    import requests
-
-    from policyengine.provenance import uk_candidate
-
-    previous = _previous_certificate()
-    data = b"certified previous data"
-    digest = hashlib.sha256(data).hexdigest()
-    previous["dataset_sha256"] = previous["dataset_reference"]["sha256"] = digest
-    path = tmp_path / "previous-data" / digest / "national.h5"
-    path.parent.mkdir(parents=True)
-    path.write_bytes(data)
-    manifest = _previous_release_manifest(previous)
-    if mismatch == "release":
-        manifest["data_package"]["version"] = "999.0.0"
-    elif mismatch == "default dataset":
-        manifest["default_datasets"]["national"] = "wrong"
-    elif mismatch == "dataset sha":
-        manifest["artifacts"]["national"]["sha256"] = "0" * 64
-    elif mismatch == "dataset revision":
-        manifest["artifacts"]["national"]["revision"] = "c" * 40
-    elif mismatch == "dataset path":
-        manifest["artifacts"]["national"]["path"] = "other.h5"
-    elif mismatch == "dataset repo":
-        manifest["artifacts"]["national"]["repo_id"] = "policyengine/other-data"
-    elif mismatch == "dataset repo type":
-        manifest["artifacts"]["national"]["repo_type"] = "dataset"
-    elif mismatch == "dataset absent":
-        manifest["artifacts"] = {}
-    else:
-        previous["release_manifest_reference"]["sha256"] = "0" * 64
-    monkeypatch.setattr(
-        requests,
-        "get",
-        lambda *a, **k: SimpleNamespace(
-            raise_for_status=lambda: None, content=json.dumps(manifest).encode()
-        ),
-    )
-    result, _ = uk_candidate.run_gate(
-        "metrics_review", lambda: uk_candidate.previous_pair_dataset(previous, tmp_path)
-    )
-    assert result.status == "unavailable"
-    assert "manifest" in result.summary
-
-
-@pytest.mark.parametrize(
-    "missing",
-    ["dataset_reference", "dataset_sha256", "core_version", "data_release_version"],
-)
-def test_unpinned_previous_baselines_are_incomplete(tmp_path, missing):
-    from policyengine.provenance import uk_candidate
-
-    previous = _previous_certificate()
-    del previous[missing]
-    result, _ = uk_candidate.run_gate(
-        "metrics_review", lambda: uk_candidate.previous_pair_dataset(previous, tmp_path)
-    )
-    assert result.status == "unavailable"
-
-
-def _orchestrate_metrics(tmp_path, monkeypatch, metrics, identity_mismatch=False):
-    """Run ``run_candidate_gates`` with only the metrics gate and ``metrics``
-    standing in for ``run_metrics_report``; ``(results, evidence)``."""
-
-    import json
-    from pathlib import Path
-    from types import SimpleNamespace
-
-    from policyengine.provenance import dataset_materialization, uk_candidate
-    from tests.qualification_fixtures import HARNESS, make_pair
-
-    previous = _previous_certificate()
-    previous_path = tmp_path / "certified-previous.h5"
-    candidate_path = tmp_path / "candidate.h5"
-    config = json.loads(
-        (
-            Path(__file__).parents[1] / "src/policyengine/data/qualification/uk.json"
-        ).read_text()
-    )
-    monkeypatch.setattr(uk_candidate, "_previous_pair_pins", lambda *args: previous)
-    monkeypatch.setattr(
-        uk_candidate, "previous_pair_python", lambda *args: "certified-previous-python"
-    )
-
-    def previous_dataset(*args):
-        if identity_mismatch:
-            raise uk_candidate.PreviousPairUnavailable(
-                "Previous dataset identity mismatch"
-            )
-        return previous_path
-
-    monkeypatch.setattr(uk_candidate, "previous_pair_dataset", previous_dataset)
-    monkeypatch.setattr(
-        dataset_materialization,
-        "materialize_dataset",
-        lambda *a, **k: SimpleNamespace(path=candidate_path),
-    )
-    monkeypatch.setattr(uk_candidate, "vendor_metrics_tool", lambda *a, **k: tmp_path)
-
-    def only_metrics(gates):
-        gate = next(function for name, function in gates if name == "metrics_review")
-        result, evidence = uk_candidate.run_gate("metrics_review", gate)
-        return [result], {"metrics_review": evidence}
-
-    monkeypatch.setattr(uk_candidate, "run_gates", only_metrics)
-    monkeypatch.setattr(uk_candidate, "run_metrics_report", metrics)
-    return uk_candidate.run_candidate_gates(
-        SimpleNamespace(pair=make_pair()),
-        HARNESS,
-        config=config,
-        work_dir=tmp_path,
-        previous_certificate=previous,
-        ledger_root=None,
-    )
-
-
-def test_a_malformed_metrics_report_is_not_written_to_the_ledger(tmp_path, monkeypatch):
-    """The attempt's evidence goes to a public ledger branch: a report that
-    breaks the small-cell format is kept only as its digest and problems."""
-
-    import json
-
-    marker = 987654321.5  # synthetic
-
-    def metrics(python, vendor, **settings):
-        report = _report()
-        report["dataset_path"] = str(settings["dataset_path"])
-        if settings["label"] == "candidate":
-            report["metrics"][0].update(value=marker, suppressed=True)
-        return report
-
-    results, evidence = _orchestrate_metrics(tmp_path, monkeypatch, metrics)
-    assert results[0].status == "fail"
-    assert set(evidence["metrics_report_candidate"]) == {
-        "withheld",
-        "report_sha256",
-        "problems",
-    }
-    assert str(marker) not in json.dumps(evidence["metrics_report_candidate"])
-    assert evidence["metrics_report_previous"]["metrics"] == _report()["metrics"]
-
-
-@pytest.mark.parametrize("identity_mismatch", [False, True])
-def test_metric_orchestration_uses_the_verified_previous_dataset_before_computing(
-    tmp_path, monkeypatch, identity_mismatch
-):
-    calls = []
-
-    def metrics(python, vendor, **settings):
-        calls.append((python, settings))
-        report = _report()
-        report["dataset_path"] = str(settings["dataset_path"])
-        if settings["label"] != "previous":
-            report["metrics"][0]["value"] = 1e12
-        return report
-
-    results, _ = _orchestrate_metrics(tmp_path, monkeypatch, metrics, identity_mismatch)
-    previous_path = tmp_path / "certified-previous.h5"
-    if identity_mismatch:
-        assert results[0].status == "unavailable"
-        assert calls == [], (
-            "Unverified baselines must be refused before computing metrics."
-        )
-    else:
-        assert results[0].status == "needs_review"
-        previous_call = next(call for call in calls if call[1]["label"] == "previous")
-        assert previous_call[0] == "certified-previous-python"
-        assert previous_call[1]["dataset_path"] == previous_path
-        assert "data_dir" not in previous_call[1]
-
-
-@pytest.mark.parametrize(
-    "failure", ["install", "verifier", "missing report", "bad json", "bad schema"]
-)
-def test_baseline_installation_or_verification_failure_is_incomplete(
-    tmp_path, monkeypatch, failure
-):
-    import subprocess
-    from pathlib import Path
-
-    from policyengine.provenance import uk_candidate
-
-    previous, _, fake_run = _previous_install_io(tmp_path, monkeypatch)
-
-    def run(command, **kwargs):
-        if (failure == "install" and command[:3] == ["uv", "pip", "install"]) or (
-            failure == "verifier" and "-c" in command
-        ):
-            raise subprocess.CalledProcessError(1, command)
-        fake_run(command, **kwargs)
-        if "-c" in command:
-            output = Path(command[-1])
-            if failure == "missing report":
-                output.unlink()
-            elif failure == "bad json":
-                output.write_text("invalid json")
-            elif failure == "bad schema":
-                output.write_text("[]")
-
-    result, _ = uk_candidate.run_gate(
-        "metrics_review",
-        lambda: uk_candidate.previous_pair_python(previous, tmp_path, run=run),
-    )
-    assert result.status == "unavailable"
-
-
-@pytest.mark.parametrize(
-    "mismatch", ["receipt pair", "receipt verdict", "dataset reference"]
-)
-def test_previous_pair_cannot_borrow_another_ledgers_identity(tmp_path, mismatch):
-    from policyengine.provenance import uk_candidate
-    from policyengine.provenance.qualification_ledger import write_json
-    from tests.qualification_fixtures import gates, make_pair, make_receipt
-
-    pair = make_pair()
-    previous = {
-        "bundle_version": "6.3.0",
-        "qualification_pair_id": pair.pair_id,
-        "model_version": pair.model.version,
-        "core_version": pair.core.version,
-        "data_release_version": pair.data.release_version,
-        "dataset_sha256": pair.data.dataset_sha256,
-    }
-    receipt = make_receipt(pair)
-    if mismatch == "receipt pair":
-        receipt = make_receipt(make_pair(core="3.32.0"))
-        previous["core_version"] = (
-            "3.32.0"  # Other pins match; the receipt's pair id must still match.
-        )
-    elif mismatch == "receipt verdict":
-        receipt = make_receipt(pair, gate_results=gates("fail"))
-    else:
-        previous["dataset_reference"] = {"path": "other.h5"}
-    write_json(
-        tmp_path / "uk" / pair.pair_id / "qualification_receipt.json",
-        receipt.canonical_payload(),
-    )
-    result, _ = uk_candidate.run_gate(
-        "metrics_review", lambda: uk_candidate._previous_pair_pins(previous, tmp_path)
-    )
-    assert result.status == "unavailable"
diff --git a/tests/test_uk_qualification_pipeline.py b/tests/test_uk_qualification_pipeline.py
deleted file mode 100644
index b669f1e66..000000000
--- a/tests/test_uk_qualification_pipeline.py
+++ /dev/null
@@ -1,3564 +0,0 @@
-"""Orchestration of UK candidate qualification (no network).
-
-Invariants:
-
-- resolution keeps the certified core when the model accepts it and never
-  picks a prerelease, yanked or unpublished version;
-- the decision never qualifies a pair main already certifies or one main
-  supersedes, and never repeats a terminal attempt;
-- rewriting the certified-version test constants leaves no old value behind
-  and touches only quoted literals;
-- the replay request built for a candidate is valid against the scorecard's
-  vendored schema and binds the candidate commit, wheels and dataset;
-- promotion planning readies only the selected target and closes exactly the
-  candidates it or main supersede.
-"""
-
-from __future__ import annotations
-
-import hashlib
-import importlib.util
-import json
-import os
-import shutil
-import subprocess
-import sys
-from pathlib import Path
-from types import SimpleNamespace
-from unittest.mock import MagicMock
-
-import jsonschema
-import pytest
-
-from policyengine.provenance.qualification import ReplayStatus
-from policyengine.provenance.qualification_ledger import write_json
-from policyengine.provenance.uk_qualification import (
-    accept_review,
-    assemble_receipt,
-    build_replay_request,
-    candidate_action,
-    candidate_branch,
-    candidate_pr_body,
-    certified_constant_replacements,
-    choose_core_version,
-    core_requirement,
-    latest_data_release,
-    plan_promotion,
-    previous_certificate,
-    read_replay,
-    resolve_candidate,
-    rewrite_certified_constants,
-)
-from tests.qualification_fixtures import (
-    HARNESS,
-    ISSUED,
-    MICROCOSM_ROUTED_BUNDLE,
-    MICROCOSM_ROUTED_BUNDLE_PATH,
-    UK_DATA_LINE_BUNDLE,
-    VENDORED_SCHEMAS,
-    gates,
-    golden,
-    graphql_base_changes_output,
-    jq,
-    load_candidate_cli,
-    make_pair,
-    make_receipt,
-    rest_pulls_output,
-    sha,
-)
-
-REPO_ROOT = Path(__file__).resolve().parents[1]
-#: The bundle this checkout packages.
-PACKAGED_BUNDLE = json.loads(
-    (REPO_ROOT / "src/policyengine/data/bundle/manifest.json").read_text()
-)
-#: The candidates these tests build are on the policyengine-uk-data line, so
-#: they are qualified against the last bundle certified on that line.
-BUNDLE = UK_DATA_LINE_BUNDLE
-
-
-def _wheel(name, version, digest):
-    return {
-        "packagetype": "bdist_wheel",
-        "filename": f"{name.replace('-', '_')}-{version}-py3-none-any.whl",
-        "url": f"https://files.pythonhosted.org/packages/{name}-{version}.whl",
-        "digests": {"sha256": digest},
-    }
-
-
-MANIFEST = {
-    "schema_version": 1,
-    "data_package": {"name": "policyengine-uk-data", "version": "1.58.0"},
-    "default_datasets": {"national": "enhanced_frs_2024_25"},
-    "build": {"build_id": "policyengine-uk-data-1.58.0"},
-    "artifacts": {
-        "enhanced_frs_2024_25": {
-            "kind": "microdata",
-            "path": "enhanced_frs_2024_25.h5",
-            "repo_id": "policyengine/policyengine-uk-data-private",
-            "revision": "1.58.0",
-            "sha256": "d" * 64,
-            "size_bytes": 128369110,
-        }
-    },
-}
-
-
-def _resolver(**overrides):
-    projects = {
-        "policyengine-uk": {
-            "releases": {
-                "2.126.6": [_wheel("policyengine-uk", "2.126.6", "1" * 64)],
-                "2.126.8": [_wheel("policyengine-uk", "2.126.8", "2" * 64)],
-                "2.127.0rc1": [_wheel("policyengine-uk", "2.127.0rc1", "3" * 64)],
-                "2.127.1": [
-                    {**_wheel("policyengine-uk", "2.127.1", "4" * 64), "yanked": True}
-                ],
-            }
-        },
-        "policyengine-uk/2.126.8": {
-            "info": {"requires_dist": ["policyengine-core>=3.32.27"]}
-        },
-        "policyengine-uk/2.126.6": {
-            "info": {"requires_dist": ["policyengine-core>=3.34.0"]}
-        },
-        "policyengine-core": {
-            "releases": {
-                v: [_wheel("policyengine-core", v, v.replace(".", "")[0] * 64)]
-                for v in ("3.33.0", "3.34.0", "3.34.1", "3.35.0rc1")
-            }
-        },
-    }
-    manifest_bytes = json.dumps(MANIFEST).encode()
-    kwargs = dict(
-        current_core="3.33.0",
-        pypi_project=lambda path: projects[path],
-        hf_revision_sha=lambda repo, rev: "f" * 40,
-        hf_tags=lambda repo: ["1.57.4", "1.58.0", "v1.11.1", "version_a"],
-        hf_file=lambda repo, rev, path: manifest_bytes,
-    )
-    kwargs.update(overrides)
-    return resolve_candidate(**kwargs), manifest_bytes
-
-
-def test_a_pinned_core_is_used_exactly_or_refused():
-    """A requalification names its exact core: the certified one, if the
-    model accepts it, must not be chosen instead."""
-
-    resolved, _ = _resolver(model_version="2.126.8", core_version="3.34.1")
-    assert resolved.pair.core.version == "3.34.1"
-    assert _resolver(model_version="2.126.8")[0].pair.core.version == "3.33.0"
-    with pytest.raises(ValueError, match="not on PyPI"):
-        _resolver(model_version="2.126.8", core_version="9.9.9")
-    with pytest.raises(ValueError, match="requires policyengine-core"):
-        _resolver(model_version="2.126.6", core_version="3.33.0")
-
-
-def test_resolve_refuses_a_pair_other_than_the_one_requested(
-    monkeypatch, tmp_path, capsys
-):
-    """A requalification or recovery dispatch names one pair. If its versions
-    resolve to another (a moved data tag, another core), the run fails and
-    nothing else is qualified."""
-
-    cli = load_candidate_cli("check_uk_candidate_pair_pin")
-    pair = make_pair(model="2.200.0")
-    resolved = cli.ResolvedCandidate(
-        pair,
-        cli.WheelFile("m.whl", "https://example.org/m.whl", pair.model.wheel_sha256),
-        cli.WheelFile("c.whl", "https://example.org/c.whl", pair.core.wheel_sha256),
-        "hf://model/example@pin/manifest.json",
-        ">=3.33.0",
-    )
-    seen = {}
-    monkeypatch.setattr(
-        cli,
-        "resolve_candidate",
-        lambda **kwargs: seen.update(kwargs) or resolved,
-    )
-    monkeypatch.setattr(cli, "git", lambda *args: "a" * 40)
-    outputs = []
-    monkeypatch.setattr(cli, "set_output", lambda **kwargs: outputs.append(kwargs))
-    out = tmp_path / "candidate.json"
-
-    def args(pair_id):
-        return SimpleNamespace(
-            model_version="2.200.0",
-            data_version="1.58.0",
-            core_version="3.34.1",
-            pair_id=pair_id,
-            ledger=str(tmp_path),
-            force=False,
-            out=str(out),
-        )
-
-    assert cli.cmd_resolve(args("0" * 64)) == 1
-    assert seen["core_version"] == "3.34.1"
-    assert outputs[-1]["action"] == "mismatch"
-    assert not out.exists()
-    assert "not the requested" in capsys.readouterr().out
-    assert cli.cmd_resolve(args(pair.pair_id)) == 0
-    assert json.loads(out.read_text())["pair_id"] == pair.pair_id
-
-
-def test_resolution_picks_newest_stable_and_keeps_an_accepted_core():
-    resolved, manifest_bytes = _resolver()
-    pair = resolved.pair
-    assert pair.model.version == "2.126.8"
-    assert pair.model.wheel_sha256 == "2" * 64
-    assert pair.core.version == "3.33.0"
-    assert pair.data.release_version == "1.58.0"
-    assert pair.data.release_manifest_revision == "f" * 40
-    assert (
-        pair.data.release_manifest_sha256 == hashlib.sha256(manifest_bytes).hexdigest()
-    )
-    assert resolved.manifest_uri.startswith(
-        "hf://model/policyengine/policyengine-uk-data-private@"
-    )
-
-
-def test_resolution_moves_core_only_when_the_model_requires_it():
-    resolved, _ = _resolver(model_version="2.126.6")
-    assert resolved.pair.core.version == "3.34.1"
-
-
-def test_core_requirement_and_choice():
-    assert (
-        core_requirement(["numpy>=1", "policyengine_core>=3.32.27,<4"])
-        == "<4,>=3.32.27"
-    )
-    with pytest.raises(ValueError):
-        core_requirement(["numpy"])
-    with pytest.raises(ValueError):
-        choose_core_version("3.33.0", ">=9", [])
-
-
-def test_latest_data_release_ignores_non_version_tags():
-    assert latest_data_release(["1.57.4", "1.58.0", "v1.11.1", "version_a"]) == "1.58.0"
-
-
-def test_resolution_names_the_data_build_by_its_cut_tag():
-    """A release that records a cut tag is named by it, as certification
-    names it, so the ledger's data build id matches the certificate's."""
-
-    cut = "microcosm-uk-2024-25-national-20261101T000000Z-aaaaaaaa"
-    manifest = {
-        **MANIFEST,
-        "build": {"build_id": "microcosm-uk-2024-25-national", "cut_tag": cut},
-    }
-    manifest_bytes = json.dumps(manifest).encode()
-
-    resolved, _ = _resolver(hf_file=lambda repo, rev, path: manifest_bytes)
-
-    assert resolved.pair.data.build_id == cut
-
-
-def test_resolution_refuses_unpublished_versions():
-    with pytest.raises(ValueError):
-        _resolver(model_version="9.9.9")
-
-
-def test_actions(tmp_path):
-    current = BUNDLE["data_releases"]["uk"]
-    certified = make_pair(
-        model=current["model_package"]["version"],
-        data=current["data_package"]["version"],
-        core=BUNDLE["packages"]["policyengine-core"]["version"],
-        dataset_sha=current["certified_data_artifact"]["sha256"],
-    )
-    assert (
-        candidate_action(certified, BUNDLE, tmp_path, base_commit="a" * 40)[0]
-        == "already_certified"
-    )
-    older = make_pair(model="2.100.0", data="1.50.0", core="3.30.0")
-    assert candidate_action(older, BUNDLE, tmp_path, base_commit="a" * 40)[0] == "stale"
-    newer = make_pair(model="2.200.0", data="1.58.0", core="3.33.0")
-    assert (
-        candidate_action(newer, BUNDLE, tmp_path, base_commit="a" * 40)[0] == "qualify"
-    )
-    rejected = make_receipt(pair=newer, gate_results=gates(wheel_hashes="fail"))
-    write_json(
-        tmp_path / "uk" / newer.pair_id / "qualification_receipt.json",
-        rejected.canonical_payload(),
-    )
-    assert (
-        candidate_action(newer, BUNDLE, tmp_path, base_commit="a" * 40)[0]
-        == "duplicate"
-    )
-    assert (
-        candidate_action(newer, BUNDLE, tmp_path, base_commit="a" * 40, force=True)[0]
-        == "qualify"
-    )
-
-
-def test_a_promotable_pair_on_a_superseded_baseline_requalifies_once_per_commit(
-    tmp_path,
-):
-    """Automatic promotion needs a qualification against main's current
-    certificate, so a promotable pair that advances main but compared
-    against an earlier one is requalified without force, once per main
-    commit. Nothing else is."""
-
-    pair = _promotable_pair_and_branch()
-    current = previous_certificate(BUNDLE)
-    earlier = current.model_copy(update={"bundle_version": "earlier"})
-    pair_dir = tmp_path / "uk" / pair.pair_id
-
-    def publish(receipt, certificate=earlier):
-        receipt = receipt.model_copy(update={"previous_certificate": certificate})
-        write_json(pair_dir / "qualification_receipt.json", receipt.canonical_payload())
-
-    def action(base):
-        return candidate_action(pair, BUNDLE, tmp_path, base_commit=base * 40)[0]
-
-    qualified = make_receipt(pair=pair)
-    publish(qualified)
-    verdict, reason = candidate_action(pair, BUNDLE, tmp_path, base_commit="b" * 40)
-    assert verdict == "qualify" and "superseded baseline" in reason
-    (pair_dir / "attempts" / ("b" * 12)).mkdir(parents=True)
-    assert action("b") == "duplicate"
-    assert action("c") == "qualify"
-    needs_review = make_receipt(
-        pair=pair, gate_results=gates(metrics_review="needs_review")
-    ).model_copy(update={"previous_certificate": earlier})
-    accepted = accept_review(
-        needs_review,
-        reviewer="reviewer",
-        accepted_receipt_sha256=needs_review.unreviewed_sha256,
-        explanation="expected",
-        accepted_at="2026-10-16T09:00:00Z",
-    )
-    assert accepted.promotable
-    publish(accepted)
-    assert action("c") == "qualify"
-    # Against main's own certificate, on main's own commit, or not
-    # promotable: nothing to do.
-    write_json(
-        pair_dir / "latest_attempt.json", {"attempt_key": "c" * 12, "sequence": 3}
-    )
-    publish(qualified, current)
-    assert action("c") == "duplicate"
-    for results in (gates(metrics_review="needs_review"), gates(wheel_hashes="fail")):
-        publish(make_receipt(pair=pair, gate_results=results))
-        assert action("c") == "duplicate"
-    # A pair that does not advance main in every component is never promoted.
-    sideways = make_pair(
-        model="2.200.0",
-        data="1.50.0",
-        core=BUNDLE["packages"]["policyengine-core"]["version"],
-    )
-    write_json(
-        tmp_path / "uk" / sideways.pair_id / "qualification_receipt.json",
-        make_receipt(pair=sideways)
-        .model_copy(update={"previous_certificate": earlier})
-        .canonical_payload(),
-    )
-    assert (
-        candidate_action(sideways, BUNDLE, tmp_path, base_commit="c" * 40)[0]
-        == "duplicate"
-    )
-
-
-def test_a_target_built_on_an_earlier_main_requalifies_one_attempt_at_a_time(
-    tmp_path,
-):
-    """Promotion fast-forwards main to the qualified commit, so a promotable
-    pair built on an earlier main commit is requalified on the current one:
-    once per main commit, and never while another requalification runs."""
-
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import (
-        requalification_target,
-        stage_attempt,
-    )
-
-    pair = _promotable_pair_and_branch()
-    pair_dir = tmp_path / "uk" / pair.pair_id
-    qualified = _promotion_receipt(pair=pair)
-    _publish_as_attempt(tmp_path, pair, qualified, "a" * 12)
-    write_json(
-        pair_dir / "latest_attempt.json", {"attempt_key": "a" * 12, "sequence": 0}
-    )
-    now = "2026-10-16T10:00:00Z"
-
-    def action(base):
-        return candidate_action(pair, BUNDLE, tmp_path, base_commit=base * 40, now=now)
-
-    assert action("a")[0] == "duplicate"
-    verdict, reason = action("b")
-    assert verdict == "qualify" and "qualified on main aaaaaaaaaaaa" in reason
-    assert requalification_target([qualified], BUNDLE, tmp_path, "b" * 40) == pair
-    assert requalification_target([qualified], BUNDLE, tmp_path, "a" * 40) is None
-    # A requalification from b runs; c arrives meanwhile and waits for it.
-    stage_attempt(
-        attempt_directory(tmp_path, "uk", pair.pair_id, "b" * 12),
-        {"pair": pair.canonical_payload(), "pair_id": pair.pair_id},
-        HARNESS,
-        owner_run_id="7",
-        staged_at="2026-10-16T09:30:00Z",
-    )
-    assert action("b")[0] == "duplicate"
-    verdict, reason = action("c")
-    assert verdict == "duplicate" and "in flight" in reason
-    # Once it has finished (its receipt published), c requalifies.
-    requalified = qualified.model_copy(update={"completed_at": "2026-10-16T11:00:00Z"})
-    _publish_as_attempt(tmp_path, pair, requalified, "b" * 12)
-    write_json(
-        pair_dir / "latest_attempt.json", {"attempt_key": "b" * 12, "sequence": 1}
-    )
-    assert action("b")[0] == "duplicate"
-    assert action("c")[0] == "qualify"
-    # A repeat key on the same base names the same base.
-    write_json(
-        pair_dir / "latest_attempt.json",
-        {"attempt_key": "c" * 12 + "-2", "sequence": 2},
-    )
-    assert requalification_target([requalified], BUNDLE, tmp_path, "c" * 40) is None
-
-
-def test_a_pair_without_an_attempt_pointer_takes_its_base_from_its_attempt(tmp_path):
-    """Round 2 of #635: a pair published before latest_attempt.json existed
-    must not be stranded. Its base is the attempt whose own receipt is the
-    published one; with no such attempt the base is unknown and stale."""
-
-    from policyengine.provenance.uk_qualification import (
-        qualified_base,
-        requalification_target,
-        stale_qualification,
-    )
-
-    pair = _promotable_pair_and_branch()
-    pair_dir = tmp_path / "uk" / pair.pair_id
-    qualified = _promotion_receipt(pair=pair)
-    write_json(pair_dir / "qualification_receipt.json", qualified.canonical_payload())
-    assert qualified_base(pair_dir) is None
-    assert "unrecorded" in stale_qualification(qualified, BUNDLE, pair_dir, "a" * 40)
-    assert requalification_target([qualified], BUNDLE, tmp_path, "a" * 40) == pair
-    _publish_as_attempt(tmp_path, pair, qualified, "a" * 12 + "-2")
-    assert qualified_base(pair_dir) == "a" * 12
-    assert requalification_target([qualified], BUNDLE, tmp_path, "a" * 40) is None
-    assert requalification_target([qualified], BUNDLE, tmp_path, "b" * 40) == pair
-
-
-def test_runs_resolved_on_different_main_commits_never_both_stage(tmp_path):
-    """Round 2 of #635: one attempt per pair at a time, whatever its base."""
-
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import stage_attempt
-
-    pair = make_pair(model="2.200.0")
-    now = "2026-10-16T10:00:00Z"
-    assert (
-        candidate_action(pair, BUNDLE, tmp_path, base_commit="a" * 40, now=now)[0]
-        == "qualify"
-    )
-    stage_attempt(
-        attempt_directory(tmp_path, "uk", pair.pair_id, "a" * 12),
-        {"pair": pair.canonical_payload(), "pair_id": pair.pair_id},
-        HARNESS,
-        owner_run_id="7",
-        staged_at="2026-10-16T09:30:00Z",
-    )
-    verdict, reason = candidate_action(
-        pair, BUNDLE, tmp_path, base_commit="b" * 40, now=now
-    )
-    assert verdict == "duplicate" and "in flight" in reason
-    # Abandoned (past its expiry), it no longer holds the pair.
-    later = "2026-10-16T14:00:00Z"
-    assert (
-        candidate_action(pair, BUNDLE, tmp_path, base_commit="b" * 40, now=later)[0]
-        == "qualify"
-    )
-
-
-def test_requalify_names_the_target_only_while_its_baseline_is_stale(
-    monkeypatch, tmp_path, capsys
-):
-    import argparse
-
-    cli = load_candidate_cli("check_uk_candidate_requalify")
-    current = _promotion_receipt(pair=_promotable_pair_and_branch())
-    stale = current.model_copy(
-        update={
-            "previous_certificate": current.previous_certificate.model_copy(
-                update={"bundle_version": "earlier"}
-            )
-        }
-    )
-    monkeypatch.setattr(cli, "git", lambda *args: "a" * 40)
-    write_json(
-        tmp_path / "uk" / current.pair_id / "latest_attempt.json",
-        {"attempt_key": "a" * 12, "sequence": 1},
-    )
-    for receipts, expected in (([stale], [stale.pair]), ([current], []), ([], [])):
-        monkeypatch.setattr(cli, "latest_receipts", lambda root, r=receipts, **_: r)
-        assert cli.cmd_requalify(argparse.Namespace(ledger=str(tmp_path))) == 0
-        printed = [
-            json.loads(line) for line in capsys.readouterr().out.splitlines() if line
-        ]
-        assert printed == [
-            {"pair": pair.canonical_payload(), "pair_id": pair.pair_id}
-            for pair in expected
-        ]
-
-
-def test_incomplete_pairs_requalify_on_a_new_base_only(tmp_path):
-    pair = make_pair(model="2.200.0")
-    incomplete = make_receipt(
-        pair=pair, gate_results=gates(reform_contract="unavailable")
-    )
-    write_json(
-        tmp_path / "uk" / pair.pair_id / "qualification_receipt.json",
-        incomplete.canonical_payload(),
-    )
-    (tmp_path / "uk" / pair.pair_id / "attempts" / ("a" * 12)).mkdir(parents=True)
-    assert (
-        candidate_action(pair, BUNDLE, tmp_path, base_commit="a" * 40)[0] == "duplicate"
-    )
-    assert (
-        candidate_action(pair, BUNDLE, tmp_path, base_commit="b" * 40)[0] == "qualify"
-    )
-
-
-SUCCESSOR_CUT = "microcosm-uk-2024-25-national-20261101T000000Z-aaaaaaaa"
-
-
-def _successor_record(old):
-    """The next certificate on the packaged bundle's own data line."""
-    new = json.loads(json.dumps(old))
-    new["model_package"]["version"] = "2.140.0"
-    new["certification"]["built_with_model_version"] = "2.140.0"
-    new["certification"]["data_build_id"] = SUCCESSOR_CUT
-    new["data_package"]["release_manifest_revision"] = SUCCESSOR_CUT
-    return new
-
-
-def test_constant_rewrite_leaves_no_old_values(tmp_path):
-    for relative in (
-        "tests/test_models.py",
-        "tests/test_release_manifests.py",
-        "tests/test_uk_regions.py",
-    ):
-        (tmp_path / relative).parent.mkdir(parents=True, exist_ok=True)
-        shutil.copy(REPO_ROOT / relative, tmp_path / relative)
-    # The constant files pin the packaged certificate, so promotion rewrites
-    # them from it.
-    old = PACKAGED_BUNDLE["data_releases"]["uk"]
-    new = _successor_record(old)
-    replacements = certified_constant_replacements(old, new)
-    changed = rewrite_certified_constants(tmp_path, replacements)
-    assert set(changed) == {
-        "tests/test_models.py",
-        "tests/test_release_manifests.py",
-        "tests/test_uk_regions.py",
-    }
-    for relative in changed:
-        text = (tmp_path / relative).read_text()
-        for before, after in replacements:
-            assert f'"{before}"' not in text and f'@{before}"' not in text
-    manifests = (tmp_path / "tests/test_release_manifests.py").read_text()
-    assert 'UK_MODEL_VERSION = "2.140.0"' in manifests
-    assert f'UK_DATA_RELEASE_REVISION = "{SUCCESSOR_CUT}"' in manifests
-    assert rewrite_certified_constants(tmp_path, replacements) == []
-
-
-@pytest.mark.parametrize(
-    "routed", [False, True], ids=["uk-data main", "main routed to Microcosm"]
-)
-@pytest.mark.parametrize("qualification_only", [False, True])
-def test_preparation_generates_new_sidecars_and_verifies_the_exact_pair(
-    tmp_path, monkeypatch, qualification_only, routed
-):
-    """Run preparation, certification and real TRO generation without a network.
-
-    On a main routed to another line's local-area release, the uk-data
-    candidate (a forced qualification) drops the routing it cannot keep.
-    """
-
-    from policyengine.provenance import certification, manifest
-    from policyengine.provenance.uk_qualification import prepare_candidate_commit
-
-    monkeypatch.syspath_prepend(str(REPO_ROOT / "scripts"))
-    import bundle as maintenance
-    import certify_data_release as certify_script
-    import generate_bundle_artifacts as artifacts
-    import generate_trace_tros as tros
-
-    release = json.loads(json.dumps(MANIFEST))
-    release["build"].update(
-        built_with_model_package={
-            "name": "policyengine-uk",
-            "version": "2.100.0" if qualification_only else "2.126.8",
-        },
-        built_with_core_package={
-            "name": "policyengine-core",
-            "version": "3.0.0" if qualification_only else "3.33.0",
-        },
-    )
-    release_bytes = json.dumps(release).encode()
-    resolved, _ = _resolver(hf_file=lambda *args: release_bytes)
-    pair = resolved.pair
-    bundle_dir = tmp_path / "src/policyengine/data/bundle"
-    bundle_dir.mkdir(parents=True)
-    source = json.loads(json.dumps(MICROCOSM_ROUTED_BUNDLE if routed else BUNDLE))
-    source["data_releases"].pop("us")
-    source["packages"].pop("policyengine-us")
-    for packages in source["extras"].values():
-        if "policyengine-us" in packages:
-            packages.remove("policyengine-us")
-    bundle_path = bundle_dir / "manifest.json"
-    write_json(bundle_path, source)
-    sidecar = bundle_dir / "uk.trace.tro.jsonld"
-    old_sidecar = (
-        REPO_ROOT / "src/policyengine/data/bundle/uk.trace.tro.jsonld"
-    ).read_bytes()
-    sidecar.write_bytes(old_sidecar)
-    shutil.copy(REPO_ROOT / "pyproject.toml", tmp_path / "pyproject.toml")
-    (tmp_path / "changelog.d").mkdir()
-    for name in ("test_models.py", "test_release_manifests.py", "test_uk_regions.py"):
-        (tmp_path / "tests").mkdir(exist_ok=True)
-        shutil.copy(REPO_ROOT / "tests" / name, tmp_path / "tests" / name)
-
-    def country_manifest(country):
-        assert country == "uk"
-        result = manifest.CountryReleaseManifest.model_validate(
-            json.loads(bundle_path.read_text())["data_releases"][country]
-        )
-        result.source_sha256 = hashlib.sha256(bundle_path.read_bytes()).hexdigest()
-        return result
-
-    def data_manifest(country=None):
-        result = manifest.DataReleaseManifest.model_validate_json(release_bytes)
-        result.source_sha256 = hashlib.sha256(release_bytes).hexdigest()
-        return result
-
-    monkeypatch.setattr(certify_script, "REPO_ROOT", tmp_path)
-    monkeypatch.setattr(maintenance, "REPO_ROOT", tmp_path)
-    monkeypatch.setattr(artifacts, "REPO_ROOT", tmp_path)
-    monkeypatch.setattr(artifacts, "BUNDLE_MANIFEST", bundle_path)
-    monkeypatch.setattr(artifacts, "PYPROJECT", tmp_path / "pyproject.toml")
-    load_bundle = artifacts.load_bundle_manifest
-    monkeypatch.setattr(
-        artifacts, "load_bundle_manifest", lambda path=bundle_path: load_bundle(path)
-    )
-    monkeypatch.setattr(tros, "BUNDLE_MANIFEST", bundle_path)
-    monkeypatch.setattr(tros, "BUNDLE_TRO_DIR", bundle_dir)
-    monkeypatch.setattr(tros, "BUNDLE_LOCK", tmp_path / "uv.lock")
-    monkeypatch.setattr(tros, "get_release_manifest", country_manifest)
-    monkeypatch.setattr(tros, "get_data_release_manifest", data_manifest)
-    monkeypatch.setattr(
-        certification,
-        "fetch_release_manifest",
-        lambda uri, **kw: (
-            data_manifest(),
-            pair.data.release_manifest_sha256,
-            certification.parse_manifest_uri(uri),
-        ),
-    )
-    # The tagged fixture's repository has no release index at main.
-    monkeypatch.setattr(certification, "_releases_record_at_main", lambda *args: None)
-    monkeypatch.setattr(
-        certification,
-        "fetch_pypi_wheel_metadata",
-        lambda *args: {
-            "sha256": pair.model.wheel_sha256,
-            "url": resolved.model_wheel.url,
-        },
-    )
-    monkeypatch.setattr(certification, "head_artifact", lambda *args, **kw: True)
-    monkeypatch.setattr(
-        certification, "required_supplemental_release_files", lambda *args: []
-    )
-    calls = []
-
-    def run(command, *, cwd, env=None):
-        calls.append(command)
-        assert cwd == tmp_path
-        if command[1] == "scripts/bundle.py":
-            assert maintenance.main(command[2:]) == 0
-        elif command[:2] == ["uv", "lock"]:
-            (tmp_path / "uv.lock").write_text(
-                "[[package]]\n"
-                'name = "policyengine-uk"\n'
-                f'version = "{pair.model.version}"\n'
-                'source = { registry = "https://pypi.org/simple" }\n'
-                f'wheels = [{{url = "{resolved.model_wheel.url}", hash = "sha256:{pair.model.wheel_sha256}"}}]\n'
-            )
-        else:
-            assert command[1] == "scripts/release_lock.py"
-        return subprocess.CompletedProcess(command, 0)
-
-    prepared = prepare_candidate_commit(
-        tmp_path, resolved, python=sys.executable, run=run, refresh_snapshots=False
-    )
-    assert sidecar.read_bytes() != old_sidecar
-    assert pair.data.release_manifest_sha256.encode() in sidecar.read_bytes()
-    assert prepared["compatibility_basis"] == (
-        "qualified_exact_pair" if qualification_only else "built_with_model_package"
-    )
-    assert (tmp_path / prepared["changelog_fragment"]).is_file()
-    assert maintenance.main(["check", "--include-tros", "--strict-tros"]) == 0
-    assert calls[-1][2:] == ["check", "--include-tros", "--strict-tros"]
-    certify = next(command for command in calls if "certify-data" in command)
-    record = json.loads(bundle_path.read_bytes())["data_releases"]["uk"]
-    assert ("--drop-regional-release" in certify) == routed
-    assert "regional_source_manifest_uri" not in record
-    if routed:
-        # The constant files pin main's line, not the candidate's.
-        assert prepared["constant_files"] == []
-    if qualification_only:
-        changed = json.loads(bundle_path.read_bytes())
-        changed["packages"]["policyengine-core"]["version"] = "99.0.0"
-        write_json(bundle_path, changed)
-        with pytest.raises(ValueError, match="runtime core 99.0.0 differs.*requalify"):
-            tros.generated_tros(strict=True)
-
-
-def test_regional_flags_keep_routing_on_its_line_and_drop_it_across_lines():
-    from policyengine.provenance.uk_qualification import (
-        regional_certification_arguments,
-    )
-
-    uk_data_pair = make_pair()
-    record = MICROCOSM_ROUTED_BUNDLE["data_releases"]["uk"]
-
-    def microcosm_pair(model, core):
-        pair = make_pair(model=model, core=core)
-        return pair.model_copy(
-            update={
-                "data": pair.data.model_copy(
-                    update={
-                        "data_package": record["data_package"]["name"],
-                        "repo_id": record["data_package"]["repo_id"],
-                    }
-                )
-            }
-        )
-
-    certified = (
-        record["model_package"]["version"],
-        MICROCOSM_ROUTED_BUNDLE["packages"]["policyengine-core"]["version"],
-    )
-
-    assert regional_certification_arguments(BUNDLE, uk_data_pair) == []
-    assert regional_certification_arguments(MICROCOSM_ROUTED_BUNDLE, uk_data_pair) == [
-        "--drop-regional-release"
-    ]
-    # A same-line pair needs a local-area cut for its versions, which no
-    # candidate carries, whatever those versions are.
-    for model, core in (certified, ("2.140.0", certified[1]), (certified[0], "3.34.0")):
-        with pytest.raises(ValueError, match="certify such a pair by hand"):
-            regional_certification_arguments(
-                MICROCOSM_ROUTED_BUNDLE, microcosm_pair(model, core)
-            )
-
-
-def test_replay_request_is_valid_for_the_scorecard():
-    pair = make_pair()
-    release_bundle = dict(
-        golden("qualification_request_golden")["candidate"]["expected_release_bundle"]
-    )
-    request = build_replay_request(
-        pair, HARNESS, release_bundle=release_bundle, issued_by=ISSUED
-    )
-    schema = json.loads(
-        (VENDORED_SCHEMAS / "qualification_request.v1.json").read_text()
-    )
-    jsonschema.Draft202012Validator(schema).validate(request.document())
-    candidate = request.document()["candidate"]
-    assert candidate["policyengine"]["source"] == {
-        "git": {
-            "repository": "PolicyEngine/policyengine.py",
-            "commit": HARNESS.git_commit,
-        }
-    }
-    assert candidate["policyengine_uk"]["wheel_sha256"] == pair.model.wheel_sha256
-    assert candidate["data"]["sha256"] == pair.data.dataset_sha256
-    assert request.document()["requested_by"]["pair_id"] == pair.pair_id
-    again = build_replay_request(
-        pair, HARNESS, release_bundle=release_bundle, issued_by=ISSUED
-    )
-    assert again.request_id == request.request_id
-
-
-def test_the_real_cli_generates_replay_requests_despite_country_import_suppression(
-    tmp_path,
-):
-    """The real CLI can read the UK certificate despite automatic import suppression."""
-
-    from importlib.util import find_spec
-
-    if find_spec("policyengine_uk") is None:
-        pytest.skip("Replay request generation requires the installed UK model")
-    attempt = tmp_path / "attempt"
-    write_json(attempt / "candidate.json", {"pair": make_pair().canonical_payload()})
-    write_json(attempt / "harness.json", HARNESS.canonical_payload())
-    env = dict(os.environ)
-    env["POLICYENGINE_SKIP_COUNTRY_IMPORTS"] = "1"
-    env.pop("GITHUB_OUTPUT", None)
-    result = subprocess.run(
-        [
-            sys.executable,
-            str(REPO_ROOT / "scripts/check_uk_candidate.py"),
-            "request-replay",
-            "--attempt",
-            str(attempt),
-        ],
-        cwd=REPO_ROOT,
-        env=env,
-        capture_output=True,
-        text=True,
-        timeout=600,
-    )
-    assert result.returncode == 0, result.stdout + result.stderr
-    request = json.loads((attempt / "replay/request.json").read_text())
-    schema = json.loads(
-        (VENDORED_SCHEMAS / "qualification_request.v1.json").read_text()
-    )
-    jsonschema.Draft202012Validator(schema).validate(request)
-    candidate = request["candidate"]
-    assert candidate["policyengine"]["source"]["git"]["commit"] == HARNESS.git_commit
-    bundle = candidate["expected_release_bundle"]
-    record = PACKAGED_BUNDLE["data_releases"]["uk"]
-    assert bundle["model_version"] == record["model_package"]["version"]
-    assert bundle["data_version"] == record["data_package"]["version"]
-    assert bundle["default_dataset"] == record["default_dataset"]
-
-
-def test_reading_replay_state():
-    pair = make_pair()
-    request = build_replay_request(
-        pair,
-        HARNESS,
-        release_bundle=golden("qualification_request_golden")["candidate"][
-            "expected_release_bundle"
-        ],
-        issued_by=ISSUED,
-    )
-    gate, status, receipt = read_replay(
-        request, fetch=lambda ref, path: None, state_ref="replay-state"
-    )
-    assert gate.status == "unavailable" and status is None
-    running = ReplayStatus.model_validate(
-        {
-            "schema": "policyengine.uk-replay-status/v1",
-            "request_id": request.request_id,
-            "status": "running",
-            "history": [
-                {
-                    "status": "running",
-                    "at": "2026-10-15T10:00:00Z",
-                    "run_url": "https://github.com/PolicyEngine/policyengine-scorecard/actions/runs/3",
-                }
-            ],
-        }
-    ).document()
-    gate, status, _ = read_replay(
-        request,
-        fetch=lambda ref, path: (
-            json.dumps(running).encode() if path.endswith("STATUS.json") else None
-        ),
-        state_ref="replay-state",
-    )
-    assert gate.status == "unavailable" and status.status == "running"
-    terminal = {
-        **running,
-        "status": "complete",
-        "receipt_sha256": "a" * 64,
-        "receipt_commit": "c" * 40,
-    }
-    gate, _, _ = read_replay(
-        request,
-        fetch=lambda ref, path: (
-            json.dumps(terminal).encode() if path.endswith("STATUS.json") else None
-        ),
-        state_ref="replay-state",
-    )
-    assert gate.status == "fail" and "no REPLAY_RECEIPT.json" in gate.summary
-    # The mirror accepts an explicit null the status schema forbids; reading
-    # it refuses rather than trusting it.
-    with pytest.raises(ValueError, match="replay_status.v1.json"):
-        read_replay(
-            request,
-            fetch=lambda ref, path: (
-                json.dumps({**running, "receipt_sha256": None}).encode()
-                if path.endswith("STATUS.json")
-                else None
-            ),
-            state_ref="replay-state",
-        )
-
-
-def test_assembled_receipt_without_replay_is_incomplete():
-    pair = make_pair()
-    local = [gate for gate in gates() if gate.gate_id != "replay"]
-    receipt = assemble_receipt(
-        pair,
-        HARNESS,
-        local,
-        issued_by=ISSUED,
-        completed_at="2026-10-15T10:00:00Z",
-        previous=None,
-        replay=None,
-    )
-    assert receipt.verdict == "incomplete"
-    assert [gate.gate_id for gate in receipt.gates] == [gate.gate_id for gate in local]
-
-
-def test_acceptance_is_bound_to_the_receipt():
-    receipt = make_receipt(gate_results=gates(metrics_review="needs_review"))
-    with pytest.raises(ValueError):
-        accept_review(
-            receipt,
-            reviewer="maria",
-            accepted_receipt_sha256=sha("1"),
-            explanation="x",
-            accepted_at="t",
-        )
-    reviewed = accept_review(
-        receipt,
-        reviewer="maria",
-        accepted_receipt_sha256=receipt.unreviewed_sha256,
-        explanation="Council tax move follows the 2025-26 band revaluation in uk-data.",
-        accepted_at="2026-10-16T09:00:00Z",
-    )
-    assert reviewed.promotable
-    with pytest.raises(ValueError):
-        accept_review(
-            make_receipt(),
-            reviewer="m",
-            accepted_receipt_sha256=sha("1"),
-            explanation="x",
-            accepted_at="t",
-        )
-
-
-def _promotion_receipt(**kwargs):
-    return make_receipt(**kwargs).model_copy(
-        update={"previous_certificate": previous_certificate(BUNDLE)}
-    )
-
-
-def test_promotion_plan():
-    current = (
-        BUNDLE["data_releases"]["uk"]["model_package"]["version"],
-        BUNDLE["data_releases"]["uk"]["data_package"]["version"],
-        BUNDLE["packages"]["policyengine-core"]["version"],
-    )
-    newest = _promotion_receipt(
-        pair=make_pair(model="2.200.0", data=current[1], core=current[2])
-    )
-    older = _promotion_receipt(
-        pair=make_pair(model="2.199.0", data=current[1], core=current[2])
-    )
-    rejected = _promotion_receipt(
-        pair=make_pair(model="2.201.0", data=current[1], core=current[2]),
-        gate_results=gates(replay="fail"),
-    )
-    stale = _promotion_receipt(
-        pair=make_pair(model="2.0.0", data="1.0.0", core="3.0.0")
-    )
-    branches = {
-        candidate_branch(r.pair): r.harness.git_commit
-        for r in (newest, older, rejected, stale)
-    }
-    branches["candidate/uk/unknown"] = "0" * 40
-    plan = plan_promotion([newest, older, rejected, stale], BUNDLE, branches)
-    assert plan.target == newest
-    assert plan.ready_branch == candidate_branch(newest.pair)
-    assert plan.ready_commit == newest.harness.git_commit
-    assert plan.close_branches == sorted(
-        [candidate_branch(older.pair), candidate_branch(stale.pair)]
-    )
-    assert candidate_branch(rejected.pair) not in plan.close_branches
-
-
-def _microcosm_certified_bundle():
-    bundle = json.loads(json.dumps(BUNDLE))
-    bundle["data_releases"]["uk"]["data_package"].update(
-        name="microcosm-data",
-        repo_id="policyengine/populace-uk-private",
-        version="0.1.0",
-    )
-    return bundle
-
-
-def test_a_pair_from_another_data_line_is_never_ordered_against_main(tmp_path):
-    """A uk-data release number says nothing about a Microcosm build. With a
-    Microcosm certificate on main, every uk-data pair compared as newer
-    (1.58.x > 0.1.0) and would have been qualified and promoted back. Now
-    automated qualification skips it unless forced, and promotion never
-    readies it and closes its pull request."""
-
-    from policyengine.provenance.uk_qualification import requalification_target
-
-    bundle = _microcosm_certified_bundle()
-    uk_data = make_pair(model="2.900.0", data="1.58.2", core="3.99.0")
-
-    action, reason = candidate_action(uk_data, bundle, tmp_path, base_commit="a" * 40)
-    assert action == "other_line"
-    assert "microcosm-data" in reason and "policyengine-uk-data" in reason
-    assert (
-        candidate_action(uk_data, bundle, tmp_path, base_commit="a" * 40, force=True)[0]
-        == "qualify"
-    )
-
-    promotable = _promotion_receipt(pair=uk_data)
-    branch = candidate_branch(uk_data)
-    plan = plan_promotion([promotable], bundle, {branch: promotable.harness.git_commit})
-    assert plan.target is None and plan.ready_branch is None
-    assert branch not in plan.close_branches
-    assert plan.close_off_line == [branch]
-    body = candidate_pr_body(promotable, uk_data, ledger_url="u", on_main_line=False)
-    assert "never promoted" in body and "promotes the pair" not in body
-    assert requalification_target([promotable], bundle, tmp_path, "b" * 40) is None
-
-    # On main's own data line the same pair still advances.
-    assert (
-        plan_promotion(
-            [promotable], BUNDLE, {branch: promotable.harness.git_commit}
-        ).target
-        == promotable
-    )
-
-
-def _promotable_pair_and_branch(core=None):
-    current = BUNDLE["data_releases"]["uk"]["data_package"]["version"]
-    core = core or BUNDLE["packages"]["policyengine-core"]["version"]
-    return make_pair(model="2.200.0", data=current, core=core)
-
-
-def _other_line_pair(model="2.900.0"):
-    """A pair on the Microcosm line, which BUNDLE (a uk-data main) is not."""
-
-    pair = make_pair(model=model)
-    return pair.model_copy(
-        update={
-            "data": pair.data.model_copy(
-                update={
-                    "data_package": "microcosm-data",
-                    "repo_id": "policyengine/populace-uk-private",
-                }
-            )
-        }
-    )
-
-
-def test_promotion_closes_other_line_prs_only_at_their_qualified_commit():
-    target = _promotion_receipt(pair=_promotable_pair_and_branch())
-    other = _promotion_receipt(pair=_other_line_pair())
-    target_branch = candidate_branch(target.pair)
-    other_branch = candidate_branch(other.pair)
-
-    plan = plan_promotion(
-        [target, other],
-        BUNDLE,
-        {
-            target_branch: target.harness.git_commit,
-            other_branch: other.harness.git_commit,
-        },
-    )
-    assert plan.ready_branch == target_branch
-    assert plan.close_off_line == [other_branch]
-    assert other_branch not in plan.close_branches
-
-    # A newer head is a forced re-run still in flight: its own receipt decides.
-    in_flight = plan_promotion(
-        [target, other],
-        BUNDLE,
-        {target_branch: target.harness.git_commit, other_branch: "f" * 40},
-    )
-    assert in_flight.ready_branch == target_branch
-    assert in_flight.close_off_line == []
-
-
-def test_promote_closes_other_line_prs_and_never_drafts_a_closed_one(monkeypatch):
-    import argparse
-
-    cli = load_candidate_cli("check_uk_promote_line", MICROCOSM_ROUTED_BUNDLE_PATH)
-    receipt = _promotion_receipt(pair=make_pair(model="2.200.0"))
-    branch = candidate_branch(receipt.pair)
-    monkeypatch.setattr(cli, "latest_receipts", lambda ledger, problems=None: [receipt])
-    monkeypatch.setattr(
-        cli,
-        "_candidate_pull_requests",
-        lambda: [
-            {
-                "number": 7,
-                "headRefName": branch,
-                "headRefOid": receipt.harness.git_commit,
-                "isDraft": False,
-                "isCrossRepository": False,
-            }
-        ],
-    )
-    commands = []
-    monkeypatch.setattr(
-        cli.subprocess,
-        "run",
-        lambda command, **kwargs: (
-            commands.append(command) or subprocess.CompletedProcess(command, 0)
-        ),
-    )
-    drafted = []
-    monkeypatch.setattr(
-        cli, "_set_ready", lambda number, ready: drafted.append(number) or True
-    )
-
-    assert cli.cmd_promote(argparse.Namespace(ledger="ledger", apply=True)) == 0
-    assert commands == [
-        [
-            "gh",
-            "pr",
-            "close",
-            "7",
-            "--repo",
-            cli.LEDGER_REPOSITORY,
-            "--comment",
-            "This pair is not on main's data line, so it is never promoted. "
-            "The ledger keeps this candidate's evidence.",
-        ]
-    ]
-    # gh refuses to return a closed pull request to draft.
-    assert drafted == []
-
-
-def test_finalize_says_an_other_line_pair_is_never_promoted(monkeypatch, tmp_path):
-    import argparse
-
-    cli = load_candidate_cli("check_uk_finalize_line", MICROCOSM_ROUTED_BUNDLE_PATH)
-    receipt = _promotion_receipt(pair=make_pair(model="2.200.0"))
-    attempt = tmp_path / "attempt"
-    write_json(
-        attempt / "candidate.json",
-        {
-            "pair": receipt.pair.canonical_payload(),
-            "branch": candidate_branch(receipt.pair),
-        },
-    )
-    monkeypatch.setattr(cli, "finalize_attempt", lambda *args, **kwargs: receipt)
-    monkeypatch.setattr(cli, "issued_by", lambda: ISSUED)
-    monkeypatch.setattr(cli, "set_output", lambda **kwargs: None)
-    body = tmp_path / "body.md"
-
-    namespace = argparse.Namespace(
-        attempt=str(attempt), ledger=str(tmp_path / "ledger"), pr_body=str(body)
-    )
-    assert cli.cmd_finalize(namespace) == 0
-    text = body.read_text()
-    assert "never promoted" in text and "promotes the pair" not in text
-
-
-def test_pairs_that_share_versions_never_share_a_branch():
-    """Interrupted review of #574: a qualified pair readied the branch of an
-    incomplete pair with the same model and data but another core."""
-
-    qualified_pair = _promotable_pair_and_branch()
-    other_core = _promotable_pair_and_branch(core="3.99.0")
-    assert qualified_pair.pair_id != other_core.pair_id
-    assert candidate_branch(qualified_pair) != candidate_branch(other_core)
-    assert qualified_pair.pair_id[:12] in candidate_branch(qualified_pair)
-    qualified = _promotion_receipt(pair=qualified_pair)
-    incomplete = make_receipt(pair=other_core, gate_results=gates(replay="unavailable"))
-    plan = plan_promotion(
-        [qualified, incomplete],
-        BUNDLE,
-        {candidate_branch(other_core): incomplete.harness.git_commit},
-    )
-    assert plan.target == qualified
-    assert plan.ready_branch is None
-    assert "has no open pull request" in plan.reason
-
-
-def test_a_branch_that_moved_off_the_qualified_commit_is_not_promoted():
-    """The replayed and tested commit must be the promoted commit."""
-
-    qualified = _promotion_receipt(pair=_promotable_pair_and_branch())
-    branch = candidate_branch(qualified.pair)
-    plan = plan_promotion([qualified], BUNDLE, {branch: "f" * 40})
-    assert plan.target == qualified and plan.ready_branch is None
-    assert "not the qualified commit" in plan.reason
-    plan = plan_promotion([qualified], BUNDLE, {branch: qualified.harness.git_commit})
-    assert plan.ready_branch == branch
-
-
-CODE = ".github/workflows/pr_code_changes.yaml"
-
-
-def _check(name, status="completed", conclusion="success", id=1):
-    return {"id": id, "name": name, "status": status, "conclusion": conclusion}
-
-
-def _run(event, status="completed", conclusion="success", id=1, path=CODE):
-    return {
-        "id": id,
-        "path": path,
-        "event": event,
-        "status": status,
-        "conclusion": conclusion,
-    }
-
-
-CHECKS_PASSED = [
-    _check("Lint", id=1),
-    _check("Test (3.13)", id=2),
-    _check("Docs", conclusion="skipped", id=3),
-]
-RUNS_PASSED = [_run("pull_request", id=10), _run("workflow_dispatch", id=11)]
-
-
-def _gh_api_output(argv, checks, runs, commit, branch):
-    """What the fake `gh api` prints: the call's own jq applied by the real
-    jq to an API-shaped page. Each run is the candidate's own (its commit,
-    branch and this repository) unless it says otherwise, with its repository
-    as the API's object; each check's suite id sits under `check_suite`, as
-    in the API (rounds 5 and 6 of #635: fakes that returned every field, or
-    picked fields by name, let a dropped field or a wrong source path pass).
-    None for an unreadable list."""
-
-    if "check-runs" in argv[2]:
-        if checks is None:
-            return None
-        page = {
-            "check_runs": [
-                {
-                    **{k: v for k, v in check.items() if k != "check_suite_id"},
-                    "check_suite": {"id": check.get("check_suite_id")},
-                }
-                for check in checks
-            ]
-        }
-    else:
-        if runs is None:
-            return None
-        page = {
-            "workflow_runs": [
-                {
-                    "head_sha": commit,
-                    "head_branch": branch,
-                    **run,
-                    "head_repository": {
-                        "full_name": run.get(
-                            "head_repository", "PolicyEngine/policyengine.py"
-                        )
-                    },
-                }
-                for run in runs
-            ]
-        }
-    return jq(argv[argv.index("--jq") + 1], page)
-
-
-def _gh_pr_list_output(argv, listing):
-    """What the fake `gh pr list` prints, filtering as gh does: by state
-    (open unless the call says), base, head branch, a `head:` search prefix,
-    then the limit (30 unless the call names one); each pull request cut to
-    the `--json` fields, and the call's `--jq` applied by the real jq. A
-    listing item is open and to main unless it says otherwise."""
-
-    def option(name, default=None):
-        return argv[argv.index(name) + 1] if name in argv else default
-
-    state = option("--state", "open")
-    base = option("--base")
-    head = option("--head")
-    search = option("--search", "")
-    prefix = search.removeprefix("head:") if search.startswith("head:") else None
-    fields = set(option("--json").split(","))
-    matched = [
-        pr
-        for pr in ({"state": "OPEN", "baseRefName": "main", **pr} for pr in listing)
-        if (state == "all" or pr["state"] == state.upper())
-        and (base is None or pr["baseRefName"] == base)
-        and (head is None or pr["headRefName"] == head)
-        and (prefix is None or pr["headRefName"].startswith(prefix))
-    ][: int(option("--limit", "30"))]
-    printed = [{k: v for k, v in pr.items() if k in fields} for pr in matched]
-    expression = option("--jq")
-    return jq(expression, printed) if expression else json.dumps(printed)
-
-
-# Each: checks, runs, branch at the commit, main ("parent" or "moved"), the
-# push's exit code, automatic; then whether it is promoted, and the readiness
-# calls made ("ready" or "undo") in order.
-PROMOTION_CASES = {
-    "everything passed": (
-        CHECKS_PASSED,
-        RUNS_PASSED,
-        True,
-        "parent",
-        0,
-        True,
-        True,
-        ["ready"],
-    ),
-    "a test still running": (
-        [*CHECKS_PASSED[:1], _check("Test (3.13)", "in_progress", None, id=4)],
-        RUNS_PASSED,
-        True,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    "a test failed": (
-        [*CHECKS_PASSED[:1], _check("Test (3.13)", conclusion="failure", id=4)],
-        RUNS_PASSED,
-        True,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    "an older cancelled run a newer success replaced": (
-        [*CHECKS_PASSED, _check("Test (3.13)", conclusion="cancelled", id=0)],
-        # The API lists newest first.
-        [*RUNS_PASSED, _run("pull_request", conclusion="cancelled", id=9)],
-        True,
-        "parent",
-        0,
-        True,
-        True,
-        ["ready"],
-    ),
-    "a newer failure after an older success": (
-        [*CHECKS_PASSED, _check("Test (3.13)", conclusion="failure", id=9)],
-        RUNS_PASSED,
-        True,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    "no run on the candidate's own tree": (
-        CHECKS_PASSED,
-        RUNS_PASSED[:1],
-        True,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    "the own-tree run still registering its jobs": (
-        CHECKS_PASSED[:1],
-        [RUNS_PASSED[0], _run("workflow_dispatch", "in_progress", None, id=11)],
-        True,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    "no checks yet": ([], RUNS_PASSED, True, "parent", 0, True, False, ["undo"]),
-    # Round 3 of #635: a dispatch cancelled while queued has no jobs and so
-    # no checks; the run itself must still block.
-    "the own-tree run cancelled with no jobs": (
-        CHECKS_PASSED,
-        [RUNS_PASSED[0], _run("workflow_dispatch", conclusion="cancelled", id=11)],
-        True,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    # Round 3 of #635: a replaced run re-run later gets newer check ids; its
-    # checks must not count, whatever they conclude.
-    "a replaced run's re-run checks": (
-        [
-            {**_check("Lint", id=1), "check_suite_id": 100},
-            {**_check("Test (3.13)", id=2), "check_suite_id": 100},
-            {**_check("Own tree", id=3), "check_suite_id": 110},
-            {
-                **_check("Test (3.13)", conclusion="failure", id=50),
-                "check_suite_id": 90,
-            },
-        ],
-        [
-            {**_run("pull_request", id=10), "check_suite_id": 100},
-            {**_run("workflow_dispatch", id=11), "check_suite_id": 110},
-            {**_run("pull_request", conclusion="failure", id=9), "check_suite_id": 90},
-        ],
-        True,
-        "parent",
-        0,
-        True,
-        True,
-        ["ready"],
-    ),
-    # An app's check outside any workflow run still counts.
-    "an app's failing check": (
-        [
-            {**_check("Lint", id=1), "check_suite_id": 100},
-            {**_check("External", conclusion="failure", id=5), "check_suite_id": 500},
-        ],
-        [
-            {**_run("pull_request", id=10), "check_suite_id": 100},
-            {**_run("workflow_dispatch", id=11), "check_suite_id": 110},
-        ],
-        True,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    # Round 5 of #635: the runs listed at a commit include any other pull
-    # request's at it, a fork's included. A newer failing run of a fork, or of
-    # another branch here, and its checks neither block the candidate ...
-    "a fork's newer failing run at the commit": (
-        [
-            {**_check("Lint", id=1), "check_suite_id": 100},
-            {**_check("Own tree", id=3), "check_suite_id": 110},
-            {**_check("Lint", conclusion="failure", id=60), "check_suite_id": 200},
-        ],
-        [
-            {**_run("pull_request", id=10), "check_suite_id": 100},
-            {**_run("workflow_dispatch", id=11), "check_suite_id": 110},
-            {
-                **_run("pull_request", conclusion="failure", id=20),
-                "check_suite_id": 200,
-                "head_repository": "someone/policyengine.py",
-            },
-        ],
-        True,
-        "parent",
-        0,
-        True,
-        True,
-        ["ready"],
-    ),
-    "another branch's newer failing run at the commit": (
-        [
-            {**_check("Lint", id=1), "check_suite_id": 100},
-            {**_check("Own tree", id=3), "check_suite_id": 110},
-            {**_check("Lint", conclusion="failure", id=60), "check_suite_id": 200},
-        ],
-        [
-            {**_run("pull_request", id=10), "check_suite_id": 100},
-            {**_run("workflow_dispatch", id=11), "check_suite_id": 110},
-            {
-                **_run("pull_request", conclusion="failure", id=20),
-                "check_suite_id": 200,
-                "head_branch": "candidate/uk/other",
-            },
-        ],
-        True,
-        "parent",
-        0,
-        True,
-        True,
-        ["ready"],
-    ),
-    # ... nor stand in for a run of its own.
-    "only a fork's run on the candidate's tree": (
-        [
-            {**_check("Lint", id=1), "check_suite_id": 100},
-            {**_check("Own tree", id=3), "check_suite_id": 200},
-        ],
-        [
-            {**_run("pull_request", id=10), "check_suite_id": 100},
-            {
-                **_run("workflow_dispatch", id=20),
-                "check_suite_id": 200,
-                "head_repository": "someone/policyengine.py",
-            },
-        ],
-        True,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    "the checks could not be read": (
-        None,
-        RUNS_PASSED,
-        True,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    "the branch moved": (
-        CHECKS_PASSED,
-        RUNS_PASSED,
-        False,
-        "parent",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    "main moved since the base": (
-        CHECKS_PASSED,
-        RUNS_PASSED,
-        True,
-        "moved",
-        0,
-        True,
-        False,
-        ["undo"],
-    ),
-    "main moved at the push": (
-        CHECKS_PASSED,
-        RUNS_PASSED,
-        True,
-        "parent",
-        1,
-        True,
-        False,
-        ["ready", "undo"],
-    ),
-    "manual promotion, on the base": (
-        None,
-        None,
-        True,
-        "parent",
-        0,
-        False,
-        False,
-        ["ready"],
-    ),
-    "manual promotion, main moved": (
-        None,
-        None,
-        True,
-        "moved",
-        0,
-        False,
-        False,
-        ["undo"],
-    ),
-}
-
-
-@pytest.mark.parametrize("case", sorted(PROMOTION_CASES))
-def test_promotion_makes_main_exactly_the_qualified_commit(
-    monkeypatch, tmp_path, capsys, case
-):
-    """Round 2 of #635. A candidate is readied only while main is still the
-    commit it was built on, so no merge can combine it with other code.
-    Automatic promotion waits for the commit's own tree to pass its checks
-    (the newest run of each workflow, the newest check of each name), then
-    moves main to it with a push leased on that parent."""
-
-    import argparse
-
-    checks, runs, at_commit, main, push_code, automatic, promotes, readiness = (
-        PROMOTION_CASES[case]
-    )
-    qualified = _promotion_receipt(pair=_promotable_pair_and_branch())
-    branch = candidate_branch(qualified.pair)
-    commit = qualified.harness.git_commit
-    parent = "p" * 40
-    cli = load_candidate_cli("check_uk_candidate_for_test")
-    calls = []
-
-    target = {
-        "number": 1,
-        "headRefName": branch,
-        "headRefOid": commit,
-        "isDraft": True,
-        "isCrossRepository": False,
-    }
-
-    def run(argv, **kwargs):
-        calls.append(argv)
-        out = ""
-        code = 0
-        if argv[:3] == ["gh", "api", "graphql"]:
-            out = graphql_base_changes_output(argv, set())
-        elif argv[:2] == ["gh", "api"] and argv[4:5] == [f"{_REPO}/pulls"]:
-            out = rest_pulls_output(argv, [target])
-        elif argv[:2] == ["gh", "api"]:
-            printed = _gh_api_output(argv, checks, runs, commit, branch)
-            if printed is None:
-                code = 1
-            else:
-                out = printed
-        elif argv[:3] == ["git", "rev-parse", "FETCH_HEAD"]:
-            out = commit if at_commit else "f" * 40
-        elif argv[:3] == ["git", "rev-parse", f"{commit}^"]:
-            out = parent
-        elif argv[:2] == ["git", "ls-remote"]:
-            out = f"{parent if main == 'parent' else 'm' * 40}\trefs/heads/main\n"
-        elif argv[:2] == ["git", "push"]:
-            code = push_code
-        return SimpleNamespace(returncode=code, stdout=out, stderr="")
-
-    monkeypatch.setattr(cli, "latest_receipts", lambda root, **_: [qualified])
-    monkeypatch.setattr(cli, "subprocess", SimpleNamespace(run=run))
-    monkeypatch.setattr(cli, "config", lambda: {"promotion": {"automatic": automatic}})
-    monkeypatch.setattr(cli, "_candidate_pull_requests", lambda: [target])
-    assert cli.cmd_promote(argparse.Namespace(ledger=str(tmp_path), apply=True)) == 0
-    assert [
-        "undo" if "--undo" in argv else "ready"
-        for argv in calls
-        if argv[:3] == ["gh", "pr", "ready"]
-    ] == readiness
-    pushes = [argv for argv in calls if argv[:2] == ["git", "push"]]
-    reaches_push = "ready" in readiness and automatic
-    assert pushes == (
-        [
-            [
-                "git",
-                "push",
-                f"--force-with-lease=refs/heads/main:{parent}",
-                "origin",
-                f"{commit}:refs/heads/main",
-            ]
-        ]
-        if reaches_push
-        else []
-    )
-    assert not [argv for argv in calls if argv[:3] == ["gh", "pr", "merge"]]
-    if not automatic:
-        assert not [argv for argv in calls if argv[:2] == ["gh", "api"]]
-    assert (f"promoted {branch}" in capsys.readouterr().out) is promotes
-
-
-@pytest.mark.parametrize("undo_fails", [False, True])
-def test_promotion_returns_every_other_ready_candidate_to_draft(
-    monkeypatch, tmp_path, undo_fails
-):
-    """Round 3 of #635: only the plan's target may be ready, so a candidate
-    left ready by a run whose undo failed, or by older code, is returned to
-    draft; a failed return to draft fails the run so it is seen."""
-
-    import argparse
-
-    cli, calls, branch = _sweep_cli(
-        monkeypatch, path="main moved", failing={"2", "1"} if undo_fails else set()
-    )
-    status = cli.cmd_promote(argparse.Namespace(ledger=str(tmp_path), apply=True))
-    undone = [argv[3] for argv in calls if argv[:3] == ["gh", "pr", "ready"]]
-    # The stale one (the draft and the fork's are left alone), then the target
-    # by _promote (main moved), each by number.
-    assert undone == ["2", "1"]
-    assert status == (1 if undo_fails else 0)
-
-
-SUPERSEDED_PAIR = make_pair(model="2.0.0", data="1.0.0", core="3.0.0")
-_REPO = "repos/PolicyEngine/policyengine.py"
-
-
-def _sweep_cli(
-    monkeypatch,
-    *,
-    path,
-    failing,
-    checks=None,
-    runs=None,
-    push_code=1,
-    extra=(),
-    superseded=False,
-    shared_fails=None,
-    base_changed=(),
-):
-    """The promote CLI over a real `gh pr list` payload: the target (#1,
-    ready), a stale same-repository candidate (#2, ready), a draft (#3), a
-    fork's pull request with the stale branch's name (#4, ready), a fork's
-    with the target's branch name at another commit (#5, ready) and a ready
-    one whose listing lacks the fork field (#6), then ``extra`` (each may
-    use "{branch}" and "{commit}" for the target's). ``superseded`` adds a
-    receipt for an older pair with an open pull request (#9), which the plan
-    closes. ``failing`` names the pull request numbers whose undo fails;
-    ``path`` is "main moved", "lease rejected" or "main at the parent";
-    ``base_changed`` names the pull requests whose base was ever changed;
-    ``shared_fails`` fails the REST listing of a branch's pull requests
-    ("listing") or the base-change query ("history")."""
-
-    qualified = _promotion_receipt(pair=_promotable_pair_and_branch())
-    branch = candidate_branch(qualified.pair)
-    commit = qualified.harness.git_commit
-    receipts = [qualified]
-    if superseded:
-        receipts.append(_promotion_receipt(pair=SUPERSEDED_PAIR))
-    stale = "candidate/uk/stale-pair"
-    cli = load_candidate_cli("check_uk_candidate_for_test")
-    calls = []
-    listing = [
-        {
-            "number": 1,
-            "headRefName": branch,
-            "headRefOid": commit,
-            "isDraft": False,
-            "isCrossRepository": False,
-        },
-        {
-            "number": 2,
-            "headRefName": stale,
-            "headRefOid": "s" * 40,
-            "isDraft": False,
-            "isCrossRepository": False,
-        },
-        {
-            "number": 3,
-            "headRefName": "candidate/uk/draft",
-            "headRefOid": "d" * 40,
-            "isDraft": True,
-            "isCrossRepository": False,
-        },
-        {
-            "number": 4,
-            "headRefName": stale,
-            "headRefOid": "f" * 40,
-            "isDraft": False,
-            "isCrossRepository": True,
-        },
-        {
-            "number": 5,
-            "headRefName": branch,
-            "headRefOid": "c" * 40,
-            "isDraft": False,
-            "isCrossRepository": True,
-        },
-        {
-            "number": 6,
-            "headRefName": "candidate/uk/unknown",
-            "headRefOid": "u" * 40,
-            "isDraft": False,
-        },
-        *(
-            {
-                key: value.format(branch=branch, commit=commit)
-                if isinstance(value, str)
-                else value
-                for key, value in pr.items()
-            }
-            for pr in extra
-        ),
-    ]
-    if superseded:
-        listing.append(
-            {
-                "number": 9,
-                "headRefName": candidate_branch(SUPERSEDED_PAIR),
-                "headRefOid": "o" * 40,
-                "isDraft": True,
-                "isCrossRepository": False,
-            }
-        )
-
-    def run(argv, **kwargs):
-        calls.append(argv)
-        out, code = "", 0
-        if argv[:3] == ["gh", "pr", "list"]:
-            out = _gh_pr_list_output(argv, listing)
-        elif argv[:3] == ["gh", "api", "graphql"]:
-            if shared_fails == "history":
-                code = 1
-            else:
-                out = graphql_base_changes_output(argv, base_changed)
-        elif argv[:2] == ["gh", "api"] and argv[4:5] == [f"{_REPO}/pulls"]:
-            if shared_fails == "listing":
-                code = 1
-            else:
-                out = rest_pulls_output(argv, listing)
-        elif argv[:2] == ["gh", "api"]:
-            out = _gh_api_output(
-                argv, checks or CHECKS_PASSED, runs or RUNS_PASSED, commit, branch
-            )
-        elif argv[:3] == ["git", "rev-parse", "FETCH_HEAD"]:
-            out = commit
-        elif argv[:3] == ["git", "rev-parse", f"{commit}^"]:
-            out = "p" * 40
-        elif argv[:2] == ["git", "ls-remote"]:
-            main = "m" * 40 if path == "main moved" else "p" * 40
-            out = main + "\trefs/heads/main\n"
-        elif argv[:2] == ["git", "push"]:
-            code = push_code  # 1: the lease is rejected (main moved at the push)
-        elif argv[:3] == ["gh", "pr", "ready"] and "--undo" in argv:
-            code = 1 if argv[3] in failing else 0
-        return SimpleNamespace(returncode=code, stdout=out, stderr="")
-
-    monkeypatch.setattr(cli, "latest_receipts", lambda root, **_: receipts)
-    monkeypatch.setattr(cli, "subprocess", SimpleNamespace(run=run))
-    monkeypatch.setattr(cli, "config", lambda: {"promotion": {"automatic": True}})
-    return cli, calls, branch
-
-
-@pytest.mark.parametrize("path", ["main moved", "lease rejected"])
-@pytest.mark.parametrize("failing", [set(), {"2"}, {"1"}])
-def test_each_failed_return_to_draft_fails_the_run(
-    monkeypatch, tmp_path, path, failing
-):
-    """Round 4 of #635: the sweep's failed undo and the target's failed undo
-    (whether main moved or the lease was rejected) each fail the run alone.
-    Round 5: every readiness change goes by number, on same-repository pull
-    requests only; a fork's with the target's branch name neither changes the
-    target's commit nor is touched, and one whose listing lacks the fork
-    field counts as a fork's."""
-
-    import argparse
-
-    cli, calls, branch = _sweep_cli(monkeypatch, path=path, failing=failing)
-    candidates = cli._candidate_pull_requests()
-    assert [pr["number"] for pr in candidates] == [1, 2, 3]
-    assert {pr["headRefName"]: pr["headRefOid"] for pr in candidates}[branch] != (
-        "c" * 40
-    )
-    status = cli.cmd_promote(argparse.Namespace(ledger=str(tmp_path), apply=True))
-    readiness = [
-        ("undo" if "--undo" in argv else "ready", argv[3])
-        for argv in calls
-        if argv[:3] == ["gh", "pr", "ready"]
-    ]
-    target = (
-        [("undo", "1")] if path == "main moved" else [("ready", "1"), ("undo", "1")]
-    )
-    assert readiness == [("undo", "2"), *target]
-    assert status == (1 if failing else 0)
-    listing = next(argv for argv in calls if argv[:3] == ["gh", "pr", "list"])
-    assert listing[listing.index("--limit") + 1] == str(cli.PULL_REQUEST_LIMIT)
-
-
-@pytest.mark.parametrize(("listed", "refused"), [(999, False), (1000, True)])
-def test_a_candidate_listing_at_its_limit_is_refused(monkeypatch, listed, refused):
-    """Round 5 of #635: gh stops a pull request search at its limit, so a
-    listing that reaches it may have missed the target; promotion refuses to
-    go on rather than act on part of the list."""
-
-    cli = load_candidate_cli("check_uk_candidate_for_test")
-    listing = [
-        {
-            "number": number,
-            "headRefName": f"candidate/uk/pair-{number}",
-            "headRefOid": "a" * 40,
-            "isDraft": True,
-            "isCrossRepository": False,
-        }
-        for number in range(1, 1201)
-    ]
-
-    def run(argv, **kwargs):
-        return SimpleNamespace(
-            returncode=0, stdout=_gh_pr_list_output(argv, listing[:listed]), stderr=""
-        )
-
-    monkeypatch.setattr(cli, "subprocess", SimpleNamespace(run=run))
-    assert cli.PULL_REQUEST_LIMIT == 1000
-    if refused:
-        with pytest.raises(SystemExit, match="::error::1000 open pull requests"):
-            cli._candidate_pull_requests()
-    else:
-        assert len(cli._candidate_pull_requests()) == listed
-
-
-OTHER_BASE = {
-    "number": 7,
-    "headRefName": "{branch}",
-    "headRefOid": "{commit}",
-    "baseRefName": "release",
-    "isDraft": False,
-    "isCrossRepository": False,
-}
-
-
-def _other(**fields):
-    return {**OTHER_BASE, **fields}
-
-
-FORKS = [
-    _other(number=100 + n, baseRefName="main", isCrossRepository=True)
-    for n in range(40)
-]
-
-# Each: other pull requests from the target's branch, the numbers whose base
-# was ever changed, whether promotion refuses the target, and the pull
-# request the refusal names.
-SHARED_BRANCH_CASES = {
-    "open, to another base": ([_other()], (), True, 7),
-    "open, to another base, its head not yet updated": (
-        [_other(headRefOid="a" * 40)],
-        (),
-        True,
-        7,
-    ),
-    "closed at the commit, to another base": ([_other(state="CLOSED")], (), True, 7),
-    "merged at the commit, to another base": ([_other(state="MERGED")], (), True, 7),
-    "closed at another commit, to another base": (
-        [_other(state="CLOSED", headRefOid="a" * 40)],
-        (),
-        False,
-        None,
-    ),
-    "a fork's, open, to another base": (
-        [_other(isCrossRepository=True)],
-        (),
-        False,
-        None,
-    ),
-    # Round 9 of #635: a base branch renamed into main records no event, so
-    # a pull request now to main proves nothing about what its runs at the
-    # commit tested; any other pull request from the branch at the commit
-    # counts, whatever its base. (Prepare's own pull request to main is
-    # always at the commit too, so a renamed one sits beside it.)
-    "closed at the commit, to main (a rename leaves no event)": (
-        [_other(state="CLOSED", baseRefName="main")],
-        (),
-        True,
-        7,
-    ),
-    "merged at the commit, to main": (
-        [_other(state="MERGED", baseRefName="main")],
-        (),
-        True,
-        7,
-    ),
-    "closed at another commit, to main": (
-        [_other(state="CLOSED", baseRefName="main", headRefOid="a" * 40)],
-        (),
-        False,
-        None,
-    ),
-    # Round 7 of #635: a base change does not change what a pull request's
-    # earlier runs tested, so one now to main that ever had another base
-    # counts, the candidate's own included.
-    "closed at the commit, to main after a base change": (
-        [_other(state="CLOSED", baseRefName="main")],
-        (7,),
-        True,
-        7,
-    ),
-    "closed at another commit, to main after a base change": (
-        [_other(state="CLOSED", baseRefName="main", headRefOid="a" * 40)],
-        (7,),
-        False,
-        None,
-    ),
-    "the candidate's own, to main after a base change": ([], (1,), True, 1),
-    # Round 8: GitHub retargets a pull request itself when its base branch is
-    # merged and deleted, and records that as a separate event type.
-    "the candidate's own, to main after an automatic base change": (
-        [],
-        {1: "automatic"},
-        True,
-        1,
-    ),
-    "closed at the commit, to main after an automatic base change": (
-        [_other(state="CLOSED", baseRefName="main")],
-        {7: "automatic"},
-        True,
-        7,
-    ),
-    # Round 7: forks' pull requests with the branch's name, however many,
-    # neither crowd out nor stand in for this repository's.
-    "forty forks', to main, with its branch name": (FORKS, (), False, None),
-    "forty forks' and one to another base": (FORKS + [_other()], (), True, 7),
-}
-
-
-def _run_reads(calls):
-    """The calls that read a commit's runs or checks."""
-
-    return [
-        argv
-        for argv in calls
-        if argv[:2] == ["gh", "api"]
-        and ("actions/runs" in argv[2] or "check-runs" in argv[2])
-    ]
-
-
-@pytest.mark.parametrize("case", sorted(SHARED_BRANCH_CASES))
-def test_a_candidate_whose_runs_may_have_tested_another_base_is_refused(
-    monkeypatch, tmp_path, capsys, case
-):
-    """Round 6 of #635: a pull request from the candidate branch to another
-    base runs the same workflows with the same commit, branch and repository,
-    and GitHub's runs do not say which pull request they are for, so its
-    failure could strand the candidate and its success hide the candidate's
-    failure. While one is open, or after one closed at this commit, the
-    candidate is kept draft and the run fails with an error naming it; the
-    other pull request is never readied, undone or counted as a candidate.
-    Round 7: the same holds for a pull request now to main whose base was
-    ever changed, and forks' pull requests cannot crowd out the listing of
-    this repository's."""
-
-    import argparse
-
-    extra, base_changed, refused, named = SHARED_BRANCH_CASES[case]
-    cli, calls, branch = _sweep_cli(
-        monkeypatch,
-        path="main at the parent",
-        failing=set(),
-        push_code=0,
-        extra=extra,
-        base_changed=base_changed,
-    )
-    assert 7 not in [pr["number"] for pr in cli._candidate_pull_requests()]
-    status = cli.cmd_promote(argparse.Namespace(ledger=str(tmp_path), apply=True))
-    output = capsys.readouterr().out
-    pushes = [argv for argv in calls if argv[:2] == ["git", "push"]]
-    readiness = [argv[3] for argv in calls if argv[:3] == ["gh", "pr", "ready"]]
-    assert "7" not in readiness
-    if refused:
-        assert status == 1 and not pushes
-        assert f"::error::{branch} is not promoted" in output
-        assert f"#{named} (" in output
-        assert readiness == ["2", "1"]
-        assert not _run_reads(calls)
-    else:
-        assert status == 0 and len(pushes) == 1
-        assert f"promoted {branch}" in output
-
-
-@pytest.mark.parametrize("how", ["listing", "history"])
-def test_unreadable_pull_requests_from_the_candidate_branch_wait(
-    monkeypatch, tmp_path, capsys, how
-):
-    """Round 6 of #635: when the candidate branch's pull requests (round 7:
-    or a base-change history) cannot be read, the candidate waits as a draft
-    without reading its runs."""
-
-    import argparse
-
-    cli, calls, branch = _sweep_cli(
-        monkeypatch,
-        path="main at the parent",
-        failing=set(),
-        push_code=0,
-        shared_fails=how,
-    )
-    assert cli.cmd_promote(argparse.Namespace(ledger=str(tmp_path), apply=True)) == 0
-    output = capsys.readouterr().out
-    assert "could not be read" in output and "::error::" not in output
-    assert not [argv for argv in calls if argv[:2] == ["git", "push"]]
-    assert not _run_reads(calls)
-    assert [argv[3] for argv in calls if argv[:3] == ["gh", "pr", "ready"]] == [
-        "2",
-        "1",
-    ]
-
-
-def test_only_pull_requests_to_main_are_candidates(monkeypatch):
-    """Round 6 of #635: the listing asks gh for pull requests to main and
-    drops any other it returns, so two pull requests from one candidate
-    branch cannot collapse into one entry that sends readiness changes to
-    the wrong one."""
-
-    cli = load_candidate_cli("check_uk_candidate_for_test")
-    calls = []
-    listing = [
-        {
-            "number": number,
-            "baseRefName": base,
-            "headRefName": "candidate/uk/2.200.0-1.58.9",
-            "headRefOid": "a" * 40,
-            "isDraft": False,
-            "isCrossRepository": False,
-        }
-        for number, base in ((1, "release"), (2, "main"))
-    ]
-
-    def run(argv, **kwargs):
-        calls.append(argv)
-        # A gh that ignored --base: the script still keeps only main's.
-        return SimpleNamespace(returncode=0, stdout=json.dumps(listing), stderr="")
-
-    monkeypatch.setattr(cli, "subprocess", SimpleNamespace(run=run))
-    assert [pr["number"] for pr in cli._candidate_pull_requests()] == [2]
-    assert calls[0][calls[0].index("--base") + 1] == "main"
-
-
-def test_superseded_candidates_are_closed_by_number(monkeypatch, tmp_path):
-    """Round 6 of #635: closing a superseded candidate goes by its number,
-    like every other write to a pull request."""
-
-    import argparse
-
-    cli, calls, branch = _sweep_cli(
-        monkeypatch,
-        path="main at the parent",
-        failing=set(),
-        push_code=0,
-        superseded=True,
-    )
-    assert cli.cmd_promote(argparse.Namespace(ledger=str(tmp_path), apply=True)) == 0
-    assert [argv[3] for argv in calls if argv[:3] == ["gh", "pr", "close"]] == ["9"]
-
-
-NOW = "2026-10-16T12:00:00Z"
-RECENT = "2026-10-16T06:00:00Z"
-OLD = "2026-09-15T11:00:00Z"
-
-# Each: the own-tree run's status, conclusion, attempt and creation time;
-# whether the candidate is stranded (waits on a run refresh will not re-run).
-STRANDED_CASES = {
-    "failed, attempts left": ("completed", "failure", 3, RECENT, False),
-    "failed at the cap": ("completed", "failure", 4, RECENT, True),
-    "timed out, attempts left": ("completed", "timed_out", 1, RECENT, False),
-    "cancelled, attempts left": ("completed", "cancelled", 2, RECENT, False),
-    # Round 5 of #635: refresh re-runs only failed, timed-out and cancelled
-    # runs, and GitHub only within 30 days, so these wait on nothing.
-    "waiting on an approval": ("completed", "action_required", 1, RECENT, True),
-    "skipped": ("completed", "skipped", 1, RECENT, True),
-    "stale": ("completed", "stale", 1, RECENT, True),
-    "failed past GitHub's re-run window": ("completed", "failure", 1, OLD, True),
-    "failed just inside the window": (
-        "completed",
-        "failure",
-        1,
-        "2026-09-16T12:00:01Z",
-        False,
-    ),
-    # Round 6: GitHub re-runs a run exactly 30 days old, and not one a
-    # second older.
-    "failed exactly 30 days ago": (
-        "completed",
-        "failure",
-        1,
-        "2026-09-16T12:00:00Z",
-        False,
-    ),
-    "failed 30 days and a second ago": (
-        "completed",
-        "failure",
-        1,
-        "2026-09-16T11:59:59Z",
-        True,
-    ),
-    # Unfinished runs and successes are not stranded at any attempt.
-    "in progress at the cap": ("in_progress", None, 4, OLD, False),
-    "queued past the window": ("queued", None, 1, OLD, False),
-}
-
-
-@pytest.mark.parametrize("case", sorted(STRANDED_CASES))
-def test_a_candidate_waiting_on_runs_refresh_will_not_rerun_fails_the_run(
-    monkeypatch, tmp_path, capsys, case
-):
-    """Round 4 of #635: refresh re-runs a run until MAX_RUN_ATTEMPTS, then
-    stops; a candidate still waiting on it would otherwise wait unseen, so
-    the promote run fails with an error naming it. Round 5: the same holds
-    for any finished, unsuccessful run refresh will not re-run (a result it
-    does not re-run, or one past GitHub's 30-day window). Otherwise it waits
-    quietly, kept draft."""
-
-    import argparse
-    import datetime
-
-    status_, conclusion, attempt, created, stranded = STRANDED_CASES[case]
-    runs = [
-        _run("pull_request", id=10),
-        {
-            **_run("workflow_dispatch", status_, conclusion, id=11),
-            "run_attempt": attempt,
-            "created_at": created,
-        },
-    ]
-    cli, calls, branch = _sweep_cli(
-        monkeypatch, path="main at the parent", failing=set(), runs=runs
-    )
-    monkeypatch.setattr(
-        cli,
-        "_now",
-        lambda: datetime.datetime.fromisoformat(NOW.replace("Z", "+00:00")),
-    )
-    assert cli.MAX_RUN_ATTEMPTS == 4
-    status = cli.cmd_promote(argparse.Namespace(ledger=str(tmp_path), apply=True))
-    output = capsys.readouterr().out
-    assert status == (1 if stranded else 0)
-    assert ("::error::" in output) is stranded
-    if stranded:
-        assert branch in output and "will not re-run" in output
-    assert [argv for argv in calls if argv[:2] == ["git", "push"]] == []
-    # The target waits as a draft (round 4: one a person left ready).
-    assert [argv[3] for argv in calls if argv[:3] == ["gh", "pr", "ready"]] == [
-        "2",
-        "1",
-    ]
-
-
-@pytest.mark.parametrize("other_waiting", [False, True])
-def test_a_success_on_the_last_attempt_is_not_stranded(
-    monkeypatch, tmp_path, capsys, other_waiting
-):
-    """Round 5 of #635: a run that passes on its last allowed attempt is not
-    stranded, whether the candidate then promotes or still waits on another
-    run."""
-
-    import argparse
-
-    runs = [
-        _run("pull_request", "in_progress", None, id=10)
-        if other_waiting
-        else _run("pull_request", id=10),
-        {**_run("workflow_dispatch", id=11), "run_attempt": 4, "created_at": OLD},
-    ]
-    cli, calls, branch = _sweep_cli(
-        monkeypatch, path="main at the parent", failing=set(), runs=runs, push_code=0
-    )
-    assert cli.cmd_promote(argparse.Namespace(ledger=str(tmp_path), apply=True)) == 0
-    output = capsys.readouterr().out
-    assert "::error::" not in output
-    assert (f"promoted {branch}" in output) is not other_waiting
-    if other_waiting:
-        assert f"automatic promotion waits for {branch}" in output
-
-
-def test_a_failed_return_to_draft_while_waiting_fails_the_run(
-    monkeypatch, tmp_path, capsys
-):
-    """Round 5 of #635: on the waiting path the target goes back to draft;
-    if that fails, a ready pull request is left that a merge could combine
-    with other code, so the run fails (with nothing stranded)."""
-
-    import argparse
-
-    runs = [
-        _run("pull_request", id=10),
-        _run("workflow_dispatch", "in_progress", None, id=11),
-    ]
-    cli, calls, branch = _sweep_cli(
-        monkeypatch, path="main at the parent", failing={"1"}, runs=runs
-    )
-    assert cli.cmd_promote(argparse.Namespace(ledger=str(tmp_path), apply=True)) == 1
-    output = capsys.readouterr().out
-    assert "::error::could not return 1 to draft" in output
-    assert "will not re-run" not in output
-    assert [argv for argv in calls if argv[:2] == ["git", "push"]] == []
-
-
-def test_automatic_promotion_is_on_with_its_basis_recorded():
-    config = json.loads(
-        (
-            Path(__file__).resolve().parents[1]
-            / "src/policyengine/data/qualification/uk.json"
-        ).read_text()
-    )
-    assert config["promotion"]["automatic"] is True
-    assert "d1344" in config["promotion"]["decision"]
-
-
-def test_promotion_requires_the_current_supported_years_baseline(monkeypatch):
-    """C passed against A, but loses the year B added before C finished."""
-
-    from policyengine.provenance.certification import (
-        BASIS_QUALIFIED_PAIR,
-        build_bundle_data_release_payload,
-        build_country_manifest_payload,
-    )
-    from policyengine.provenance.manifest import (
-        CountryReleaseManifest,
-        DataReleaseManifest,
-    )
-    from policyengine.provenance.uk_candidate import supported_years
-
-    core = BUNDLE["packages"]["policyengine-core"]["version"]
-    pair_b = make_pair(model="2.131.0", data="1.58.2", core=core)
-    pair_c = make_pair(model="2.132.0", data="1.58.3", core=core)
-    years_a = list(range(2025, 2032))
-    years_b = list(range(2025, 2033))
-    monkeypatch.setattr(
-        "policyengine.provenance.uk_candidate.data_year", lambda _: 2024
-    )
-
-    def gate(pair, years, previous_years):
-        return supported_years(
-            pair,
-            Path("projected.h5"),
-            required_years=years_a[:-1],
-            budget_horizon_years=years_a[1:],
-            previous_supported_years=previous_years,
-            projected_years=lambda _: years,
-        )[0]
-
-    gate_b = gate(pair_b, years_b, years_a)
-    gate_c = gate(pair_c, years_a, years_a)
-    assert gate_b.status == gate_c.status == "pass"
-    assert gate(pair_c, years_a, years_b).status == "fail"
-    receipt_b = _promotion_receipt(
-        pair=pair_b,
-        gate_results=[gate_b if g.gate_id == "supported_years" else g for g in gates()],
-    )
-    receipt_c = _promotion_receipt(
-        pair=pair_c,
-        gate_results=[gate_c if g.gate_id == "supported_years" else g for g in gates()],
-    )
-    assert receipt_b.promotable and receipt_c.promotable
-
-    release = json.loads(json.dumps(MANIFEST))
-    release["data_package"]["version"] = pair_b.data.release_version
-    release["build"]["build_id"] = pair_b.data.build_id
-    release["artifacts"][pair_b.data.dataset]["revision"] = pair_b.data.dataset_revision
-    manifest = DataReleaseManifest.model_validate(release)
-    uri_parts = {
-        "repo_id": pair_b.data.repo_id,
-        "repo_type": pair_b.data.repo_type,
-        "path": pair_b.data.release_manifest_path,
-        "revision": pair_b.data.release_manifest_revision,
-    }
-    country = build_country_manifest_payload(
-        country="uk",
-        manifest=manifest,
-        uri_parts=uri_parts,
-        policyengine_version=BUNDLE["policyengine_version"],
-        model_package=pair_b.model.name,
-        model_version=pair_b.model.version,
-        model_wheel={"sha256": pair_b.model.wheel_sha256},
-        compatibility_basis=BASIS_QUALIFIED_PAIR,
-        core_version=core,
-        qualified_pair_id=pair_b.pair_id,
-    )
-    record_b = build_bundle_data_release_payload(
-        country_payload=country,
-        data_producer="populace",
-        manifest_uri=f"hf://model/{pair_b.data.repo_id}@{pair_b.data.release_manifest_revision}/{pair_b.data.release_manifest_path}",
-        uri_parts=uri_parts,
-    )
-    CountryReleaseManifest.model_validate(record_b)
-    current_b = json.loads(json.dumps(BUNDLE))
-    current_b["data_releases"]["uk"] = record_b
-    branches = {candidate_branch(pair_c): receipt_c.harness.git_commit}
-
-    assert plan_promotion([receipt_b, receipt_c], BUNDLE, branches).ready_branch
-    plan = plan_promotion([receipt_b, receipt_c], current_b, branches)
-    assert plan.target == receipt_c
-    assert plan.ready_branch is None and plan.ready_commit is None
-    assert "requalif" in plan.reason and plan.requalify == receipt_c.pair
-
-
-@pytest.mark.parametrize(
-    "field",
-    [None, *type(previous_certificate(BUNDLE)).model_fields],
-)
-def test_promotion_binds_every_previous_certificate_field(field):
-    qualified = _promotion_receipt(pair=_promotable_pair_and_branch())
-    previous = qualified.previous_certificate
-    if field is None:
-        previous = None
-    else:
-        value = getattr(previous, field)
-        if field in {"dataset_reference", "release_manifest_reference"}:
-            value = value.model_copy(update={"revision": "0" * 40})
-        elif field.endswith("sha256") or field == "qualification_pair_id":
-            value = "0" * 64
-        else:
-            value = "different"
-        previous = previous.model_copy(update={field: value})
-    stale = qualified.model_copy(update={"previous_certificate": previous})
-    plan = plan_promotion(
-        [stale], BUNDLE, {candidate_branch(stale.pair): stale.harness.git_commit}
-    )
-    assert plan.target == stale
-    assert plan.ready_branch is None and plan.ready_commit is None
-    assert "requalif" in plan.reason
-
-
-@pytest.mark.parametrize("missing", [False, True])
-def test_stale_baseline_does_not_close_or_fall_back_to_other_candidates(missing):
-    previous = previous_certificate(BUNDLE)
-    newest = _promotion_receipt(pair=_promotable_pair_and_branch()).model_copy(
-        update={
-            "previous_certificate": None
-            if missing
-            else previous.model_copy(update={"bundle_version": "different"})
-        }
-    )
-    older = _promotion_receipt(
-        pair=make_pair(
-            model="2.199.0",
-            data=newest.pair.data.release_version,
-            core=newest.pair.core.version,
-        )
-    )
-    superseded_by_main = _promotion_receipt(
-        pair=make_pair(model="2.0.0", data="1.0.0", core="3.0.0")
-    )
-    receipts = [newest, older, superseded_by_main]
-    branches = {candidate_branch(r.pair): r.harness.git_commit for r in receipts}
-    plan = plan_promotion(receipts, BUNDLE, branches)
-    assert plan.target == newest
-    assert plan.ready_branch is None and plan.ready_commit is None
-    assert plan.close_branches == [candidate_branch(superseded_by_main.pair)]
-    assert plan.requalify == newest.pair
-
-
-def test_promotion_on_an_unrelated_main_commit_keeps_the_same_baseline():
-    qualified = _promotion_receipt(pair=_promotable_pair_and_branch())
-    unrelated_main = json.loads(json.dumps(BUNDLE))
-    unrelated_main["data_releases"]["us"]["data_package"]["version"] = "99.0.0"
-    assert previous_certificate(unrelated_main) == qualified.previous_certificate
-    branch = candidate_branch(qualified.pair)
-    plan = plan_promotion(
-        [qualified], unrelated_main, {branch: qualified.harness.git_commit}
-    )
-    assert plan.ready_branch == branch
-    assert plan.ready_commit == qualified.harness.git_commit
-    assert plan.requalify is None
-
-
-def test_a_forced_rerun_stages_a_new_attempt(tmp_path):
-    """Interrupted review of #574: a forced run reused the existing attempt key,
-    so the workflow's duplicate guard stopped it."""
-
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import attempt_key
-
-    pair = _promotable_pair_and_branch()
-    base = "a" * 40
-    assert attempt_key(pair, tmp_path, base_commit=base, force=True) == base[:12]
-    attempt_directory(tmp_path, "uk", pair.pair_id, base[:12]).mkdir(parents=True)
-    assert attempt_key(pair, tmp_path, base_commit=base) == base[:12]
-    assert attempt_key(pair, tmp_path, base_commit=base, force=True) == f"{base[:12]}-2"
-    attempt_directory(tmp_path, "uk", pair.pair_id, f"{base[:12]}-2").mkdir(
-        parents=True
-    )
-    assert attempt_key(pair, tmp_path, base_commit=base, force=True) == f"{base[:12]}-3"
-
-
-# --- Attempt lifecycle -----------------------------------------------------------------
-
-
-@pytest.mark.parametrize("abandonment", ["expired", "failed_owner"])
-def test_abandoned_stage_recovers_without_reusing_evidence(tmp_path, abandonment):
-    from policyengine.provenance.qualification_ledger import (
-        attempt_directory,
-        read_json,
-    )
-    from policyengine.provenance.uk_qualification import (
-        attempt_is_recoverable,
-        attempt_key,
-        stage_attempt,
-    )
-
-    pair = make_pair(model="2.200.0")
-    base = "a" * 40
-    attempt = attempt_directory(tmp_path, "uk", pair.pair_id, base[:12])
-    payload = {"pair": pair.canonical_payload(), "base_commit": base}
-    stage_attempt(attempt, payload, HARNESS)
-    # The owner fails before request-replay, leaving durable but unfinished work.
-    write_json(
-        attempt / "staging.json",
-        {
-            "sequence": 1,
-            "owner_run_id": "42",
-            "staged_at": "2026-10-14T10:00:00Z",
-            "expires_at": "2026-10-14T14:00:00Z",
-        },
-    )
-    original = read_json(attempt / "candidate.json")
-    now = "2026-10-14T15:00:00Z" if abandonment == "expired" else "2026-10-14T11:00:00Z"
-
-    def failed(run_id):
-        return abandonment == "failed_owner" and run_id == "42"
-
-    assert attempt_is_recoverable(attempt, now=now, owner_is_failed=failed)
-    assert (
-        candidate_action(
-            pair, BUNDLE, tmp_path, base_commit=base, now=now, owner_is_failed=failed
-        )[0]
-        == "qualify"
-    )
-    new_key = attempt_key(
-        pair, tmp_path, base_commit=base, now=now, owner_is_failed=failed
-    )
-    assert new_key == base[:12] + "-2"
-    new_attempt = attempt_directory(tmp_path, "uk", pair.pair_id, new_key)
-    stage_attempt(new_attempt, payload, HARNESS, owner_run_id="43", staged_at=now)
-    assert read_json(attempt / "candidate.json") == original
-    assert (
-        candidate_action(
-            pair, BUNDLE, tmp_path, base_commit=base, now=now, owner_is_failed=failed
-        )[0]
-        == "duplicate"
-    )
-
-
-@pytest.mark.parametrize("protected", ["live", "request", "terminal", "missing_stage"])
-def test_recovery_preserves_live_sent_and_terminal_attempts(tmp_path, protected):
-    from policyengine.provenance.uk_qualification import (
-        attempt_is_recoverable,
-        stage_attempt,
-    )
-
-    pair = make_pair()
-    attempt = tmp_path / "attempt"
-    stage_attempt(attempt, {"pair": pair.canonical_payload()}, HARNESS)
-    write_json(
-        attempt / "staging.json",
-        {
-            "sequence": 1,
-            "owner_run_id": "42",
-            "expires_at": "2026-10-14T14:00:00Z",
-        },
-    )
-    now = "2026-10-14T15:00:00Z"
-    if protected == "live":
-        now = "2026-10-14T11:00:00Z"
-    elif protected == "request":
-        write_json(attempt / "replay" / "request.json", {"sent": True})
-    elif protected == "terminal":
-        write_json(
-            attempt / "qualification_receipt.json", make_receipt().canonical_payload()
-        )
-    else:
-        (attempt / "staging.json").unlink()
-    assert not attempt_is_recoverable(attempt, now=now, owner_is_failed=lambda _: False)
-
-
-def test_stage_records_owner_and_expiry_immutably(tmp_path):
-    from policyengine.provenance.qualification_ledger import read_json
-    from policyengine.provenance.uk_qualification import stage_attempt
-
-    payload = {"pair": make_pair().canonical_payload()}
-    stage_attempt(
-        tmp_path, payload, HARNESS, owner_run_id="42", staged_at="2026-10-14T10:00:00Z"
-    )
-    stage = read_json(tmp_path / "staging.json")
-    assert stage["owner_run_id"] == "42"
-    assert stage["expires_at"] == "2026-10-14T14:00:00Z"
-    stage_attempt(tmp_path, payload, HARNESS, owner_run_id="43")
-    assert read_json(tmp_path / "staging.json") == stage
-
-
-def test_unowned_legacy_stage_is_recoverable_on_the_same_base(tmp_path):
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import stage_attempt
-
-    pair = make_pair(model="2.200.0")
-    base = "a" * 40
-    attempt = attempt_directory(tmp_path, "uk", pair.pair_id, base[:12])
-    stage_attempt(attempt, {"pair": pair.canonical_payload()}, HARNESS)
-    write_json(attempt / "staging.json", {"sequence": 1})
-    assert candidate_action(pair, BUNDLE, tmp_path, base_commit=base)[0] == "qualify"
-
-
-def test_newer_abandoned_stage_recovers_despite_an_older_replay_request(tmp_path):
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import attempt_key, stage_attempt
-
-    pair = make_pair(model="2.200.0")
-    base = "a" * 40
-    payload = {"pair": pair.canonical_payload()}
-    earlier = attempt_directory(tmp_path, "uk", pair.pair_id, base[:12])
-    stage_attempt(
-        earlier, payload, HARNESS, owner_run_id="41", staged_at="2026-10-14T09:00:00Z"
-    )
-    write_json(earlier / "replay" / "request.json", {"sent": True})
-    newer = attempt_directory(tmp_path, "uk", pair.pair_id, base[:12] + "-2")
-    stage_attempt(
-        newer, payload, HARNESS, owner_run_id="42", staged_at="2026-10-14T10:00:00Z"
-    )
-    now = "2026-10-14T15:00:00Z"
-    assert (
-        candidate_action(pair, BUNDLE, tmp_path, base_commit=base, now=now)[0]
-        == "qualify"
-    )
-    assert attempt_key(pair, tmp_path, base_commit=base, now=now) == base[:12] + "-3"
-    assert (earlier / "replay" / "request.json").exists()
-
-
-def _publish_as_attempt(ledger, pair, receipt, key):
-    """Publish ``receipt`` as an earlier, unstaged attempt's own receipt.
-
-    A published receipt counts only as its latest attempt's receipt
-    (``published_receipt``), so the fixture records the attempt it came from.
-    """
-
-    pair_dir = ledger / "uk" / pair.pair_id
-    write_json(
-        pair_dir / "attempts" / key / "qualification_receipt.json",
-        receipt.canonical_payload(),
-    )
-    write_json(pair_dir / "qualification_receipt.json", receipt.canonical_payload())
-
-
-@pytest.mark.parametrize("verdict", ["qualified", "rejected"])
-@pytest.mark.parametrize("main_advanced", [False, True])
-@pytest.mark.parametrize("staged_base", ["a" * 40, "f" * 40])
-def test_forced_stage_recovery_binds_the_terminal_receipt_it_supersedes(
-    tmp_path, verdict, main_advanced, staged_base, monkeypatch, capsys
-):
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import stage_attempt
-
-    pair = make_pair(model="2.200.0")
-    results = gates(wheel_hashes="fail") if verdict == "rejected" else gates()
-    terminal = make_receipt(pair=pair, gate_results=results)
-    base = staged_base
-    _publish_as_attempt(tmp_path, pair, terminal, "terminal")
-    attempt = attempt_directory(tmp_path, "uk", pair.pair_id, base[:12] + "-2")
-    payload = {
-        "pair": pair.canonical_payload(),
-        "supersedes_receipt_sha256": terminal.unreviewed_sha256,
-    }
-    stage_attempt(
-        attempt, payload, HARNESS, owner_run_id="42", staged_at="2026-10-14T10:00:00Z"
-    )
-    if main_advanced:
-        base = "b" * 40
-    now = "2026-10-14T15:00:00Z"
-    assert (
-        candidate_action(pair, BUNDLE, tmp_path, base_commit=base, now=now)[0]
-        == "qualify"
-    )
-    cli = load_candidate_cli("check_uk_bound_recovery_for_test")
-    monkeypatch.setattr(cli, "utc_now", lambda: now)
-    assert cli.main(["recoverable", "--ledger", str(tmp_path)]) == 0
-    assert json.loads(capsys.readouterr().out) == payload
-    changed = make_receipt(pair=pair, gate_results=gates(replay="fail"))
-    _publish_as_attempt(tmp_path, pair, changed, "terminal-later")
-    assert (
-        candidate_action(pair, BUNDLE, tmp_path, base_commit=base, now=now)[0]
-        == "duplicate"
-    )
-    with pytest.raises(ValueError, match="exact receipt"):
-        stage_attempt(attempt.parent / (base[:12] + "-3"), payload, HARNESS)
-    assert cli.main(["recoverable", "--ledger", str(tmp_path)]) == 0
-    assert capsys.readouterr().out == ""
-
-
-@pytest.mark.parametrize("protected", ["live", "request", "terminal", "unbound"])
-def test_forced_recovery_preserves_newer_work_on_another_base(tmp_path, protected):
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import stage_attempt
-
-    pair = make_pair(model="2.200.0")
-    terminal = make_receipt(pair=pair)
-    write_json(
-        tmp_path / "uk" / pair.pair_id / "qualification_receipt.json",
-        terminal.canonical_payload(),
-    )
-    original_base, replacement_base = "f" * 40, "b" * 40
-    payload = {
-        "pair": pair.canonical_payload(),
-        "supersedes_receipt_sha256": terminal.unreviewed_sha256,
-    }
-    original = attempt_directory(tmp_path, "uk", pair.pair_id, original_base[:12])
-    stage_attempt(
-        original, payload, HARNESS, owner_run_id="42", staged_at="2026-10-14T10:00:00Z"
-    )
-    replacement = attempt_directory(tmp_path, "uk", pair.pair_id, replacement_base[:12])
-    replacement_payload = (
-        {"pair": pair.canonical_payload()} if protected == "unbound" else payload
-    )
-    stage_attempt(
-        replacement,
-        replacement_payload,
-        HARNESS,
-        owner_run_id="43",
-        staged_at=(
-            "2026-10-14T14:00:00Z" if protected == "live" else "2026-10-14T10:00:00Z"
-        ),
-    )
-    if protected == "request":
-        write_json(replacement / "replay" / "request.json", {"sent": True})
-    elif protected == "terminal":
-        write_json(
-            replacement / "qualification_receipt.json", terminal.canonical_payload()
-        )
-    for base in (original_base, replacement_base, "c" * 40):
-        assert (
-            candidate_action(
-                pair, BUNDLE, tmp_path, base_commit=base, now="2026-10-14T15:00:00Z"
-            )[0]
-            == "duplicate"
-        )
-
-
-@pytest.mark.parametrize("verdict", ["qualified", "rejected"])
-@pytest.mark.parametrize("main_advanced", [False, True])
-@pytest.mark.parametrize("abandonment", ["expired", "failed_owner"])
-def test_resolution_preserves_authorization_to_recover_forced_work(
-    tmp_path, monkeypatch, verdict, main_advanced, abandonment
-):
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import stage_attempt
-
-    cli = load_candidate_cli("check_uk_resolve_recovery_for_test")
-    pair = make_pair(model="2.200.0")
-    terminal = make_receipt(
-        pair=pair,
-        gate_results=gates(replay="fail") if verdict == "rejected" else gates(),
-    )
-    _publish_as_attempt(tmp_path, pair, terminal, "terminal")
-    base = "a" * 40
-    resolved = cli.ResolvedCandidate(
-        pair,
-        cli.WheelFile(
-            "model.whl", "https://example.org/model.whl", pair.model.wheel_sha256
-        ),
-        cli.WheelFile(
-            "core.whl", "https://example.org/core.whl", pair.core.wheel_sha256
-        ),
-        "hf://model/example@pin/manifest.json",
-        ">=3.33.0",
-    )
-    monkeypatch.setattr(cli, "resolve_candidate", lambda **kwargs: resolved)
-    monkeypatch.setattr(cli, "git", lambda *args: base)
-    monkeypatch.setattr(
-        cli,
-        "owner_run_failed",
-        lambda run_id: abandonment == "failed_owner" and run_id == "42",
-    )
-    now = "2026-10-14T15:00:00Z" if abandonment == "expired" else "2026-10-14T11:00:00Z"
-    monkeypatch.setattr(cli, "utc_now", lambda: now)
-    monkeypatch.setattr(cli, "set_output", lambda **kwargs: None)
-    out = tmp_path / "candidate.json"
-    args = SimpleNamespace(
-        model_version=None,
-        data_version=None,
-        core_version=None,
-        pair_id=None,
-        ledger=str(tmp_path),
-        force=True,
-        out=str(out),
-    )
-    assert cli.cmd_resolve(args) == 0
-    payload = json.loads(out.read_text())
-    # The recheck under the preparation lock reads it (round 3 of #635).
-    assert payload["force"] is True
-    assert payload["supersedes_receipt_sha256"] == terminal.unreviewed_sha256
-    attempt = attempt_directory(tmp_path, "uk", pair.pair_id, payload["attempt_key"])
-    stage_attempt(
-        attempt, payload, HARNESS, owner_run_id="42", staged_at="2026-10-14T10:00:00Z"
-    )
-    original_candidate = (attempt / "candidate.json").read_bytes()
-    if main_advanced:
-        base = "b" * 40
-    args.force = False
-    assert cli.cmd_resolve(args) == 0
-    recovery = json.loads(out.read_text())
-    assert recovery["action"] == "qualify" and recovery["force"] is False
-    assert recovery["base_commit"] == base
-    assert recovery["attempt_key"] == (base[:12] if main_advanced else base[:12] + "-2")
-    assert recovery["supersedes_receipt_sha256"] == terminal.unreviewed_sha256
-    replacement = attempt_directory(
-        tmp_path, "uk", pair.pair_id, recovery["attempt_key"]
-    )
-    stage_attempt(replacement, recovery, HARNESS, owner_run_id="43", staged_at=now)
-    assert (attempt / "candidate.json").read_bytes() == original_candidate
-    assert cli.cmd_resolve(args) == 0
-    assert json.loads(out.read_text())["action"] == "duplicate"
-
-
-def test_cross_base_recovery_allocates_new_keys_without_overwriting_evidence(tmp_path):
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import attempt_key, stage_attempt
-
-    pair = make_pair(model="2.200.0")
-    old_base, current_base = "a" * 40, "b" * 40
-    existing = attempt_directory(tmp_path, "uk", pair.pair_id, current_base[:12])
-    sent_payload = {"pair": pair.canonical_payload(), "base_commit": current_base}
-    stage_attempt(
-        existing,
-        sent_payload,
-        HARNESS,
-        owner_run_id="41",
-        staged_at="2026-10-14T09:00:00Z",
-    )
-    write_json(existing / "replay" / "request.json", {"sent": True})
-    abandoned = attempt_directory(tmp_path, "uk", pair.pair_id, old_base[:12])
-    stage_attempt(
-        abandoned,
-        {"pair": pair.canonical_payload(), "base_commit": old_base},
-        HARNESS,
-        owner_run_id="42",
-        staged_at="2026-10-14T10:00:00Z",
-    )
-    now = "2026-10-14T15:00:00Z"
-    assert (
-        candidate_action(pair, BUNDLE, tmp_path, base_commit=current_base, now=now)[0]
-        == "qualify"
-    )
-    assert attempt_key(pair, tmp_path, base_commit=current_base, now=now) == (
-        current_base[:12] + "-2"
-    )
-    assert json.loads((existing / "candidate.json").read_text()) == sent_payload
-    assert json.loads((existing / "replay" / "request.json").read_text()) == {
-        "sent": True
-    }
-
-
-@pytest.mark.parametrize(
-    ("status", "conclusion", "expected"),
-    [
-        ("completed", "failure", True),
-        ("completed", "cancelled", True),
-        ("completed", "timed_out", True),
-        ("in_progress", "failure", False),
-        ("completed", "success", False),
-        ("queued", None, False),
-    ],
-)
-def test_recovery_requires_a_confirmed_failed_owner(
-    monkeypatch, status, conclusion, expected
-):
-    cli = load_candidate_cli("check_uk_owner_for_test")
-    calls = []
-
-    def run(argv, **kwargs):
-        calls.append(argv)
-        return subprocess.CompletedProcess(
-            argv, 0, json.dumps({"status": status, "conclusion": conclusion})
-        )
-
-    monkeypatch.setattr(cli, "subprocess", SimpleNamespace(run=run))
-    assert cli.owner_run_failed("42") is expected
-    assert "42" in calls[0] and cli.LEDGER_REPOSITORY in calls[0]
-    cli.owner_run_failed.cache_clear()
-    monkeypatch.setattr(
-        cli,
-        "subprocess",
-        SimpleNamespace(run=lambda *a, **k: subprocess.CompletedProcess(a, 1, "")),
-    )
-    assert not cli.owner_run_failed("42")
-
-
-@pytest.mark.parametrize("force", [False, True])
-def test_recovery_skips_pairs_from_another_data_line(
-    tmp_path, monkeypatch, capsys, force
-):
-    """The catch-up re-dispatches without force, so even a forced run of a
-    pair from another line would resolve as other_line and clear nothing."""
-
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import stage_attempt
-
-    # Main is a routed Microcosm bundle; make_pair builds a uk-data pair.
-    cli = load_candidate_cli("check_uk_recovery_line", MICROCOSM_ROUTED_BUNDLE_PATH)
-    pair = make_pair()
-    attempt = attempt_directory(tmp_path, "uk", pair.pair_id, "a" * 12)
-    payload = {"pair": pair.canonical_payload(), "force": force}
-    stage_attempt(attempt, payload, HARNESS)
-    write_json(
-        attempt / "staging.json",
-        {"sequence": 1, "owner_run_id": "42", "expires_at": "2026-10-14T14:00:00Z"},
-    )
-    monkeypatch.setattr(cli, "utc_now", lambda: "2026-10-14T11:00:00Z")
-
-    # A live attempt is not recoverable, and logs nothing.
-    monkeypatch.setattr(cli, "owner_run_failed", lambda run_id: False)
-    assert cli.main(["recoverable", "--ledger", str(tmp_path)]) == 0
-    assert capsys.readouterr() == ("", "")
-
-    monkeypatch.setattr(cli, "owner_run_failed", lambda run_id: run_id == "42")
-    assert cli.main(["recoverable", "--ledger", str(tmp_path)]) == 0
-    out = capsys.readouterr()
-    assert out.out == ""
-    assert "not on main's data line" in out.err
-
-
-def test_check_refresh_skips_pairs_from_another_data_line(tmp_path, monkeypatch):
-    import argparse
-
-    cli = load_candidate_cli("check_uk_refresh_line", MICROCOSM_ROUTED_BUNDLE_PATH)
-    receipt = _promotion_receipt(pair=make_pair(model="2.200.0"))
-    assert receipt.promotable
-    branch = candidate_branch(receipt.pair)
-    monkeypatch.setattr(cli, "latest_receipts", lambda ledger: [receipt])
-    monkeypatch.setattr(
-        cli,
-        "_candidate_pull_requests",
-        lambda: [
-            {
-                "number": 1,
-                "headRefName": branch,
-                "headRefOid": receipt.harness.git_commit,
-            }
-        ],
-    )
-
-    def unexpected(*args, **kwargs):
-        raise AssertionError("a pair from another data line was refreshed")
-
-    monkeypatch.setattr(cli, "_shared_branch_pull_requests", unexpected)
-    monkeypatch.setattr(cli, "_candidate_runs", unexpected)
-
-    assert cli.cmd_refresh_pr_checks(argparse.Namespace(ledger=str(tmp_path))) == 0
-
-
-def test_catchup_finds_abandoned_stages_without_replay_requests(
-    tmp_path, monkeypatch, capsys
-):
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import stage_attempt
-
-    cli = load_candidate_cli("check_uk_recovery_for_test")
-    pair = make_pair()
-    attempt = attempt_directory(tmp_path, "uk", pair.pair_id, "a" * 12)
-    payload = {"pair": pair.canonical_payload()}
-    stage_attempt(attempt, payload, HARNESS)
-    write_json(
-        attempt / "staging.json",
-        {
-            "sequence": 1,
-            "owner_run_id": "42",
-            "expires_at": "2026-10-14T14:00:00Z",
-        },
-    )
-    monkeypatch.setattr(cli, "utc_now", lambda: "2026-10-14T11:00:00Z")
-    monkeypatch.setattr(cli, "owner_run_failed", lambda run_id: run_id == "42")
-    assert cli.main(["recoverable", "--ledger", str(tmp_path)]) == 0
-    assert json.loads(capsys.readouterr().out) == payload
-    replacement = attempt_directory(tmp_path, "uk", pair.pair_id, "a" * 12 + "-2")
-    stage_attempt(
-        replacement,
-        payload,
-        HARNESS,
-        owner_run_id="43",
-        staged_at="2026-10-14T11:00:00Z",
-    )
-    assert cli.main(["recoverable", "--ledger", str(tmp_path)]) == 0
-    assert capsys.readouterr().out == ""
-    write_json(
-        attempt / "staging.json",
-        {
-            "sequence": 3,
-            "owner_run_id": "42",
-            "expires_at": "2026-10-14T14:00:00Z",
-        },
-    )
-    write_json(
-        tmp_path / "uk" / pair.pair_id / "qualification_receipt.json",
-        make_receipt(pair=pair).canonical_payload(),
-    )
-    assert cli.main(["recoverable", "--ledger", str(tmp_path)]) == 0
-    assert capsys.readouterr().out == ""
-
-
-def test_attempt_lifecycle(tmp_path):
-    from policyengine.provenance.qualification import GateResult
-    from policyengine.provenance.qualification_ledger import (
-        attempt_directory,
-        read_json,
-    )
-    from policyengine.provenance.uk_qualification import (
-        attempt_is_waiting_for_replay,
-        finalize_attempt,
-        stage_attempt,
-        write_gate_results,
-    )
-
-    pair = make_pair()
-    attempt = attempt_directory(tmp_path, "uk", pair.pair_id, "abcdef123456")
-    stage_attempt(
-        attempt,
-        {
-            "pair": pair.canonical_payload(),
-            "pair_id": pair.pair_id,
-            "previous_certificate": None,
-        },
-        HARNESS,
-    )
-    local = [gate for gate in gates() if gate.gate_id != "replay"]
-    write_gate_results(attempt, local, {gate.gate_id: {"ok": True} for gate in local})
-    assert not attempt_is_waiting_for_replay(attempt)
-    receipt = finalize_attempt(
-        attempt, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T10:00:00Z"
-    )
-    assert receipt.verdict == "incomplete"  # the replay never ran
-    assert (
-        read_json(tmp_path / "uk" / pair.pair_id / "qualification_receipt.json")[
-            "verdict"
-        ]
-        == "incomplete"
-    )
-
-    request = build_replay_request(
-        pair,
-        HARNESS,
-        release_bundle=golden("qualification_request_golden")["candidate"][
-            "expected_release_bundle"
-        ],
-        issued_by=ISSUED,
-    )
-    write_json(attempt / "replay" / "request.json", request.document())
-    assert attempt_is_waiting_for_replay(attempt)
-    write_json(
-        attempt / "replay" / "replay.result.json",
-        GateResult(gate_id="replay", status="pass", summary="ok").canonical_payload(),
-    )
-    assert not attempt_is_waiting_for_replay(attempt)
-    final = finalize_attempt(
-        attempt, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T11:00:00Z"
-    )
-    assert final.verdict == "qualified"
-    assert final.replay.request_id == request.request_id
-    assert (attempt / "receipts" / f"{receipt.receipt_sha256}.json").is_file()
-    assert (attempt / "receipts" / f"{final.receipt_sha256}.json").is_file()
-    assert (
-        read_json(attempt / "receipts" / f"{receipt.receipt_sha256}.json")
-        == receipt.canonical_payload()
-    )
-
-
-def test_older_attempt_finalization_preserves_latest_staged_attempt(tmp_path):
-    from policyengine.provenance.qualification_ledger import (
-        attempt_directory,
-        read_json,
-    )
-    from policyengine.provenance.uk_qualification import (
-        finalize_attempt,
-        stage_attempt,
-        write_gate_results,
-    )
-
-    pair = make_pair()
-    # The staging order deliberately differs from directory/commit order.
-    older = attempt_directory(tmp_path, "uk", pair.pair_id, "ffffffffffff")
-    newer = attempt_directory(tmp_path, "uk", pair.pair_id, "aaaaaaaaaaaa")
-    payload = {"pair": pair.canonical_payload(), "previous_certificate": None}
-    stage_attempt(older, payload, HARNESS)
-    newer_harness = HARNESS.model_copy(update={"git_commit": "a" * 40})
-    stage_attempt(newer, payload, newer_harness)
-    for attempt in (older, newer):
-        write_gate_results(attempt, gates(), {})
-    newest = finalize_attempt(
-        newer, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T10:00:00Z"
-    )
-    old = finalize_attempt(
-        older, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T11:00:00Z"
-    )
-    latest = read_json(tmp_path / "uk" / pair.pair_id / "qualification_receipt.json")
-    assert latest == newest.canonical_payload()
-    assert read_json(older / "qualification_receipt.json") == old.canonical_payload()
-    assert read_json(newer / "qualification_receipt.json") == newest.canonical_payload()
-
-
-def test_terminal_attempt_receipt_is_immutable_and_finalization_is_idempotent(tmp_path):
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import (
-        finalize_attempt,
-        stage_attempt,
-        write_gate_results,
-    )
-
-    pair = make_pair()
-    attempt = attempt_directory(tmp_path, "uk", pair.pair_id, "abcdef123456")
-    stage_attempt(attempt, {"pair": pair.canonical_payload()}, HARNESS)
-    write_gate_results(attempt, gates(), {})
-    original = finalize_attempt(
-        attempt, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T10:00:00Z"
-    )
-    original_bytes = (attempt / "qualification_receipt.json").read_bytes()
-    write_gate_results(attempt, gates(replay="fail"), {})
-    repeated = finalize_attempt(
-        attempt, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T11:00:00Z"
-    )
-    assert repeated == original
-    assert (attempt / "qualification_receipt.json").read_bytes() == original_bytes
-
-
-def test_new_staged_attempt_advances_a_legacy_latest_receipt(tmp_path):
-    from policyengine.provenance.qualification_ledger import (
-        attempt_directory,
-        read_json,
-    )
-    from policyengine.provenance.uk_qualification import (
-        finalize_attempt,
-        stage_attempt,
-        write_gate_results,
-    )
-
-    legacy = make_receipt()
-    latest_path = tmp_path / "uk" / legacy.pair_id / "qualification_receipt.json"
-    write_json(latest_path, legacy.canonical_payload())
-    attempt = attempt_directory(tmp_path, "uk", legacy.pair_id, "new-attempt")
-    stage_attempt(attempt, {"pair": legacy.pair.canonical_payload()}, HARNESS)
-    write_gate_results(attempt, gates(), {})
-    current = finalize_attempt(
-        attempt, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T11:00:00Z"
-    )
-    assert read_json(latest_path) == current.canonical_payload()
-
-
-@pytest.mark.parametrize(
-    "interrupted", ["missing", "older", "missing-pointer", "missing-receipt"]
-)
-def test_terminal_finalization_repairs_interrupted_latest_publication(
-    tmp_path, interrupted
-):
-    from policyengine.provenance.qualification_ledger import (
-        attempt_directory,
-        read_json,
-    )
-    from policyengine.provenance.uk_qualification import (
-        finalize_attempt,
-        stage_attempt,
-        write_gate_results,
-    )
-
-    pair = make_pair()
-    payload = {"pair": pair.canonical_payload()}
-    older = attempt_directory(tmp_path, "uk", pair.pair_id, "older")
-    stage_attempt(older, payload, HARNESS)
-    write_gate_results(older, gates(), {})
-    old_receipt = finalize_attempt(
-        older, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T09:00:00Z"
-    )
-    current = attempt_directory(tmp_path, "uk", pair.pair_id, "newer")
-    stage_attempt(current, payload, HARNESS.model_copy(update={"git_commit": "a" * 40}))
-    write_gate_results(current, gates(), {})
-    receipt = finalize_attempt(
-        current, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T10:00:00Z"
-    )
-    original_bytes = (current / "qualification_receipt.json").read_bytes()
-    pair_dir = tmp_path / "uk" / pair.pair_id
-    latest = pair_dir / "qualification_receipt.json"
-    pointer = pair_dir / "latest_attempt.json"
-    if interrupted == "older":
-        write_json(latest, old_receipt.canonical_payload())
-        write_json(pointer, {"attempt_key": "older", "sequence": 1})
-    else:
-        if interrupted != "missing-pointer":
-            latest.unlink()
-        if interrupted != "missing-receipt":
-            pointer.unlink()
-    repeated = finalize_attempt(
-        current, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T11:00:00Z"
-    )
-    assert repeated == receipt
-    assert (current / "qualification_receipt.json").read_bytes() == original_bytes
-    assert read_json(latest) == receipt.canonical_payload()
-    assert read_json(pointer) == {"attempt_key": "newer", "sequence": 2}
-    finalize_attempt(
-        older, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T12:00:00Z"
-    )
-    assert read_json(latest) == receipt.canonical_payload()
-
-
-def test_stale_latest_pointer_cannot_replace_a_newer_incomplete_receipt(tmp_path):
-    from policyengine.provenance.qualification_ledger import (
-        attempt_directory,
-        read_json,
-    )
-    from policyengine.provenance.uk_qualification import (
-        finalize_attempt,
-        stage_attempt,
-        write_gate_results,
-    )
-
-    pair = make_pair()
-    payload = {"pair": pair.canonical_payload()}
-    older = attempt_directory(tmp_path, "uk", pair.pair_id, "older")
-    stage_attempt(older, payload, HARNESS)
-    write_gate_results(older, gates(), {})
-    finalize_attempt(
-        older, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T09:00:00Z"
-    )
-    newer = attempt_directory(tmp_path, "uk", pair.pair_id, "newer")
-    stage_attempt(newer, payload, HARNESS.model_copy(update={"git_commit": "a" * 40}))
-    write_gate_results(newer, gates(replay="unavailable"), {})
-    current = finalize_attempt(
-        newer, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T10:00:00Z"
-    )
-    pair_dir = tmp_path / "uk" / pair.pair_id
-    write_json(
-        pair_dir / "latest_attempt.json", {"attempt_key": "older", "sequence": 1}
-    )
-    finalize_attempt(
-        older, tmp_path, issued_by=ISSUED, completed_at="2026-10-15T11:00:00Z"
-    )
-    assert (
-        read_json(pair_dir / "qualification_receipt.json")
-        == current.canonical_payload()
-    )
-    assert read_json(pair_dir / "latest_attempt.json") == {
-        "attempt_key": "newer",
-        "sequence": 2,
-    }
-
-
-# --- Release dispatch ----------------------------------------------------------------
-
-
-def test_release_payload_keeps_version_first_and_carries_identity():
-    from policyengine.provenance.receipt import certificate_sha256
-    from policyengine.provenance.uk_qualification import release_dispatch_payload
-
-    version = BUNDLE["policyengine_version"]
-    payload = release_dispatch_payload(BUNDLE, version=version)
-    assert payload["event_type"] == "policyengine-release"
-    body = payload["client_payload"]
-    assert list(body)[0] == "version" and body["version"] == version
-    uk = body["bundle"]["uk"]
-    record = BUNDLE["data_releases"]["uk"]
-    assert uk["model_version"] == record["model_package"]["version"]
-    assert uk["dataset_sha256"] == record["certified_data_artifact"]["sha256"]
-    assert uk["certificate_sha256"] == certificate_sha256(record)
-    assert body["qualification"] is None  # the committed pair was not auto-qualified
-    assert len(body) <= 10  # repository_dispatch limit on top-level keys
-    with pytest.raises(ValueError):
-        release_dispatch_payload(BUNDLE, version="0.0.0")
-
-
-def test_release_payload_names_the_qualification_receipt():
-    from policyengine.provenance.uk_qualification import release_dispatch_payload
-
-    bundle = json.loads(json.dumps(BUNDLE))
-    receipt = make_receipt()
-    bundle["data_releases"]["uk"]["certification"].update(
-        compatibility_basis="qualified_exact_pair",
-        qualification_pair_id=receipt.pair_id,
-    )
-    payload = release_dispatch_payload(
-        bundle,
-        version=bundle["policyengine_version"],
-        fetch_receipt=lambda country, pair_id: receipt,
-    )
-    assert payload["client_payload"]["qualification"] == {
-        "uk": {
-            "pair_id": receipt.pair_id,
-            "verdict": "qualified",
-            "promotable": True,
-            "receipt_sha256": receipt.receipt_sha256,
-        }
-    }
-
-
-@pytest.mark.parametrize(
-    ("bundle", "manifest_size"),
-    [(BUNDLE, 128369110), (MICROCOSM_ROUTED_BUNDLE, None)],
-    ids=["uk-data model repo", "Microcosm dataset repo without sizes"],
-)
-def test_released_bundle_request_is_valid_for_the_scorecard(bundle, manifest_size):
-    from policyengine.provenance.uk_qualification import released_bundle_request
-
-    record = bundle["data_releases"]["uk"]
-    dataset = record["default_dataset"]
-    reference = record["datasets"][dataset]
-    artifact = {
-        "kind": "microdata",
-        "path": reference["path"],
-        "repo_id": reference.get("repo_id") or record["data_package"]["repo_id"],
-        "revision": reference["revision"],
-        "sha256": reference["sha256"],
-    }
-    if manifest_size is not None:
-        artifact["size_bytes"] = manifest_size
-    manifest = {
-        "schema_version": 1,
-        "data_package": {
-            "name": record["data_package"]["name"],
-            "version": record["data_package"]["version"],
-        },
-        "default_datasets": {"national": dataset},
-        "artifacts": {dataset: artifact},
-    }
-    data_package = record["data_package"]
-    repo_type = data_package["repo_type"]
-    fetched = []
-
-    def hf_file(*request):
-        fetched.append(("file", *request))
-        return json.dumps(manifest).encode()
-
-    def hf_size(*request):
-        fetched.append(("size", *request))
-        return 321798995
-
-    core = bundle["packages"]["policyengine-core"]["version"]
-    request = released_bundle_request(
-        bundle,
-        version=bundle["policyengine_version"],
-        wheel_sha256=sha("7"),
-        packaged_manifest_sha256=sha("8"),
-        release_bundle=golden("qualification_request_golden")["candidate"][
-            "expected_release_bundle"
-        ],
-        hf_file=hf_file,
-        hf_size=hf_size,
-        pypi_project=lambda name: {
-            "releases": {core: [_wheel("policyengine-core", core, sha("6"))]}
-        },
-        requested_by={
-            "repository": "PolicyEngine/policyengine.py",
-            "workflow_run_id": 5,
-            "commit": "e" * 40,
-        },
-    )
-    schema = json.loads(
-        (VENDORED_SCHEMAS / "qualification_request.v1.json").read_text()
-    )
-    jsonschema.Draft202012Validator(schema).validate(request.document())
-    assert request.kind == "released_bundle"
-    assert request.document()["candidate"]["policyengine"]["source"] == {
-        "pypi": {"wheel_sha256": sha("7")}
-    }
-    data = request.document()["candidate"]["data"]
-    assert data["repo_type"] == repo_type
-    # The manifest's size when it records one, else the file's own size.
-    assert data["size_bytes"] == manifest_size or (
-        manifest_size is None and data["size_bytes"] == 321798995
-    )
-    manifest_request = (
-        "file",
-        data_package["repo_id"],
-        data_package["release_manifest_revision"],
-        data_package["release_manifest_path"],
-        repo_type,
-    )
-    size_request = (
-        "size",
-        reference.get("repo_id") or data_package["repo_id"],
-        reference["revision"],
-        reference["path"],
-        reference.get("repo_type") or repo_type,
-    )
-    assert fetched == (
-        [manifest_request]
-        if manifest_size is not None
-        else [manifest_request, size_request]
-    )
-
-
-def test_released_bundle_request_uses_the_datasets_own_location():
-    from policyengine.provenance.uk_qualification import released_bundle_request
-
-    bundle = json.loads(json.dumps(MICROCOSM_ROUTED_BUNDLE))
-    record = bundle["data_releases"]["uk"]
-    reference = record["datasets"]["microcosm_uk_2024_25"]
-    reference.update(
-        repo_id="policyengine/other-repo", revision="other-revision", repo_type="model"
-    )
-    manifest = {
-        "schema_version": 1,
-        "data_package": {"name": "microcosm-data", "version": "0.1.0"},
-        "default_datasets": {"national": "microcosm_uk_2024_25"},
-        "artifacts": {
-            "microcosm_uk_2024_25": {
-                "kind": "microdata",
-                "path": "microcosm_uk_2024_25.h5",
-                "repo_id": "policyengine/other-repo",
-                "revision": "other-revision",
-                "sha256": reference["sha256"],
-            }
-        },
-    }
-    manifest_bytes = json.dumps(manifest).encode()
-    fetched = []
-
-    def hf_file(*request):
-        fetched.append(("file", *request))
-        return manifest_bytes
-
-    def hf_size(*request):
-        fetched.append(("size", *request))
-        return 1234
-
-    core = bundle["packages"]["policyengine-core"]["version"]
-    request = released_bundle_request(
-        bundle,
-        version=bundle["policyengine_version"],
-        wheel_sha256=sha("7"),
-        packaged_manifest_sha256=sha("8"),
-        release_bundle=golden("qualification_request_golden")["candidate"][
-            "expected_release_bundle"
-        ],
-        hf_file=hf_file,
-        hf_size=hf_size,
-        pypi_project=lambda name: {
-            "releases": {core: [_wheel("policyengine-core", core, sha("6"))]}
-        },
-        requested_by={
-            "repository": "PolicyEngine/policyengine.py",
-            "workflow_run_id": 5,
-            "commit": "e" * 40,
-        },
-    )
-
-    cut = "microcosm-uk-2024-25-national-20261019T083323Z-6cba5d71"
-    assert fetched == [
-        (
-            "file",
-            "policyengine/populace-uk-private",
-            cut,
-            "releases/microcosm-uk-2024-25-national/release_manifest.json",
-            "dataset",
-        ),
-        (
-            "size",
-            "policyengine/other-repo",
-            "other-revision",
-            "microcosm_uk_2024_25.h5",
-            "model",
-        ),
-    ]
-    assert request.document()["candidate"]["data"] == {
-        "build_id": cut,
-        "dataset": "microcosm_uk_2024_25",
-        "repo_id": "policyengine/other-repo",
-        "repo_type": "model",
-        "revision": "other-revision",
-        "path": "microcosm_uk_2024_25.h5",
-        "sha256": reference["sha256"],
-        "size_bytes": 1234,
-        "release_manifest_sha256": hashlib.sha256(manifest_bytes).hexdigest(),
-    }
-
-
-def test_released_bundle_request_needs_a_size_source():
-    from policyengine.provenance.uk_qualification import released_bundle_request
-
-    record = MICROCOSM_ROUTED_BUNDLE["data_releases"]["uk"]
-    dataset = record["default_dataset"]
-    reference = record["datasets"][dataset]
-    manifest = {
-        "schema_version": 1,
-        "data_package": {"name": "microcosm-data", "version": "0.1.0"},
-        "default_datasets": {"national": dataset},
-        "artifacts": {
-            dataset: {
-                "kind": "microdata",
-                "path": reference["path"],
-                "repo_id": reference["repo_id"],
-                "revision": reference["revision"],
-                "sha256": reference["sha256"],
-            }
-        },
-    }
-    with pytest.raises(ValueError, match="records no size"):
-        released_bundle_request(
-            MICROCOSM_ROUTED_BUNDLE,
-            version=MICROCOSM_ROUTED_BUNDLE["policyengine_version"],
-            wheel_sha256=sha("7"),
-            packaged_manifest_sha256=sha("8"),
-            release_bundle={},
-            hf_file=lambda *args: json.dumps(manifest).encode(),
-            pypi_project=lambda name: {},
-            requested_by={},
-        )
-
-
-def test_release_consumers_address_dataset_repositories(monkeypatch):
-    monkeypatch.setenv("POLICYENGINE_SKIP_COUNTRY_IMPORTS", "1")
-    for name in ("HUGGING_FACE_TOKEN", "HF_TOKEN"):
-        monkeypatch.delenv(name, raising=False)
-    # The shared helper reads every token variable the script lists.
-    monkeypatch.setenv("HUGGINGFACE_HUB_TOKEN", "hub-token")
-    spec = importlib.util.spec_from_file_location(
-        "release_consumers_for_test", REPO_ROOT / "scripts" / "release_consumers.py"
-    )
-    consumers = importlib.util.module_from_spec(spec)
-    spec.loader.exec_module(consumers)
-    url = "https://huggingface.co/datasets/org/data/resolve/v1/releases/a%20b.h5"
-    authorized = {"Authorization": "Bearer hub-token"}
-    # A compressed answer carries no Content-Length.
-    sized = {**authorized, "Accept-Encoding": "identity"}
-    calls = []
-
-    def response(status, headers, content=b""):
-        answer = MagicMock(status_code=status, headers=headers, content=content)
-        answer.raise_for_status = lambda: None
-        return answer
-
-    def get(target, **kwargs):
-        calls.append(("get", target, kwargs["headers"]))
-        return response(200, {}, b"manifest")
-
-    answers = []
-
-    def head(target, **kwargs):
-        calls.append(("head", target, kwargs["headers"], kwargs["allow_redirects"]))
-        return answers.pop(0)
-
-    monkeypatch.setattr(consumers.requests, "get", get)
-    monkeypatch.setattr(consumers.requests, "head", head)
-
-    assert consumers._hf_file("org/data", "v1", "releases/a b.h5", "dataset") == (
-        b"manifest"
-    )
-    assert calls.pop() == ("get", url, authorized)
-
-    # A large file's redirect carries its size.
-    answers.append(response(302, {"X-Linked-Size": "321", "Content-Length": "1152"}))
-    assert consumers._hf_size("org/data", "v1", "releases/a b.h5", "dataset") == 321
-    assert calls == [("head", url, sized, False)]
-    calls.clear()
-
-    # A small file answers with its own length, or with a redirect to it.
-    answers.append(response(200, {"Content-Length": "4288"}))
-    assert consumers._hf_size("org/data", "v1", "releases/a b.h5", "dataset") == 4288
-    answers.extend(
-        [
-            response(307, {"Content-Length": "0"}),
-            response(200, {"Content-Length": "77"}),
-        ]
-    )
-    assert consumers._hf_size("org/data", "v1", "releases/a b.h5", "dataset") == 77
-    assert calls[-2:] == [
-        ("head", url, sized, False),
-        ("head", url, sized, True),
-    ]
-
-    model_url = "https://huggingface.co/org/model/resolve/v1/a.h5"
-    consumers._hf_file("org/model", "v1", "a.h5", "model")
-    assert calls.pop() == ("get", model_url, authorized)
-
-
-def test_expected_release_bundle_uses_the_scorecard_certification_environment(
-    monkeypatch, tmp_path
-):
-    """W6 interface point 4: no tokens, no proxy exceptions, no network."""
-
-    from policyengine.provenance import uk_qualification
-
-    environ = {
-        "PATH": "/usr/bin",
-        "HF_TOKEN": "t",
-        "HUGGING_FACE_TOKEN": "t",
-        "HUGGINGFACE_HUB_TOKEN": "t",
-        "NO_PROXY": "huggingface.co",
-        "no_proxy": "huggingface.co",
-        "HTTPS_PROXY": "http://corporate:3128",
-        "POLICYENGINE_SKIP_COUNTRY_IMPORTS": "1",
-    }
-    env = uk_qualification.certification_environment(environ)
-    assert env["PATH"] == "/usr/bin"
-    for name in ("HF_TOKEN", "HUGGING_FACE_TOKEN", "HUGGINGFACE_HUB_TOKEN"):
-        assert name not in env
-    assert "NO_PROXY" not in env and "no_proxy" not in env
-    for name in ("HTTP_PROXY", "HTTPS_PROXY", "ALL_PROXY"):
-        assert env[name] == env[name.lower()] == "http://127.0.0.1:9"
-    assert env["HF_HUB_OFFLINE"] == "1"
-
-    seen = {}
-
-    def run(args, *, cwd, env, check, capture_output, text):
-        seen["env"] = env
-        return type("Done", (), {"stdout": '{"policyengine_version": "6.2.6"}\n'})()
-
-    monkeypatch.setattr(uk_qualification.subprocess, "run", run)
-    monkeypatch.setattr(uk_qualification.os, "environ", environ)
-    assert uk_qualification.expected_release_bundle("python", cwd=tmp_path) == {
-        "policyengine_version": "6.2.6"
-    }
-    assert seen["env"] == env
-
-
-def test_the_certification_environment_falls_back_to_the_packaged_certificate():
-    """Executed: with the proxies, the manifest request fails and the bundled
-    certification is used (the mechanism W6's recipe relies on)."""
-
-    import os
-    import subprocess
-    import sys
-
-    from policyengine.provenance import uk_qualification
-
-    script = (
-        "import json\n"
-        "from policyengine.provenance import manifest\n"
-        "try:\n"
-        "    manifest.get_data_release_manifest('uk')\n"
-        "    print('reached')\n"
-        "except manifest.DataReleaseManifestUnavailableError:\n"
-        "    print('unavailable')\n"
-    )
-    result = subprocess.run(
-        [sys.executable, "-c", script],
-        env=uk_qualification.certification_environment(os.environ),
-        capture_output=True,
-        text=True,
-        timeout=60,
-    )
-    assert result.stdout.strip().splitlines()[-1] == "unavailable", result.stderr
diff --git a/tests/test_uk_qualification_replay_inputs.py b/tests/test_uk_qualification_replay_inputs.py
deleted file mode 100644
index c817b4458..000000000
--- a/tests/test_uk_qualification_replay_inputs.py
+++ /dev/null
@@ -1,619 +0,0 @@
-"""Replay exceptions use digest-bound input evidence from their own attempt."""
-
-from __future__ import annotations
-
-import importlib.util
-import json
-from pathlib import Path
-from types import SimpleNamespace
-
-import pytest
-
-from policyengine.provenance import uk_qualification
-from policyengine.provenance.qualification import (
-    GateResult,
-    ReplayQualificationRequest,
-    ReplayReceipt,
-    ReplayStatus,
-)
-from policyengine.provenance.qualification_ledger import read_json, write_json
-from policyengine.provenance.receipt import content_sha256
-from tests.qualification_fixtures import HARNESS, ISSUED, gates, golden, make_pair
-
-
-def _input_evidence(attempt):
-    if not (attempt / "candidate.json").exists():
-        write_json(
-            attempt / "candidate.json", {"pair": make_pair().canonical_payload()}
-        )
-    evidence = {
-        "pair_id": make_pair().pair_id,
-        "attempt_id": uk_qualification.attempt_evidence_id(attempt),
-        "missing_inputs": ["additional_residential_property_purchased"],
-        "newly_missing_inputs": ["additional_residential_property_purchased"],
-    }
-    result = GateResult(
-        gate_id="budget_inputs",
-        status="needs_review",
-        summary="Purchase input is missing",
-        evidence_sha256=content_sha256(evidence),
-        details={
-            "missing_inputs": len(evidence["missing_inputs"]),
-            "newly_missing_inputs": evidence["newly_missing_inputs"],
-        },
-    )
-    uk_qualification.write_gate_results(attempt, [result], {"budget_inputs": evidence})
-    return result, evidence
-
-
-def _replay_documents():
-    request = ReplayQualificationRequest.model_validate(
-        golden("qualification_request_golden")
-    )
-    receipt = ReplayReceipt.from_document(golden("replay_receipt_golden"))
-    status = ReplayStatus.model_validate(
-        {
-            "schema": "policyengine.uk-replay-status/v1",
-            "request_id": request.request_id,
-            "status": "complete",
-            "history": [
-                {
-                    "status": "complete",
-                    "at": "2026-10-17T10:00:00Z",
-                    "run_url": "https://github.com/PolicyEngine/policyengine-scorecard/actions/runs/1",
-                }
-            ],
-            "receipt_sha256": receipt.receipt_sha256,
-            "receipt_commit": "c" * 40,
-        }
-    )
-    return request, status, receipt
-
-
-def _probe_evidence(attempt, request=None):
-    from tests.test_replay_exceptions import _probe
-
-    if not (attempt / "candidate.json").exists():
-        write_json(
-            attempt / "candidate.json", {"pair": make_pair().canonical_payload()}
-        )
-    result, evidence = _probe(
-        request=request, attempt_id=uk_qualification.attempt_evidence_id(attempt)
-    )
-    uk_qualification.write_gate_results(attempt, [result], {"replay_probe": evidence})
-    return result, evidence
-
-
-@pytest.mark.parametrize(
-    "damage",
-    [
-        "none",
-        "no_result",
-        "no_evidence",
-        "changed_evidence",
-        "another_attempt",
-        "wrong_gate",
-        "invalid_json",
-    ],
-)
-def test_attempt_probe_evidence_is_digest_bound_and_attempt_bound(tmp_path, damage):
-    result, evidence = _probe_evidence(tmp_path)
-    result_path = tmp_path / "gates/replay_probe.result.json"
-    evidence_path = tmp_path / "gates/replay_probe.json"
-    if damage == "no_result":
-        result_path.unlink()
-    elif damage == "no_evidence":
-        evidence_path.unlink()
-    elif damage == "changed_evidence":
-        write_json(evidence_path, {**evidence, "probes": []})
-    elif damage == "another_attempt":
-        replacement = {**evidence, "attempt_id": "a-different-attempt"}
-        write_json(evidence_path, replacement)
-        write_json(
-            result_path,
-            {
-                **result.canonical_payload(),
-                "evidence_sha256": content_sha256(replacement),
-            },
-        )
-    elif damage == "wrong_gate":
-        write_json(result_path, {**result.canonical_payload(), "gate_id": "other"})
-    elif damage == "invalid_json":
-        evidence_path.write_text("invalid JSON")
-    actual = uk_qualification.load_attempt_replay_probe(tmp_path)
-    assert actual == ((result, evidence) if damage == "none" else (None, None))
-
-
-def test_probe_evidence_never_falls_back_to_another_attempt(tmp_path):
-    _probe_evidence(tmp_path / "older")
-    assert uk_qualification.load_attempt_replay_probe(tmp_path / "current") == (
-        None,
-        None,
-    )
-
-
-def test_probe_cannot_cross_pairs_with_the_same_attempt_directory_name(tmp_path):
-    source = tmp_path / "pair_one" / "attempts" / "same-base-commit"
-    target = tmp_path / "pair_two" / "attempts" / "same-base-commit"
-    result, evidence = _probe_evidence(source)
-    write_json(
-        target / "candidate.json",
-        {"pair": make_pair(model="2.134.7").canonical_payload()},
-    )
-    uk_qualification.write_gate_results(target, [result], {"replay_probe": evidence})
-    assert uk_qualification.attempt_evidence_id(source) != (
-        uk_qualification.attempt_evidence_id(target)
-    )
-    assert uk_qualification.load_attempt_replay_probe(target) == (None, None)
-
-
-def test_read_replay_threads_probe_evidence(tmp_path, monkeypatch):
-    request, status, receipt = _replay_documents()
-    result, evidence = _probe_evidence(tmp_path)
-    calls = []
-
-    def evaluate(*args, **kwargs):
-        calls.append(kwargs)
-        return GateResult(gate_id="replay", status="needs_review", summary="review")
-
-    monkeypatch.setattr(uk_qualification, "evaluate_replay_receipt", evaluate)
-    uk_qualification.read_replay(
-        request,
-        fetch=lambda ref, path: json.dumps(
-            status.document() if path.endswith("STATUS.json") else receipt.document()
-        ).encode(),
-        state_ref="replay-state",
-        probe_result=result,
-        probe_evidence=evidence,
-        attempt_id=uk_qualification.attempt_evidence_id(tmp_path),
-    )
-    assert calls[0]["probe_result"] == result
-    assert calls[0]["probe_evidence"] == evidence
-    assert calls[0]["attempt_id"] == uk_qualification.attempt_evidence_id(tmp_path)
-
-
-def test_gates_command_persists_probe_from_installed_candidate(tmp_path, monkeypatch):
-    from policyengine.provenance import replay_probe, uk_candidate
-
-    spec = importlib.util.spec_from_file_location(
-        "check_uk_probe_gates",
-        Path(__file__).resolve().parents[1] / "scripts/check_uk_candidate.py",
-    )
-    cli = importlib.util.module_from_spec(spec)
-    spec.loader.exec_module(cli)
-    pair = make_pair()
-    attempt = tmp_path / "attempt"
-    result, evidence = _probe_evidence(attempt)
-    # Remove prewritten files so the command itself must produce both.
-    for path in (attempt / "gates").iterdir():
-        path.unlink()
-    monkeypatch.setattr(
-        cli,
-        "_attempt",
-        lambda args: (attempt, {"pair": pair.canonical_payload()}, HARNESS),
-    )
-    monkeypatch.setattr(cli, "git", lambda *args: HARNESS.git_commit)
-    monkeypatch.setattr(cli, "config", lambda: {})
-    monkeypatch.setattr(
-        cli, "resolved_from", lambda payload: SimpleNamespace(pair=pair)
-    )
-    monkeypatch.setattr(uk_candidate, "run_candidate_gates", lambda *a, **k: ([], {}))
-    calls = []
-
-    def run(**kwargs):
-        calls.append(kwargs)
-        return result, evidence
-
-    monkeypatch.setattr(replay_probe, "run_replay_probes", run)
-    assert cli.cmd_gates(SimpleNamespace(work_dir=str(tmp_path))) == 0
-    assert calls == [
-        {
-            "attempt_id": uk_qualification.attempt_evidence_id(attempt),
-            "candidate_model_version": pair.model.version,
-        }
-    ]
-    assert uk_qualification.load_attempt_replay_probe(attempt) == (result, evidence)
-    assert uk_qualification.load_gate_results(attempt) == []
-
-
-def test_exception_acceptance_requires_publication_designation():
-    from tests.qualification_fixtures import make_receipt
-
-    publication = "not computable, in the Budget dashboard and runbook."
-    replay = GateResult(
-        gate_id="replay",
-        status="needs_review",
-        summary="Data-limited exception",
-        details={"applied_exceptions": [{"publication": publication}]},
-    )
-    receipt = make_receipt(
-        gate_results=[replay if gate.gate_id == "replay" else gate for gate in gates()]
-    )
-    kwargs = {
-        "reviewer": "reviewer",
-        "accepted_receipt_sha256": receipt.unreviewed_sha256,
-        "accepted_at": "2026-10-17T10:00:00Z",
-    }
-    with pytest.raises(ValueError, match="publication designation"):
-        uk_qualification.accept_review(receipt, explanation="Accepted", **kwargs)
-    reviewed = uk_qualification.accept_review(
-        receipt, explanation=f"Accepted with publication: {publication}", **kwargs
-    )
-    assert reviewed.promotable
-
-
-@pytest.mark.parametrize(
-    "damage",
-    [
-        "none",
-        "no_result",
-        "no_evidence",
-        "changed_evidence",
-        "wrong_gate",
-        "no_digest",
-        "different_pair",
-        "different_attempt",
-        "missing_identity",
-        "invalid_json",
-    ],
-)
-def test_attempt_input_evidence_is_bound_to_its_result(tmp_path, damage):
-    result, evidence = _input_evidence(tmp_path)
-    result_path = tmp_path / "gates/budget_inputs.result.json"
-    evidence_path = tmp_path / "gates/budget_inputs.json"
-    if damage == "no_result":
-        result_path.unlink()
-    elif damage == "no_evidence":
-        evidence_path.unlink()
-    elif damage == "changed_evidence":
-        write_json(evidence_path, {**evidence, "missing_inputs": []})
-    elif damage == "invalid_json":
-        evidence_path.write_text("invalid JSON")
-    elif damage in {"different_pair", "different_attempt", "missing_identity"}:
-        if damage == "different_pair":
-            evidence["pair_id"] = "f" * 64
-        elif damage == "different_attempt":
-            evidence["attempt_id"] += "-other"
-        else:
-            evidence.pop("attempt_id")
-        write_json(evidence_path, evidence)
-        write_json(
-            result_path,
-            {
-                **result.canonical_payload(),
-                "evidence_sha256": content_sha256(evidence),
-            },
-        )
-    elif damage in {"wrong_gate", "no_digest"}:
-        write_json(
-            result_path,
-            {
-                **result.canonical_payload(),
-                **(
-                    {"gate_id": "another_gate"}
-                    if damage == "wrong_gate"
-                    else {"evidence_sha256": None}
-                ),
-            },
-        )
-    actual = uk_qualification.load_attempt_budget_inputs(tmp_path)
-    assert actual == ((result, evidence) if damage == "none" else (None, None))
-
-
-def test_budget_input_persistence_seals_the_exact_pair_and_attempt(tmp_path):
-    from tests.test_replay_exceptions import _budget_inputs
-
-    write_json(tmp_path / "candidate.json", {"pair": make_pair().canonical_payload()})
-    result, evidence = _budget_inputs()
-    evidence.pop("attempt_id")
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-    uk_qualification.write_gate_results(tmp_path, [result], {"budget_inputs": evidence})
-    stored_result, stored_evidence = uk_qualification.load_attempt_budget_inputs(
-        tmp_path
-    )
-    assert stored_evidence["pair_id"] == make_pair().pair_id
-    assert stored_evidence["attempt_id"] == uk_qualification.attempt_evidence_id(
-        tmp_path
-    )
-    assert stored_result.evidence_sha256 == content_sha256(stored_evidence)
-    assert stored_evidence["ever_usable_inputs"] == evidence["ever_usable_inputs"]
-
-
-@pytest.mark.parametrize("identity", ["pair_id", "attempt_id"])
-def test_budget_input_persistence_cannot_bless_foreign_evidence(tmp_path, identity):
-    from tests.test_replay_exceptions import _budget_inputs
-
-    write_json(tmp_path / "candidate.json", {"pair": make_pair().canonical_payload()})
-    attempt_id = uk_qualification.attempt_evidence_id(tmp_path)
-    result, evidence = _budget_inputs(attempt_id=attempt_id)
-    evidence[identity] = "another-identity"
-    result = result.model_copy(update={"evidence_sha256": content_sha256(evidence)})
-    with pytest.raises(ValueError, match="different pair or attempt"):
-        uk_qualification.write_gate_results(
-            tmp_path, [result], {"budget_inputs": evidence}
-        )
-
-
-def test_input_evidence_does_not_fall_back_to_another_attempt(tmp_path):
-    _input_evidence(tmp_path / "older_attempt")
-    assert uk_qualification.load_attempt_budget_inputs(tmp_path / "this_attempt") == (
-        None,
-        None,
-    )
-
-
-def test_read_replay_threads_budget_input_evidence(tmp_path, monkeypatch):
-    request, status, receipt = _replay_documents()
-    result, evidence = _input_evidence(tmp_path)
-    expected = GateResult(gate_id="replay", status="needs_review", summary="review")
-    calls = []
-
-    def evaluate(*args, **kwargs):
-        calls.append((args, kwargs))
-        return expected
-
-    monkeypatch.setattr(uk_qualification, "evaluate_replay_receipt", evaluate)
-    actual, _, _ = uk_qualification.read_replay(
-        request,
-        fetch=lambda ref, path: json.dumps(
-            status.document() if path.endswith("STATUS.json") else receipt.document()
-        ).encode(),
-        state_ref="replay-state",
-        budget_inputs_result=result,
-        budget_inputs_evidence=evidence,
-    )
-    assert actual == expected
-    assert calls[0][1] == {
-        "budget_inputs_result": result,
-        "budget_inputs_evidence": evidence,
-        "probe_result": None,
-        "probe_evidence": None,
-        "attempt_id": None,
-    }
-
-
-@pytest.mark.parametrize("alter_evidence", [False, True])
-def test_finalize_reevaluates_replay_with_current_attempt_inputs(
-    tmp_path, monkeypatch, alter_evidence
-):
-    attempt = tmp_path / "attempt"
-    pair = make_pair()
-    uk_qualification.stage_attempt(
-        attempt,
-        {"pair": pair.canonical_payload(), "previous_certificate": None},
-        HARNESS,
-    )
-    uk_qualification.write_gate_results(attempt, gates(), {})
-    result, evidence = _input_evidence(attempt)
-    request, status, replay_receipt = _replay_documents()
-    write_json(attempt / "replay/request.json", request.document())
-    write_json(attempt / "replay/status.json", status.document())
-    write_json(attempt / "replay/receipt.json", replay_receipt.document())
-    write_json(
-        attempt / "replay/replay.result.json",
-        GateResult(
-            gate_id="replay", status="pass", summary="stale"
-        ).canonical_payload(),
-    )
-    if alter_evidence:
-        write_json(attempt / "gates/budget_inputs.json", {"missing_inputs": []})
-    calls = []
-
-    def evaluate(*args, budget_inputs_result, budget_inputs_evidence, **kwargs):
-        assert kwargs == {
-            "probe_result": None,
-            "probe_evidence": None,
-            "attempt_id": uk_qualification.attempt_evidence_id(attempt),
-        }
-        calls.append((budget_inputs_result, budget_inputs_evidence))
-        return GateResult(
-            gate_id="replay",
-            status="needs_review" if budget_inputs_result else "fail",
-            summary="Reevaluated with current evidence",
-            details={
-                "budget_inputs_result_sha256": (
-                    content_sha256(budget_inputs_result.canonical_payload())
-                    if budget_inputs_result
-                    else None
-                )
-            },
-        )
-
-    monkeypatch.setattr(uk_qualification, "evaluate_replay_receipt", evaluate)
-    receipt = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T10:00:00Z",
-    )
-    assert calls == [((None, None) if alter_evidence else (result, evidence))]
-    assert receipt.verdict == ("rejected" if alter_evidence else "needs_review")
-    replay_gate = next(gate for gate in receipt.gates if gate.gate_id == "replay")
-    assert (
-        read_json(attempt / "replay/replay.result.json")
-        == replay_gate.canonical_payload()
-    )
-
-
-def test_poll_replay_reads_same_attempt_inputs(tmp_path, monkeypatch):
-    spec = importlib.util.spec_from_file_location(
-        "check_uk_replay_inputs",
-        Path(__file__).resolve().parents[1] / "scripts/check_uk_candidate.py",
-    )
-    cli = importlib.util.module_from_spec(spec)
-    spec.loader.exec_module(cli)
-    request, status, receipt = _replay_documents()
-    result, evidence = _input_evidence(tmp_path)
-    write_json(tmp_path / "candidate.json", {"pair": make_pair().canonical_payload()})
-    write_json(tmp_path / "replay/request.json", request.document())
-    monkeypatch.setattr(
-        cli,
-        "config",
-        lambda: {"replay": {"repository": "owner/scorecard", "state_ref": "state"}},
-    )
-    monkeypatch.setattr(cli, "scorecard_file", lambda _: "fetch")
-    monkeypatch.setattr(cli, "set_output", lambda **_: None)
-    calls = []
-
-    def read(*args, **kwargs):
-        calls.append(kwargs)
-        return (
-            GateResult(gate_id="replay", status="needs_review", summary="review"),
-            status,
-            receipt,
-        )
-
-    monkeypatch.setattr(cli, "read_replay", read)
-    assert (
-        cli.cmd_poll_replay(
-            SimpleNamespace(attempt=str(tmp_path), wait_minutes=0, interval_seconds=1)
-        )
-        == 0
-    )
-    assert calls == [
-        {
-            "fetch": "fetch",
-            "state_ref": "state",
-            "budget_inputs_result": result,
-            "budget_inputs_evidence": evidence,
-            "probe_result": None,
-            "probe_evidence": None,
-            "attempt_id": uk_qualification.attempt_evidence_id(tmp_path),
-        }
-    ]
-
-
-@pytest.mark.parametrize("raw_change", ["request", "status", "receipt", "running"])
-@pytest.mark.parametrize("input_change", ["missing", "changed"])
-def test_finalize_rejects_cached_exception_without_replay_bytes(
-    tmp_path, raw_change, input_change
-):
-    attempt = tmp_path / "attempt"
-    pair = make_pair()
-    uk_qualification.stage_attempt(
-        attempt,
-        {"pair": pair.canonical_payload(), "previous_certificate": None},
-        HARNESS,
-    )
-    uk_qualification.write_gate_results(attempt, gates(), {})
-    _input_evidence(attempt)
-    request, status, receipt = _replay_documents()
-    write_json(attempt / "replay/request.json", request.document())
-    write_json(attempt / "replay/status.json", status.document())
-    write_json(attempt / "replay/receipt.json", receipt.document())
-    write_json(
-        attempt / "replay/replay.result.json",
-        GateResult(
-            gate_id="replay",
-            status="needs_review",
-            summary="Cached exception",
-            details={"applied_exceptions": [{"id": "purchase-input", "year": 2026}]},
-        ).canonical_payload(),
-    )
-    if raw_change == "running":
-        write_json(
-            attempt / "replay/status.json",
-            {
-                **status.document(),
-                "status": "running",
-                "receipt_sha256": None,
-                "receipt_commit": None,
-            },
-        )
-    else:
-        (attempt / "replay" / f"{raw_change}.json").unlink()
-    evidence_path = attempt / "gates/budget_inputs.json"
-    if input_change == "missing":
-        evidence_path.unlink()
-    else:
-        write_json(evidence_path, {"missing_inputs": []})
-    finalized = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T10:00:00Z",
-    )
-    replay_gate = next(gate for gate in finalized.gates if gate.gate_id == "replay")
-    assert finalized.verdict == "rejected"
-    assert replay_gate.status == "fail"
-    assert replay_gate.details["regressions"] == [{"kind": "unverifiable_exception"}]
-    assert (
-        read_json(attempt / "replay/replay.result.json")
-        == replay_gate.canonical_payload()
-    )
-
-
-@pytest.mark.parametrize("raw_change", ["request", "status", "receipt", "running"])
-def test_finalize_preserves_legacy_cache_without_exceptions(tmp_path, raw_change):
-    attempt = tmp_path / "attempt"
-    pair = make_pair()
-    uk_qualification.stage_attempt(
-        attempt,
-        {"pair": pair.canonical_payload(), "previous_certificate": None},
-        HARNESS,
-    )
-    uk_qualification.write_gate_results(attempt, gates(), {})
-    request, status, receipt = _replay_documents()
-    write_json(attempt / "replay/request.json", request.document())
-    write_json(attempt / "replay/status.json", status.document())
-    write_json(attempt / "replay/receipt.json", receipt.document())
-    cached = GateResult(gate_id="replay", status="pass", summary="Legacy cached replay")
-    write_json(attempt / "replay/replay.result.json", cached.canonical_payload())
-    if raw_change == "running":
-        write_json(
-            attempt / "replay/status.json",
-            {**status.document(), "status": "running"},
-        )
-    else:
-        (attempt / "replay" / f"{raw_change}.json").unlink()
-    finalized = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T10:00:00Z",
-    )
-    assert finalized.verdict == "qualified"
-    assert next(gate for gate in finalized.gates if gate.gate_id == "replay") == cached
-
-
-def test_finalize_real_failed_receipt_uses_same_attempt_input_evidence(tmp_path):
-    from tests.test_qualification_contracts import _status
-    from tests.test_replay_exceptions import _real_budget, _real_receipt
-
-    attempt = tmp_path / "attempt"
-    pair = make_pair()
-    uk_qualification.stage_attempt(
-        attempt,
-        {"pair": pair.canonical_payload(), "previous_certificate": None},
-        HARNESS,
-    )
-    uk_qualification.write_gate_results(attempt, gates(), {})
-    budget_result, budget_evidence = _real_budget(
-        attempt_id=uk_qualification.attempt_evidence_id(attempt)
-    )
-    uk_qualification.write_gate_results(
-        attempt, [budget_result], {"budget_inputs": budget_evidence}
-    )
-    request, receipt = _real_receipt()
-    _probe_evidence(attempt, request)
-    write_json(attempt / "replay/request.json", request.document())
-    write_json(
-        attempt / "replay/status.json", _status(request.request_id, receipt).document()
-    )
-    write_json(attempt / "replay/receipt.json", receipt)
-    finalized = uk_qualification.finalize_attempt(
-        attempt,
-        tmp_path / "ledger",
-        issued_by=ISSUED,
-        completed_at="2026-10-17T10:00:00Z",
-    )
-    replay_gate = next(gate for gate in finalized.gates if gate.gate_id == "replay")
-    assert finalized.verdict == "needs_review", replay_gate.summary
-    assert replay_gate.status == "needs_review"
-    assert len(replay_gate.details["applied_exceptions"]) == 5
-    assert sorted(
-        item["year"] for item in replay_gate.details["applied_exceptions"]
-    ) == list(range(2025, 2030))
-    assert replay_gate.details["budget_inputs_result_sha256"] == content_sha256(
-        budget_result.canonical_payload()
-    )
diff --git a/tests/test_uk_qualification_workflow.py b/tests/test_uk_qualification_workflow.py
deleted file mode 100644
index cccf8697c..000000000
--- a/tests/test_uk_qualification_workflow.py
+++ /dev/null
@@ -1,371 +0,0 @@
-"""``scripts/check_uk_candidate.py``'s readiness and failed-check refresh (no remote writes).
-
-The ``certify-uk-release.yaml`` workflow that ran these commands is removed;
-the tests of its YAML went with it.
-"""
-
-from __future__ import annotations
-
-import argparse
-import json
-from types import SimpleNamespace
-
-import pytest
-
-from policyengine.provenance.uk_qualification import (
-    accept_review,
-    candidate_branch,
-)
-from tests.qualification_fixtures import (
-    HARNESS,
-    gates,
-    graphql_base_changes_output,
-    load_candidate_cli,
-    make_pair,
-    make_receipt,
-    rest_pulls_output,
-)
-
-PULLS = ["repos/PolicyEngine/policyengine.py/pulls"]
-
-
-def _cli():
-    return load_candidate_cli("qualification_workflow_cli")
-
-
-def test_still_eligible_reports_a_pair_another_run_is_qualifying(monkeypatch, tmp_path):
-    from policyengine.provenance.qualification_ledger import attempt_directory
-    from policyengine.provenance.uk_qualification import stage_attempt
-
-    cli = _cli()
-    pair = make_pair(model="2.200.0")
-    candidate = tmp_path / "candidate.json"
-    candidate.write_text(
-        json.dumps(
-            {
-                "pair": pair.canonical_payload(),
-                "pair_id": pair.pair_id,
-                "base_commit": "b" * 40,
-                "force": False,
-            }
-        )
-    )
-    outputs = []
-    monkeypatch.setattr(cli, "set_output", lambda **kwargs: outputs.append(kwargs))
-    monkeypatch.setattr(cli, "utc_now", lambda: "2026-10-16T10:00:00Z")
-    args = argparse.Namespace(candidate=str(candidate), ledger=str(tmp_path))
-    assert cli.cmd_still_eligible(args) == 0
-    assert outputs[-1] == {"duplicate": "false"}
-    stage_attempt(
-        attempt_directory(tmp_path, "uk", pair.pair_id, "a" * 12),
-        {"pair": pair.canonical_payload(), "pair_id": pair.pair_id},
-        HARNESS,
-        owner_run_id="7",
-        staged_at="2026-10-16T09:30:00Z",
-    )
-    assert cli.cmd_still_eligible(args) == 0
-    assert outputs[-1] == {"duplicate": "true"}
-    # A forced run is never turned into a duplicate (round 3 of #635: the
-    # recheck dropped force and still passed every test).
-    payload = json.loads(candidate.read_text())
-    candidate.write_text(json.dumps({**payload, "force": True}))
-    assert cli.cmd_still_eligible(args) == 0
-    assert outputs[-1] == {"duplicate": "false"}
-
-
-@pytest.mark.parametrize("head_matches", [False, True])
-@pytest.mark.parametrize("verdict", ["qualified", "rejected", "accepted_review"])
-def test_refresh_checks_reruns_only_failed_pr_runs_for_the_qualified_head(
-    monkeypatch, tmp_path, capsys, head_matches, verdict
-):
-    cli = _cli()
-    receipt = make_receipt(
-        gate_results={
-            "qualified": gates(),
-            "rejected": gates(replay="fail"),
-            "accepted_review": gates(metrics_review="needs_review"),
-        }[verdict]
-    )
-    if verdict == "accepted_review":
-        receipt = accept_review(
-            receipt,
-            reviewer="reviewer",
-            accepted_receipt_sha256=receipt.unreviewed_sha256,
-            explanation="Expected change checked by the reviewer.",
-            accepted_at="2026-10-16T09:00:00Z",
-        )
-    branch = candidate_branch(receipt.pair)
-    head = receipt.harness.git_commit if head_matches else "f" * 40
-    monkeypatch.setattr(cli, "latest_receipts", lambda root, **_: [receipt])
-    monkeypatch.setattr(
-        cli, "_candidate_pull_requests", lambda: [_candidate_pr(1, branch, head)]
-    )
-    monkeypatch.setattr(cli, "_now", lambda: _instant(NOW))
-    code, docs, guard, old = (
-        ".github/workflows/pr_code_changes.yaml",
-        ".github/workflows/pr_docs.yaml",
-        ".github/workflows/guard.yaml",
-        ".github/workflows/old.yaml",
-    )
-    fork = {"head_repository": "someone/policyengine.py"}
-    other = {"head_branch": "candidate/uk/other"}
-    runs = [
-        _listed_run(identifier, sha, branch, path, event, status, conclusion, attempt)
-        | extra
-        for identifier, sha, path, event, status, conclusion, attempt, extra in (
-            # Replaced by run 16 of the same workflow and event: left alone,
-            # so its checks cannot come back newer (round 3 of #635).
-            (11, head, code, "pull_request", "completed", "failure", 1, {}),
-            (12, head, docs, "pull_request", "completed", "success", 1, {}),
-            (13, head, guard, "pull_request", "in_progress", None, 1, {}),
-            (14, "a" * 40, code, "pull_request", "completed", "failure", 1, {}),
-            (15, head, code, "push", "completed", "failure", 1, {}),
-            # GitHub refuses this re-run: refresh warns and the rest still go
-            # (round 4; round 5 lists it first).
-            (16, head, code, "pull_request", "completed", "timed_out", 1, {}),
-            # The run on the candidate's own tree that promotion requires; a
-            # job timeout cancels the run (round 3 of #635).
-            (17, head, code, "workflow_dispatch", "completed", "cancelled", 1, {}),
-            # Already run as often as the cap allows (four attempts).
-            (18, head, docs, "workflow_dispatch", "completed", "failure", 4, {}),
-            (19, head, guard, "workflow_dispatch", "completed", "failure", 3, {}),
-            # Round 5 of #635: a fork's newer run at the same commit, and one
-            # of another branch here, are not the candidate's: neither is
-            # re-run, nor replaces the candidate's own runs 16 and 12.
-            (21, head, code, "pull_request", "completed", "failure", 1, fork),
-            (22, head, docs, "pull_request", "completed", "failure", 1, other),
-            # Round 5: GitHub re-runs only within 30 days of the first attempt,
-            # and refresh re-runs only failures, timeouts and cancellations.
-            (
-                23,
-                head,
-                old,
-                "workflow_dispatch",
-                "completed",
-                "failure",
-                1,
-                {"created_at": OLD},
-            ),
-            (24, head, old, "pull_request", "completed", "action_required", 1, {}),
-        )
-    ]
-    calls = []
-
-    def fake_run(argv, **kwargs):
-        calls.append(argv)
-        if argv[:3] == ["gh", "api", "graphql"]:
-            return SimpleNamespace(
-                returncode=0, stdout=graphql_base_changes_output(argv, set())
-            )
-        if argv[:2] == ["gh", "api"] and argv[4:5] == PULLS:
-            assert f"head=PolicyEngine:{branch}" in argv
-            return SimpleNamespace(
-                returncode=0,
-                stdout=rest_pulls_output(argv, [_candidate_pr(1, branch, head)]),
-            )
-        if argv[:2] == ["gh", "api"]:
-            assert "--paginate" in argv
-            assert f"head_sha={receipt.harness.git_commit}" in argv[2]
-            return SimpleNamespace(
-                returncode=0, stdout="\n".join(json.dumps(run) for run in runs)
-            )
-        assert argv[:3] == ["gh", "run", "rerun"] and kwargs["check"] is False
-        return SimpleNamespace(returncode=1 if argv[3] == "16" else 0)
-
-    monkeypatch.setattr(cli, "subprocess", SimpleNamespace(run=fake_run))
-    args = cli.parser().parse_args(["refresh-pr-checks", "--ledger", str(tmp_path)])
-    assert args.func(args) == 0
-    reruns = [
-        (call[3], "--failed" in call)
-        for call in calls
-        if call[:3] == ["gh", "run", "rerun"]
-    ]
-    output = capsys.readouterr().out
-    if receipt.promotable and head_matches:
-        # Failed jobs only for failed and timed-out runs; the cancelled one in
-        # full; the one at the cap, the old one and the fork's not at all.
-        assert reruns == [("16", True), ("17", False), ("19", True)]
-        assert "::warning::GitHub did not re-run timed_out run 16" in output
-    else:
-        assert calls == []
-
-
-NOW = "2026-10-16T12:00:00Z"
-OLD = "2026-09-15T11:00:00Z"
-
-
-def _candidate_pr(number, branch, head, **fields):
-    """A same-repository pull request from ``branch`` to main, open, as
-    `gh pr list` reads it."""
-
-    return {
-        "number": number,
-        "baseRefName": "main",
-        "headRefName": branch,
-        "headRefOid": head,
-        "isDraft": True,
-        "isCrossRepository": False,
-        "state": "OPEN",
-        **fields,
-    }
-
-
-def _instant(text):
-    import datetime
-
-    return datetime.datetime.fromisoformat(text.replace("Z", "+00:00"))
-
-
-def _listed_run(identifier, sha, branch, path, event, status, conclusion, attempt):
-    """A run as `_commit_runs` reads it: the candidate's own by default."""
-
-    return {
-        "id": identifier,
-        "head_sha": sha,
-        "head_branch": branch,
-        "head_repository": "PolicyEngine/policyengine.py",
-        "path": path,
-        "event": event,
-        "status": status,
-        "conclusion": conclusion,
-        "check_suite_id": 1000 + identifier,
-        "run_attempt": attempt,
-        "created_at": "2026-10-16T06:00:00Z",
-    }
-
-
-def test_refresh_reruns_each_candidate_only_its_own_runs(monkeypatch, tmp_path, capsys):
-    """Round 5 of #635: two candidates qualified at the same commit share its
-    runs listing; each re-runs only its own branch's runs, and one whose runs
-    cannot be read is reported while the other is still refreshed."""
-
-    cli = _cli()
-    first = make_receipt(pair=make_pair(model="2.200.0"))
-    second = make_receipt(pair=make_pair(model="2.201.0"))
-    head = first.harness.git_commit
-    assert second.harness.git_commit == head
-    branches = {candidate_branch(r.pair): head for r in (first, second)}
-    pull_requests = [
-        _candidate_pr(number, name, head)
-        for number, name in enumerate(branches, start=1)
-    ]
-    monkeypatch.setattr(cli, "latest_receipts", lambda root, **_: [first, second])
-    monkeypatch.setattr(cli, "_candidate_pull_requests", lambda: pull_requests)
-    monkeypatch.setattr(cli, "_now", lambda: _instant(NOW))
-    code = ".github/workflows/pr_code_changes.yaml"
-    first_branch, second_branch = branches
-    runs = [
-        _listed_run(
-            31, head, first_branch, code, "pull_request", "completed", "failure", 1
-        ),
-        _listed_run(
-            32, head, second_branch, code, "pull_request", "completed", "failure", 1
-        ),
-    ]
-    calls = []
-    unreadable = {"once": True}
-
-    def fake_run(argv, **kwargs):
-        calls.append(argv)
-        if argv[:3] == ["gh", "api", "graphql"]:
-            return SimpleNamespace(
-                returncode=0, stdout=graphql_base_changes_output(argv, set())
-            )
-        if argv[:2] == ["gh", "api"] and argv[4:5] == PULLS:
-            return SimpleNamespace(
-                returncode=0, stdout=rest_pulls_output(argv, pull_requests)
-            )
-        if argv[:2] == ["gh", "api"]:
-            if unreadable.pop("once", False):
-                return SimpleNamespace(returncode=1, stdout="")
-            return SimpleNamespace(
-                returncode=0, stdout="\n".join(json.dumps(run) for run in runs)
-            )
-        return SimpleNamespace(returncode=0)
-
-    monkeypatch.setattr(cli, "subprocess", SimpleNamespace(run=fake_run))
-    args = cli.parser().parse_args(["refresh-pr-checks", "--ledger", str(tmp_path)])
-    assert args.func(args) == 0
-    output = capsys.readouterr().out
-    assert f"::warning::could not read the runs of {first_branch}" in output
-    assert [call[3] for call in calls if call[:3] == ["gh", "run", "rerun"]] == ["32"]
-
-
-@pytest.mark.parametrize(
-    "shared", ["another base", "a base change", "unreadable", "unreadable history"]
-)
-def test_refresh_leaves_a_candidate_whose_branch_runs_are_shared(
-    monkeypatch, tmp_path, capsys, shared
-):
-    """Round 6 of #635: a pull request from the candidate branch to another
-    base runs on the same commit and branch, so the candidate's runs cannot
-    be told from its runs; refresh re-runs none of them (promotion refuses
-    the candidate anyway), and the next candidate is still refreshed. Round
-    7: so does the candidate's own pull request once its base was changed.
-    The same holds while that branch's pull requests, or their base history,
-    cannot be read."""
-
-    cli = _cli()
-    first = make_receipt(pair=make_pair(model="2.200.0"))
-    second = make_receipt(pair=make_pair(model="2.201.0"))
-    head = first.harness.git_commit
-    first_branch, second_branch = (candidate_branch(r.pair) for r in (first, second))
-    pull_requests = [
-        _candidate_pr(1, first_branch, head),
-        _candidate_pr(2, second_branch, head),
-    ]
-    other = _candidate_pr(7, first_branch, head, baseRefName="release")
-    monkeypatch.setattr(cli, "latest_receipts", lambda root, **_: [first, second])
-    monkeypatch.setattr(cli, "_candidate_pull_requests", lambda: pull_requests)
-    monkeypatch.setattr(cli, "_now", lambda: _instant(NOW))
-    code = ".github/workflows/pr_code_changes.yaml"
-    runs = [
-        _listed_run(
-            31, head, first_branch, code, "pull_request", "completed", "failure", 1
-        ),
-        _listed_run(
-            32, head, second_branch, code, "pull_request", "completed", "failure", 1
-        ),
-    ]
-    calls = []
-
-    def fake_run(argv, **kwargs):
-        calls.append(argv)
-        if argv[:3] == ["gh", "api", "graphql"]:
-            number = int(next(v for v in argv if v.startswith("number="))[7:])
-            if number == 1 and shared == "unreadable history":
-                return SimpleNamespace(returncode=1, stdout="")
-            changed = {1} if shared == "a base change" else set()
-            return SimpleNamespace(
-                returncode=0, stdout=graphql_base_changes_output(argv, changed)
-            )
-        if argv[:2] == ["gh", "api"] and argv[4:5] == PULLS:
-            if f"head=PolicyEngine:{first_branch}" in argv and shared == "unreadable":
-                return SimpleNamespace(returncode=1, stdout="")
-            listing = [*pull_requests, other] if shared == "another base" else []
-            return SimpleNamespace(
-                returncode=0,
-                stdout=rest_pulls_output(argv, listing or pull_requests),
-            )
-        if argv[:2] == ["gh", "api"]:
-            return SimpleNamespace(
-                returncode=0, stdout="\n".join(json.dumps(run) for run in runs)
-            )
-        return SimpleNamespace(returncode=0)
-
-    monkeypatch.setattr(cli, "subprocess", SimpleNamespace(run=fake_run))
-    args = cli.parser().parse_args(["refresh-pr-checks", "--ledger", str(tmp_path)])
-    assert args.func(args) == 0
-    output = capsys.readouterr().out
-    if shared.startswith("unreadable"):
-        assert f"::warning::could not read the pull requests from {first_branch}" in (
-            output
-        )
-    else:
-        assert f"::warning::not re-running {first_branch}'s runs" in output
-        assert (
-            "#7 (to release, open)"
-            if shared == "another base"
-            else "#1 (the candidate's own, after a base change)"
-        ) in output
-    assert [call[3] for call in calls if call[:3] == ["gh", "run", "rerun"]] == ["32"]

From 5e2b47ab7abcdd20e4b8bee81903275fb40c35fc Mon Sep 17 00:00:00 2001
From: Anthony Volk <14987227+anth-volk@users.noreply.github.com>
Date: Fri, 4 Dec 2026 20:56:53 +0400
Subject: [PATCH 3/8] Add the changelog entry for removing the UK qualification
 pipeline

Co-Authored-By: Claude Opus 5.5 
---
 changelog.d/796.removed.md | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 changelog.d/796.removed.md

diff --git a/changelog.d/796.removed.md b/changelog.d/796.removed.md
new file mode 100644
index 000000000..fae7bcd20
--- /dev/null
+++ b/changelog.d/796.removed.md
@@ -0,0 +1 @@
+The UK qualification pipeline that the removed `certify-uk-release.yaml` ran is gone: `scripts/check_uk_candidate.py`, the replay probe, the UK candidate, qualification and ledger modules, `.github/qualification-ledger.sh`, the data files and scorecard receipt and status schemas only it read, and their tests. The `qualified_exact_pair` basis and `certify-data --qualified-pair-id` go with it, and a model refuses to load a bundle whose certificate names that basis. `scripts/release_consumers.py` now builds the release dispatch and the scorecard's replay request itself; both are unchanged.

From f51b08ab834e456d4c2b17e6c088553c9130e3d0 Mon Sep 17 00:00:00 2001
From: Anthony Volk <14987227+anth-volk@users.noreply.github.com>
Date: Fri, 4 Dec 2026 21:18:30 +0400
Subject: [PATCH 4/8] Add a failing test: the release check refuses a
 qualified-pair certificate

Review round 1 found that the strict TRACE release check no longer
recognises the retired qualified_exact_pair basis, so such a bundle would
pass the release and then fail every UK import.

Co-Authored-By: Claude Opus 5.5 
---
 tests/test_release_tro_generation.py | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/tests/test_release_tro_generation.py b/tests/test_release_tro_generation.py
index fb4b6b33c..3428fdf8b 100644
--- a/tests/test_release_tro_generation.py
+++ b/tests/test_release_tro_generation.py
@@ -165,6 +165,22 @@ def test_a_core_binding_must_agree_with_the_named_core(release):
         generator.generated_tros(strict=True)
 
 
+def test_a_certificate_on_the_retired_qualified_pair_basis_is_refused(release):
+    """The release check refuses the basis of the removed UK qualification
+    pipeline, as loading the model would, even where the build alone would
+    certify the model."""
+
+    path = release[0] / "manifest.json"
+    payload = json.loads(path.read_bytes())
+    certification = payload["data_releases"]["us"]["certification"]
+    certification["compatibility_basis"] = "qualified_exact_pair"
+    certification["qualification_pair_id"] = "a" * 64
+    path.write_text(json.dumps(payload))
+    manifest.get_release_manifest.cache_clear()
+    with pytest.raises(ValueError, match="qualified_exact_pair"):
+        generator.generated_tros(strict=True)
+
+
 @pytest.mark.parametrize("field", ["name", "version", "sha256", "wheel_url"])
 def test_runtime_model_identity_must_match_certification(release, field):
     path = release[0] / "manifest.json"

From de23c5a0179ba8ebac822592939b1f05c1397a47 Mon Sep 17 00:00:00 2001
From: Anthony Volk <14987227+anth-volk@users.noreply.github.com>
Date: Fri, 4 Dec 2026 21:19:16 +0400
Subject: [PATCH 5/8] Refuse a qualified-pair certificate in the release check

The strict TRACE release check now refuses the qualified_exact_pair basis,
as loading the model does, so such a bundle cannot be released.

Co-Authored-By: Claude Opus 5.5 
---
 scripts/generate_trace_tros.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/scripts/generate_trace_tros.py b/scripts/generate_trace_tros.py
index 77e3d8671..eec438ead 100644
--- a/scripts/generate_trace_tros.py
+++ b/scripts/generate_trace_tros.py
@@ -32,6 +32,7 @@
     matching_compatibility_record,
 )
 from policyengine.provenance.manifest import (
+    RETIRED_QUALIFIED_PAIR_BASIS,
     CountryReleaseManifest,
     DataReleaseManifest,
     DataReleaseManifestUnavailableError,
@@ -162,6 +163,16 @@ def _validate_runtime_model(bundle: dict, country: CountryReleaseManifest) -> No
     prefix = f"{country.country_id}: strict TRACE release"
     certification = country.certification
     core = bundle.get("packages", {}).get("policyengine-core", {})
+    # Loading the model refuses this basis, so the release must too.
+    if (
+        certification is not None
+        and certification.compatibility_basis == RETIRED_QUALIFIED_PAIR_BASIS
+    ):
+        raise ValueError(
+            f"{prefix}: the certificate's basis {RETIRED_QUALIFIED_PAIR_BASIS!r} "
+            "was removed with the UK qualification pipeline; certify the data "
+            "release again"
+        )
     if (
         certification is not None
         and certification.compatibility_basis == BASIS_COMPATIBILITY_CHECKED

From 86060ff88fa08af41535e1724c5fbab8196116a4 Mon Sep 17 00:00:00 2001
From: Anthony Volk <14987227+anth-volk@users.noreply.github.com>
Date: Fri, 4 Dec 2026 21:20:04 +0400
Subject: [PATCH 6/8] Test the installed-core check and the request's null
 rules

Review round 1 found two behaviours left without a test once the
pipeline's tests went: a model load reads the installed policyengine-core
for a compatibility-checked certificate, and the scorecard request leaves
out null requested_by members while keeping nulls in
expected_release_bundle. Also drop the receipt docstring's mention of the
removed pipeline's supported_years check.

Co-Authored-By: Claude Opus 5.5 
---
 src/policyengine/provenance/receipt.py    |  5 ++--
 tests/test_compatibility_certification.py | 27 ++++++++++++++++++++
 tests/test_release_consumers.py           | 31 +++++++++++++++++++++++
 3 files changed, 60 insertions(+), 3 deletions(-)

diff --git a/src/policyengine/provenance/receipt.py b/src/policyengine/provenance/receipt.py
index 2044edcc9..2154cb4c0 100644
--- a/src/policyengine/provenance/receipt.py
+++ b/src/policyengine/provenance/receipt.py
@@ -4006,9 +4006,8 @@ def _projected_years(
 ) -> tuple[int, ...]:
     """Years the installed policyengine-uk projects a single-year dataset to.
 
-    The same rule as the qualification ``supported_years`` gate: build the
-    multi-year dataset as ``policyengine_uk.Simulation`` does for a
-    single-year file, without running a formula, and keep the years from the
+    Build the multi-year dataset as ``policyengine_uk.Simulation`` does for
+    a single-year file, without running a formula, and keep the years from the
     dataset's own year onwards. Cached by file bytes and model version.
     """
 
diff --git a/tests/test_compatibility_certification.py b/tests/test_compatibility_certification.py
index 35e6325dd..ed63befc0 100644
--- a/tests/test_compatibility_certification.py
+++ b/tests/test_compatibility_certification.py
@@ -593,6 +593,33 @@ def test__given_matching_record__then_accepts_the_certificate(self):
 
         assert certificate.compatibility_basis == BASIS_COMPATIBILITY_CHECKED
 
+    @pytest.mark.parametrize(
+        ("installed", "accepted"), [(CORE, True), (OTHER_CORE, False)]
+    )
+    def test__given_no_runtime_core__then_checks_the_installed_core(
+        self, installed, accepted
+    ):
+        """A model load passes no core, so the certificate must name the
+        installed policyengine-core."""
+        with patch("importlib.metadata.version", return_value=installed) as version:
+            if accepted:
+                certificate = self._load(
+                    _certificate(),
+                    remote=self._remote(),
+                    records=[_record()],
+                    core=None,
+                )
+                assert certificate.compatibility_basis == BASIS_COMPATIBILITY_CHECKED
+            else:
+                with pytest.raises(ValueError, match="not certified"):
+                    self._load(
+                        _certificate(),
+                        remote=self._remote(),
+                        records=[_record()],
+                        core=None,
+                    )
+        version.assert_called_with("policyengine-core")
+
     def test__given_no_record__then_refuses(self):
         with pytest.raises(ValueError, match="not certified"):
             self._load(_certificate(), remote=self._remote(), records=[])
diff --git a/tests/test_release_consumers.py b/tests/test_release_consumers.py
index 695526f23..7f4322160 100644
--- a/tests/test_release_consumers.py
+++ b/tests/test_release_consumers.py
@@ -475,6 +475,37 @@ def test_the_released_bundle_request_needs_a_size_source(consumers):
         )
 
 
+def test_the_released_bundle_request_keeps_the_null_rules_of_the_removed_model(
+    consumers,
+):
+    """As the removed request model did, a null member of ``requested_by`` is
+    left out and a null in ``expected_release_bundle`` is kept."""
+    release_bundle = {**_golden_release_bundle(), "data_build_fingerprint": None}
+
+    request = _released_bundle_request(
+        consumers,
+        MICROCOSM_BUNDLE,
+        hf_file=lambda *request: _microcosm_manifest_without_sizes(),
+        hf_size=lambda *request: 5,
+        release_bundle=release_bundle,
+        requested_by={
+            "repository": "PolicyEngine/policyengine.py",
+            "workflow_run_id": None,
+            "run_attempt": None,
+            "commit": "e" * 40,
+            "run_url": None,
+        },
+    )
+
+    assert request["requested_by"] == {
+        "repository": "PolicyEngine/policyengine.py",
+        "commit": "e" * 40,
+    }
+    expected = request["candidate"]["expected_release_bundle"]
+    assert "data_build_fingerprint" in expected
+    assert expected["data_build_fingerprint"] is None
+
+
 def test_the_released_bundle_request_is_checked_against_the_scorecard_schema(
     consumers,
 ):

From 3d43d169dfa916d8ba7f92d8250f540cdd03daa0 Mon Sep 17 00:00:00 2001
From: Anthony Volk <14987227+anth-volk@users.noreply.github.com>
Date: Fri, 4 Dec 2026 21:40:15 +0400
Subject: [PATCH 7/8] Test two runtime refusals the removed tests covered

Review round 2 found two kept behaviours without a test: a manifest built
with another model package is refused, and a certificate on a publisher
claim that names a core still loads while another core runs.

Co-Authored-By: Claude Opus 5.5 
---
 tests/test_compatibility_certification.py | 18 ++++++++++++++++++
 tests/test_local_data_manifest.py         | 12 +++++++++++-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/tests/test_compatibility_certification.py b/tests/test_compatibility_certification.py
index ed63befc0..c2052637d 100644
--- a/tests/test_compatibility_certification.py
+++ b/tests/test_compatibility_certification.py
@@ -620,6 +620,24 @@ def test__given_no_runtime_core__then_checks_the_installed_core(
                     )
         version.assert_called_with("policyengine-core")
 
+    @pytest.mark.parametrize("online", [True, False])
+    def test__given_publisher_claim_certificate_and_another_core__then_loads(
+        self, online
+    ):
+        """Only an exact pair holds for one core: a certificate on a publisher
+        claim that names a core still loads while another core runs."""
+        certificate = DataCertification(
+            compatibility_basis="legacy_compatible_model_package",
+            certified_for_model_version=TARGET_MODEL,
+            certified_for_core_version=CORE,
+            data_build_id=UK_TAG,
+        )
+        remote = self._remote(model_claims=(f"=={TARGET_MODEL}",)) if online else None
+
+        loaded = self._load(certificate, remote=remote, core=OTHER_CORE)
+
+        assert loaded.compatibility_basis == "legacy_compatible_model_package"
+
     def test__given_no_record__then_refuses(self):
         with pytest.raises(ValueError, match="not certified"):
             self._load(_certificate(), remote=self._remote(), records=[])
diff --git a/tests/test_local_data_manifest.py b/tests/test_local_data_manifest.py
index 1a6c39479..293992219 100644
--- a/tests/test_local_data_manifest.py
+++ b/tests/test_local_data_manifest.py
@@ -420,10 +420,20 @@ def test_a_valid_digest_cannot_widen_exact_pair_certification(
     _install_compatibility_record(monkeypatch, _manifest_bytes(_payload()))
     monkeypatch.setenv(ENVIRONMENT_VARIABLE, str(local_path))
 
-    with pytest.raises(ValueError, match="not certified|different model package"):
+    with pytest.raises(ValueError, match="not certified"):
         _certify(**runtime)
 
 
+def test_a_manifest_built_with_another_model_package_is_refused(tmp_path, monkeypatch):
+    payload = _payload()
+    payload["build"]["built_with_model_package"]["name"] = "another-model"
+    local_path, _, _ = _install_bundle(tmp_path, monkeypatch, payload)
+    monkeypatch.setenv(ENVIRONMENT_VARIABLE, str(local_path))
+
+    with pytest.raises(ValueError, match="different model package"):
+        _certify()
+
+
 @pytest.mark.parametrize(
     ("mode", "expected_basis"),
     [

From a458dac2cbb30533f533fdb194b5ca7c1537b199 Mon Sep 17 00:00:00 2001
From: Anthony Volk <14987227+anth-volk@users.noreply.github.com>
Date: Fri, 4 Dec 2026 23:04:46 +0400
Subject: [PATCH 8/8] Name the ledger branch where the qualification receipts
 stay
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Manual task 7c ยท 6, which would have replaced the uk-qualification-ledger
branch with a tag, was cancelled, so the branch stays and the docs name it.

Co-Authored-By: Claude Opus 5.5 
---
 docs/engineering/skills/data-certification.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/engineering/skills/data-certification.md b/docs/engineering/skills/data-certification.md
index f38b2b8c3..8d156c9ce 100644
--- a/docs/engineering/skills/data-certification.md
+++ b/docs/engineering/skills/data-certification.md
@@ -531,8 +531,8 @@ new policyengine-uk wheel or uk-data release before promotion and recorded a
 receipt for each pair it accepted, certified on the basis
 `qualified_exact_pair`. The compatibility check and the scheduled workflow
 replace it. The workflow was removed first, and its code, data files, tests
-and basis afterwards. Its receipts are kept at the tag
-`uk-qualification-ledger-final`.
+and basis afterwards. Its receipts are kept on the
+`uk-qualification-ledger` branch.
 
 **The UK default switch (policyengine.py#685, October 2026).**