haiku.rag/tests/multi_db
Yiorgis Gozadinos de6da8b375
Pin what reciprocal rank fusion produces
`_fuse` ran in tests without anything asserting its output, so reversing the
sort or dropping the truncation changed nothing. Databases interleave by rank,
the score is the reciprocal of it, ties keep configured order, and the limit
cuts the fused list.

Every native score in one database beats every one in the other, so ranking by
score rather than position fails all four.
2026-08-27 16:01:28 +03:00
..
__init__.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
conftest.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
helpers.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_capabilities.py Let the MCP server be told which database once 2026-08-27 15:41:03 +03:00
test_citations.py Say what makes a cited chunk id ambiguous 2026-08-27 14:09:01 +03:00
test_documents.py Rename the database selector to --db-name 2026-08-26 16:48:27 +03:00
test_expansion.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_lifecycle.py Report where a named remote database actually is 2026-08-27 11:40:35 +03:00
test_scope.py Refuse a path and sources together 2026-08-27 15:12:22 +03:00
test_search.py Pin what reciprocal rank fusion produces 2026-08-27 16:01:28 +03:00