fix(kbsearch): rank FTS correctly, filter before -n, start the daemon. (#5)
Go search took worst BM25 hits (ORDER BY score), cut to -n before --root, and never called ensureDaemon. Ranking and flag parsing move to a cgo-free package so CI can fail those regressions without ladybug. --hop errors instead of being swallowed into the query.
This commit is contained in:
@@ -42,6 +42,10 @@ jobs:
|
||||
go vet ./...
|
||||
go test ./... -count=1
|
||||
|
||||
- name: kbsearch ranking tests (no cgo / no ladybug)
|
||||
working-directory: bin/kbsearch
|
||||
run: go test ./rank -count=1
|
||||
|
||||
- name: facts/audit self (lexicon consistency, no network)
|
||||
run: |
|
||||
./bin/facts/audit self 2>/dev/null || echo "audit: not yet implemented; gate skipped"
|
||||
|
||||
Reference in New Issue
Block a user