Repository navigation
Conversation
This was referenced Oct 8, 2026
anth-volk
force-pushed
the
fix/restore-scotland-test-policyengine-6-2-3
branch
from
October 9, 2026 14:20
0745c13 to
ab9ff65
Compare
anth-volk
changed the base branch from
fix/temporarily-remove-scotland-live-test
to
master
October 9, 2026 14:20
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3876
Restore the Scotland population live test and its local request-contract coverage, and upgrade API v1 from
policyengine[models]==6.2.1to the published 6.2.3 release. Both the project and generic Dockerfile require 6.2.3, and the regenerated lockfile contains the real PyPI artifacts for frozen Cloud Run installs. No other dependency versions change.The temporary-removal PR #3875 has merged. This PR is rebased and targets
master; the diff restores both Scotland test cases. Their contents match the versions before the temporary removal: the population request must returnstatus == "ok"and a finite budgetary impact.Upstream fix: PolicyEngine/policyengine.py#565 (issue PolicyEngine/policyengine.py#564), released in 6.2.3. Scotland, Wales, and Northern Ireland select the stored household
regioncolumn. The release also includes 6.2.2's ACS-local default for US state and congressional-district simulations. Core 3.32.10, US 2.2.1, UK 2.102.3, and SPM calculator 1.0.0 remain unchanged.Deployment dependency: merge and deploy PolicyEngine/policyengine-sim-api#733 (issue PolicyEngine/policyengine-sim-api#732) first, then verify that staging and production simulation workers advertise 6.2.3. API v1's worker-support check must continue blocking this upgrade until that deployment is complete. Publishing the package or upgrading API v1 alone does not change the deployed worker. The previous missing-PyPI-version failure is resolved; the added
uv lock --checknow passes and continues to require a current lockfile before checking worker support.Validation with installed 6.2.3:
After the worker upgrade is deployed, the restored population test must pass against the API staging candidate before promotion. No merge or deployment is performed by this PR update.