from pydantic import BaseModel class ScoreCard(BaseModel): total: float components: dict[str, float] penalties: dict[str, float] = {} notes: list[str] = [] class ExperimentSummary(BaseModel): id: str parent_id: str | None = None hypothesis_id: str | None = None title: str status: str pipeline_summary: list[str] score: ScoreCard failure_reasons: list[str]