Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Restore ACS-local US regions on the microcosm#1263 rebuild

Đã đóng
#648 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #649 của @MaxGhenis — đã merge

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data, testing

Hướng nghiên cứu

Read #604, #599, and the linked microcosm rebuild (#1263), then inspect the certification test and docs, the data-certification skill, the Build M runbook, and legacy_spm/registry.py. Wait for the rebuilt release to be published; certify it with --regional-manifest-uri and check state/UT 2026 and a congressional district through the public wrapper alongside national-file figures. Done when the exception is removed, the registry uses the specified scope rule, and the evidence confirms the regional results.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

policyengine.py#604 (issue #603) pointed US state and congressional-district regions at the certified national dataset as a temporary revert. The ACS-local release then certified, populace-us-2024-buildo-acs-local-767312d60-20260923T074941Z, left SPM units without a classified adult, and canonical SPM refused every state-region run (PolicyEngine/microcosm#1263, PolicyEngine/policyengine-sim-api#747).

PolicyEngine/microcosm#1263 is rebuilding the ACS-local release:

  • every person carries a source-backed is_spm_independent_minor_role;
  • a package-stage release gate fails the build on any measured SPM unit without a classified adult;
  • the 1,946 one-person group-quarters records of children under 15, which no role can classify, are left out of the population until the model reads SPM scope natively (policyengine-us#9462).

To do here, once the rebuilt release is published:

  • certify it with --regional-manifest-uri, so state and district regions select populace_us_2024_acs_local.h5 again;
  • end the interim exception: #604's test and doc edits, and the exception sections of the data-certification skill and the Build M runbook;
  • register the rebuild in legacy_spm/registry.py with the acs_household_population scope rule and no independence list. The source stores the role but cannot store spm_unit_spm_universe_status, which policyengine-us 2.2.1 does not define. This keeps state SPM measured on Census's ACS household population, as #599 does for Build O;
  • show evidence: state/UT 2026 and a congressional district through the public wrapper, beside the national-file figures.
Ngôn ngữ chính
Python
Star
8
Fork
10
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
50

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PolicyEngine/policyengine.py

Tất cả issue của PolicyEngine/policyengine.py

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.