How would you create a chunking-agnostic eval benchmark (a benchmark that does not depend on how the text is split into chunks)?
Asked at
AI answer
Evaluation should be based on the original documents and the context budget, not on specific chunk IDs. For each test question, store the source document and the annotated source passages as character/token ranges or semantic facts. During evaluation, map the retrieved chunks back to ranges in the original text, merge overlaps, and measure coverage of relevant ranges, evidence precision, and completeness at the same token budget. Evaluate the answer separately for factual accuracy, citation correctness, and appropriate refusal when information is insufficient—for example, using reference claims and blind expert review. Compare different chunking strategies using the same corpus, queries, context limit, and generation settings; record the versions of the data and components. This keeps the metrics independent of chunk boundaries and chunk counts.
Also asked at Т1
- What enables the OpenSearch engine to return results quickly across a huge database (what algorithm is it based on)?
- How can you tell that a service is showing signs of degradation or has stopped functioning? What error codes would you expect?
- Why is Object Storage used in this architecture, and what exactly do we store there?
- Based on your experience, name an example of a task similar to the architecture we discussed. How exactly were the microservices interactions and event delivery set up?
- How would you handle user authorization when they sign in to the interface and upload documents?
Similar questions
- How would you build a system for evaluating the quality of a RAG pipeline and agents, including comparing versions when chunking changes and finding facts without using LLM-as-a-judge?
- What algorithm would you use to make fact retrieval across chunks robust when a fact may be split across a chunk boundary?
- Where would you get the ground-truth facts for such a benchmark?
- How would you build a system for evaluating the quality of a generator, agents, and pipelines? Have you ever configured such a system?
- What would need to be done with the evaluation and labeling if the documents or chunking profile changed?