Run whole economy reports on v2 in the Simulation Entrypoint
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- openapi, python
- Domaine
- backend-api-design, databases, distributed-systems, testing
Piste de recherche
Start by tracing the Simulation Entrypoint's report submission, status, and simulation routes, then inspect the result tables and Modal worker calls. Check how region catalog data and pre-emption are handled, and review the OpenAPI document and staging deployment checks. Done means the listed v2 routes and run behavior work, migrated reports start only one run under concurrent reads, and a small staging report is submitted and read back.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
The Simulation Entrypoint needs to run whole economy reports on v2 itself, without the old gateway, so the Public API's /v2/reports can submit them and read them back.
What this covers:
- Each simulation run of a report gets its own Modal call, and each report run's comparison step another. Finished results are stored as the result tables' rows, and status reads rebuild today's result format from them.
- A simulation run that already exists for the catalog version and year, such as current law, is reused.
- Each run's region and dataset come from the region catalog: the entrypoint sends the dataset and the household filter, and the Modal workers apply them without policyengine.py's region registry, including the per-state filters of a US national run calculated in segments.
- A segmented US national run cancels every segment call it started whenever it stops, and a pre-empted call starts over under the same call ID without failing its run.
- Routes to submit a report, read it (also by its v1 report number), run it again and list its runs, and to read a simulation. The routes declare their error answers in the OpenAPI document, so the generated client can read them, and the first opening of a report migrated without a run starts one run however many readers open it at once.
- A small economy report runs on staging after every staging deployment and is read back.
Why: these are the back end of the app's economy reports on v2. Nothing user-facing changes until the app switches to the v2 routes.
- Langage dominant
- Python
- Étoiles
- 1
- Forks
- 1
- Merge moyen
- 1 j 19 h
- PR mergées (30 j)
- 81
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
-
Accept the withheld-area code lists on UK local-area breakdown results before any executor sends themPeut-être pris @anth-volk l’a pris il y a 2 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
PolicyEngine/policyengine-sim-api#977 ·
Les mainteneurs répondent en général sous 1 jour
-
Update policyengine to 6.7.3Peut-être à nouveau libre Une pull request pour cette issue a été fermée sans être fusionnée. Ouverte
Difficulté 2/5 Une demi-journée Accessibilité débutants 70/100
PolicyEngine/policyengine-sim-api#823 ·
Les mainteneurs répondent en général sous 1 jour
-
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
-
Calculate budget windows on the v2 economy pathPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
PolicyEngine/policyengine-sim-api#981 ·
Les mainteneurs répondent en général sous 1 jour
-
Return a client error for simulation years the model cannot project its dataset toPeut-être pris @anth-volk l’a pris il y a 2 jours. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
PolicyEngine/policyengine-sim-api#969 ·
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 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagationPeut-être pris @muskan-creates352 l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
mllam/neural-lam#848 ·
Les mainteneurs répondent en général sous 2 jours
-
infra
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
fab-geocommuns/RNB-coeur#1166 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
deepspeedai/DeepSpeed#8951 ·
Les mainteneurs répondent en général sous 2 jours