TS scans-after-freq gate: composite restart with IRC label, duplicate piped scans (post-v2.0.0)
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start in arc/scheduler.py: the composite-restart branch in Scheduler.__init__ (~L853) gates on species.irc_label is None, and post_freq_actions (~L4916) calls run_scan_jobs. Read how the freq verdict respawn and the piped scan batching interact with the lease-based duplicate guard. Done means a restart regression test for "IRC done, freq verdict owed" passes, and the second-verdict test also covers piped scans without duplicate submissions.
由索引模型根据 Issue 内容生成。
描述
Two restart and scan gaps in the TS scans-after-freq gate of #1126. Copilot found both at 30b946c4b. They are deferred until after the v2.0.0 tag, and #1126 stays a draft until then.
A. Composite restart is skipped once a TS has an IRC label
In Scheduler.__init__'s composite-restart branch (arc/scheduler.py ~L853), the "composite is done; do other jobs" path runs only when species.irc_label is None. Say an IRC direction finishes before the freq job, and the run then restarts before the NMD verdict. The TS then carries an IRC label, so the freq respawn (freq_verdict_owed_on_restart) and run_scan_jobs are skipped. The NMD marker stays closed with no live freq job, so the TS's rotor scans never start.
The irc_label guard is older than #1126. With #1126's closed gate, though, it becomes a lost-scan path.
Expected: let a TS with IRC endpoint labels through this branch, and keep excluding non-TS IRC endpoint species. Add a restart regression test for "IRC done, freq verdict owed".
B. A second freq verdict can submit duplicate piped scans
post_freq_actions now calls run_scan_jobs (arc/scheduler.py ~L4916). Piped scan tasks have no job_dict['scan'] entry, so the lease-based duplicate guard does not see them. Suppose a second freq verdict arrives while a pipe batch is pending, or done but not yet taken in. It can then submit the same rotors again, either piped or standalone.
Expected: exclude rotors that an active pipe run already owns before batching or falling back to standalone scans. Extend the second-verdict regression test to cover piped scans.
Refs: #1126 (review threads at 30b946c4b).
- 主要语言
- Python
- 星标
- 55
- 派生
- 26
- 平均合并
- 3 天 3 小时
- 30 天内合并 PR
- 8
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ReactionMechanismGenerator/ARC 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
ReactionMechanismGenerator/ARC#1148 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
ReactionMechanismGenerator/ARC#1144 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
ReactionMechanismGenerator/ARC#1143 ·
维护者通常 3 天内回复
-
Gaussian troubleshooting drops int=(Acc2E=14) when the fine grid is off可能已有人在做 @alongd 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
ReactionMechanismGenerator/ARC#1141 ·
维护者通常 3 天内回复
-
Gaussian troubleshooting logs opt=cartesian but the input loses it可能已有人在做 @alongd 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
ReactionMechanismGenerator/ARC#1140 ·
维护者通常 3 天内回复
查看 ReactionMechanismGenerator/ARC 的全部 Issue
相似的 Issue
-
docs(contributing): the two things that silently block a PR可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭available documentation good first issue
难度 1/5 1-3 小时 新手友好度 95/100
Nixitov/Riptide-Native#944 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
JTHCode/secretguard#24 ·
维护者通常 1 天内回复
-
area: middleware documentation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
good first issue
难度 1/5 1 小时以内 新手友好度 95/100
omarelshamy25x/shamy-hijri#63 ·
维护者通常 1 天内回复