mesh-examples/12-14-mesh/Me460.mesh.json
Sources
- MeshFix `Basic_TMesh.selectConnectedComponent` Branch 1 (*seed_enqueue*: `todo.appendHead(t0)` @ line 1070)
- `MESH_HEAL_COVERAGE.md`.
Description
Three triangles forming a single connected component (v0–v3 with hub edges (v0,v1) and (v0,v2) each shared by 2 triangles). The seed triangle t0=(v0,v1,v2) is enqueued unconditionally as the first BFS step. The two neighbors t1=(v1,v0,v3) and t2=(v0,v2,v3) are reachable in one BFS hop. Interior edges (v0,v1) n=2, (v0,v2) n=2; boundary edge (v1,v3) n=1. Euler: V=4, E=6, F=3, chi=1.
Reproducer recipe
v0=(0,0,0), v1=(1,0,0), v2=(0.5,1,0), v3=(0.5,-1,0); t0=(v0,v1,v2), t1=(v1,v0,v3), t2=(v0,v2,v3); assert_edge_shared(v0,v1,2); assert_edge_shared(v0,v2,2); euler V=4,E=6,F=3,chi=1.
Expected kernel behavior
Branch 1 fires immediately; t0 is pushed onto todo; subsequent BFS dequeues process t1 and t2, marking all 3 triangles visited (ns=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 0.5, 20 -1.0, 21 0.0 22 ] 23 ], 24 "triangles": [ 25 [ 26 0, 27 1, 28 2 29 ], 30 [ 31 1, 32 0, 33 3 34 ], 35 [ 36 0, 37 2, 38 3 39 ] 40 ], 41 "metadata": { 42 "id": "Me460", 43 "schema_version": 0, 44 "defect_class": "disconnected_components", 45 "title": "selectConnectedComponent seed_enqueue: todo.appendHead(t0) initializes BFS from seed triangle", 46 "assertions": [ 47 { 48 "kind": "edge_shared_by_n_triangles", 49 "edge": [ 50 0, 51 1 52 ], 53 "n": 2 54 }, 55 { 56 "kind": "edge_shared_by_n_triangles", 57 "edge": [ 58 0, 59 2 60 ], 61 "n": 2 62 }, 63 { 64 "kind": "edge_shared_by_n_triangles", 65 "edge": [ 66 1, 67 3 68 ], 69 "n": 1 70 }, 71 { 72 "kind": "euler_characteristic", 73 "v": 4, 74 "e": 6, 75 "f": 3, 76 "chi": 1 77 } 78 ] 79 } 80}