MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / reranker.test.ts

File reranker.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, it, expect, vi, afterEach } from 'vitest';
2import { crossEncoderRerank } from '../src/context/reranker.js';
3
4// The reranker uses proxyFetch internally; we stub global fetch since proxyFetch

Callers

nothing calls this directly

Calls 1

crossEncoderRerankFunction · 0.85

Tested by

no test coverage detected