haiku.rag/tests/capabilities
Yiorgis Gozadinos 31fc8aba29
Guard dedup against compaction and document search units
A picture deduplicated within a burst must still reach the model once in
its own question and, when cited, again via the capsule re-fetch after
compaction; uncited it is dropped. Two wire tests pin both paths. The
harness builds the rag capability with defer_loading=False: a deferred
evidence capability the model has not loaded presents an empty record,
so compaction computes boundary 0 and rewrites nothing.

qa.md describes max_searches in units.
2026-09-02 12:29:12 +03:00
..
conftest.py replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
test_agent_spec.py Resolve a capability's databases once, into a scope 2026-08-26 12:20:21 +03:00
test_borrowed_client.py Lend the caller's client to the capability 2026-08-18 14:58:18 +03:00
test_capabilities.py Price qa.max_searches in search units 2026-09-02 12:29:12 +03:00
test_citation_policy.py Price qa.max_searches in search units 2026-09-02 12:29:12 +03:00
test_evidence_capsule.py Finish the comment pass, and escape document fields everywhere Rich renders 2026-08-28 15:34:47 +03:00
test_evidence_ledger.py Enforce a declaration wherever there is something to declare 2026-08-13 13:39:42 +03:00
test_evidence_wire.py Guard dedup against compaction and document search units 2026-09-02 12:29:12 +03:00
test_search_units.py Deduplicate search results within one model response 2026-09-02 12:29:12 +03:00