Segment and cache Stage 12 US simulations
Maintainer antworten meist innerhalb von 2 Tagen
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 1
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 89
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus PolicyEngine/policyengine-sim-api
-
Update policyengine to 6.7.3Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 70/100
PolicyEngine/policyengine-sim-api#823 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Integration tests fail due to missing UV virtual environment setupEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
PolicyEngine/policyengine-sim-api#314 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Retry run-time dataset downloads, and move latest only after a deploy's checksEvtl. vergeben @anth-volk hat das vor 1 Tag übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
PolicyEngine/policyengine-sim-api#1022 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Records written during a gateway request carry the route <unmatched>Evtl. vergeben @anth-volk hat das vor 1 Tag übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 30/100
PolicyEngine/policyengine-sim-api#1018 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Update policyengine to 6.15.0Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 1/100
PolicyEngine/policyengine-sim-api#1014 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in PolicyEngine/policyengine-sim-api
Ähnliche Issues
-
[yugabyted] xcluster set_up and add_to_replication fail for database names containing - . or (Offenkind/bug priority/medium qa_automation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
yugabyte/yugabyte-db#37324 ·
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 87/100
btclib-org/btclib-node#2260 ·
Maintainer antworten meist innerhalb von 1 Tag
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Evtl. vergeben @geyazheng hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
langchain-ai/langchain-aws#1469 ·
Maintainer antworten meist innerhalb von 1 Tag
-
GCToggler leaves collection enabled if the body re-enables itEvtl. vergeben @Gambit-Checkmate hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 7 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
EESSI/docs#949 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag