Most retrieval evaluation asks "did we find the right thing?" Relevance metrics such as recall@k, nDCG@k and MRR@k reward the presence of useful documents and are largely indifferent to a hostile document that ranks just below the cut. The Deepchecks RAG evaluation paper describes classic retrieval metrics this way, scoring ranking effectiveness against a relevance signal. None of them fail when an excluded document is retrieved. A pipeline can post excellent recall numbers and still leak a sealed document on every query.
Exclusions are a constraint, not a quality target. That changes the shape of the test. You are not measuring how often the pipeline is right, you are proving the absence of a specific identifier. Evidently's RAG evaluation guide separates retrieval from generation evaluation precisely because a fault in one stage is invisible when you only look at the final answer, and that separation matters here: a leak is a retrieval-stage fact and should be asserted at the retrieval layer, not inferred from prose.
The practical consequence is a different pass condition. For relevance you accept a rate ("recall@5 above some threshold"). For exclusions the only defensible threshold is zero. This is closer to a security test than a quality test, and it should live where security tests live: in the blocking path of continuous integration, not in a dashboard someone checks on Fridays.



