def METHOD_NAME(self):
    for _ in range(10):
        p = 2.0 * numpy.random.random() - 1.0
        offset = 10.0 * numpy.random.random() - 3.0
        self.assertTrue(abs(
            self.ai.polarization(factor=p, axis_offset=offset, path="numpy") -
            self.ai.polarization(factor=p, axis_offset=offset, path="numexpr")).max() == 0,
            f"Numexpr validation with p={p}, offset={offset}")