Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Certify the UK populace data release `uk-frs-calibration-attempt-20261203T195135Z-6608c43f` (microcosm_uk_2024_25, policyengine-uk 2.179.2) into the PolicyEngine bundle manifest.
70 changes: 35 additions & 35 deletions src/policyengine/data/bundle/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,54 +16,54 @@
},
"data_releases": {
"uk": {
"build_id": "uk-frs-calibration-attempt-20261122T100732Z-b891aa69",
"build_id": "uk-frs-calibration-attempt-20261203T195135Z-6608c43f",
"bundle_id": "uk-6.21.0",
"certification": {
"built_with_model_version": "2.179.2",
"certified_by": "policyengine.py bundle certification",
"certified_for_model_version": "2.179.2",
"compatibility_basis": "built_with_model_package",
"core_binding": "bundle_pin",
"data_build_id": "uk-frs-calibration-attempt-20261122T100732Z-b891aa69"
"data_build_id": "uk-frs-calibration-attempt-20261203T195135Z-6608c43f"
},
"certified_data_artifact": {
"build_id": "uk-frs-calibration-attempt-20261122T100732Z-b891aa69",
"build_id": "uk-frs-calibration-attempt-20261203T195135Z-6608c43f",
"data_package": {
"name": "microcosm-data",
"version": "0.1.0"
},
"dataset": "microcosm_uk_2024_25",
"sha256": "ae116bc3cff798fe68df253083f0b26d779e02a0a818ee68df7d29fbc557165a",
"uri": "hf://policyengine/populace-uk-private/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/microcosm_uk_2024_25.h5@a80a4bf70ab4ffeac77357fe0633d3cee4ce7401"
"sha256": "96b1c955105721d3db75b0796bb441bfe39bfd9fe52cca295fb7e0ec033581a7",
"uri": "hf://policyengine/populace-uk-private/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/microcosm_uk_2024_25.h5@80834866d45da9965518c4dc5561a0dd523549d3"
},
"country_id": "uk",
"data_package": {
"name": "microcosm-data",
"release_manifest_path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/release_manifest.json",
"release_manifest_revision": "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"release_manifest_path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/release_manifest.json",
"release_manifest_revision": "80834866d45da9965518c4dc5561a0dd523549d3",
"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/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/calibration_diagnostics.json",
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/calibration_diagnostics.json",
"repo_id": "policyengine/populace-uk-private",
"revision": "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"sha256": "0ab9c6ae913ff641326d68df73ab97ae691ffe6d6187d784e8a2069d8acf8309"
"revision": "80834866d45da9965518c4dc5561a0dd523549d3",
"sha256": "2b41672b12ed8a060fada0ccc8c6d82bde0b3e573f0c98951685f0fe720f441d"
},
"microcosm_uk_2024_25": {
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/microcosm_uk_2024_25.h5",
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/microcosm_uk_2024_25.h5",
"repo_id": "policyengine/populace-uk-private",
"revision": "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"sha256": "ae116bc3cff798fe68df253083f0b26d779e02a0a818ee68df7d29fbc557165a"
"revision": "80834866d45da9965518c4dc5561a0dd523549d3",
"sha256": "96b1c955105721d3db75b0796bb441bfe39bfd9fe52cca295fb7e0ec033581a7"
},
"microcosm_uk_2024_25_calibration": {
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/microcosm_uk_2024_25_calibration.npz",
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/microcosm_uk_2024_25_calibration.npz",
"repo_id": "policyengine/populace-uk-private",
"revision": "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"sha256": "365d8f479dc468e8d400723291395c692c7ec9925e8c50cfb16f656686d5dec8"
"revision": "80834866d45da9965518c4dc5561a0dd523549d3",
"sha256": "74a335c107e6fd457071312aabba8c4951faeb97135c3afdea51a024079ff02e"
},
"microcosm_uk_2024_25_dense": {
"path": "releases/microcosm-uk-2024-25-dense/uk-local-candidate-f100-s42-20261123T075147Z-7081d968/microcosm_uk_2024_25_dense.h5",
Expand All @@ -73,38 +73,38 @@
"sha256": "cf1c98acd76467cd8421df67820e49c9e8bfc4b4f64eb0af27adf88994d63a15"
},
"release_certification": {
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/release_certification.json",
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/release_certification.json",
"repo_id": "policyengine/populace-uk-private",
"revision": "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"sha256": "3c63764a9977727dc5cac32f2b15bb38b995115224826e938010fdd817d44c54"
"revision": "80834866d45da9965518c4dc5561a0dd523549d3",
"sha256": "e1fc14db36a2aa89ea2c08ec0c0135405da7af8a323d310e2f6ed3ac7d70f0f6"
},
"release_cut_gates": {
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/release_cut_gates.json",
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/release_cut_gates.json",
"repo_id": "policyengine/populace-uk-private",
"revision": "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"sha256": "567d0dbf9c635086b5b78de1d23ec07de8854f903e8354aa6b16f2d06fb6a72d"
"revision": "80834866d45da9965518c4dc5561a0dd523549d3",
"sha256": "c0612895572ced06ff5017ad4eab75832a0ed2784047de9f476b4392e3524786"
},
"score_vs_reference": {
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/score_vs_reference.json",
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/score_vs_reference.json",
"repo_id": "policyengine/populace-uk-private",
"revision": "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"sha256": "0dbea6cd05aa5c7e00f4a884ef84fa5baf508b4ae8110545c0bd61f9ce6c99ca"
"revision": "80834866d45da9965518c4dc5561a0dd523549d3",
"sha256": "a6b280fade8c4b74ba0bb1f0210947448dfa0a6ae19917dc7ad3bbfff540d92c"
},
"spine_gates": {
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/spine_gates.json",
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/spine_gates.json",
"repo_id": "policyengine/populace-uk-private",
"revision": "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"revision": "80834866d45da9965518c4dc5561a0dd523549d3",
"sha256": "821332b7f7b9804fd6816cee0ba58b7f82a43480fc0a205c6eda8b04b5b834ca"
},
"terminal_gates": {
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/terminal_gates.json",
"path": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/terminal_gates.json",
"repo_id": "policyengine/populace-uk-private",
"revision": "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"sha256": "3636e7bd42ee3278e46b77ba9c57ee277cb8b5c62a62720e5b726967a771d0e6"
"revision": "80834866d45da9965518c4dc5561a0dd523549d3",
"sha256": "3cc26fe28448b0f7a18009f85061ab38a83102f731bb4a6006e95a6f2a5a893c"
}
},
"default_dataset": "microcosm_uk_2024_25",
"default_dataset_uri": "hf://policyengine/populace-uk-private/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/microcosm_uk_2024_25.h5@a80a4bf70ab4ffeac77357fe0633d3cee4ce7401",
"default_dataset_uri": "hf://policyengine/populace-uk-private/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/microcosm_uk_2024_25.h5@80834866d45da9965518c4dc5561a0dd523549d3",
"model_package": {
"name": "policyengine-uk",
"sha256": "a1da93b521408fd4aee7e85f6550d33fb392f0291bcab0eaba631533e3cc0836",
Expand All @@ -120,17 +120,17 @@
"path_template": "releases/microcosm-uk-2024-25-dense/uk-local-candidate-f100-s42-20261123T075147Z-7081d968/microcosm_uk_2024_25_dense.h5"
},
"national": {
"path_template": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/microcosm_uk_2024_25.h5"
"path_template": "releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/microcosm_uk_2024_25.h5"
}
},
"regional_release_kind": "local_area",
"regional_release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/9da099465da06f020d9125f60e49c88180a9e607/releases/microcosm-uk-2024-25-dense/uk-local-candidate-f100-s42-20261123T075147Z-7081d968/release_manifest.json",
"regional_source_manifest_sha256": "b6e7784213c6de1c081f3cbece1c2cbe65879a47984f449ceaeb3aeb22c63153",
"regional_source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@9da099465da06f020d9125f60e49c88180a9e607/releases/microcosm-uk-2024-25-dense/uk-local-candidate-f100-s42-20261123T075147Z-7081d968/release_manifest.json",
"release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/a80a4bf70ab4ffeac77357fe0633d3cee4ce7401/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/release_manifest.json",
"release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/80834866d45da9965518c4dc5561a0dd523549d3/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/release_manifest.json",
"schema_version": 1,
"source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@a80a4bf70ab4ffeac77357fe0633d3cee4ce7401/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/release_manifest.json",
"version": "uk-frs-calibration-attempt-20261122T100732Z-b891aa69"
"source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@80834866d45da9965518c4dc5561a0dd523549d3/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/release_manifest.json",
"version": "uk-frs-calibration-attempt-20261203T195135Z-6608c43f"
},
"us": {
"build_id": "populace-us-2024-spm-20260915",
Expand Down
20 changes: 10 additions & 10 deletions src/policyengine/data/bundle/uk.trace.tro.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"schema:name": "PolicyEngine",
"schema:url": "https://policyengine.org"
},
"schema:dateCreated": "2026-11-22T17:14:41.779575+00:00",
"schema:dateCreated": "2026-12-03T23:01:54.263670+00:00",
"schema:description": "TRACE TRO for certified runtime bundle uk-6.21.0 covering the bundle manifest, the certified dataset artifact, the country model wheel, and the country data release manifest when it is available.",
"schema:name": "policyengine uk certified bundle TRO",
"trov:createdWith": {
Expand Down Expand Up @@ -45,15 +45,15 @@
"trov:hasArtifact": {
"@id": "composition/1/artifact/data_release_manifest"
},
"trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/a80a4bf70ab4ffeac77357fe0633d3cee4ce7401/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/release_manifest.json"
"trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/80834866d45da9965518c4dc5561a0dd523549d3/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/release_manifest.json"
},
{
"@id": "arrangement/1/location/dataset",
"@type": "trov:ArtifactLocation",
"trov:hasArtifact": {
"@id": "composition/1/artifact/dataset"
},
"trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/a80a4bf70ab4ffeac77357fe0633d3cee4ce7401/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261122T100732Z-b891aa69/microcosm_uk_2024_25.h5"
"trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/80834866d45da9965518c4dc5561a0dd523549d3/releases/microcosm-uk-2024-25-national/uk-frs-calibration-attempt-20261203T195135Z-6608c43f/microcosm_uk_2024_25.h5"
},
{
"@id": "arrangement/1/location/model_wheel",
Expand All @@ -75,21 +75,21 @@
"@type": "trov:ResearchArtifact",
"schema:name": "policyengine.py bundle manifest for uk",
"trov:mimeType": "application/json",
"trov:sha256": "feb25777578655157f7ec4837368dcc359e3381e4187415df839afcbe304c7eb"
"trov:sha256": "f7e4e54edfab08170fb61de5024af4ade0af91b7e7098fa0e176765db9dda276"
},
{
"@id": "composition/1/artifact/data_release_manifest",
"@type": "trov:ResearchArtifact",
"schema:name": "microcosm-data release manifest 0.1.0",
"trov:mimeType": "application/json",
"trov:sha256": "b856e61ab91e54e231d4181249e6f59b1b4e7b2c5f793c79e7a5a74bf935a21e"
"trov:sha256": "2492703427338815fd35ca58ae595e13fe3978cbc6edd5910c549b6615bd6e45"
},
{
"@id": "composition/1/artifact/dataset",
"@type": "trov:ResearchArtifact",
"schema:name": "microcosm_uk_2024_25",
"trov:mimeType": "application/x-hdf5",
"trov:sha256": "ae116bc3cff798fe68df253083f0b26d779e02a0a818ee68df7d29fbc557165a"
"trov:sha256": "96b1c955105721d3db75b0796bb441bfe39bfd9fe52cca295fb7e0ec033581a7"
},
{
"@id": "composition/1/artifact/model_wheel",
Expand All @@ -102,7 +102,7 @@
"trov:hasFingerprint": {
"@id": "composition/1/fingerprint",
"@type": "trov:CompositionFingerprint",
"trov:sha256": "cb948a2bde3b19ef8b62074755efa7dc2d106022f84fc73acb3492e5b385eafa"
"trov:sha256": "ae270d44a3320dcbaa33d5ab1e8f7d253af29e06463efb2ebfd137d49e332db7"
}
},
"trov:hasPerformance": {
Expand All @@ -113,13 +113,13 @@
"pe:certifiedForModelVersion": "2.179.2",
"pe:compatibilityBasis": "built_with_model_package",
"pe:coreBinding": "bundle_pin",
"pe:dataBuildId": "uk-frs-calibration-attempt-20261122T100732Z-b891aa69",
"pe:dataBuildId": "uk-frs-calibration-attempt-20261203T195135Z-6608c43f",
"pe:emittedIn": "repository-bundle",
"rdfs:comment": "Certification of build uk-frs-calibration-attempt-20261122T100732Z-b891aa69 for policyengine-uk 2.179.2.",
"rdfs:comment": "Certification of build uk-frs-calibration-attempt-20261203T195135Z-6608c43f for policyengine-uk 2.179.2.",
"trov:accessedArrangement": {
"@id": "arrangement/1"
},
"trov:startedAtTime": "2026-11-22T17:14:41.779575+00:00",
"trov:startedAtTime": "2026-12-03T23:01:54.263670+00:00",
"trov:wasConductedBy": {
"@id": "trs"
}
Expand Down
4 changes: 2 additions & 2 deletions src/policyengine/data/bundle/us.trace.tro.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@type": "trov:ResearchArtifact",
"schema:name": "policyengine.py bundle manifest for us",
"trov:mimeType": "application/json",
"trov:sha256": "feb25777578655157f7ec4837368dcc359e3381e4187415df839afcbe304c7eb"
"trov:sha256": "f7e4e54edfab08170fb61de5024af4ade0af91b7e7098fa0e176765db9dda276"
},
{
"@id": "composition/1/artifact/data_release_manifest",
Expand All @@ -101,7 +101,7 @@
"trov:hasFingerprint": {
"@id": "composition/1/fingerprint",
"@type": "trov:CompositionFingerprint",
"trov:sha256": "6516a1d0460fa4cdff7a4223468f817f11bd9c003f0c1eff219e7dc8c949f3ab"
"trov:sha256": "a7fa9f8fd1c4a8a8a680a6bb527e18b8b8e71188f3c202a51038cb1adc3215bd"
}
},
"trov:hasPerformance": {
Expand Down
4 changes: 2 additions & 2 deletions tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def test_has_release_manifest_metadata(self):
assert (
uk_latest.default_dataset_uri
== "hf://policyengine/populace-uk-private/releases/microcosm-uk-2024-25-national/"
"uk-frs-calibration-attempt-20261122T100732Z-b891aa69/microcosm_uk_2024_25.h5"
"@a80a4bf70ab4ffeac77357fe0633d3cee4ce7401"
"uk-frs-calibration-attempt-20261203T195135Z-6608c43f/microcosm_uk_2024_25.h5"
"@80834866d45da9965518c4dc5561a0dd523549d3"
)

def test_has_hundreds_of_parameters(self):
Expand Down
4 changes: 2 additions & 2 deletions tests/test_release_manifests.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
UK_MODEL_VERSION = "2.179.2"
UK_BUILT_WITH_MODEL_VERSION = "2.179.2"
UK_DATA_RELEASE_VERSION = "0.1.0"
UK_DATA_RELEASE_ID = "uk-frs-calibration-attempt-20261122T100732Z-b891aa69"
UK_DATA_RELEASE_REVISION = "a80a4bf70ab4ffeac77357fe0633d3cee4ce7401"
UK_DATA_RELEASE_ID = "uk-frs-calibration-attempt-20261203T195135Z-6608c43f"
UK_DATA_RELEASE_REVISION = "80834866d45da9965518c4dc5561a0dd523549d3"
UK_DATA_RELEASE_PATH = (
f"releases/microcosm-uk-2024-25-national/{UK_DATA_RELEASE_ID}/release_manifest.json"
)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_uk_regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
# release its constituency and local-authority regions are routed to.
UK_CERTIFIED_NATIONAL_URI = (
"hf://policyengine/populace-uk-private/releases/microcosm-uk-2024-25-national/"
"uk-frs-calibration-attempt-20261122T100732Z-b891aa69/microcosm_uk_2024_25.h5"
"@a80a4bf70ab4ffeac77357fe0633d3cee4ce7401"
"uk-frs-calibration-attempt-20261203T195135Z-6608c43f/microcosm_uk_2024_25.h5"
"@80834866d45da9965518c4dc5561a0dd523549d3"
)
UK_CERTIFIED_LOCAL_AREA_URI = (
"hf://policyengine/populace-uk-private/releases/microcosm-uk-2024-25-dense/"
Expand Down
Loading