Skip to content

Interface: TestInput

@kortexya/reasoninglayer


@kortexya/reasoninglayer / TestInput

Defined in: src/types/conformal.ts:92

An unlabeled test input for conformal prediction.

classScores is a user-keyed map: the keys are class names (data, not schema) and must survive the bridge’s request-body snake_casing verbatim. The field itself (class_scores on the wire) is a schema key that IS snaked; only its value map’s keys are preserved.

classScores: Record<string, number>

Defined in: src/types/conformal.ts:97

Per-class predicted probabilities / scores produced by the classifier. Each value must be in [0, 1].


inputId: string

Defined in: src/types/conformal.ts:99

Caller-assigned identifier for this test input.