FAILURE MAP
← Case archive

FA-88570 / Mesh topology invariants / Member archive

Compaction keeps vertices referenced only by dropped faces · case 05

Orphan vertices from discarded degenerate faces remain in the output.

Member previewVariant 5 · 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", "f"], [[0, 1, 2], [1, 3, 2]]][["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 ↗