haiku.rag/tests/multi_db
Yiorgis Gozadinos 2fef67d9fd
Name the databases before the model runs
`ask(sources=["typo"])` reached the model, which discovered the name only if it
searched: requests spent on a selection that could never answer, and a run that
never searched answered anyway.

Checked by name, not by opening: a client covering a set opens a database when a
query reaches it, and validating by opening would open every one of them before
any search, letting a database nobody asked about fail the run.
2026-08-27 17:07:41 +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 Name the databases before the model runs 2026-08-27 17:07:41 +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 Build one reranker for the databases searched together 2026-08-27 17:07:41 +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