Documentation
¶
Overview ¶
Package eval evaluates frozen examples with typed, local answers. It does not call a provider and its counts do not measure live model accuracy.
Index ¶
Constants ¶
View Source
const MaxCorpusBytes = 256 << 10
View Source
const SchemaVersion = "lintpal.eval.corpus.v1"
Variables ¶
View Source
var ErrInvalidCorpus = errors.New("invalid evaluation corpus")
Functions ¶
This section is empty.
Types ¶
type Summary ¶
type Summary struct {
SchemaVersion string `json:"schema_version"`
CorpusVersion string `json:"corpus_version"`
Cases []Outcome `json:"cases"`
TruePositive int `json:"true_positive"`
TrueNegative int `json:"true_negative"`
FalsePositive int `json:"false_positive"`
FalseNegative int `json:"false_negative"`
}
Click to show internal directories.
Click to hide internal directories.