FAILURE MAP
← Case archive

FA-88579 / Mesh topology invariants / Member archive

Compaction writes one-based indices · case 04

Every remapped face points one vertex too far.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

Input [verts, faces]: drop faces with fewer than 3 distinct vertices, then keep only vertices referenced by remaining faces, renumbered 0-based in increasing old-index order. Faces keep their corner order. Return [kept vertex payloads, remapped faces].

Why this case matters

Mesh processing pipelines (remeshing, export, simulation, printing) trust these topological counts and adjacency answers; a wrong invariant silently accepts broken meshes or rejects valid ones.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
gap and degenerate[["a", "c", "d", "e"], [[1, 2, 3], [2, 4, 3]]][["a", "c", "d", "e"], [[0, 1, 2], [1, 3, 2]]]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 ↗