FAILURE MAP
← Case archive

FA-14114 / Numerical aggregation / Member archive

Frequency cosine squared: Dot product uses minimum matched frequencies instead of products. · case 04

The reduction disagrees with its explicit aggregation oracle.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Treat samples as frequency vectors over nominal integer labels. Return squared cosine dot**2/(sum count_a**2 * sum count_b**2) as exact Fraction string. A zero norm on either side returns None.

Why this case matters

Exact bounded examples isolate a reduction defect without floating-point or external-service effects.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression 1"4/25""16/25"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 ↗