Publish v2 catalog regions from the Public API's own region reference files
Maintainer thường phản hồi trong vòng 3 ngà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
- 38/100
Hướng nghiên cứu
Start by locating the v2 region publication code and the certified data release inputs that provide row filters and weight matrices; the issue does not name specific files or tests. Check how the current PolicyEngine.py region registry feeds /v2/regions, then trace how region reference files should select households. Done means publication uses repository-owned references, rejects unavailable selectors, and omits US places that cannot run.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What
The Public API should publish the regions of each v2 catalog version from region reference files it keeps in its own repository, one per country, instead of copying PolicyEngine.py's region registry.
Each file should list every region's code, label, type, parent and US state, the value that selects its households, and the v1 identifier it replaces (for example country/ni and constituency/Aldershot). Publication should then give each region its dataset and filter from the certified data release that PolicyEngine.py ships:
- US states and congressional districts, and UK nations: a row filter (a column and a value).
- UK constituencies and local authorities: the release's weight matrix and the region's row code in it.
It should refuse to publish a region the data cannot select, and leave out regions that cannot run yet (US places).
Why
- Today
/v2/regionslists only the regions PolicyEngine.py's registry exposes: 5 UK regions, and 333 US places that would calculate national figures if run as listed. - UK constituencies and local authorities are missing, and are known in v1 by name rather than by ONS code.
- The registry's region lists and filters change with each PolicyEngine.py release, and nothing checks them against the data.
With reference files owned by the Public API, the catalog lists all 1,015 UK regions by ONS code, uses "United States" and "United Kingdom" as the national labels, and fails loudly when a filter column or matrix row is missing.
- Ngôn ngữ chính
- Python
- Star
- 18
- Fork
- 33
- Merge trung bình
- 2 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 36
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-api
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
PolicyEngine/policyengine-api#3911 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
PolicyEngine/policyengine-api#3910 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Stop serving economy results cached with ×100 decile relative changesCó thể đã có người làm @anth-volk đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
PolicyEngine/policyengine-api#4025 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Store the metadata v3 reads in the v2 catalog, from PolicyEngine.py's public recordsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PolicyEngine/policyengine-api#4022 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Request UK constituency and local-authority impacts separately from the national economy resultCó thể đã có người làm @anth-volk đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
PolicyEngine/policyengine-api#4021 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của PolicyEngine/policyengine-api
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
sergey-miryanov/gcmon#230 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] Failed archive extraction deletes the dataset cacheCó thể đã có người làm @dajiaohuang đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
alibaba/GraphScope#4674 ·