FAILURE MAP
← Case archive

FA-98413 / Token sampling filters / Member archive

Token sampling: No-repeat n-gram filter bans every token seen in an n-gram · case 03

No-repeat n-gram filter bans every token seen in an n-gram.

Member previewVariant 3 · 3 implementations · 6 checks per implementation

Case contract

Remove a candidate if appending it would repeat an n-token sequence already present in history; n<=0 disables the rule.

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
different context allowed[]["a"]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 ↗