In this article
Combining evidence before judgment and combining scores after judgment are different measurement procedures.
Choose where combination should happen
A RAG evaluator can ask whether an answer is supported by the complete retrieved evidence or whether each passage is individually relevant. TruLens selectors expose collection behavior that changes the inputs delivered to the metric. Decide whether the judgment should see pooled evidence or separate items. A shared metric name cannot make these procedures equivalent, because useful information may be distributed across passages rather than present in any single one.
Distinguish collection from aggregation
The aggregation guide describes combining numeric metric outputs when selection yields multiple input values. This occurs after the individual judgments. Pooled context instead changes what the judge can consider together before producing a score. A mean of passage-level support judgments does not generally equal a judgment of their combined evidence. Retain that distinction when comparing configurations instead of treating both as interchangeable ways to summarize a long context.
Inspect the unit receiving equal weight
The documented default aggregation is a mean, not an automatic weighting by passage length, source importance or claim coverage. If one source is split into many short chunks, its influence on an item-level average can change without adding new knowledge. Preserve chunking and duplicate policy with the result. A re-chunked corpus can therefore alter an evaluation through the observation unit, even when the final answer and the underlying documents remain exactly the same.
Keep metric arguments explicit
The metric anatomy guide separates the implementation, selector mapping and aggregation. Inspect the actual values reaching the callable, including whether context is delivered collectively or through repeated calls. Do not infer behavior solely from the number of retrieved documents displayed elsewhere. Framework adapters and span attributes determine the selected evidence. A configuration that creates an object successfully may still include more retrieval steps or fewer passages than the intended measurement scope.
Verify with distributed evidence
Use a diagnostic answer requiring complementary facts from separate passages, plus an unrelated passage and a repeated chunk. Compare the procedures according to their declared questions rather than expecting identical scores. The guides to RAG metric boundaries and selector migration provide related controls. Publish collection and aggregation settings together, preserving the difference between support available in the evidence union and the average quality of the individual retrieved units selected for judgment.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.