tokenfabrikker/tests
Kjell Tore Guttormsen a63f66c416
feat(kode): add the levelised equations, the parameter reader and the draws
One pure function per equation for chapters 1 to 3 of the specification
(S1-S21, S36, S43-S47), a strict reader for the frozen parameter file with
checksum, validation and unit conversion, and the 10 000 Monte Carlo draws of
the 87 drawn quantities, stored in data/ and reproducible bit for bit.

Tests: unit tests and edge cases per equation, the reader, the draws, and
known answers from Argonne, NOU 2026: 4, Epoch and NVE with the sources' own
assumptions. Five comparisons miss the 5 % tolerance and are kept as strict
expected failures with the measured deviation. No result for the hypothesis
is computed. ruff ALL and mypy strict pass.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:08:47 +01:00
..
test_fasit.py feat(kode): add the levelised equations, the parameter reader and the draws 2026-11-12 10:08:47 +01:00
test_ligninger.py feat(kode): add the levelised equations, the parameter reader and the draws 2026-11-12 10:08:47 +01:00
test_parametere.py feat(kode): add the levelised equations, the parameter reader and the draws 2026-11-12 10:08:47 +01:00
test_trekninger.py feat(kode): add the levelised equations, the parameter reader and the draws 2026-11-12 10:08:47 +01:00