Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add the simulation report tables (reports and report_results)

Aperta
#846 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@anth-volk ci sta già lavorando.

Dal 19/10/2026.

  • #849 di @anth-volk — aperta

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

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 (economy or household), a nullable legacy_report_id for reports migrated from the Public API, and a not_started status 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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PolicyEngine/policyengine-sim-api

Tutte le issue di PolicyEngine/policyengine-sim-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.