Retry Stats Metric
Counts retries performed below this stage and how often they resolve a failure.
Present on every stage. All fields are omitted when at their default, so a retries-free stage serializes to an empty "retryStats": {} object.
Constructors
Types
Key holder for RetryStatsMetric.
Properties
Mean retries per leaf that retried at least once, or null when none retried.
Histogram of finished-Completed leaves keyed by how many retries each needed (0 included).
The key that identifies this metric in a ai.koog.agents.optimization.training.metrics.MetricsMap.
Leaves that retried and ultimately completed successfully.
Leaves that retried at least once and ended Failed.
Number of leaves that retried at least once.
leavesWithRetries over the number of finished leaves.
Total retry attempts performed by all leaves below this stage.
Functions
Recompute this metric from the full list of substages records.