EvalCaseResult
@forge/monorepo / backend/src / EvalCaseResult
Type Alias: EvalCaseResult
EvalCaseResult =
object
Defined in: backend/src/persistence/index.ts:809
One case's result, with everything needed to reproduce it.
The grader id and version, and for a judged case the model and prompt version, are stored on the result. A run that recorded only scores could not answer "why did this change" — a prompt edit and a model upgrade look identical in the numbers, and both look like a quality change.
Properties
caseId
readonlycaseId:string
Defined in: backend/src/persistence/index.ts:810
costMinorUnits
readonlycostMinorUnits:number
Defined in: backend/src/persistence/index.ts:820
Integer minor units. Zero for a deterministic grader, which is asserted rather than assumed.
dimension
readonlydimension:string
Defined in: backend/src/persistence/index.ts:811
expectKind
readonlyexpectKind:string
Defined in: backend/src/persistence/index.ts:812
graderId
readonlygraderId:string
Defined in: backend/src/persistence/index.ts:814
graderVersion
readonlygraderVersion:string
Defined in: backend/src/persistence/index.ts:815
modelId?
readonlyoptionalmodelId?:string
Defined in: backend/src/persistence/index.ts:817
Present only for a judged case. Absent means graded by code, which is also the cheap path.
promptVersion?
readonlyoptionalpromptVersion?:string
Defined in: backend/src/persistence/index.ts:818
verdict
readonlyverdict:EvalVerdict
Defined in: backend/src/persistence/index.ts:813