(name: string)
| 3 | export type Check = readonly [passed: boolean, failure: string]; |
| 4 | |
| 5 | export function metadata(name: string): GraderMetadata { |
| 6 | return { |
| 7 | name, description: `Checks ${name} deterministically using recorded commands, output, and fixture state.`, |
| 8 | behavior: {}, determinism: "complex-static", reference: "reference-free", |
| 9 | temporalScope: "trajectory-level", costProfile: "free", |
| 10 | }; |
| 11 | } |
| 12 | |
| 13 | export function result(name: string, checks: Check[]): GraderResult { |
| 14 | const failures = checks.filter(([passed]) => !passed).map(([, reason]) => reason); |
no outgoing calls
no test coverage detected