def METHOD_NAME(self) -> Metrics:
    """Identical to result but disallow workload.InvalidHP responses."""
    check.is_not_none(self._response, "_respond() was not called by the TrialController.")
    check.is_instance(self._response, dict, "unexpected InvalidHP response.")
    return cast(Metrics, self._response)