Skip to content

unmatchedLabels()

PromptScript API


unmatchedLabels(labels, rowIds, suiteFile): EvalFinding[]

Defined in: eval/src/labels.ts:259

Warn about labels whose row the run did not read, as one finding: rows can be cut by the row limit or removed from the dataset, so it is no error.

Parameters

labels

ReadonlyMap<string, unknown>

Labels from readLabels

rowIds

ReadonlySet<string>

Ids of the rows the run read

suiteFile

string

Suite file, for the message

Returns

EvalFinding[]

One warning, or nothing when every label has its row