Calculate budget windows on the v2 economy path
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
调研方向
Start with the v2 economy path and the existing /simulate/economy/budget-window gateway flow, then inspect the simulation entry point and the v2 economy result storage. The issue calls for a new simulation.budget_window_runs table, report routes declared for the generated client, and staging qualification against gateway totals. Done means window runs are stored by year, totals are summed from stored budget figures, and concurrent windows fit the available Modal capacity.
由索引模型根据 Issue 内容生成。
描述
The Public API's /v2/reports will offer budget windows: one reform compared with its baseline in each year of a window of up to 75 years, with the totals. Today only the old gateway calculates them (/simulate/economy/budget-window), as one Modal batch call whose state lives in Modal.
The Simulation Entrypoint should calculate them itself on the v2 economy path, so that their results are stored as rows like other v2 economy results:
- a budget-window report (an economy report with a window size) and its runs, one row per calculation in a new
simulation.budget_window_runstable, grouping one report run per year; - the years started a few at a time, so that one window does not take every Modal container, with the next years started when earlier years' calls report their ends and by the safety check;
- totals summed from each year's stored budget figures when the report is read;
- routes for submitting, reading and running budget-window reports again, declared for the generated client;
- enough Modal capacity on the v2 economy functions for several windows at once;
- a way to qualify the totals on staging against the old gateway's budget windows.
- 主要语言
- Python
- 星标
- 1
- 派生
- 1
- 平均合并
- 1 天 19 小时
- 30 天内合并 PR
- 81
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/policyengine-sim-api 的其他 Issue
-
Accept the withheld-area code lists on UK local-area breakdown results before any executor sends them可能已有人在做 @anth-volk 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
PolicyEngine/policyengine-sim-api#977 ·
维护者通常 1 天内回复
-
Update policyengine to 6.7.3可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 半天 新手友好度 70/100
PolicyEngine/policyengine-sim-api#823 ·
维护者通常 1 天内回复
-
Integration tests fail due to missing UV virtual environment setup可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
PolicyEngine/policyengine-sim-api#314 ·
维护者通常 1 天内回复
-
Run whole economy reports on v2 in the Simulation Entrypoint可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 5/5 一周以上 新手友好度 25/100
PolicyEngine/policyengine-sim-api#973 ·
维护者通常 1 天内回复
-
Return a client error for simulation years the model cannot project its dataset to可能已有人在做 @anth-volk 于 2 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 68/100
PolicyEngine/policyengine-sim-api#969 ·
维护者通常 1 天内回复
查看 PolicyEngine/policyengine-sim-api 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagation可能已有人在做 @muskan-creates352 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
mllam/neural-lam#848 ·
维护者通常 2 天内回复
-
infra
难度 1/5 1 小时以内 新手友好度 88/100
fab-geocommuns/RNB-coeur#1166 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
deepspeedai/DeepSpeed#8951 ·
维护者通常 2 天内回复