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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
expected? | readonly | unknown | Expected goal state, compared by deep-equality. Provide this or matches. | evals/src/scorers/trajectory/final-state-correct.ts:18 |
matches? | readonly | (finalState) => boolean | Custom goal predicate, evaluated against the (path-resolved) state. | evals/src/scorers/trajectory/final-state-correct.ts:22 |
name? | readonly | string | Optional name override. | evals/src/scorers/trajectory/final-state-correct.ts:24 |
path? | readonly | string | Dot-path into finalState to compare instead of the whole snapshot. | evals/src/scorers/trajectory/final-state-correct.ts:20 |