Segment and cache Stage 12 US simulations
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 1
- Merge medio
- 1g 7h
- PR unite (30g)
- 23
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PolicyEngine/policyengine-sim-api
-
Integration tests fail due to missing UV virtual environment setupForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
PolicyEngine/policyengine-sim-api#314 ·
I maintainer di solito rispondono entro 1 giorno
-
Update policyengine to 6.2.4Forse già presa @policyengine l’ha presa 1 giorno fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 15/100
PolicyEngine/policyengine-sim-api#736 ·
I maintainer di solito rispondono entro 1 giorno
-
Update policyengine to 6.2.3Forse già presa @policyengine l’ha presa 1 giorno fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 15/100
PolicyEngine/policyengine-sim-api#734 ·
I maintainer di solito rispondono entro 1 giorno
-
Update policyengine to 6.2.2Forse già presa @policyengine l’ha presa 2 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 20/100
PolicyEngine/policyengine-sim-api#730 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
PolicyEngine/policyengine-sim-api#729 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di PolicyEngine/policyengine-sim-api
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
awslabs/visual-asset-management-system#414 ·
I maintainer di solito rispondono entro 1 giorno
-
bug v1 v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/python-sdk#3670 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
aicell-lab/bioengine#232 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
modelscope/evalscope#1836 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100