functai for TypeScript - v0.1.0
    Preparing search index...

    Class Evaluation

    The result of evaluate: a score, its range, and every answer.

    Index
    metrics: readonly string[]
    rows: readonly RowResult[]
    run: string

    The id of this run: its calls carry it as caller.evaluation in the call log.

    • get score(): number | null

      The first metric's mean, from 0 to 1.

      Returns number | null

    • Each row's value for a metric (the first by default); a failed row counts 0.

      Parameters

      • metric: string = ...

      Returns number[]