Arkane tests failing following RMG-database atomic energy correction updates

未关闭 适合新手
#3,044 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
data, testing

调研方向

先查看 test/arkane/statmechTest.py 和 test/arkane/arkaneOutputTest.py 中的预期值,然后运行受影响的三个测试,以确认它们在更新后的 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 分钟
30 天内合并 PR
1

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ReactionMechanismGenerator/RMG-Py 的其他 Issue

查看 ReactionMechanismGenerator/RMG-Py 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。