INNER CODE UNIT · TypeScript
outcomes
HoangNguyen0403/agent-skills-standard · mcp/src/tools/index.ts:858
const outcomes = runIds.map((id: string) =>
verifyEvalRun(ctx.projectRoot, id),
);
const lines: string[] = ["# Eval Run Verification", ""];
let anyFailed = false;
for (const o of outcomes) {
if (o.ok) {
lines.push(
`✅ \`${o.runId}\`: verified — committed results.json matches recomputed scores.`,
);
} else {
anyFailed = true;
lines.push(`❌ \`${o.runId}\`: ${o.reason}`);
for (const d of o.diffs || []) lines.push(` - ${d}`);
}
}
return {