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

File eval.test.ts

test/models/eval.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { eq, sql } from 'drizzle-orm';
2import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from 'vitest';
3import { getDb } from '../../src/database/index';
4import { updateSignalFile, updateSignalFileForDeletedEvals } from '../../src/database/signal';

Callers

nothing calls this directly

Calls 15

runDbMigrationsFunction · 0.90
getDbFunction · 0.90
getCachedResultsCountFunction · 0.90
getEvalSummariesFunction · 0.90
updateResultFunction · 0.90
writeResultsToDatabaseFunction · 0.90
setCachedStandaloneEvalsFunction · 0.90
getCachedStandaloneEvalsFunction · 0.90
createEvaluateResultFunction · 0.90
escapeJsonPathKeyFunction · 0.90
buildSafeJsonPathFunction · 0.90

Tested by

no test coverage detected