Me038 — duplicate_polygons duplicate_collection: two independent duplicate groups

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

spec-violation

Sources

Description

6-triangle soup with two spatially disjoint duplicate pairs. Group A = {tri0, tri1} sharing key (0,1,2); Group B = {tri3, tri4} sharing key (3,4,5). The hash+equality scan must collect both groups before any removal begins.

Reproducer recipe

two separate triangles each duplicated; two clean singletons between them.

Expected kernel behavior

collect two separate duplicate groups; merge each independently.

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      1.5,
35      0.5,
36      0.0
37    ]
38  ],
39  "triangles": [
40    [
41      0,
42      1,
43      2
44    ],
45    [
46      0,
47      1,
48      2
49    ],
50    [
51      0,
52      2,
53      6
54    ],
55    [
56      3,
57      4,
58      5
59    ],
60    [
61      3,
62      4,
63      5
64    ],
65    [
66      4,
67      6,
68      5
69    ]
70  ],
71  "metadata": {
72    "id": "Me038",
73    "schema_version": 0,
74    "defect_class": "duplicate_triangles",
75    "title": "duplicate_polygons duplicate_collection: two independent duplicate groups",
76    "assertions": [
77      {
78        "kind": "duplicate_polygon_group",
79        "triangles": [
80          0,
81          1
82        ],
83        "n": 2
84      },
85      {
86        "kind": "duplicate_polygon_group",
87        "triangles": [
88          3,
89          4
90        ],
91        "n": 2
92      }
93    ]
94  }
95}