Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/evals / / FinalStateCorrectOptions

Interface: FinalStateCorrectOptions

Defined in: evals/src/scorers/trajectory/final-state-correct.ts:16

Stable

Properties

PropertyModifierTypeDescriptionDefined in
expected?readonlyunknownExpected goal state, compared by deep-equality. Provide this or matches.evals/src/scorers/trajectory/final-state-correct.ts:18
matches?readonly(finalState) => booleanCustom goal predicate, evaluated against the (path-resolved) state.evals/src/scorers/trajectory/final-state-correct.ts:22
name?readonlystringOptional name override.evals/src/scorers/trajectory/final-state-correct.ts:24
path?readonlystringDot-path into finalState to compare instead of the whole snapshot.evals/src/scorers/trajectory/final-state-correct.ts:20