# Interface QualityMetrics

Quality metrics for retrieval operations.

interface QualityMetrics {
precision: number;
recall: number;
f1Score: number;
mrr: number;
ndcgAtK: number;
}

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:65

##### Index

### Properties

precision
recall
f1Score
mrr
ndcgAtK

## Properties

### `Readonly` precision

precision: number

Precision: relevant retrieved / total retrieved.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:67

### `Readonly` recall

recall: number

Recall: relevant retrieved / total relevant.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:69

### `Readonly` f1Score

f1Score: number

F1 score: harmonic mean of precision and recall.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:71

### `Readonly` mrr

mrr: number

Mean reciprocal rank.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:73

### `Readonly` ndcgAtK

ndcgAtK: number

Normalized discounted cumulative gain at k.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:75