MCPcopy
hub / github.com/TanStack/ai / loadGoldFile

Function loadGoldFile

packages/ai-code-mode/models-eval/run-eval.ts:147–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147function loadGoldFile(): GoldFile {
148 const path = join(__dirname, 'gold-results', 'db-gold-messages-1.json')
149 const raw = readFileSync(path, 'utf8')
150 return JSON.parse(raw) as GoldFile
151}
152
153function extractReportTextFromGold(messages: Array<GoldMessage>): string {
154 return messages

Callers 1

mainFunction · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected