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

File evalPerformance.test.ts

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

Source from the content-addressed store, hash-verified

1import { beforeAll, beforeEach, describe, expect, it } from 'vitest';
2import { getDb } from '../../src/database/index';
3import { runDbMigrations } from '../../src/migrate';
4import Eval from '../../src/models/eval';

Callers

nothing calls this directly

Calls 12

runDbMigrationsFunction · 0.90
getDbFunction · 0.90
clearCountCacheFunction · 0.90
getCachedResultsCountFunction · 0.90
getTotalResultRowCountFunction · 0.90
itFunction · 0.85
createEvalWithResultsFunction · 0.85
makeResultFunction · 0.85
runMethod · 0.45
createMethod · 0.45
addResultMethod · 0.45

Tested by

no test coverage detected