Calculate and store households through the v2 household functions
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 12/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- backend-api-design
Rechercherichtung
Start with the Simulation Entrypoint's existing tables for simulations, reports, runs and household outputs, plus the route that records a Modal call ending, and the v2 Modal household functions. The /v2/household-calculations endpoint and the household report flow are the public contract to match. Done means a household calculation can be created, dispatched to the household function, polled to success or failure with spm_config and spm_provenance returned, and a staging check passes after promotion. This is multi-part design work, so confirm scope with maintainers before coding.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The Simulation Entrypoint has tables for simulations, reports, runs and household outputs, a route on which Modal reports that a call ended, and v2 Modal household functions, but nothing calculates a household through them yet. The Public API's /v2/household-calculations and household reports need the Simulation Entrypoint to:
- accept a household calculation (one stored household under one policy, for a catalog version and year), record it as a simulation run, start the household function's Modal call, and let the caller poll it until it succeeds or fails, with the calculated household, its warnings, the SPM selection it applied (
spm_config) and its SPM receipt (spm_provenance); - carry the household's saved SPM choice to the household function;
- store a household report as a report and report runs whose baseline and reform simulation runs share one Modal call;
- record each call's outcome when the household function reports that its call ended, with the safety check covering calls that never report and runs left
dispatching; - check on every staging deployment, after its revision is promoted, that a household calculation succeeds end to end.
Without these, household calculations cannot move from the Public API's in-process calculation to the v2 workers.
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 1
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 71
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
-
Sim's table models still map the report columns API v1 dropsEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
PolicyEngine/policyengine-sim-api#1110 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Rename Populace to Microcosm in docstrings and test namesEvtl. vergeben @MaxGhenis hat das vor 6 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
PolicyEngine/policyengine-sim-api#1086 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Update policyengine to 6.20.2Evtl. vergeben @policyengine hat das vor 6 Tagen übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 63/100
PolicyEngine/policyengine-sim-api#1083 ·
Maintainer antworten meist innerhalb von 1 Tag
-
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 1 Tag
-
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
Alle Issues in PolicyEngine/policyengine-sim-api
Ähnliche Issues
-
eegprep-lean: set channel types from the Zarr group's channel_typeEvtl. vergeben @claude hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
sccn/eegprep#668 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Upgrade Django to 5.2.18Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
blacklanternsecurity/bbot#3679 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Link Checker ReportOffenBot Type: Bug Type: Documentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
speakeasy-api/speakeasy#2159 ·
Maintainer antworten meist innerhalb von 1 Tag