/** * v2.5 — ConGra-mini regression bench. * * Loads ~15 hand-crafted `complex` conflicts under * `__tests__/fixtures/congra-mini/`, feeds each to `resolveAsync()` with the * LLM fallback enabled and a deterministic mock endpoint, then tallies the * resolution outcome. * * ## Done criterion (CORE-V2-ROADMAP v2.5) * * > "résout au moins 80 % des hunks `complex` du ConGra-mini sans régression * > sur le reste" * * The test fails if `successRate < 0.80`. We do NOT lower the threshold when * a fixture regresses — that's the whole point of locking the bench. If a * fixture becomes unrealistic for the deterministic+LLM pipeline, either * fix the pipeline or replace the fixture; do not move the goalposts. * * ## Why `validationLevel: "off"` * * Tree-sitter grammars are not loaded in unit tests (the bench runs without * `web-tree-sitter` peer or grammar WASMs). Parse-tree validation would * therefore always return `null` and is irrelevant to what we're measuring * here — namely, the LLM fallback's hit rate. * * ## Why a normal `describe` and not Vitest's `bench` * * We are measuring a hit rate, not throughput. A real bench (`bench(...)`) * would re-run the same workload many times and report ops/s — useless here. * The file is named `*.bench.ts` to keep it co-located with the other * regression-style benches, but it lives in the standard test suite so CI * runs it on every push. * * Use `SKIP_BENCH=true pnpm test` to skip the suite in fast iterations. */ export {}; //# sourceMappingURL=congra-mini.test.d.ts.map