"""Validation and benchmark helpers for pytfd_compat."""