Regression tests¶
End-to-end tests compare jitr against committed outputs from Frescox and
TALYS. Reference CSVs are committed; neither external code is required in CI.
Running¶
uv run pytest tests/regression/
Frescox cases (F1–F8)¶
Eight elastic-scattering cases against LLNL
Frescox, all for p/n + 78Ni:
Case |
Projectile |
E_lab (MeV) |
Source deck |
|---|---|---|---|
F1 |
p |
6.9 |
|
F2 |
p |
11.0 |
|
F3 |
p |
49.35 |
|
F4 |
p |
100 |
|
F5 |
p |
200 |
|
F6 |
n |
49.35 |
|
F7 |
n |
100 |
|
F8 |
n |
200 |
|
TALYS cases (T1–T4)¶
Four JLM/JLMB elastic-scattering cases against TALYS 2.2 for 120Sn at
10 MeV:
Case |
Projectile |
|
Notes |
|---|---|---|---|
T1 |
n |
0 |
standard JLMB normalization |
T2 |
n |
2 |
stronger JLMB normalization |
T3 |
p |
0 |
Coulomb code path |
T4 |
p |
2 |
Coulomb + stronger normalization |