Segmented US national runs wait on stuck regional children until the parent times out
维护者通常 1 天内回复
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
Start with the parent run_simulation function, which waits on regional child runs with no per-child deadline and is killed by the 3,600 s Modal timeout. The payload does not name the files or tests involved, so locate the orchestration code yourself. Done means a stuck child is cancelled and retried once, the run fails with the region group named, and the parent cancels its children before its own timeout. PR #795 already targets this issue, so check it before starting.
由索引模型根据 Issue 内容生成。
描述
Problem
A segmented US national run waits on each regional child with no deadline of its own. If a child never finishes, the parent run_simulation waits until its 3,600 s Modal timeout kills it. Because the parent is killed rather than failing in code, nothing cancels its children, and they keep running.
On 9 October 2026, both US national reports for 2023 hit this. They used the same policy and started at about 05:45 UTC.
- Their 20 regional children were re-run 180 and 131 times on new containers, and none finished. The few that logged an error were interrupted during dataset loading after 229–517 s.
- First report: the parent ended at 3,599.8 s with Modal's
InputCancellation("Input was cancelled by user"), which is its timeout. Its children kept restarting for about another 50 minutes. - Second report: the parent failed after 3,167 s with
Server has lost track of input, from polling a restarting child.
Reports for other years needed at most three extra child runs, and all succeeded.
Expected
- A child with no result within a reasonable deadline is cancelled and retried once.
- The run fails with a clear message naming the region group if the retry also fails or runs out of time.
- The parent fails in code, and cancels its children, before its Modal timeout.
Follow-up (not in scope)
Find why the 2023 children's containers kept being terminated, which needs Modal container logs. Respawned children also start new traces with no parent span.
- 主要语言
- Python
- 星标
- 1
- 派生
- 1
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 40
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/policyengine-sim-api 的其他 Issue
-
Integration tests fail due to missing UV virtual environment setup可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
PolicyEngine/policyengine-sim-api#314 ·
维护者通常 1 天内回复
-
Update policyengine to 6.4.3可能已有人在做 @policyengine 今天认领。 未关闭
难度 1/5 1-3 小时 新手友好度 35/100
PolicyEngine/policyengine-sim-api#812 ·
维护者通常 1 天内回复
-
Update policyengine to 6.4.2可能已有人在做 @policyengine 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 40/100
PolicyEngine/policyengine-sim-api#810 ·
维护者通常 1 天内回复
-
Register weighted-microdata rules: weights aren't values可能已有人在做 @anth-volk 于 1 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 30/100
PolicyEngine/policyengine-sim-api#806 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 25/100
PolicyEngine/policyengine-sim-api#805 ·
维护者通常 1 天内回复
查看 PolicyEngine/policyengine-sim-api 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
jbacalso24/mimry#291 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1 小时以内 新手友好度 82/100
eli-alvarado/us-watchlist-alerts#14 ·
维护者通常 1 天内回复
-
from-review-extraction python severity:nit
难度 2/5 1-3 小时 新手友好度 80/100
LearningCircuit/local-deep-research#7462 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
cathrynlavery/diagram-design#441 ·
维护者通常 2 天内回复
-
[Cleanup] Include the public header in work_split.cpp可能已有人在做 @blozano-tt 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
tenstorrent/tt-metal#60850 ·
维护者通常 1 天内回复