FA-98038 / Training label alignment / Member archive
Balanced example weights divide by total examples instead of class frequency · case 03
Balanced example weights divide by total examples instead of class frequency.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| 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 ↗