FA-99450 / Vector retrieval ranking / Member archive
Vector retrieval: Cosine similarity is treated as a distance · case 05
Cosine similarity is treated as a distance.
Case contract
Rows are [id,similarity]; return highest similarity first, lexical ties.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| strong match | ["weak", "strong"] | ["strong", "weak"] | 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 ↗