Skip to content

Restore Scotland population live coverage with the fixed PolicyEngine bundle #3876

Description

@anth-volk

Restore the Scotland population live test and its local request-contract parametrization removed by #3875, and upgrade API v1 to the published policyengine==6.2.3 release containing PolicyEngine/policyengine.py#565.

Implementation PR: #3877, rebased onto master after #3875 merged. The exact test cases are restored, both project and generic Dockerfile pin policyengine[models]==6.2.3, and the authentic PyPI lockfile is regenerated. uv lock --check now passes, including with the Cloud Run image's uv 0.12.1.

Local validation against installed 6.2.3: 266 focused tests pass on Python 3.12 and 3.14; configured mypy passes for 97 source files; 10 live tests collect, including Scotland population and household checks. Formatting, lint, workflow syntax, migration checks, changelog, and whitespace pass.

Remaining dependency: merge and deploy PolicyEngine/policyengine-sim-api#733 (tracking PolicyEngine/policyengine-sim-api#732), qualify the worker, and verify 6.2.3 in the simulation gateway's version response. API v1's worker-support check must remain blocking until that deployment is complete. Then pass API CI and the restored Scotland population test against the deployed staging candidate before promotion. Collection or local request-contract tests do not establish deployed simulation success.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions