ExtractionFailureMeasure

data class ExtractionFailureMeasure(val quantity: ExtractionFailureQuantity, val value: Long)

One number a failure record carries, together with what it counts.

Pairing them in a type is the point: there is no way to record 4096 without saying it is tokens, and no way to say "tokens" without a number.

EXPERIMENTAL. The shape may still change while extraction runs (DICE #67) land.

Constructors

Link copied to clipboard
constructor(quantity: ExtractionFailureQuantity, value: Long)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

What the number counts, and in what unit

Link copied to clipboard
val value: Long

The number

Functions

Link copied to clipboard
open override fun toString(): String