Arkane tests failing following RMG-database atomic energy correction updates

Abierto Apto para principiantes
#3,044 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
76/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
data, testing

Línea de trabajo

Empieza por los valores esperados en test/arkane/statmechTest.py y test/arkane/arkaneOutputTest.py y luego ejecuta las tres pruebas afectadas para confirmar los fallos con los datos actualizados de RMG-database. Actualiza las energías de referencia y la salida esperada para que coincidan con los valores indicados. El trabajo estará terminado cuando esas pruebas pasen en toda la matriz de CI sin cambiar las tolerancias.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
550
Forks
267
Merge medio
8 h 49 min
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ReactionMechanismGenerator/RMG-Py

Todos los issues de ReactionMechanismGenerator/RMG-Py

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.