FAILURE MAP
← Case archive

FA-87675 / Collision detection broadphase / Member archive

Sweep order sorts by box maxima · case 05

Endpoint arrays are built out of order and pruning breaks.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

solve(boxes): 3D sweep-and-prune axis selection. Boxes [id,minx,miny,minz,maxx,maxy,maxz]. Pick the axis with the largest population variance of box centres (first axis on ties), then order ids by (min on that axis, id). Return [axis, variance rounded to 6, ordered ids].

Why this case matters

Broadphase stages decide which object pairs ever reach narrowphase; a wrong boundary, ordering or bookkeeping rule silently drops real contacts or floods the solver with false candidates.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
case 2[1, 45.66, [33, 38, 25, 39, 34]][1, 45.66, [33, 38, 39, 25, 34]]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 ↗