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

Function readRunLog

packages/ai-code-mode/models-eval/run-eval.ts:500–507  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

498}
499
500function readRunLog(path: string): RunLogPayload | null {
501 try {
502 const raw = readFileSync(path, 'utf8')
503 return JSON.parse(raw) as RunLogPayload
504 } catch {
505 return null
506 }
507}
508
509async function judgeLatestSession(rejudge: boolean): Promise<void> {
510 const files = listRunLogFiles()

Callers 2

judgeLatestSessionFunction · 0.85
mainFunction · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected