haiku.rag/haiku_rag_slim/haiku/rag
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
..
capabilities Instruct capabilities to judge user-attached images 2026-07-25 14:40:51 +03:00
chat Constrain the chat prompt container height 2026-07-25 14:40:40 +03:00
chunkers Fail docling-serve requests over to another instance with per-instance breaking 2026-07-08 11:03:44 +03:00
client Reach and enforce 100% coverage 2026-07-26 20:11:02 +03:00
config replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
converters Prevent magic-byte sniffing from misrouting text conversion in docling-local 2026-07-15 19:20:54 +03:00
embeddings Pool HTTP clients for vLLM embedding and vLLM/Jina reranking 2026-07-09 10:32:44 +03:00
ingester Cover MCP, ingester and converter error paths 2026-07-26 19:14:26 +03:00
inspector Surface database-open errors in the TUIs 2026-07-25 11:27:29 +03:00
providers Emit a docling_serve.request span per instance attempt 2026-07-10 11:16:27 +03:00
reranking Set explicit 120s timeout on the vllm reranker HTTP client 2026-07-24 12:34:31 +03:00
sandbox Cover sandbox VFS reads, binary part dedup and picture spans 2026-07-26 19:41:09 +03:00
store Reach and enforce 100% coverage 2026-07-26 20:11:02 +03:00
tools Verify picture bytes before attaching to multimodal tool returns 2026-05-13 16:01:39 +03:00
__init__.py Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
app.py Accept images on CLI ask/analyze and MCP tools 2026-07-25 10:35:25 +03:00
circuit_breaker.py Move CircuitBreaker to a shared module 2026-07-08 11:03:30 +03:00
cli.py Accept images on CLI ask/analyze and MCP tools 2026-07-25 10:35:25 +03:00
context.py Remove unreachable code and fix two defects it surfaced 2026-07-26 18:45:48 +03:00
doctor.py Remove unreachable code and fix two defects it surfaced 2026-07-26 18:45:48 +03:00
logging.py Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
mcp.py Cover MCP, ingester and converter error paths 2026-07-26 19:14:26 +03:00
s3.py swap aioboto3 for obstore in the S3 client path 2026-05-11 11:29:42 +03:00
telemetry.py Route eval scripts through the shared telemetry configure 2026-07-10 11:38:33 +03:00
utils.py Accept images on ask/analyze 2026-07-25 10:23:55 +03:00