()
| 28 | const source = (await stat(absolute)).isDirectory() ? join(absolute, evidenceFile) : absolute; |
| 29 | const evidence = parseTrialEvidence(JSON.parse(await readFile(source, "utf8"))); |
| 30 | const load = async () => evidence; |
| 31 | const input = { trajectory: trajectory(source) }; |
| 32 | // Raw-API stimuli ask for a direct API stream, so, as in their eval.yml, they skip the route and polling checks. |
| 33 | const selected = evidence.variant === "raw-api" |
no outgoing calls