Agent Run Stats Metric
@Serializable
@SerialName(value = "agentRunStats" )
Aggregated statistics for all agent runs within a stage recursively through substages.
Types
Link copied to clipboard
object Companion
Key holder for AgentRunStatsMetric.
Properties
Link copied to clipboard
Agent runs that completed (regardless of whether they solved).
Link copied to clipboard
completedRuns over totalRuns.
Link copied to clipboard
Agent runs that ended in failure.
Link copied to clipboard
The key that identifies this metric in a ai.koog.agents.optimization.training.metrics.MetricsMap.
Link copied to clipboard
solvedRuns over totalRuns.
Link copied to clipboard
Agent runs that completed with solved == true.
Functions
Link copied to clipboard
open override fun recompute(currentStage: StageRecord, substages: List<TrainingRecord>, isStageUpdate: Boolean): AgentRunStatsMetric
Recompute this metric from the full list of substages records.