Nous.Eval.Scorer.Spec (nous v0.21.1)

Copy Markdown View Source

A scorer as declared on a task or case.

  • :module - the Nous.Eval.Scorer implementation
  • :opts - passed to Nous.Eval.Scorer.init/1
  • :required - a gate: the sample fails when it fails (default true)
  • :weight - weight in the soft group's mean when not required; 0 tracks the metric without affecting the verdict (default 1)
  • :skippable - a required scorer may skip (default false)

Summary

Types

t()

@type t() :: %Nous.Eval.Scorer.Spec{
  module: module(),
  opts: keyword(),
  required: boolean(),
  skippable: boolean(),
  weight: number()
}