moment_terms identical to the reference's for all 11 signatures x {39,40}: True square polynomials identical to the reference's (53 groups): True grid vs the reference engine: worst relative deviation 5.42e-13 (printed-precision limited) trapz cell law vs the reference engine's survival: worst relative deviation 4.68e-13