Repository navigation
CodeXLR8 v0.0.2
Search quality improvements from benchmark feedback.
Added
--explain/-e: query token diagnostics showing per-token hit counts, filtered words, and quality signal--grouped/-g: clusters search results by directory with--scopehints--group-depth <n>: control directory depth for grouping (default 3)--scope/-s: restrict search to a path prefix, applied as pre-score SQL filter- Path weighting: filename match (0.8×), filename component (0.7×), directory (0.5×) — works without metadata
- Coverage warning:
statuswarns when <10% of files have metadata - Matched tokens: each result includes which query tokens matched
Changed
- Query semantics: replaced AND-then-OR fallback with pure OR + token-coverage scoring
- Default excludes now include
examples/*,docs/*,tutorials/*,benchmarks/* - JSON output format:
{"results": [...]}instead of bare list (supportsexplain,groupedwrappers)
Fixed
- Flat BM25 when metadata absent — path weighting now provides differentiation without sidecars
- No path-weighting in ranking —
lib/foo.pynow outranksexamples/foo.pyfor matching query - AND-then-OR precision hole — multi-token queries no longer return zero or too many flat-score results