From c39b9d0bd6032ec01791ab07c32774f9c7b66aaf Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 26 Jun 2026 15:30:15 -0400 Subject: [PATCH 1/2] Certify latest US Populace bundle --- ...capgains-b2500-20260626T122636Z.changed.md | 1 + pyproject.toml | 14 ++-- src/policyengine/data/bundle/manifest.json | 72 ++++++++----------- .../data/bundle/uk.trace.tro.jsonld | 9 +-- .../data/bundle/us.trace.tro.jsonld | 35 +++++---- tests/test_models.py | 5 +- tests/test_release_manifests.py | 8 ++- tests/test_us_regions.py | 3 +- uv.lock | 34 +++++---- 9 files changed, 88 insertions(+), 93 deletions(-) create mode 100644 changelog.d/certify-us-populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z.changed.md diff --git a/changelog.d/certify-us-populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z.changed.md b/changelog.d/certify-us-populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z.changed.md new file mode 100644 index 00000000..1674cb21 --- /dev/null +++ b/changelog.d/certify-us-populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z.changed.md @@ -0,0 +1 @@ +Certify the US populace data release `populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z` into the PolicyEngine bundle manifest and pin US runtime dependencies to `policyengine-us==1.745.0` and `policyengine-core==3.28.0`. diff --git a/pyproject.toml b/pyproject.toml index f5b178fb..b8f82a09 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,17 +44,17 @@ graph = [ "networkx>=3.0", ] models = [ - "policyengine-core==3.27.1", - "policyengine-us==1.729.0", + "policyengine-core==3.28.0", + "policyengine-us==1.745.0", "policyengine-uk==2.89.2", ] uk = [ - "policyengine-core==3.27.1", + "policyengine-core==3.28.0", "policyengine-uk==2.89.2", ] us = [ - "policyengine-core==3.27.1", - "policyengine-us==1.729.0", + "policyengine-core==3.28.0", + "policyengine-us==1.745.0", ] dev = [ "pytest", @@ -70,8 +70,8 @@ dev = [ "towncrier>=24.8.0", "mypy>=1.11.0", "pytest-cov>=5.0.0", - "policyengine-core==3.27.1", - "policyengine-us==1.729.0", + "policyengine-core==3.28.0", + "policyengine-us==1.745.0", "policyengine-uk==2.89.2", ] diff --git a/src/policyengine/data/bundle/manifest.json b/src/policyengine/data/bundle/manifest.json index bf0a3958..f7fc076d 100644 --- a/src/policyengine/data/bundle/manifest.json +++ b/src/policyengine/data/bundle/manifest.json @@ -97,30 +97,30 @@ "version": "populace-uk-2023-dd68c73-4aa4b14-20260619T023711Z" }, "us": { - "build_id": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", + "build_id": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z", "bundle_id": "us-4.18.3", "certification": { - "built_with_model_version": "1.729.0", + "built_with_model_version": "1.745.0", "certified_by": "policyengine.py bundle certification", - "certified_for_model_version": "1.729.0", + "certified_for_model_version": "1.745.0", "compatibility_basis": "built_with_model_package", - "data_build_id": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z" + "data_build_id": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z" }, "certified_data_artifact": { - "build_id": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", + "build_id": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z", "data_package": { "name": "populace-data", "version": "0.1.0" }, "dataset": "populace_us_2024", - "sha256": "16be6338f9d0b3c339883dae59949e995663b64cf145de6728b3dd0f916c5d5f", - "uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-f0af251-703bd81a565c-20260620T201958Z" + "sha256": "ff9df33c820bc9014ed6028f7e2a2cd91ce9315eb1c35f9412769d7bdcadb334", + "uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z" }, "country_id": "us", "data_package": { "name": "populace-data", - "release_manifest_path": "releases/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/release_manifest.json", - "release_manifest_revision": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", + "release_manifest_path": "releases/populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/release_manifest.json", + "release_manifest_revision": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z", "repo_id": "policyengine/populace-us", "repo_type": "dataset", "version": "0.1.0" @@ -128,34 +128,22 @@ "data_producer": "populace", "datasets": { "calibration_diagnostics": { - "path": "releases/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/calibration_diagnostics.json", + "path": "releases/populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/calibration_diagnostics.json", "repo_id": "policyengine/populace-us", - "revision": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", - "sha256": "448a3c7ff0bda996332764d3c0a831f0e1df05a0eaaff8c2b3d65a40d9383c13" - }, - "demographics": { - "path": "releases/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/demographics.json", - "repo_id": "policyengine/populace-us", - "revision": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", - "sha256": "eea9b24a198ff654390cf8a14c2dc12eb5b9894d203d0fd9674747bbe3ab7815" + "revision": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z", + "sha256": "332dc2f88de65f4c93a3a66b9a5ca6e6900135b9899fceef120c20127e6c256a" }, "populace_us_2024": { "path": "populace_us_2024.h5", "repo_id": "policyengine/populace-us", - "revision": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", - "sha256": "16be6338f9d0b3c339883dae59949e995663b64cf145de6728b3dd0f916c5d5f" + "revision": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z", + "sha256": "ff9df33c820bc9014ed6028f7e2a2cd91ce9315eb1c35f9412769d7bdcadb334" }, "populace_us_2024_calibration": { "path": "populace_us_2024_calibration.npz", "repo_id": "policyengine/populace-us", - "revision": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", - "sha256": "bf79d64a5e18a028ecd1236f393b72fea26b32411b2e41c0a0e68e48e556adbb" - }, - "reform_validation": { - "path": "releases/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/reform_validation.json", - "repo_id": "policyengine/populace-us", - "revision": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", - "sha256": "c577e0b1419f9c12de0cad7a4b3bf32507e718f5ea9d79bc3a32d0c48160cc89" + "revision": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z", + "sha256": "6d4f5662c54b4b0e26becbae6f6e63336237105e7e3c82d4e1d635aa60cf67a3" }, "states/AK": { "path": "states/AK.h5", @@ -464,19 +452,19 @@ "sha256": "731d83ae37863ff994df2f953740ddb10b36910f43af01b38d36ffb55a88d4b5" }, "us_source_coverage": { - "path": "releases/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/us_source_coverage.json", + "path": "releases/populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/us_source_coverage.json", "repo_id": "policyengine/populace-us", - "revision": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", - "sha256": "c3e0c388be2f53ca03b59dddc110db28bc4b0acaa21e2eb86003c735e4f47d8e" + "revision": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z", + "sha256": "af4c465a1a5982a10d8d5404e3917b11e190b35a1da3336e606db6ee1a1740fe" } }, "default_dataset": "populace_us_2024", - "default_dataset_uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", + "default_dataset_uri": "hf://policyengine/populace-us/populace_us_2024.h5@populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z", "model_package": { "name": "policyengine-us", - "sha256": "8d21d3f7c0e82a9415edffe8ea53939330a63d9c8f6bd334299bddb697cf2c00", - "version": "1.729.0", - "wheel_url": "https://files.pythonhosted.org/packages/b9/7d/778f92ae94997b00c3c9ac34b345f6c9333435f905670ee4eeb2f5e19809/policyengine_us-1.729.0-py3-none-any.whl" + "sha256": "2af30b694b681adca7c2e2bd695bbeb41c03769d9ae908f82f671f8502ce32d9", + "version": "1.745.0", + "wheel_url": "https://files.pythonhosted.org/packages/49/36/ef50de1108cd0e0b89a7820ac3262bda7701d5ac6d998c27e570e63b7b82/policyengine_us-1.745.0-py3-none-any.whl" }, "policyengine_version": "4.18.3", "region_datasets": { @@ -489,10 +477,10 @@ }, "regional_release_manifest_uri": "https://huggingface.co/policyengine/policyengine-us-data/resolve/1.115.5/releases/1.115.5/release_manifest.json", "regional_source_manifest_uri": "hf://model/policyengine/policyengine-us-data@1.115.5/releases/1.115.5/release_manifest.json", - "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/releases/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/release_manifest.json", + "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/releases/populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/release_manifest.json", "schema_version": 1, - "source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/releases/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/release_manifest.json", - "version": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z" + "source_manifest_uri": "hf://dataset/policyengine/populace-us@populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/releases/populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/release_manifest.json", + "version": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z" } }, "extras": { @@ -520,10 +508,10 @@ }, "policyengine-core": { "import_name": "policyengine_core", - "install_requirement": "policyengine-core==3.27.1", + "install_requirement": "policyengine-core==3.28.0", "name": "policyengine-core", "role": "runtime_dependency", - "version": "3.27.1" + "version": "3.28.0" }, "policyengine-uk": { "country": "uk", @@ -536,10 +524,10 @@ "policyengine-us": { "country": "us", "import_name": "policyengine_us", - "install_requirement": "policyengine-us==1.729.0", + "install_requirement": "policyengine-us==1.745.0", "name": "policyengine-us", "role": "country_model", - "version": "1.729.0" + "version": "1.745.0" } }, "policyengine_version": "4.18.3", diff --git a/src/policyengine/data/bundle/uk.trace.tro.jsonld b/src/policyengine/data/bundle/uk.trace.tro.jsonld index 44b72034..af63644e 100644 --- a/src/policyengine/data/bundle/uk.trace.tro.jsonld +++ b/src/policyengine/data/bundle/uk.trace.tro.jsonld @@ -75,7 +75,7 @@ "@type": "trov:ResearchArtifact", "schema:name": "policyengine.py bundle manifest for uk", "trov:mimeType": "application/json", - "trov:sha256": "20485054c9c1ff4cc273fe334c959c9eec9a387fcab9211c5265e3783bef13e7" + "trov:sha256": "c67502a8d156d0ad29b8a8a3046c24cd6004242891fd0c17dee0d7f36c156dae" }, { "@id": "composition/1/artifact/data_release_manifest", @@ -102,7 +102,7 @@ "trov:hasFingerprint": { "@id": "composition/1/fingerprint", "@type": "trov:CompositionFingerprint", - "trov:sha256": "c20ccb2a12e9815e0bafc37a1ad0208890405ed5a0315745b5fe6c6a89a83d98" + "trov:sha256": "dcdfb1ee378e74512fb00e3f41ea7061425f9a014cfda24518a4c6559234a6e2" } }, "trov:hasPerformance": { @@ -111,12 +111,9 @@ "pe:builtWithModelVersion": "2.89.2", "pe:certifiedBy": "policyengine.py bundle certification", "pe:certifiedForModelVersion": "2.89.2", - "pe:ciGitRef": "refs/heads/main", - "pe:ciGitSha": "0a8f38b2b71796001b29e2782007c58bebe2087b", - "pe:ciRunUrl": "https://github.com/PolicyEngine/policyengine.py/actions/runs/28192468047", "pe:compatibilityBasis": "built_with_model_package", "pe:dataBuildId": "populace-uk-2023-dd68c73-4aa4b14-20260619T023711Z", - "pe:emittedIn": "github-actions", + "pe:emittedIn": "local", "rdfs:comment": "Certification of build populace-uk-2023-dd68c73-4aa4b14-20260619T023711Z for policyengine-uk 2.89.2.", "trov:accessedArrangement": { "@id": "arrangement/1" diff --git a/src/policyengine/data/bundle/us.trace.tro.jsonld b/src/policyengine/data/bundle/us.trace.tro.jsonld index 76974519..8219e9fa 100644 --- a/src/policyengine/data/bundle/us.trace.tro.jsonld +++ b/src/policyengine/data/bundle/us.trace.tro.jsonld @@ -17,7 +17,7 @@ "schema:name": "PolicyEngine", "schema:url": "https://policyengine.org" }, - "schema:dateCreated": "2026-06-20T20:33:09.794848+00:00", + "schema:dateCreated": "2026-06-26T12:26:36+00:00", "schema:description": "TRACE TRO for certified runtime bundle us-4.18.3 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": { @@ -45,7 +45,7 @@ "trov:hasArtifact": { "@id": "composition/1/artifact/data_release_manifest" }, - "trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/releases/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/release_manifest.json" + "trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/releases/populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/release_manifest.json" }, { "@id": "arrangement/1/location/dataset", @@ -53,7 +53,7 @@ "trov:hasArtifact": { "@id": "composition/1/artifact/dataset" }, - "trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-f0af251-703bd81a565c-20260620T201958Z/populace_us_2024.h5" + "trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-us/resolve/populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z/populace_us_2024.h5" }, { "@id": "arrangement/1/location/model_wheel", @@ -61,7 +61,7 @@ "trov:hasArtifact": { "@id": "composition/1/artifact/model_wheel" }, - "trov:hasLocation": "https://files.pythonhosted.org/packages/b9/7d/778f92ae94997b00c3c9ac34b345f6c9333435f905670ee4eeb2f5e19809/policyengine_us-1.729.0-py3-none-any.whl" + "trov:hasLocation": "https://files.pythonhosted.org/packages/49/36/ef50de1108cd0e0b89a7820ac3262bda7701d5ac6d998c27e570e63b7b82/policyengine_us-1.745.0-py3-none-any.whl" } ] } @@ -75,53 +75,50 @@ "@type": "trov:ResearchArtifact", "schema:name": "policyengine.py bundle manifest for us", "trov:mimeType": "application/json", - "trov:sha256": "20485054c9c1ff4cc273fe334c959c9eec9a387fcab9211c5265e3783bef13e7" + "trov:sha256": "c67502a8d156d0ad29b8a8a3046c24cd6004242891fd0c17dee0d7f36c156dae" }, { "@id": "composition/1/artifact/data_release_manifest", "@type": "trov:ResearchArtifact", "schema:name": "populace-data release manifest 0.1.0", "trov:mimeType": "application/json", - "trov:sha256": "917655e713397ad18e52e0893ffeb1975c609616c15c2b08f9e989e7bad2a2d9" + "trov:sha256": "c445118fdce40cbe5137957d18509c420b9e2146417a50371c461b20679f8b3f" }, { "@id": "composition/1/artifact/dataset", "@type": "trov:ResearchArtifact", "schema:name": "populace_us_2024", "trov:mimeType": "application/x-hdf5", - "trov:sha256": "16be6338f9d0b3c339883dae59949e995663b64cf145de6728b3dd0f916c5d5f" + "trov:sha256": "ff9df33c820bc9014ed6028f7e2a2cd91ce9315eb1c35f9412769d7bdcadb334" }, { "@id": "composition/1/artifact/model_wheel", "@type": "trov:ResearchArtifact", - "schema:name": "policyengine-us==1.729.0 wheel", + "schema:name": "policyengine-us==1.745.0 wheel", "trov:mimeType": "application/zip", - "trov:sha256": "8d21d3f7c0e82a9415edffe8ea53939330a63d9c8f6bd334299bddb697cf2c00" + "trov:sha256": "2af30b694b681adca7c2e2bd695bbeb41c03769d9ae908f82f671f8502ce32d9" } ], "trov:hasFingerprint": { "@id": "composition/1/fingerprint", "@type": "trov:CompositionFingerprint", - "trov:sha256": "a1905dcb48a5627def8d6757da48236e8c58e62f8ccafa3933641118cac4647b" + "trov:sha256": "b41172e0ad471f294e07b385c67ffe42db2da96f98e9152c1ade238872a1aed6" } }, "trov:hasPerformance": { "@id": "trp/1", "@type": "trov:TransparentResearchPerformance", - "pe:builtWithModelVersion": "1.729.0", + "pe:builtWithModelVersion": "1.745.0", "pe:certifiedBy": "policyengine.py bundle certification", - "pe:certifiedForModelVersion": "1.729.0", - "pe:ciGitRef": "refs/heads/main", - "pe:ciGitSha": "0a8f38b2b71796001b29e2782007c58bebe2087b", - "pe:ciRunUrl": "https://github.com/PolicyEngine/policyengine.py/actions/runs/28192468047", + "pe:certifiedForModelVersion": "1.745.0", "pe:compatibilityBasis": "built_with_model_package", - "pe:dataBuildId": "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z", - "pe:emittedIn": "github-actions", - "rdfs:comment": "Certification of build populace-us-2024-f0af251-703bd81a565c-20260620T201958Z for policyengine-us 1.729.0.", + "pe:dataBuildId": "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z", + "pe:emittedIn": "local", + "rdfs:comment": "Certification of build populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z for policyengine-us 1.745.0.", "trov:accessedArrangement": { "@id": "arrangement/1" }, - "trov:startedAtTime": "2026-06-20T20:33:09.794848+00:00", + "trov:startedAtTime": "2026-06-26T12:26:36+00:00", "trov:wasConductedBy": { "@id": "trs" } diff --git a/tests/test_models.py b/tests/test_models.py index 244c9841..9c858edf 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -114,13 +114,14 @@ def test_has_release_manifest_metadata(self): assert us_latest.release_manifest is not None assert us_latest.release_manifest.country_id == "us" assert us_latest.model_package.name == "policyengine-us" - assert us_latest.model_package.version == "1.729.0" + assert us_latest.model_package.version == "1.745.0" assert us_latest.data_package.name == "populace-data" assert us_latest.data_package.version == "0.1.0" assert ( us_latest.default_dataset_uri == "hf://policyengine/populace-us/populace_us_2024.h5" - "@populace-us-2024-f0af251-703bd81a565c-20260620T201958Z" + "@populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-" + "20260626T122636Z" ) def test_has_hundreds_of_parameters(self): diff --git a/tests/test_release_manifests.py b/tests/test_release_manifests.py index 33536fb4..67c3564f 100644 --- a/tests/test_release_manifests.py +++ b/tests/test_release_manifests.py @@ -36,10 +36,12 @@ PYPROJECT.read_text(), re.MULTILINE, ).group(1) -US_MODEL_VERSION = "1.729.0" -US_BUILT_WITH_MODEL_VERSION = "1.729.0" +US_MODEL_VERSION = "1.745.0" +US_BUILT_WITH_MODEL_VERSION = "1.745.0" US_DATA_RELEASE_VERSION = "0.1.0" -US_DATA_RELEASE_ID = "populace-us-2024-f0af251-703bd81a565c-20260620T201958Z" +US_DATA_RELEASE_ID = ( + "populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-20260626T122636Z" +) US_DATA_RELEASE_REVISION = US_DATA_RELEASE_ID US_DATA_RELEASE_PATH = f"releases/{US_DATA_RELEASE_ID}/release_manifest.json" US_DATA_ARTIFACT_REVISION = US_DATA_RELEASE_ID diff --git a/tests/test_us_regions.py b/tests/test_us_regions.py index d4022341..15995ee0 100644 --- a/tests/test_us_regions.py +++ b/tests/test_us_regions.py @@ -107,7 +107,8 @@ def test__given_us_registry__then_has_national_region(self): assert national.region_type == "national" assert national.dataset_path == ( "hf://policyengine/populace-us/populace_us_2024.h5" - "@populace-us-2024-f0af251-703bd81a565c-20260620T201958Z" + "@populace-us-2024-formula-owned-fix-a56aefd-capgains-b2500-" + "20260626T122636Z" ) def test__given_us_registry__then_has_51_states(self): diff --git a/uv.lock b/uv.lock index 1560c7aa..d29adb7d 100644 --- a/uv.lock +++ b/uv.lock @@ -2820,7 +2820,7 @@ wheels = [ [[package]] name = "policyengine" -version = "4.17.9" +version = "4.18.3" source = { editable = "." } dependencies = [ { name = "diskcache" }, @@ -2862,6 +2862,11 @@ graph = [ { name = "networkx", version = "3.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, { name = "networkx", version = "3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, ] +models = [ + { name = "policyengine-core" }, + { name = "policyengine-uk" }, + { name = "policyengine-us" }, +] plotting = [ { name = "plotly" }, ] @@ -2892,13 +2897,16 @@ requires-dist = [ { name = "pandas", specifier = ">=2.0.0" }, { name = "plotly", marker = "extra == 'dev'", specifier = ">=5.0.0" }, { name = "plotly", marker = "extra == 'plotting'", specifier = ">=5.0.0" }, - { name = "policyengine-core", marker = "extra == 'dev'", specifier = ">=3.27.1" }, - { name = "policyengine-core", marker = "extra == 'uk'", specifier = ">=3.27.1" }, - { name = "policyengine-core", marker = "extra == 'us'", specifier = ">=3.27.1" }, + { name = "policyengine-core", marker = "extra == 'dev'", specifier = "==3.28.0" }, + { name = "policyengine-core", marker = "extra == 'models'", specifier = "==3.28.0" }, + { name = "policyengine-core", marker = "extra == 'uk'", specifier = "==3.28.0" }, + { name = "policyengine-core", marker = "extra == 'us'", specifier = "==3.28.0" }, { name = "policyengine-uk", marker = "extra == 'dev'", specifier = "==2.89.2" }, + { name = "policyengine-uk", marker = "extra == 'models'", specifier = "==2.89.2" }, { name = "policyengine-uk", marker = "extra == 'uk'", specifier = "==2.89.2" }, - { name = "policyengine-us", marker = "extra == 'dev'", specifier = "==1.729.0" }, - { name = "policyengine-us", marker = "extra == 'us'", specifier = "==1.729.0" }, + { name = "policyengine-us", marker = "extra == 'dev'", specifier = "==1.745.0" }, + { name = "policyengine-us", marker = "extra == 'models'", specifier = "==1.745.0" }, + { name = "policyengine-us", marker = "extra == 'us'", specifier = "==1.745.0" }, { name = "psutil", specifier = ">=5.9.0" }, { name = "pydantic", specifier = ">=2.0.0" }, { name = "pytest", marker = "extra == 'dev'" }, @@ -2909,11 +2917,11 @@ requires-dist = [ { name = "towncrier", marker = "extra == 'dev'", specifier = ">=24.8.0" }, { name = "yaml-changelog", marker = "extra == 'dev'", specifier = ">=0.1.7" }, ] -provides-extras = ["plotting", "graph", "uk", "us", "dev"] +provides-extras = ["plotting", "graph", "models", "uk", "us", "dev"] [[package]] name = "policyengine-core" -version = "3.27.1" +version = "3.28.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "dpath" }, @@ -2937,9 +2945,9 @@ dependencies = [ { name = "standard-imghdr" }, { name = "wheel" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/15/28/cbc23d0c61d431cbfdbaea3f7a71b2230187ab2e57f1430a551598b39515/policyengine_core-3.27.1.tar.gz", hash = "sha256:21471e3f6e95b8d5c00babcb5a5d363fdc1cd4b02c338e5eb4c9da18e08b6a10", size = 484853, upload-time = "2026-06-11T18:18:36.753Z" } +sdist = { url = "https://files.pythonhosted.org/packages/69/bf/d870af03abe76a64249fe9e95d7561c99c0484af1d3f3ae3773caa1c57d8/policyengine_core-3.28.0.tar.gz", hash = "sha256:3ae894577d8c40cb6c6d0f7d1df8ccdce2ee46aecbe52de0604e0af7ed454ecb", size = 484615, upload-time = "2026-06-26T13:38:51.09Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/30/81/098994e62401e9ce0d799e3f01329ba4a8792599d17ae0ef67fff1ddd3ff/policyengine_core-3.27.1-py3-none-any.whl", hash = "sha256:dac7928b502baa56fd22956f089689faa4d7e04a21aab7f1f29b34961d684ef8", size = 238480, upload-time = "2026-06-11T18:18:35.203Z" }, + { url = "https://files.pythonhosted.org/packages/49/b6/efec8f49cc926cd8aa4f6767ae56d1d29e31fc42fc1efebed611cb8499c3/policyengine_core-3.28.0-py3-none-any.whl", hash = "sha256:069b83f76f636c138975ca85270500e47b81f191bc00da47090b237500eeabc0", size = 238479, upload-time = "2026-06-26T13:38:49.705Z" }, ] [[package]] @@ -2961,7 +2969,7 @@ wheels = [ [[package]] name = "policyengine-us" -version = "1.729.0" +version = "1.745.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "microdf-python" }, @@ -2973,9 +2981,9 @@ dependencies = [ { name = "tables", version = "3.11.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, { name = "tqdm" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/69/cb/b2efba2094a708cd71890d98d72b99394fabc5894a4cceec14381e03fa35/policyengine_us-1.729.0.tar.gz", hash = "sha256:ac05c4d621c7f848b0806effc14e913160d5d47d777eadced6bc18edf392d75c", size = 10373862, upload-time = "2026-06-14T18:05:25.747Z" } +sdist = { url = "https://files.pythonhosted.org/packages/3f/87/bb5e15d5e63208d6451393818f35a1824f8808e44d9a491ade601e59e20c/policyengine_us-1.745.0.tar.gz", hash = "sha256:7c93f8e7c46ef85fb50871f44bceed7da697400484fe79318db7b2d981c855c0", size = 10561674, upload-time = "2026-06-25T04:18:52.45Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b9/7d/778f92ae94997b00c3c9ac34b345f6c9333435f905670ee4eeb2f5e19809/policyengine_us-1.729.0-py3-none-any.whl", hash = "sha256:8d21d3f7c0e82a9415edffe8ea53939330a63d9c8f6bd334299bddb697cf2c00", size = 11905076, upload-time = "2026-06-14T18:05:21.806Z" }, + { url = "https://files.pythonhosted.org/packages/49/36/ef50de1108cd0e0b89a7820ac3262bda7701d5ac6d998c27e570e63b7b82/policyengine_us-1.745.0-py3-none-any.whl", hash = "sha256:2af30b694b681adca7c2e2bd695bbeb41c03769d9ae908f82f671f8502ce32d9", size = 12300884, upload-time = "2026-06-25T04:18:49.056Z" }, ] [[package]] From 37a38094cd282fbd60d17179e5eaecc928f0ca3c Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 26 Jun 2026 15:51:22 -0400 Subject: [PATCH 2/2] Update US model surface snapshot --- .../household_calculator_snapshots/us_model_surface.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fixtures/household_calculator_snapshots/us_model_surface.json b/tests/fixtures/household_calculator_snapshots/us_model_surface.json index 403c5d06..899efc73 100644 --- a/tests/fixtures/household_calculator_snapshots/us_model_surface.json +++ b/tests/fixtures/household_calculator_snapshots/us_model_surface.json @@ -5,7 +5,7 @@ "has_income_tax": true, "has_region_registry": true, "model_package_name": "policyengine-us", - "num_parameters_bucketed_100s": 917, - "num_variables_bucketed_100s": 54, + "num_parameters_bucketed_100s": 956, + "num_variables_bucketed_100s": 55, "region_registry_country": "us" }