MinSolvedRateMetric

@Serializable
@SerialName(value = "minSolvedRate")
data class MinSolvedRateMetric(val key: MetricKey<MinSolvedRateMetric> = KEY, val minSolvedRate: Double? = null) : Metric

Tracks the minimum solved rate across substages that have a DatasetSolvedRateMetric.

Only recalculates when isStageUpdate is true, to avoid alarming intermediate values (e.g. 0% after only one item processed).

Constructors

Link copied to clipboard
constructor(key: MetricKey<MinSolvedRateMetric> = KEY, minSolvedRate: Double? = null)

Types

Link copied to clipboard
object Companion

Key holder for MinSolvedRateMetric.

Properties

Link copied to clipboard
@Transient
open override val key: MetricKey<MinSolvedRateMetric>

The key that identifies this metric in a ai.koog.agents.optimization.training.metrics.MetricsMap.

Link copied to clipboard
val minSolvedRate: Double? = null

Lowest solved ratio observed across finished children that expose a DatasetSolvedRateMetric, or null if none.

Functions

Link copied to clipboard
open override fun recompute(currentStage: StageRecord, substages: List<TrainingRecord>, isStageUpdate: Boolean): MinSolvedRateMetric

Recompute this metric from the full list of substages records.