FA-99385 / Embedding vector normalization / Member archive
Square-root length pooling divides by squared token count · case 05
Square-root length pooling divides by squared token count.
Case contract
Return sum(vectors)/sqrt(token_count) coordinatewise; empty input returns empty.
Why this case matters
A small embedding preparation contract can be checked without a model or retrieval system.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| two tokens | [2.5, 2.5] | [7.071067811865475, 7.071067811865475] | 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 ↗