Run python3 checks.py with Python assertions enabled to reproduce the exact examples or checks described in its module docstring. This implementation uses NumPy.
