MCPcopy Create free account
hub / github.com/cli/cli / validate

Method validate

evals/src/core/suite.ts:61–61  ·  view source on GitHub ↗

Throws an `InfrastructureError` when shared state, not the agent, makes the run ungradable.

(rawEvents: readonly unknown[])

Source from the content-addressed store, hash-verified

59 actor?: TrialActor;
60 /** Throws an `InfrastructureError` when shared state, not the agent, makes the run ungradable. */
61 validate?(rawEvents: readonly unknown[]): void;
62 /** The suite-specific facts graders need, captured once the agent has finished. */
63 snapshot(observedUntil: number): Promise<unknown>;
64}

Callers 3

downloadMethod · 0.80
TestValidateChildFunction · 0.80
trialMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestValidateChildFunction · 0.64