Segment and cache Stage 12 US simulations
Maintainer thường phản hồi trong vòng 1 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
- 35/100
Hướng nghiên cứu
Start by locating the Stage 12 worker coordination path and the existing API v1 runner behavior that defines 20-part execution, then identify the dataset, baseline-cache, deployment-validation, and worker-manifest entry points. Verify the workflow with unit tests for segmentation, caching, coordination, validation, error preservation, and cancellation. Done means independent concurrent baseline and reform execution, 40 segment calls, validated cache artifacts, stable policy errors, consistent failure states, and deployment documentation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Stage 12 US reports currently execute each baseline and reform simulation as one calculation. They do not have the 20-part execution and precomputed baseline data used by the API v1 runner. The current coordination path also needs to preserve policy-validation details and stop observing the other simulation normally after either baseline or reform fails.
Scope
- Implement deterministic 20-part US simulation execution within Stage 12 without importing or calling API v1 runner code.
- Keep baseline and reform execution separate, producing 40 segment function calls for a complete report.
- Precompute, version, store, validate, and load the Stage 12 dataset and baseline cache artifacts.
- Include cache identity and validation results in the Stage 12 worker manifest.
- Observe baseline and reform concurrently.
- When either simulation fails, cancel the other simulation, preserve its failure details, and persist consistent report and simulation states.
- Reject malformed policy effective periods with a stable error code and detailed message.
- Document the deployment, cache, execution, and failure-handling behavior.
- Add unit tests for segmentation, cache construction and loading, deployment validation, coordination, error preservation, and cancellation.
Acceptance criteria
- A successful segmented US report produces two simulation calls and 40 segment calls.
- Baseline and reform calculations run concurrently and remain separate through aggregation.
- A failed simulation causes the report to fail and the other simulation to be cancelled or recorded as incomplete.
- Validation errors retain their structured error code and useful summary at the simulation and report levels.
- Worker deployment rejects missing, mismatched, or inaccessible cache artifacts.
- The implementation remains independent of API v1 runner modules.
- Unit tests and deployment documentation cover the complete workflow.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 1
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 24
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
-
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
-
Update policyengine to 6.2.7Có thể đã có người làm @policyengine đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
PolicyEngine/policyengine-sim-api#745 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Expose the certified dataset SHA-256 and gate production on the served identityCó thể đã có người làm @MaxGhenis đã 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 48/100
PolicyEngine/policyengine-sim-api#742 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.2.6Có thể đã có người làm @policyengine đã nhận 2 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 12/100
PolicyEngine/policyengine-sim-api#738 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.2.4Có thể đã có người làm @policyengine đã nhận 3 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 15/100
PolicyEngine/policyengine-sim-api#736 ·
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 68/100
KalicoCrew/kalico#1012 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
esphome/esphome.io#7657 ·
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 62/100
VNG-Realisatie/gemma-zaken#2658 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
comp/gateway comp/plugins duplicate P3 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NousResearch/hermes-agent#137019 ·
Maintainer thường phản hồi trong vòng 1 ngày