spdl.autoresearch.core.HypothesisNode¶
- class HypothesisNode(node_id: str, name: str, parent_id: str | None = None, commit: str | None = None, spec: dict = <factory>, status: str = 'queued', job_id: str | None = None, launched_at: float | None = None, result: dict | None = None, children: list[str] = <factory>, priority: float = 0.0, duration: float | None = None, failure: ~spdl.autoresearch.core._types.FailureRecord | None = None)[source]¶
A node in the autoresearch hypothesis tree.
Methods
Attributes
Source-control commit hash for this experiment's code state.
Job duration in seconds, if completed.
Structured failure record, if the experiment failed.
External job identifier, if launched.
Unix timestamp when the job was launched.
ID of the parent node, or
Nonefor root nodes.Scheduling priority (lower runs first).
Raw result dict from analysis.
Current lifecycle status (
"queued","running","completed","failed").Unique identifier (e.g.
"003_nvdec").Human-readable experiment name.
Free-form experiment specification dict.
IDs of child nodes in the hypothesis tree.
- failure: FailureRecord | None = None¶
Structured failure record, if the experiment failed.
- classmethod from_dict(data: dict) HypothesisNode¶