Domain-agnostic test helpers for executable kernels in Scientific Memory (numeric closeness, monotonicity grids, etc.).
Kernel packages (for example kernels/adsorption) should depend on this workspace package and import kernel_conformance in tests instead of duplicating helpers.
from kernel_conformance import assert_close, assert_monotone_nondecreasing- Add a new directory under
kernels/<family>/with its ownpyproject.toml. - Add
kernel-conformanceas a workspace dependency (seekernels/adsorption/pyproject.toml). - Reuse helpers here; add new shared helpers only when at least two families need them.