PolicyEngine / PolicyEngine/policyengine-app-v2

Remove place fallback to split state H5s once Populace supports place scoping

Open
#1,079 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1
Forks
3
Avg merge
1d 50m
Merged PRs (30d)
39

Description

State and congressional-district repro code can use national Populace scoping, but places still fall back to hf://policyengine/policyengine-us-data/states/{STATE}.h5 in app/src/utils/reproducibilityCode.ts.\n\nA direct switch to national Populace is not safe yet because the current Populace export does not include place_fips, and policyengine.py does not expose a place scoping strategy. Migration target:\n\n1. Add place geography support to the Populace H5, or decide places are metadata-only.\n2. Add policyengine.py place scoping if places should run on national Populace.\n3. Update app-v2 repro code and tests so no examples point at states/*.h5.

Contributor guide

Open the contributing guide

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.

Research direction

Start with app/src/utils/reproducibilityCode.ts and the current Populace H5 export, then inspect policyengine.py for existing geography scoping. Review the app-v2 repro tests; done means place geography and scoping are supported or explicitly treated as metadata, and no examples point at states/*.h5.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
backend, data, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.