"""Control-flow exceptions for task construction.""" from __future__ import annotations class TaskSamplingRejected(RuntimeError): """A valid study produced no usable task under the sampled observation process."""