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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/update-uk-release-bundle-1-53-0.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated the bundled UK release contract to policyengine-uk 2.88.6 and policyengine-uk-data 1.53.0.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ graph = [
]
uk = [
"policyengine_core>=3.25.0",
"policyengine-uk==2.88.0",
"policyengine-uk==2.88.6",
]
us = [
"policyengine_core>=3.25.0",
Expand All @@ -60,7 +60,7 @@ dev = [
"pytest-asyncio>=0.26.0",
"ruff>=0.9.0",
"policyengine_core>=3.25.0",
"policyengine-uk==2.88.0",
"policyengine-uk==2.88.6",
"policyengine-us==1.687.0",
"towncrier>=24.8.0",
"mypy>=1.11.0",
Expand Down
22 changes: 12 additions & 10 deletions src/policyengine/data/release_manifests/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,31 @@
"policyengine_version": "4.3.1",
"model_package": {
"name": "policyengine-uk",
"version": "2.88.0",
"sha256": "46a3ba443b43ec810c5efaccd4645edb63c8dc90ef5acf9b0cdf5ace86b9334d",
"wheel_url": "https://files.pythonhosted.org/packages/23/7e/8a2a42eac1da63730a865964aa17e7fd4420ce4db4c80001c1b5ca6011e8/policyengine_uk-2.88.0-py3-none-any.whl"
"version": "2.88.6",
"sha256": "d89c86c4835629115d9c20005dc818462798ac1940616f788db37e2b87472e33",
"wheel_url": "https://files.pythonhosted.org/packages/b8/38/3cf1f123e0ea25f16e3e207d46ba7ca86e6c251e3171dd7d22b18723c9a5/policyengine_uk-2.88.6-py3-none-any.whl"
},
"data_package": {
"name": "policyengine-uk-data",
"version": "1.40.4",
"version": "1.53.0",
"repo_id": "policyengine/policyengine-uk-data-private"
},
"certified_data_artifact": {
"data_package": {
"name": "policyengine-uk-data",
"version": "1.40.4"
"version": "1.53.0"
},
"build_id": "policyengine-uk-data-1.40.4",
"build_id": "policyengine-uk-data-1.53.0",
"dataset": "enhanced_frs_2023_24",
"uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2023_24.h5@1.40.4"
"uri": "hf://policyengine/policyengine-uk-data-private/enhanced_frs_2023_24.h5@1.53.0",
"sha256": "032c343bf583235c0dd27143d9a0bb4d9ab1d39849424d9a9e3d68283611cc26"
},
"certification": {
"compatibility_basis": "exact_build_model_version",
"data_build_id": "policyengine-uk-data-1.40.4",
"built_with_model_version": "2.88.0",
"certified_for_model_version": "2.88.0",
"data_build_id": "policyengine-uk-data-1.53.0",
"built_with_model_version": "2.88.6",
"certified_for_model_version": "2.88.6",
"data_build_fingerprint": "sha256:535d2fd64f9e2b2aa9991e5a5d65be25bdd126f18858682533789f5c7e467782",
"certified_by": "policyengine.py bundled manifest"
},
"default_dataset": "enhanced_frs_2023_24",
Expand Down
135 changes: 135 additions & 0 deletions src/policyengine/data/release_manifests/uk.trace.tro.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"@context": [
{
"pe": "https://policyengine.org/trace/0.1#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"schema": "https://schema.org/",
"trov": "https://w3id.org/trace/trov/0.1#"
}
],
"@graph": [
{
"@id": "tro",
"@type": "trov:TransparentResearchObject",
"schema:creator": {
"@type": "schema:Organization",
"schema:name": "PolicyEngine",
"schema:url": "https://policyengine.org"
},
"schema:dateCreated": "2026-04-19T22:34:16.746038Z",
"schema:description": "TRACE TRO for certified runtime bundle uk-4.3.1 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": {
"@type": "schema:SoftwareApplication",
"schema:name": "policyengine",
"schema:softwareVersion": "4.3.1"
},
"trov:hasArrangement": [
{
"@id": "arrangement/1",
"@type": "trov:ArtifactArrangement",
"rdfs:comment": "Certified arrangement for bundle uk-4.3.1.",
"trov:hasArtifactLocation": [
{
"@id": "arrangement/1/location/bundle_manifest",
"@type": "trov:ArtifactLocation",
"trov:hasArtifact": {
"@id": "composition/1/artifact/bundle_manifest"
},
"trov:hasLocation": "data/release_manifests/uk.json"
},
{
"@id": "arrangement/1/location/data_release_manifest",
"@type": "trov:ArtifactLocation",
"trov:hasArtifact": {
"@id": "composition/1/artifact/data_release_manifest"
},
"trov:hasLocation": "https://huggingface.co/policyengine/policyengine-uk-data-private/resolve/1.53.0/release_manifest.json"
},
{
"@id": "arrangement/1/location/dataset",
"@type": "trov:ArtifactLocation",
"trov:hasArtifact": {
"@id": "composition/1/artifact/dataset"
},
"trov:hasLocation": "https://huggingface.co/policyengine/policyengine-uk-data-private/resolve/1.53.0/enhanced_frs_2023_24.h5"
},
{
"@id": "arrangement/1/location/model_wheel",
"@type": "trov:ArtifactLocation",
"trov:hasArtifact": {
"@id": "composition/1/artifact/model_wheel"
},
"trov:hasLocation": "https://files.pythonhosted.org/packages/b8/38/3cf1f123e0ea25f16e3e207d46ba7ca86e6c251e3171dd7d22b18723c9a5/policyengine_uk-2.88.6-py3-none-any.whl"
}
]
}
],
"trov:hasComposition": {
"@id": "composition/1",
"@type": "trov:ArtifactComposition",
"trov:hasArtifact": [
{
"@id": "composition/1/artifact/bundle_manifest",
"@type": "trov:ResearchArtifact",
"schema:name": "policyengine.py bundle manifest for uk",
"trov:mimeType": "application/json",
"trov:sha256": "32bca42530afc0776406891b644294c1fe818452c132646eeba4fe1568460f28"
},
{
"@id": "composition/1/artifact/data_release_manifest",
"@type": "trov:ResearchArtifact",
"schema:name": "policyengine-uk-data release manifest 1.53.0",
"trov:mimeType": "application/json",
"trov:sha256": "e3af62e134684d26bfca49fd2d7c9819d666b2a959ea78dab8789997b803d36d"
},
{
"@id": "composition/1/artifact/dataset",
"@type": "trov:ResearchArtifact",
"schema:name": "enhanced_frs_2023_24",
"trov:mimeType": "application/x-hdf5",
"trov:sha256": "032c343bf583235c0dd27143d9a0bb4d9ab1d39849424d9a9e3d68283611cc26"
},
{
"@id": "composition/1/artifact/model_wheel",
"@type": "trov:ResearchArtifact",
"schema:name": "policyengine-uk==2.88.6 wheel",
"trov:mimeType": "application/zip",
"trov:sha256": "d89c86c4835629115d9c20005dc818462798ac1940616f788db37e2b87472e33"
}
],
"trov:hasFingerprint": {
"@id": "composition/1/fingerprint",
"@type": "trov:CompositionFingerprint",
"trov:sha256": "e38af547b509c2844c0263140e798ba871db77b85bf30e47a2fe2ee2a6931660"
}
},
"trov:hasPerformance": {
"@id": "trp/1",
"@type": "trov:TransparentResearchPerformance",
"pe:builtWithModelVersion": "2.88.6",
"pe:certifiedBy": "policyengine.py bundled manifest",
"pe:certifiedForModelVersion": "2.88.6",
"pe:compatibilityBasis": "exact_build_model_version",
"pe:dataBuildFingerprint": "sha256:535d2fd64f9e2b2aa9991e5a5d65be25bdd126f18858682533789f5c7e467782",
"pe:dataBuildId": "policyengine-uk-data-1.53.0",
"pe:emittedIn": "local",
"rdfs:comment": "Certification of build policyengine-uk-data-1.53.0 for policyengine-uk 2.88.6.",
"trov:accessedArrangement": {
"@id": "arrangement/1"
},
"trov:startedAtTime": "2026-04-19T22:34:16.746038Z",
"trov:wasConductedBy": {
"@id": "trs"
}
},
"trov:wasAssembledBy": {
"@id": "trs",
"@type": "trov:TransparentResearchSystem",
"rdfs:comment": "PolicyEngine certification workflow that pins a country model version, a country data release, and a specific dataset artifact.",
"schema:name": "PolicyEngine release pipeline"
}
}
]
}
117 changes: 117 additions & 0 deletions src/policyengine/data/release_manifests/us.trace.tro.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"@context": [
{
"pe": "https://policyengine.org/trace/0.1#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"schema": "https://schema.org/",
"trov": "https://w3id.org/trace/trov/0.1#"
}
],
"@graph": [
{
"@id": "tro",
"@type": "trov:TransparentResearchObject",
"schema:creator": {
"@type": "schema:Organization",
"schema:name": "PolicyEngine",
"schema:url": "https://policyengine.org"
},
"schema:description": "TRACE TRO for certified runtime bundle us-4.3.1 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 us certified bundle TRO",
"trov:createdWith": {
"@type": "schema:SoftwareApplication",
"schema:name": "policyengine",
"schema:softwareVersion": "4.3.1"
},
"trov:hasArrangement": [
{
"@id": "arrangement/1",
"@type": "trov:ArtifactArrangement",
"rdfs:comment": "Certified arrangement for bundle us-4.3.1.",
"trov:hasArtifactLocation": [
{
"@id": "arrangement/1/location/bundle_manifest",
"@type": "trov:ArtifactLocation",
"trov:hasArtifact": {
"@id": "composition/1/artifact/bundle_manifest"
},
"trov:hasLocation": "data/release_manifests/us.json"
},
{
"@id": "arrangement/1/location/dataset",
"@type": "trov:ArtifactLocation",
"trov:hasArtifact": {
"@id": "composition/1/artifact/dataset"
},
"trov:hasLocation": "https://huggingface.co/policyengine/policyengine-us-data/resolve/1.78.2/enhanced_cps_2024.h5"
},
{
"@id": "arrangement/1/location/model_wheel",
"@type": "trov:ArtifactLocation",
"trov:hasArtifact": {
"@id": "composition/1/artifact/model_wheel"
},
"trov:hasLocation": "https://files.pythonhosted.org/packages/c3/36/5633f5a3996c915494154ec3852011b1a239ea06d9f08cb6287ab709618c/policyengine_us-1.687.0-py3-none-any.whl"
}
]
}
],
"trov:hasComposition": {
"@id": "composition/1",
"@type": "trov:ArtifactComposition",
"trov:hasArtifact": [
{
"@id": "composition/1/artifact/bundle_manifest",
"@type": "trov:ResearchArtifact",
"schema:name": "policyengine.py bundle manifest for us",
"trov:mimeType": "application/json",
"trov:sha256": "a763519f03ef1acceea3121461c533f8de5b39d8da9c3cc085f370c5daac5cc9"
},
{
"@id": "composition/1/artifact/dataset",
"@type": "trov:ResearchArtifact",
"schema:name": "enhanced_cps_2024",
"trov:sha256": "4e92b340c3ea3e200ed5d55edf752ee1a13baf787442956fb67d25242fed13b5"
},
{
"@id": "composition/1/artifact/model_wheel",
"@type": "trov:ResearchArtifact",
"schema:name": "policyengine-us==1.687.0 wheel",
"trov:mimeType": "application/zip",
"trov:sha256": "cac7da3aa9ba4bf57009eee75d798217bbef7e1c5ca17646d472fad715ab634f"
}
],
"trov:hasFingerprint": {
"@id": "composition/1/fingerprint",
"@type": "trov:CompositionFingerprint",
"trov:sha256": "21e32eb3586a13c7e7d2070b0b95452f2d4a630e7e32d5a7f5bcad49dfa86dd0"
}
},
"trov:hasPerformance": {
"@id": "trp/1",
"@type": "trov:TransparentResearchPerformance",
"pe:builtWithModelVersion": "1.647.0",
"pe:certifiedBy": "policyengine.py bundled manifest",
"pe:certifiedForModelVersion": "1.687.0",
"pe:compatibilityBasis": "matching_data_build_fingerprint",
"pe:dataBuildId": "policyengine-us-data-1.78.2",
"pe:dataReleaseManifestStatus": "unavailable",
"pe:emittedIn": "local",
"rdfs:comment": "Certification of build policyengine-us-data-1.78.2 for policyengine-us 1.687.0.",
"trov:accessedArrangement": {
"@id": "arrangement/1"
},
"trov:wasConductedBy": {
"@id": "trs"
}
},
"trov:wasAssembledBy": {
"@id": "trs",
"@type": "trov:TransparentResearchSystem",
"rdfs:comment": "PolicyEngine certification workflow that pins a country model version, a country data release, and a specific dataset artifact.",
"schema:name": "PolicyEngine release pipeline"
}
}
]
}
Loading
Loading