FAILURE MAP
← Case archive

FA-98040 / Training label alignment / Member archive

Balanced example weights divide by total examples instead of class frequency · case 05

Balanced example weights divide by total examples instead of class frequency.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

For labels, return M/(K*count(label)) per row, where M is row count and K the number of observed classes; empty input returns empty.

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
imbalanced classes[0.3333333333333333, 0.3333333333333333, 0.3333333333333333][0.75, 0.75, 1.5]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 ↗