Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Restore Scotland population live coverage with the fixed PolicyEngine bundle

Open
#3,876 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #3877 by @anth-volk — closed without merging

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
api, testing

Research direction

Start by reviewing the Scotland live test and local request-contract parametrization in the API project, plus its dependency declarations and lockfile; the issue does not give their file paths. Check dependency resolution for policyengine[models]==6.2.3 before the existing simulation-API support check, then follow the stated upstream release and worker qualification sequence. Done means the restored live test passes against the deployed staging candidate without skipping it or weakening its success assertions.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
18
Forks
33
Avg merge
1d 10h
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine-api

All issues in PolicyEngine/policyengine-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.