Reject an already-tried conformer change across all rotors of a species, not only the current one
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with troubleshoot_scan_job and the species rotor history in species_dict[label].rotors_dict; the issue identifies the current-rotor-only lookup that causes the bug. Locate the pentane rotor-scan tests, then add coverage for a geometry rejected through rotor 1 being rejected through rotor 2 and for the A → B → A case. Done means conformer-change methods and pre_xyz are checked across all relevant rotor histories, with both scenarios passing.
索引モデルが issue の本文から書いたものです。
説明
Found by @estyritov1 in the #1110 review (https://github.com/ReactionMechanismGenerator/ARC/pull/1110#discussion_r4727813049). It predates #1110.
What happens. When a rotor scan asks for a conformer change, troubleshoot_scan_job rejects a geometry already tried, but it reads only the current rotor's history:
used_trsh_methods = self.species_dict[label].rotors_dict[job.rotor_index]['trsh_methods']
A conformer change affects the whole species, and #1110 already counts change_index over all rotors. So a geometry rejected through rotor 1 is accepted through rotor 2 and triggers a new opt and rescans. estyritov1 reproduced this with pentane (rotors [1, 2, 3, 4] and [2, 3, 4, 5]). The original geometry (pre_xyz) is not in the check either, so A → B → A also passes.
Impact. Each rotor is bounded by max_rotor_trsh, so there is no endless loop, only extra re-optimizations and rescans.
Proposed fix. Collect the history across all rotors and add pre_xyz:
used = [m for rotor in self.species_dict[label].rotors_dict.values()
for m in rotor['trsh_methods'] if 'change conformer' in m]
Test: the pentane case, where a geometry rejected through rotor 1 is also rejected through rotor 2, and the A → B → A case.
After v2.0.0 (outside the freeze cut).
- 主要言語
- Python
- スター
- 55
- フォーク
- 26
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン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 日以内に返信