haiku.rag/tests/sandbox
Yiorgis Gozadinos 2bfb661c10
Pin the over-fetch rule, and assert the type a lookup raises
`_fetch_limit` had no test: a text query over-fetches `limit * 10` only with a
reranker, and an image query keeps its vector ranking either way. The sandbox
test asserted `KeyError`, which `UnknownDatabaseError` subclasses, so it could
not tell the contract from a bare one.

`uses_configured_databases` documents a mapping of one as covered; the test
named for it passed no mapping at all. Its `config` parameter is an `AppConfig`.

`test_an_analysis_capability_mounts_the_configured_set` carried a VCR marker and
no cassette, making no HTTP calls.
2026-08-28 14:03:13 +03:00
..
__init__.py Delete the standalone QA and analysis agents 2026-05-19 11:39:20 +03:00
conftest.py Delete the standalone QA and analysis agents 2026-05-19 11:39:20 +03:00
test_models.py Delete the standalone QA and analysis agents 2026-05-19 11:39:20 +03:00
test_sandbox.py Read the document's own database in the sandbox listing 2026-08-26 10:33:29 +03:00
test_sandbox_multi_db.py Pin the over-fetch rule, and assert the type a lookup raises 2026-08-28 14:03:13 +03:00
test_sandbox_multimodal.py Delete the standalone QA and analysis agents 2026-05-19 11:39:20 +03:00
test_sandbox_toc.py Recover from worker death and deny metadata writes 2026-07-28 19:11:19 +03:00