Store every simulation result as rows in the simulation schema
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
- 15/100
Hướng nghiên cứu
Start from the SingleYearMacroOutput result model, which defines every section and field that needs a column, and from the region catalog that supplies constituency and local-authority names by code. The issue names no file paths, so locate the Simulation Entrypoint and the current JSON-per-run storage first. Done means a round-trip test on the fixed sample reproduces each result exactly and every model field maps to a column.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Simulation Entrypoint will record every run's result itself. Results should be stored once, as rows, so they can be queried and kept across model and data versions, rather than as one JSON value per run:
- one table per section of today's economy result model,
SingleYearMacroOutput: a simulation's own figures (poverty rates, inequality, cliff exposure) on its simulation run, as each comparison computed them, and the comparison (budget, programs, income and wealth deciles, labour supply, congressional districts, constituencies, local authorities) on the report run; - a computed household as one JSON value on its simulation run;
- links to each run's stored files, offered for 30 days while result rows stay for good;
- a writer that validates a result and writes its rows in the transaction that marks the run succeeded, and a reader that rebuilds today's result format exactly, taking constituency and local-authority names and map positions from the region catalog by code;
- tests: a round trip on a fixed sample (US national, state and congressional district; UK national, nation, constituency and local authority; a budget-window year; a household) reproduces each result exactly, and every field of the result model maps to a column.
No route writes results yet.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 1
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 71
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
-
Sim's table models still map the report columns API v1 dropsCó 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 78/100
PolicyEngine/policyengine-sim-api#1110 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Rename Populace to Microcosm in docstrings and test namesCó thể đã có người làm @MaxGhenis đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
PolicyEngine/policyengine-sim-api#1086 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.20.2Có thể đã có người làm @policyengine đã nhận 6 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 63/100
PolicyEngine/policyengine-sim-api#1083 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
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
Tất cả issue của PolicyEngine/policyengine-sim-api
Issue tương tự
-
Adopt size-ratchet v4.0.3Đang mởarea: ci enhancement perceived difficulty: 1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Nitjsefnie-Harness-Commons/daedalus#1826 ·
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
vllm-project/vllm-sail#398 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
DiamondLightSource/sm-bluesky#476 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Quick Installation step 2 installs from the plugin manager, but the plugin isn't published yetĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100