"""Shared helpers for deterministic test infrastructure."""