Me507 — remove_almost_degenerate_faces no_progress: clean mesh; something_was_done stays false; loop returns false (Branch 8)

§12.14 mesh defects (sub-class: almost-degenerate-face / no-progress)

topology

Sources

Description

A clean, well-formed two-triangle quad mesh with no needles or caps. Both triangles (t0, t1) are right-isosceles with edge-length ratio sqrt(2)/1≈1.414 (well above needle threshold ~0.04) and max angle 90° (well below cap threshold 170°). The repair loop iterates over all faces, makes no repairs, and returns false. Negative-contrast fixture asserting the branch that fires only when the mesh is already clean.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(1,1,0), v3=(0,1,0); t0=(v0,v1,v2), t1=(v0,v2,v3); both area=0.5; euler V=4,E=5,F=2,chi=1.

Expected kernel behavior

Branch 8 fires; no face is touched; function returns false.

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      1.0,
15      1.0,
16      0.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ]
23  ],
24  "triangles": [
25    [
26      0,
27      1,
28      2
29    ],
30    [
31      0,
32      2,
33      3
34    ]
35  ],
36  "metadata": {
37    "id": "Me507",
38    "schema_version": 0,
39    "defect_class": "clean_mesh",
40    "title": "remove_almost_degenerate_faces no_progress: clean quad mesh with no needles or caps; something_was_done stays false, loop returns false (Branch 8)",
41    "assertions": [
42      {
43        "kind": "triangle_area_lt",
44        "triangle": 0,
45        "lt": 1.0
46      },
47      {
48        "kind": "triangle_area_lt",
49        "triangle": 1,
50        "lt": 1.0
51      },
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          0,
56          2
57        ],
58        "n": 2
59      },
60      {
61        "kind": "euler_characteristic",
62        "v": 4,
63        "e": 5,
64        "f": 2,
65        "chi": 1
66      }
67    ]
68  }
69}