FAILURE MAP
← Case archive

FA-97955 / Training label alignment / Member archive

One-hot targets omit classes absent from the current batch · case 05

One-hot targets omit classes absent from the current batch.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

Given zero-based class indices and declared class_count, emit one-hot rows of exactly that width; invalid indices yield all-zero rows.

Why this case matters

A small deterministic training-data operation makes label ownership and ordering explicit.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
absent trailing classes[[1, 0], [0, 1]][[1, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 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 ↗