Package-level declarations
Types
Aggregated statistics for all agent runs within a stage recursively through substages.
Total / min / max / avg LLM consumption across substages. Canonical totals are final-attempt only; withRetries, when non-null, exposes the retries-aware counterparts.
Dataset-specific metric: tracks solved / not-solved / failed dataset items.
Derived timing aggregates for a stage.
Failure breakdown for finished substages, split into two sections: finalFailures (the run's final outcomes, bucketed by kind) and transientEncounters (transient blips seen across all attempts — the environment's noise profile). Empty stages — no final failure and no transient encounter below — serialize to {} so the JSON stays clean.
Tracks the maximum failure rate across substages.
Tracks the minimum solved rate across substages that have a DatasetSolvedRateMetric.
Counts retries performed below this stage and how often they resolve a failure.
Solved-aware consumption metric for dataset iterations.
Tracks processed / completed / failed substage counts and ratios, and the currently running substage name.