Me040 — duplicate_polygons duplicate_group_iteration: three separate duplicate groups

§12.14 mesh defects (sub-class: topology/duplicate)

topology

Sources

Description

6-triangle soup with three independent duplicate pairs (A, B, C each 2 copies). Forces the outer while(!all_duplicate_polygons.empty()) loop to iterate three times, once per group.

Reproducer recipe

three distinct triangle shapes each duplicated; groups at x=0, x=2, x=4.

Expected kernel behavior

iterate outer loop 3 times; process one group per iteration; reduce 6 triangles to 3.

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.5,
15      1.0,
16      0.0
17    ],
18    [
19      2.0,
20      0.0,
21      0.0
22    ],
23    [
24      3.0,
25      0.0,
26      0.0
27    ],
28    [
29      2.5,
30      1.0,
31      0.0
32    ],
33    [
34      4.0,
35      0.0,
36      0.0
37    ],
38    [
39      5.0,
40      0.0,
41      0.0
42    ],
43    [
44      4.5,
45      1.0,
46      0.0
47    ]
48  ],
49  "triangles": [
50    [
51      0,
52      1,
53      2
54    ],
55    [
56      0,
57      1,
58      2
59    ],
60    [
61      3,
62      4,
63      5
64    ],
65    [
66      3,
67      4,
68      5
69    ],
70    [
71      6,
72      7,
73      8
74    ],
75    [
76      6,
77      7,
78      8
79    ]
80  ],
81  "metadata": {
82    "id": "Me040",
83    "schema_version": 0,
84    "defect_class": "duplicate_triangles",
85    "title": "duplicate_polygons duplicate_group_iteration: three separate duplicate groups",
86    "assertions": [
87      {
88        "kind": "duplicate_polygon_group",
89        "triangles": [
90          0,
91          1
92        ],
93        "n": 2
94      },
95      {
96        "kind": "duplicate_polygon_group",
97        "triangles": [
98          2,
99          3
100        ],
101        "n": 2
102      },
103      {
104        "kind": "duplicate_polygon_group",
105        "triangles": [
106          4,
107          5
108        ],
109        "n": 2
110      }
111    ]
112  }
113}