FAILURE MAP
← Case archive

FA-99393 / Embedding vector normalization / Member archive

Gradient style clipping expands a vector already under the norm bound · case 03

Gradient style clipping expands a vector already under the norm bound.

Member previewVariant 3 · 3 implementations · 6 checks per implementation

Case contract

Return v scaled by min(1, bound/L2(v)); zero vectors stay zero and bound is positive.

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
inside bound[6.0, 0.0][3, 0]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 ↗