Let the v2 report coordinator return a typed result to its caller
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
- #896 de @anth-volk — fechado sem integrar
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
Direção de pesquisa
Read the versioned v2 Modal application and locate coordinate_report, its dispatch context, and the Stage 12 result recording path. Then inspect the linked pull request #896 for the current implementation direction and how Modal transports typed results and errors to callers. Done means the opt-in result_delivery mode returns the specified typed success or error while the default Stage 12 behavior remains unchanged.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
What
The v2 Modal report coordinator (coordinate_report in the versioned v2 Modal application) can today only record a report in the Stage 12 tables and write its aggregate to the Stage 12 artifact bucket. It should also be able to hand the report's result straight back to whoever called it:
- a typed
ReportExecutionResultwith the report's totals inline (aSingleYearMacroOutput), the output plan, the baseline and reform artifact descriptors, and the software, data and Modal deployment that produced them; - or, when the report fails, a typed
ReportExecutionErrorcarrying the same redacted error code and summary a Stage 12 row would record.
A new field on the dispatch context, result_delivery, selects the mode. Leaving it out keeps today's Stage 12 behavior, so the Stage 12 comparison runs behave exactly as before.
The work also checks whether Modal raises ReportExecutionError in the caller as the same type, which the caller needs in order to tell a report failure from an infrastructure failure.
Why
The Simulation Entrypoint's v2 economy path, planned as a later change, needs to start an economy report on Modal and receive its result directly, without the Stage 12 database. This change adds the coordinator side only; nothing calls the new mode yet.
- Linguagem predominante
- Python
- Estrelas
- 1
- Forks
- 1
- Merge médio
- 1d 12h
- PRs com merge (30d)
- 71
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de PolicyEngine/policyengine-sim-api
-
Sim's table models still map the report columns API v1 dropsTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
PolicyEngine/policyengine-sim-api#1110 ·
Mantenedores costumam responder em até 1 dia
-
Rename Populace to Microcosm in docstrings and test namesTalvez já em andamento @MaxGhenis assumiu há 6 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
PolicyEngine/policyengine-sim-api#1086 ·
Mantenedores costumam responder em até 1 dia
-
Update policyengine to 6.20.2Talvez já em andamento @policyengine assumiu há 6 dias. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 63/100
PolicyEngine/policyengine-sim-api#1083 ·
Mantenedores costumam responder em até 1 dia
-
Update policyengine to 6.7.3Talvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 Meio dia Facilidade para iniciantes 70/100
PolicyEngine/policyengine-sim-api#823 ·
Mantenedores costumam responder em até 1 dia
-
Integration tests fail due to missing UV virtual environment setupTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
PolicyEngine/policyengine-sim-api#314 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de PolicyEngine/policyengine-sim-api
Issues semelhantes
-
eegprep-lean: set channel types from the Zarr group's channel_typeTalvez já em andamento @claude assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
sccn/eegprep#668 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Upgrade Django to 5.2.18Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
blacklanternsecurity/bbot#3679 ·
Mantenedores costumam responder em até 2 dias
-
Link Checker ReportAbertaBot Type: Bug Type: Documentation
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
speakeasy-api/speakeasy#2159 ·
Mantenedores costumam responder em até 1 dia