Arkane tests failing following RMG-database atomic energy correction updates

オープン 初心者向け
#3,044 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
data, testing

調査の方向性

test/arkane/statmechTest.py と test/arkane/arkaneOutputTest.py の期待値から始め、次に影響を受ける3つのテストを実行して、更新された RMG-database データに対する失敗を確認してください。報告された値に合うように、参照エネルギーと期待される出力を更新してください。許容誤差を変更せずに、これらのテストが CI マトリックス全体で合格すれば完了です。

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

説明

Since November 16, 2026, the CI tests on main have been consistently failing across Linux and macOS, despite no changes to RMG-Py itself.

Cause

https://github.com/ReactionMechanismGenerator/RMG-database/pull/603 RMG-database PR 603, merged on November 15, updated the atomic enthalpies and thermal corrections in input/quantum_corrections/data.py using Active Thermochemical Tables (ATcT) values.

Specifically, commit b0afff8 changes the net atomic energy corrections (atom_hf - atom_thermal) by:

  • H: +0.0014 kcal/mol
  • O: +0.0101 kcal/mol
  • C: +0.0468 kcal/mol

These changes quantitatively explain the observed discrepancies in the failing tests.

Affected tests

Test Expected energy (kJ/mol) New energy (kJ/mol)
TestStatmech::test_specifying_absolute_file_paths −146.031499 −145.935267
TestStatmech::test_hinder_rotor_from_1d_array −146.031499 −145.935267
OutputTest::test_prettify 193.749 195.161

The predicted energy shifts for H₂O₂ and C₇H₇ are 96.232 J/mol and 1.4116816 kJ/mol, respectively, matching the observed discrepancies to the precision reported by the tests.

CI evidence

  • November 15: passing Python 3.11 Linux job, using RMG-database commit 783bab7d.
  • November 16: failing Python 3.11 Linux job, using RMG-database commit 2cb99fa4.

Both runs used the same RMG-Py commit (032e9d20).

Proposed fix

  • Update the reference energies in test/rmgpy/../arkane/statmechTest.py (test/arkane/statmechTest.py).
  • Update the expected output in test/arkane/arkaneOutputTest.py.
  • Verify that the affected tests pass across the CI matrix.

There should be no need to relax the test tolerances or revert the updated atomic enthalpies.

Longer term, consider whether tests intended to verify file-path handling, rotor input formats, and output formatting should depend on mutable thermochemical reference data from RMG-database.

主要言語
Python
スター
550
フォーク
267
平均マージ
8時間 49分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

ReactionMechanismGenerator/RMG-Py のほかの issue

ReactionMechanismGenerator/RMG-Py の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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