Package-level declarations
Types
Retries-aware consumption totals, attached to a consumption metric when any retry fired below.
Retries-aware elapsed-time totals, attached to an elapsed-time metric when any retry fired below.
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.
The two sections of a failure breakdown, shared between training (FailureBreakdownMetric) and eval (FailuresSummary) so both sides emit the same JSON. FinalFailures reports the run's final outcomes; TransientEncounters reports transient blips seen across all attempts. Each section's fields default out (@EncodeDefault(NEVER)), so an empty section serializes to {} and an untouched breakdown stays clean.
Transient-failure events seen across all attempts — the environment's noise profile. Counts events: a leaf that retried several times contributes several events here. The per-leaf retry outcome (resolved or unresolved, and at which attempt) lives in retryStats.