By: ValentinHirschi <valentin.hirschi@gmail.com>
Validate rational preparation with constrained endpoints and Python interfaces