spdl.autoresearch.core.AnalysisResult

class AnalysisResult(structured: dict | None = None, duration: float | None = None, improved: bool = False, failure: FailureRecord | None = None)[source]

Structured analysis returned after an experiment finishes.

Attributes

duration

Job duration in seconds.

failure

Structured failure, if analysis detected a problem.

improved

Whether the experiment improved on the current best.

structured

Parsed JSON from the agent's analysis response.

duration: float | None = None

Job duration in seconds.

failure: FailureRecord | None = None

Structured failure, if analysis detected a problem.

improved: bool = False

Whether the experiment improved on the current best.

structured: dict | None = None

Parsed JSON from the agent’s analysis response.