Me391 — do_faces_intersect_identical_face_soup_deduplication: two identical triangles in soup mode — deduplication target, not SI (Branch 2)

§12.14 mesh defects (sub-class: do_faces_intersect / identical-face-soup-deduplication)

topology

Sources

Description

Two triangles with identical vertex indices (v0,v1,v2) appearing twice. In soup mode (allow_identical_face=true), identical faces are classified as deduplication targets, not self-intersections — Branch 2 returns false. The `duplicate_triangle_pair` assertion confirms the oracle detects the identical geometry.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(0,1,0); t0=(v0,v1,v2), t1=(v0,v1,v2); assert_duplicate_triangle_pair(0,1).

Expected kernel behavior

Branch 2 fires; soup mode suppresses SI classification for identical faces; function returns false.

Expected validation

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1{
2  "vertices": [
3    [
4      0.0,
5      0.0,
6      0.0
7    ],
8    [
9      1.0,
10      0.0,
11      0.0
12    ],
13    [
14      0.0,
15      1.0,
16      0.0
17    ]
18  ],
19  "triangles": [
20    [
21      0,
22      1,
23      2
24    ],
25    [
26      0,
27      1,
28      2
29    ]
30  ],
31  "metadata": {
32    "id": "Me391",
33    "schema_version": 0,
34    "defect_class": "duplicate_face_pair",
35    "title": "do_faces_intersect soup-mode: two identical triangles (same vertices) \u2014 soup deduplication target, not SI",
36    "assertions": [
37      {
38        "kind": "duplicate_triangle_pair",
39        "triangles": [
40          0,
41          1
42        ]
43      }
44    ]
45  }
46}