MCPcopy
hub / github.com/promptfoo/promptfoo / evaluationStore.test.ts

File evaluationStore.test.ts

test/node/evaluationStore.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, it, vi } from 'vitest';
2import Eval from '../../src/models/eval';
3import EvalResult from '../../src/models/evalResult';
4import { EvalEvaluationStore } from '../../src/node/evaluationStore';

Callers

nothing calls this directly

Calls 15

createEvaluateResultFunction · 0.90
createCompletedPromptFunction · 0.90
itFunction · 0.85
appendResultMethod · 0.65
appendPromptsMethod · 0.65
readResultsMethod · 0.65
readResultsByTestIdxMethod · 0.65
recordFinalResultMethod · 0.65

Tested by

no test coverage detected