/** * The scorer (DES-DEFAULT-EVALS-001 §3, §6): cases in, figures out. Deterministic code only: no model, no clock, no * I/O. A case with no observation is `unscored` and is never counted as right or wrong. */ import type { DriftKey, EvalCase, SliceScore } from './types.js'; /** Did the system get this case right? `null` when it gave no answer. */ export declare function isCorrect(c: EvalCase): boolean | null; export declare function isModelLabelled(c: EvalCase): boolean; export declare function scoreSlice(cases: readonly EvalCase[]): SliceScore; /** The four slices every suite reports (DES §4): real, synthetic, combined (both, no model labels), model. */ export declare function slices(cases: readonly EvalCase[]): { real: SliceScore; synthetic: SliceScore; combined: SliceScore; model: SliceScore; }; /** * The normalization figure (S8): of the inputs observed in two or more places (projects, or surfaces), the share * judged the same everywhere. Computed from the same grouping as {@link driftKeys}. */ export declare function normalizationRate(cases: readonly EvalCase[], drift: readonly DriftKey[]): { compared: number; consistent: number; }; /** * Normalization drift (DES §5): the same input judged differently by place. Cases are grouped by suite and * `inputKey`; a key whose observed answers differ across projects (or across surfaces, when the cases carry one) * is drift. A place where the answers already differ among themselves still counts once per distinct answer. */ export declare function driftKeys(cases: readonly EvalCase[]): DriftKey[]; //# sourceMappingURL=score.d.ts.map