| 123456789101112131415161718192021 |
- /**
- * QMD Benchmark Harness
- *
- * Runs queries from a fixture file against multiple search backends
- * and measures precision@k, recall, MRR, F1, and latency.
- *
- * Usage:
- * qmd bench <fixture.json> [--json] [--collection <name>]
- *
- * Backends tested:
- * - bm25: BM25 keyword search (searchLex)
- * - vector: Vector similarity search (searchVector)
- * - hybrid: BM25 + vector RRF fusion without reranking
- * - full: Full hybrid pipeline with LLM reranking
- */
- import type { BenchmarkResult } from "./types.js";
- export declare function runBenchmark(fixturePath: string, options?: {
- json?: boolean;
- collection?: string;
- backends?: string[];
- }): Promise<BenchmarkResult>;
|