FAILURE MAP
← Case archive

FA-98348 / Token sampling filters / Member archive

Token sampling: Nucleus filtering excludes the token that crosses p · case 03

Nucleus filtering excludes the token that crosses p.

Member previewVariant 3 · 3 implementations · 6 checks per implementation

Case contract

Sort by descending probability then token ID; retain the shortest prefix whose cumulative mass is at least p. For p<=0 keep none; p>1 keeps all.

Why this case matters

A finite, deterministic token-selection contract isolates one decoding operation from model inference and runtime behavior.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
crossing included["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 ↗