FAILURE MAP
← Case archive

FA-99390 / Embedding vector normalization / Member archive

Weighted pooling normalizes token vectors before combining them · case 05

Weighted pooling normalizes token vectors before combining them.

Member previewVariant 5 · 3 implementations · 6 checks per implementation

Case contract

Return the L2-unit direction of the weighted mean; zero total weight or a zero pooled vector 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 fixture

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

Boundary fixtureActualExpectedOutcome
magnitudes matter[0.5, 0.5][0.31622776601683794, 0.9486832980505138]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 ↗