Bake per-state ACS-local year files into Stage 12 and record the dataset state runs load
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đá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
- 35/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
- backend, data-engineering
Hướng nghiên cứu
Read #878 and inspect Stage 12's precompute, cache manifest, image fetch, worker check, runtime lookup, and stage12_adapter.py, along with the shared simulation_runtime helpers. Trace which dataset each region type loads and how its provenance and revision reach run records; done means Stage 12 has per-state files, validates loaded dataset identity, preserves compatibility during rollout, and reports the loaded revision as data_version.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
#878 makes the main simulation path pre-build one ACS-local year file per state, so state and district requests stop preparing the 9.8 GB regional dataset on each new worker. Stage 12 has the same problem and needs its own copy of that change.
- Slow loading. Stage 12's US workers resolve state and district requests to
populace_us_2024_acs_localthrough the sharedsimulation_runtimehelpers. Each new worker downloads the full source and prepares the full-country year file. On 21 Oct, Utah'sdataset_loadtook 55 s on a reused worker and 250 s on a new one, and the workers reached about 51 GB of memory.
Stage 12 also records the wrong dataset for these runs:
- Wrong dataset recorded. The entry adapter (
stage12_adapter.py) records the national datasetpopulace_us_2024as the dataset identity, URI and population for every US request. State and district runs actually loadpopulace_us_2024_acs_local, so their comparison records name the wrong dataset. - Worker checks.
_require_installed_bundlerequires the default dataset, and nothing checks that the dataset recorded is the one loaded. - Wrong
data_versionon the main path. For state runs, the main path names the national release (populace-us-2024-spm-20260915) asdata_version, because nothing passes the loaded dataset's revision.
Change
- Stage 12 state files. Stage 12's precompute, cache manifest, image fetch, worker check and runtime lookup get their own copy of #878's per-state datasets. The two stacks stay separate.
- Published bundle. It records which dataset each region type loads. The v2 version manifest goes under a new key that only updated entry services read. The existing keys keep their shapes for entry services already running.
- Workers. They accept regional provenance and check that it names the dataset actually loaded. During the rollout, the default dataset stays accepted for state and district runs from entry services that haven't been updated.
- Entry adapter. It sends the regional dataset's provenance for state and district requests.
- Main path. State and district runs report the loaded dataset's revision as
data_version, so both paths report the same value.
Related: #878, #717.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 1
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 60
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PolicyEngine/policyengine-sim-api
-
Update policyengine to 6.7.3Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 70/100
PolicyEngine/policyengine-sim-api#823 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Integration tests fail due to missing UV virtual environment setupCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
PolicyEngine/policyengine-sim-api#314 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Staging deployments do not promote their tested Simulation Entrypoint revisionCó thể đã có người làm @anth-volk đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
PolicyEngine/policyengine-sim-api#893 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Daily dependency update fails: merging main into the update branch produces a uv.lock that uv cannot parseCó thể đã có người làm @anth-volk đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
PolicyEngine/policyengine-sim-api#889 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.10.0Có thể đã có người làm @policyengine đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
PolicyEngine/policyengine-sim-api#882 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PolicyEngine/policyengine-sim-api
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
volcengine/OpenViking#6445 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BUG:Edit Album strips spaces from the password so albums with a leading/trailing space in the password can't be editedCó thể đã có người làm @ManyaJain111 đã nhận hôm nay. Đang mởbug enhancement possible-duplicate
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
AOSSIE-Org/PictoPy#1637 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
deepspeedai/DeepSpeed#8884 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Flaky: test_advisor_live_calibrates_an_unmeasured_circuit ranks engines by a 1.8ms sleep marginĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
flagos-ai/FlagQuantum#718 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug CI-failure high priority
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
vllm-project/afd-plugin#483 ·
Maintainer thường phản hồi trong vòng 1 ngày