Restart: owed conformer conf_sp in a resumed troubleshooting round, and a duplicate piped conf_sp

オープン
#1,128 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

The work sits in Scheduler.run_conformer_jobs: read the restart branch's non-first-round path next to the live-round path that #1112 touched, and see how _pending_pipe_conf_sp is only populated in memory. Locate the existing restart tests that restore real adapter jobs from a restart.yml and use one as the template. Done means a conformer whose conf_sp is owed runs it before the ranking decision, and a conformer with a live pipe sp is not resubmitted, each covered by a restart test.

索引モデルが issue の本文から書いたものです。

説明

Two restart gaps found while fixing the #1112 review threads. Both are outside those threads and are planned for after the v2.0.0 tag.

1. A troubleshooting round resumed from a restart can rank a conformer at the conf_opt level while its conf_sp is still owed.
In Scheduler.run_conformer_jobs, the restart branch's non-first-round path (xyzs = species.conformers) keeps the stored energies. If a conformer's conf_opt ended before the restart but its conf_sp never ran, its energy is still the opt-level one, and the decision can compare it with other conformers' sp-level energies. The in-memory _pending_pipe_conf_sp set that guards a live round is empty after a restart, so the #1112 fix does not cover this path.

2. A conf_sp still running inside an earlier session's pipe gets a second conf_sp on restart.
The run_sp_job call in the restart branch has no pipe check for conformer jobs. Both jobs run at the same level, so the ranking is not wrong; the cost is one extra job.

Expected: (1) on restart in a troubleshooting round, a conformer whose conf_sp is owed gets that conf_sp before the decision; (2) a conformer whose conf_sp is live in a pipe is not resubmitted. Each with a restart test that restores real adapter jobs from a restart.yml.

主要言語
Python
スター
55
フォーク
26
平均マージ
3日 3時間
マージ済み PR(30日)
8

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ReactionMechanismGenerator/ARC のほかの issue

ReactionMechanismGenerator/ARC の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。