haiku.rag/evaluations/evaluations
Yiorgis Gozadinos 1d09b4e31b
Find a document in whichever database holds it
`get_document_by_id`, `get_document_by_uri` and `get_chunk_by_id` read
through repositories a client covering a set does not have, so a lookup by
identifier raised AttributeError and `resolve_document` with it. An
identifier says nothing about which database holds it, so every database is
asked at once and the first that has it, in configured order, answers.

On the evaluation side, `--db` overrides the configured set as the CLI
documents, and population refuses a set rather than ingesting into a
database the run would not read. A case filter matching nothing raises
instead of reporting 0.0000 as though it were a score.
2026-08-24 10:03:47 +03:00
..
datasets Add stable ids to FRAMES question rows 2026-08-24 09:03:44 +03:00
evaluators Simplify the eval harness and share the embed-fill path. 2026-08-17 10:56:26 +03:00
__init__.py Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
artifacts.py Split the evaluation benchmark by responsibility 2026-08-20 14:08:09 +03:00
benchmark.py Find a document in whichever database holds it 2026-08-24 10:03:47 +03:00
capability_runner.py Record the database each citation came from 2026-08-24 10:03:47 +03:00
config.py Find a document in whichever database holds it 2026-08-24 10:03:47 +03:00
experiment.py Split the evaluation benchmark by responsibility 2026-08-20 14:08:09 +03:00
numbers.py Normalize unicode signs 2026-06-06 14:52:04 +03:00
population.py Split the evaluation benchmark by responsibility 2026-08-20 14:08:09 +03:00
qa.py Find a document in whichever database holds it 2026-08-24 10:03:47 +03:00
retrieval.py Find a document in whichever database holds it 2026-08-24 10:03:47 +03:00
submission.py replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00