Measure Stage 12 coordinator preparation and separate metric producers
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- python
- Domaine
- backend, cloud, observability
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 1
- Forks
- 1
- Merge moyen
- 1 j 7 h
- PR mergées (30 j)
- 23
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de PolicyEngine/policyengine-sim-api
-
Integration tests fail due to missing UV virtual environment setupPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
PolicyEngine/policyengine-sim-api#314 ·
Les mainteneurs répondent en général sous 1 jour
-
Update policyengine to 6.2.2Peut-être pris @policyengine l’a pris aujourd’hui. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 20/100
PolicyEngine/policyengine-sim-api#730 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
PolicyEngine/policyengine-sim-api#729 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
PolicyEngine/policyengine-sim-api#728 ·
Les mainteneurs répondent en général sous 1 jour
-
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 defaultPeut-être pris @juaristi22 l’a pris il y a 2 jours. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
PolicyEngine/policyengine-sim-api#725 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de PolicyEngine/policyengine-sim-api
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
rpm-software-management/mock#1824 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
jpata/particleflow#520 ·
Les mainteneurs répondent en général sous 1 jour
-
bug good first issue hacktoberfest
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
gridhead/gi-loadouts#699 ·
Les mainteneurs répondent en général sous 13 jours
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 86/100
FinanceFlash/unvibecode#206 ·
Les mainteneurs répondent en général sous 1 jour