spdl.autoresearch.core.FailureRecord¶
- class FailureRecord(kind: ~spdl.autoresearch.core._types.FailureKind, phase: ~spdl.autoresearch.core._types.FailurePhase, message: str, retryable: bool = False, details: dict = <factory>, exception_type: str | None = None, job_id: str | None = None, created_at: str | None = None)[source]¶
Machine-readable failure attached to a failed hypothesis node.
Methods
Attributes
ISO 8601 timestamp when the failure was recorded.
Fully qualified name of the original exception, if any.
Identifier of the failed job, if applicable.
Whether the engine should attempt a retry.
Category of the failure.
Workflow phase where the failure occurred.
Human-readable description.
Arbitrary extra context for debugging.
- classmethod from_dict(data: dict) FailureRecord¶
- kind: FailureKind¶
Category of the failure.
- phase: FailurePhase¶
Workflow phase where the failure occurred.