Me691 — connected_component visited_vertex_dedup: 4-triangle fan ring where f3 is reachable via two BFS paths

§12.14 mesh defects (sub-class: disconnected_components / connected-component-BFS)

topology

Sources

Description

Four triangles arranged as a closed fan ring (f0-f3) around a center apex v4. BFS from f0 discovers f1 via (v1,v4) and f3 via (v0,v4). When BFS processes f2 it discovers f3 again (via (v3,v4)) — f3 was already inserted. Branch 2's `!already_processed.insert(seed_face)` dedup guard fires and skips re-insertion. An isolated triangle (f4) forms a second CC.

Reproducer recipe

v0=(0,0,0), v1=(2,0,0), v2=(2,2,0), v3=(0,2,0), v4=(1,1,0). f0=(v0,v1,v4); f1=(v1,v2,v4); f2=(v2,v3,v4); f3=(v3,v0,v4). iso=(w0,w1,w2) at x=10.

Expected kernel behavior

f3 discovered via two BFS paths; dedup guard fires on second encounter and skips re-insertion.

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      2.0,
10      0.0,
11      0.0
12    ],
13    [
14      2.0,
15      2.0,
16      0.0
17    ],
18    [
19      0.0,
20      2.0,
21      0.0
22    ],
23    [
24      1.0,
25      1.0,
26      0.0
27    ],
28    [
29      10.0,
30      0.0,
31      0.0
32    ],
33    [
34      11.0,
35      0.0,
36      0.0
37    ],
38    [
39      10.5,
40      1.0,
41      0.0
42    ]
43  ],
44  "triangles": [
45    [
46      0,
47      1,
48      4
49    ],
50    [
51      1,
52      2,
53      4
54    ],
55    [
56      2,
57      3,
58      4
59    ],
60    [
61      3,
62      0,
63      4
64    ],
65    [
66      5,
67      6,
68      7
69    ]
70  ],
71  "metadata": {
72    "id": "Me691",
73    "schema_version": 0,
74    "defect_class": "disconnected_components",
75    "title": "connected_component visited_vertex_dedup: 4-triangle fan ring where f3 is reachable via two BFS paths",
76    "assertions": [
77      {
78        "kind": "edge_shared_by_n_triangles",
79        "edge": [
80          0,
81          4
82        ],
83        "n": 2
84      },
85      {
86        "kind": "edge_shared_by_n_triangles",
87        "edge": [
88          1,
89          4
90        ],
91        "n": 2
92      },
93      {
94        "kind": "edge_shared_by_n_triangles",
95        "edge": [
96          2,
97          4
98        ],
99        "n": 2
100      },
101      {
102        "kind": "edge_shared_by_n_triangles",
103        "edge": [
104          3,
105          4
106        ],
107        "n": 2
108      },
109      {
110        "kind": "triangle_not_reachable_from",
111        "target": 4,
112        "source": 0
113      }
114    ]
115  }
116}