FitDiagnosticReport#

class superglm.FitDiagnosticReport(
schema_version: int,
rule_set_version: int,
model_type: str,
family: str,
fit_revision: int,
scope: Literal['fit', 'deep'],
fit_status: str,
findings: tuple[DiagnosticFinding, ...],
coverage: tuple[str, ...],
limitations: tuple[str, ...],
profile: FitWorkProfile | None = None,
)#

Bases: object

An immutable structured report with compact and full text renderings.

render(
*,
detail: Literal['compact', 'full'] = 'compact',
) → str#

Render the report as stable semantic sections for human inspection.

to_dict() → dict[str, JsonValue]#

Return a fresh tree of plain JSON containers owned by the caller.