Measure Stage 12 coordinator preparation and separate metric producers
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- backend, cloud, observability
Rechercherichtung
Start at the Stage 12 coordinator path and trace the interval from coordinator ownership to child-state persistence. Then locate the central stage registry, Cloud Run and Modal identity handling, AI-facing observability documentation, and focused tests. Done means the new operations, child-input attribution, process identity, region attributes, release requirement, and tests all satisfy the acceptance criteria.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
A production Stage 12 trace contained an unmeasured 38.7-second interval after the coordinator acquired report execution ownership and before it persisted child simulation state. Simulation services also reuse platform identifiers as metric instance identifiers, which can cause Google Monitoring time-series collisions.
Proposed change
- Measure the full coordinator preparation interval.
- Add nested registered operations for output planning, country model loading, output configuration, output variable resolution, and baseline/reform child input construction.
- Emit the normal operation completion logs and duration metrics for each new operation.
- Give each Cloud Run and Modal Python process a stable unique instance identifier.
- Populate Cloud Run and Modal region resource attributes.
- Require the observability package release that supplies process identity.
- Update AI-facing observability documentation and focused tests.
Acceptance criteria
- Every new operation name is defined in the central stage registry.
- The full interval between coordinator ownership and child-state persistence is measured.
- Child input measurements identify baseline or reform without adding unbounded metric labels.
- Cloud Run and Modal identity and region behavior is covered by tests.
- The next deployed Stage 12 run attributes the previously unmeasured interval to the new nested operations.
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 1
- Ø Merge
- 1 T. 7 Std.
- Gemergte PRs (30 T.)
- 23
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
-
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 1 Tag
-
Update policyengine to 6.2.2Evtl. vergeben @policyengine hat das heute übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 20/100
PolicyEngine/policyengine-sim-api#730 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
PolicyEngine/policyengine-sim-api#729 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
PolicyEngine/policyengine-sim-api#728 ·
Maintainer antworten meist innerhalb von 1 Tag
-
UK: constituency and local-authority runs use enhanced-FRS weight matrices, and every UK run requires `la_code_oa`; both break on a Microcosm UK defaultEvtl. vergeben @juaristi22 hat das vor 1 Tag übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
PolicyEngine/policyengine-sim-api#725 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in PolicyEngine/policyengine-sim-api
Ähnliche Issues
-
Link Checker ReportOffenautomated issue report
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
RapidAI/RapidOCRDocs#119 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
btclib-org/btclib-node#1833 ·
Maintainer antworten meist innerhalb von 1 Tag
-
IRIS reader: no-data velocity bins (DB_VEL, DB_VELC) returned as 0.0 m/s instead of NaNEvtl. vergeben @syedhamidali hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
elodin-sys/elodin#890 ·
Maintainer antworten meist innerhalb von 1 Tag