FAILURE MAP
← Case archive

FA-99493 / Vector retrieval ranking / Member archive

Vector retrieval: Unequal vector norms distort cosine ranking · case 03

Unequal vector norms distort cosine ranking.

Member previewVariant 3 · 3 implementations · 6 checks per implementation

Case contract

Rows are [id,dot,query_norm_squared,vector_norm_squared], with positive norms and valid dot products. Rank by signed cosine dot/sqrt(query_norm_squared*vector_norm_squared), then ID.

Why this case matters

An offline vector retrieval toy model isolates one ranking contract from embedding generation, storage, and serving.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
large norm lowers cosine["b", "a"]["a", "b"]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗