
Evaluating AI Tools
Why a search benchmark needs graded relevance before nDCG
nDCG compares a search ranking with an ideal order, but the relevance grades come first. Build a clear rubric before treating the metric as a quality verdict.

nDCG compares a search ranking with an ideal order, but the relevance grades come first. Build a clear rubric before treating the metric as a quality verdict.

Calculate mean reciprocal rank with a small search example, define the evaluation cutoff and understand which useful results the metric leaves out.