Batch Fit Result Data
@Serializable
Wire-safe aggregate result for a FitSpec.Batch: the successful per-dataset results in submission order, plus any per-dataset failures. Each FitResultData.datasetName identifies its entry.
Functions
Link copied to clipboard
fun BatchFitResultData.toDocument(title: String? = null, includePerDataset: Boolean = false): ReportNode.Document
Builds the batch report document: the cross-dataset summary, and — when includePerDataset is true — a section per successful dataset reusing the single-result DTO-driven sections (data summary, ranked fits, MODA, and the recommended fit's goodness of fit). Per-dataset plots are not rendered here (the batch result carries no raw data); a caller holding a dataset's data can build that dataset's full document via FitResultData.toDocument.