FailureKindEntry

@Serializable
data class FailureKindEntry(val count: Int = 0, val ratioOfFinished: Ratio = Ratio.ZERO, val ratioOfAllFinal: Ratio = Ratio.ZERO, val byId: Map<String, Int> = emptyMap())

Per-kind breakdown of final failures: count, ratios against the population, per-resolvedId frequencies. Shared between training (FailureBreakdownMetric) and eval (FailuresSummary) so the two sides expose the same JSON shape under finalFailures.byKind.

Constructors

Link copied to clipboard
constructor(count: Int = 0, ratioOfFinished: Ratio = Ratio.ZERO, ratioOfAllFinal: Ratio = Ratio.ZERO, byId: Map<String, Int> = emptyMap())

Properties

Link copied to clipboard

Per-resolvedId frequency of final failures within this kind, sorted by count descending.

Link copied to clipboard
val count: Int = 0

Count of final failures of this kind.

Link copied to clipboard

Ratio of this kind within all final failures.

Link copied to clipboard

Ratio of finished substages (or processed items, on the eval side) that ended with a final failure of this kind.