Add the simulation report tables (reports and report_results)
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- postgresql, python, sqlalchemy
- Ambito
- backend-api-design, databases
Direzione di ricerca
Read the persistence foundation and job store migrations, then trace how the initial migration sets default privileges for the runtime role. Add the simulation.reports and simulation.report_results tables with the fields and validation described in the issue. Done means the migration defines both tables and grants the runtime role access through those default privileges; the issue names no specific test or migration file.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
Step 1 of the API v2 migration (item 1A-5) adds the tables that v2 economy and household reports will use in Step 2, and that the one-time migration of API v1 reports will fill.
Scope
simulation.reports:kind(economyorhousehold), a nullablelegacy_report_idfor reports migrated from the Public API, and anot_startedstatus for migrated rows that have not been computed.simulation.report_results: the report aggregate as JSONB validated by a Pydantic model, its schema version and SHA-256, summary columns and artifact URIs.
Nothing uses the tables yet.
Operator prerequisites
None beyond those of the persistence foundation (database roles and secrets) and the job store (Cloud Tasks configuration), which this builds on. The runtime role receives its table privileges from the default privileges set by the initial migration.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 1
- Merge medio
- 1g 16h
- PR unite (30g)
- 53
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PolicyEngine/policyengine-sim-api
-
Update policyengine to 6.7.3Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 Mezza giornata Idoneità per principianti 70/100
PolicyEngine/policyengine-sim-api#823 ·
I maintainer di solito rispondono entro 1 giorno
-
Integration tests fail due to missing UV virtual environment setupForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
PolicyEngine/policyengine-sim-api#314 ·
I maintainer di solito rispondono entro 1 giorno
-
Add the simulation job store and background result collection without leasesForse già presa @anth-volk l’ha presa 1 giorno fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
PolicyEngine/policyengine-sim-api#845 ·
I maintainer di solito rispondono entro 1 giorno
-
Add the Simulation Entrypoint's own Postgres schema, persistence library and migration chainForse già presa @anth-volk l’ha presa 1 giorno fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
PolicyEngine/policyengine-sim-api#844 ·
I maintainer di solito rispondono entro 1 giorno
-
v2 Modal household functions for every country in the PolicyEngine.py bundleForse già presa @anth-volk l’ha presa 1 giorno fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
PolicyEngine/policyengine-sim-api#840 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di PolicyEngine/policyengine-sim-api
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
[Device Support Request] HOBEIAN ZG-204ZL (Tuya PIR motion sensor with illuminance)Forse già presa @lenucksi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
zigpy/zha-device-handlers#5493 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
drevendev/BeautifulRepo#42 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
writerslogic/holographic-memory#93 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
antoine-tena/kiln#47 ·
I maintainer di solito rispondono entro 1 giorno