mesh-examples/12-14-mesh/Me220.mesh.json
Sources
- MeshFix `Basic_TMesh.eulerUpdate` Branch 1 (*component_discovery*: `!IS_BIT(t, 5)`, `n_shells++`)
- `MESH_HEAL_COVERAGE.md`.
Description
Two completely disconnected triangles (T0 at z=0, T1 at z=5). eulerUpdate's BFS must seed a new component twice, incrementing n_shells each time. T1 is unreachable from T0 by shared-edge traversal.
Reproducer recipe
v0=(0,0,0), v1=(1,0,0), v2=(0.5,1,0), v3=(0,0,5), v4=(1,0,5), v5=(0.5,1,5); t0=(v0,v1,v2), t1=(v3,v4,v5).
Expected kernel behavior
eulerUpdate seeds BFS twice → n_shells=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 0.5, 15 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 0.0, 21 5.0 22 ], 23 [ 24 1.0, 25 0.0, 26 5.0 27 ], 28 [ 29 0.5, 30 1.0, 31 5.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 0, 37 1, 38 2 39 ], 40 [ 41 3, 42 4, 43 5 44 ] 45 ], 46 "metadata": { 47 "id": "Me220", 48 "schema_version": 0, 49 "defect_class": "disconnected_shell", 50 "title": "eulerUpdate_component_discovery: two disconnected shells force n_shells++ twice", 51 "assertions": [ 52 { 53 "kind": "triangle_not_reachable_from", 54 "target": 1, 55 "source": 0 56 }, 57 { 58 "kind": "edge_shared_by_n_triangles", 59 "edge": [ 60 0, 61 1 62 ], 63 "n": 1 64 }, 65 { 66 "kind": "edge_shared_by_n_triangles", 67 "edge": [ 68 1, 69 2 70 ], 71 "n": 1 72 }, 73 { 74 "kind": "edge_shared_by_n_triangles", 75 "edge": [ 76 0, 77 2 78 ], 79 "n": 1 80 }, 81 { 82 "kind": "edge_shared_by_n_triangles", 83 "edge": [ 84 3, 85 4 86 ], 87 "n": 1 88 }, 89 { 90 "kind": "edge_shared_by_n_triangles", 91 "edge": [ 92 4, 93 5 94 ], 95 "n": 1 96 }, 97 { 98 "kind": "edge_shared_by_n_triangles", 99 "edge": [ 100 3, 101 5 102 ], 103 "n": 1 104 } 105 ] 106 } 107}