haiku.rag/haiku_rag_slim/haiku/rag/client
Yiorgis Gozadinos f6acb65e95
Reach and enforce 100% coverage
Cover the remaining paths in the client, context, downloads, title
generation, document tools and store models, and add fail_under=100 so
uncovered lines fail CI.

Six lines that no test can reach get a pragma with its reason: the docling
import guard, the nameless PDF attachment, the FS symlink OSError guard that
resolve(strict=False) absorbs, the docling bbox and LanceDB document-id
shape guards, the tag-retention branch vacuum makes unreachable, and Monty's
Rust-thread print callback.

Fix test_find_config_file_user_config, which wrote its config into the cwd it
had chdir'd to, so the cwd branch answered first and the user-directory
lookup it names was never exercised.
2026-07-26 20:11:02 +03:00
..
__init__.py Accept images on ask/analyze 2026-07-25 10:23:55 +03:00
agents.py Accept images on ask/analyze 2026-07-25 10:23:55 +03:00
documents.py Reach and enforce 100% coverage 2026-07-26 20:11:02 +03:00
downloads.py Reach and enforce 100% coverage 2026-07-26 20:11:02 +03:00
exceptions.py typed UnsupportedSourceError replaces pipeline string-marker matching 2026-05-26 11:44:46 +03:00
processing.py Dedupe picture chunks and skip small pictures at chunking 2026-07-09 10:24:32 +03:00
rebuild.py Remove unreachable code and fix two defects it surfaced 2026-07-26 18:45:48 +03:00
search.py Multimodal reranking: send picture chunks to vllm rerankers as images 2026-07-24 12:29:20 +03:00
titles.py Extract title generation into client/titles.py 2026-04-24 14:42:53 +03:00