Run whole economy reports on v2 in the Simulation Entrypoint
Mantenedores costumam responder em até 1 dia
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- openapi, python
- Domínio
- backend-api-design, databases, distributed-systems, testing
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 1
- Forks
- 1
- Merge médio
- 1d 19h
- PRs com merge (30d)
- 81
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
-
Accept the withheld-area code lists on UK local-area breakdown results before any executor sends themTalvez já em andamento @anth-volk assumiu há 1 dia. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
PolicyEngine/policyengine-sim-api#977 ·
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
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
PolicyEngine/policyengine-sim-api#981 ·
Mantenedores costumam responder em até 1 dia
-
Return a client error for simulation years the model cannot project its dataset toTalvez já em andamento @anth-volk assumiu há 2 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
PolicyEngine/policyengine-sim-api#969 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de PolicyEngine/policyengine-sim-api
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagationTalvez já em andamento @muskan-creates352 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
mllam/neural-lam#848 ·
Mantenedores costumam responder em até 2 dias
-
infra
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
fab-geocommuns/RNB-coeur#1166 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
deepspeedai/DeepSpeed#8951 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
aws/context-ontology-accelerator#343 ·
Mantenedores costumam responder em até 1 dia