MCPcopy Index your code
hub / github.com/TanStack/ai / writeResultsSummary

Function writeResultsSummary

packages/ai-code-mode/models-eval/run-eval.ts:578–600  ·  view source on GitHub ↗
(
  rows: Array<EvalRow>,
  sessionStartedAt: string,
)

Source from the content-addressed store, hash-verified

576}
577
578function writeResultsSummary(
579 rows: Array<EvalRow>,
580 sessionStartedAt: string,
581): string {
582 const path = join(
583 LOG_DIR,
584 `results-summary-${sessionStartedAt.replace(/[:.]/g, '-')}.json`,
585 )
586 writeFileSync(
587 path,
588 `${JSON.stringify(
589 {
590 sessionStartedAt,
591 createdAt: new Date().toISOString(),
592 rows,
593 },
594 null,
595 2,
596 )}\n`,
597 'utf8',
598 )
599 return path
600}
601
602function writeCanonicalResults(
603 rows: Array<EvalRow>,

Callers 2

judgeLatestSessionFunction · 0.85
mainFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected