It would be super useful with a test which would (for all materials most likely) compare cross section curves with a reference, and only fail if they changed by more than some low tolerance (e.g. 1e-7). However, it would hopefully be easy to maintain since it should report:
Any missing or new files.
The difference for each file, as well as the worst difference seen.
Also investigate per-component (e.g. inelastic, coh_elas, ...).
So when we would update something and expect small differences, it would be trivial to quickly look at the summary of changes, verify they are meaningful (possibly with a utility to show the plot differences), and ultimately run a script to update the values.
This would be both a great test, and easy to maintain with fewer false positives in failures.
It would be super useful with a test which would (for all materials most likely) compare cross section curves with a reference, and only fail if they changed by more than some low tolerance (e.g. 1e-7). However, it would hopefully be easy to maintain since it should report:
So when we would update something and expect small differences, it would be trivial to quickly look at the summary of changes, verify they are meaningful (possibly with a utility to show the plot differences), and ultimately run a script to update the values.
This would be both a great test, and easy to maintain with fewer false positives in failures.