DegenerateDomain

data class DegenerateDomain(val metric: String, val candidate: String) : ModaWarning(source)

A domain was proposed for this metric that has no width once the metric's own limits were respected, so it was not applied and the declared domain was kept.

A domain of zero width cannot be transformed into a value, so applying it would produce a value that is not a number. Reachable when a limit that may not be adjusted already sits at the value the realized scores suggest for the other limit.

Constructors

Link copied to clipboard
constructor(metric: String, candidate: String)

Properties

Link copied to clipboard
Link copied to clipboard
open override val message: String

A description suitable for showing to a user.

Link copied to clipboard
open override val metric: String

The name of the metric the warning concerns.