Arkane tests failing following RMG-database atomic energy correction updates

Đang mở Phù hợp với người mới
#3,044 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data, testing

Hướng nghiên cứu

Bắt đầu với các giá trị mong đợi trong test/arkane/statmechTest.py và test/arkane/arkaneOutputTest.py, sau đó chạy ba bài kiểm thử bị ảnh hưởng để xác nhận các lỗi với dữ liệu RMG-database đã cập nhật. Cập nhật các năng lượng tham chiếu và đầu ra mong đợi cho khớp với các giá trị được báo cáo; hoàn tất khi các bài kiểm thử đó đều đạt trong toàn bộ ma trận CI mà không thay đổi dung sai.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
550
Fork
267
Merge trung bình
8 giờ 49 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ReactionMechanismGenerator/RMG-Py

Tất cả issue của ReactionMechanismGenerator/RMG-Py

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.