mesh-examples/12-14-mesh/Me971.mesh.json
Sources
- MeshFix `Basic_TMesh.deselectConnectedComponent` Branch 2 (*visited_triangle_check*: `if (IS_VISITED(t))`)
- `MESH_HEAL_COVERAGE.md`.
Description
A 3-triangle connected strip where t0 and t1 are selected (IS_VISITED=true) but t2 is NOT selected (IS_VISITED=false). BFS starts at seed t0, expands to t1 (selected — check passes), then sees t2 (not selected — IS_VISITED check fails, skip). Only t0 and t1 are deselected (ns=2); t2 remains untouched. Interior (v1,v3) n=2, (v1,v4) n=2. Euler: V=5, E=7, F=3, chi=1.
Reproducer recipe
same strip as Me970; t0=(v0,v1,v3) selected, t1=(v1,v4,v3) selected, t2=(v1,v2,v4) NOT selected; BFS skips t2 because IS_VISITED(t2)==false.
Expected kernel behavior
Branch 2 fires for each dequeued triangle; t2 is visited but IS_VISITED is false so it is skipped; ns=2.
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 2.0, 15 0.0, 16 0.0 17 ], 18 [ 19 0.5, 20 1.0, 21 0.0 22 ], 23 [ 24 1.5, 25 1.0, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 3 34 ], 35 [ 36 1, 37 4, 38 3 39 ], 40 [ 41 1, 42 2, 43 4 44 ] 45 ], 46 "metadata": { 47 "id": "Me971", 48 "schema_version": 0, 49 "defect_class": "selection_partial", 50 "title": "deselectConnectedComponent_visited_triangle_check: IS_VISITED(t) guard skips unselected neighbor t2; only t0+t1 deselected (Branch 2)", 51 "assertions": [ 52 { 53 "kind": "edge_shared_by_n_triangles", 54 "edge": [ 55 1, 56 3 57 ], 58 "n": 2 59 }, 60 { 61 "kind": "edge_shared_by_n_triangles", 62 "edge": [ 63 1, 64 4 65 ], 66 "n": 2 67 }, 68 { 69 "kind": "edge_shared_by_n_triangles", 70 "edge": [ 71 0, 72 1 73 ], 74 "n": 1 75 }, 76 { 77 "kind": "edge_shared_by_n_triangles", 78 "edge": [ 79 0, 80 3 81 ], 82 "n": 1 83 }, 84 { 85 "kind": "edge_shared_by_n_triangles", 86 "edge": [ 87 3, 88 4 89 ], 90 "n": 1 91 }, 92 { 93 "kind": "edge_shared_by_n_triangles", 94 "edge": [ 95 2, 96 4 97 ], 98 "n": 1 99 }, 100 { 101 "kind": "edge_shared_by_n_triangles", 102 "edge": [ 103 1, 104 2 105 ], 106 "n": 1 107 }, 108 { 109 "kind": "euler_characteristic", 110 "v": 5, 111 "e": 7, 112 "f": 3, 113 "chi": 1 114 } 115 ] 116 } 117}