From e18fb40d8da866bc417bf5955dc83bcc259fd91f Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Fri, 30 Oct 2026 22:09:16 -0400 Subject: [PATCH] Reference tests: the eight cases that fail on SMLib eaa998a name their cause as known failures Develop 38fd4a4f6's Reference tests fail 34, 35, 77, 78 and 81 (STEP export finds fillet edges 4.6e-5 to 6.1e-5 off their surfaces against 2e-5), 37 (the apex blend 0.193 off), 80 (the taper-to-fit area) and 83 (thicken status 1001). Each expected.json names its cause in known_failure, which the oracle already reads: a known failure that passes fails the job. Co-Authored-By: Claude Opus 5.5 --- tests/oracle/34-chamfer-then-fillet/expected.json | 1 + tests/oracle/35-fillet-curved-curved/expected.json | 1 + tests/oracle/37-pyramid-apex-blend/expected.json | 1 + tests/oracle/77-fillet-variable-linear/expected.json | 1 + tests/oracle/78-fillet-variable-to-zero/expected.json | 1 + tests/oracle/80-fillet-taper-to-fit/expected.json | 1 + tests/oracle/81-fillet-spline-radius/expected.json | 1 + tests/oracle/83-boundary-loop-thicken/expected.json | 1 + 8 files changed, 8 insertions(+) diff --git a/tests/oracle/34-chamfer-then-fillet/expected.json b/tests/oracle/34-chamfer-then-fillet/expected.json index 7ed149fc4e..22139c6476 100644 --- a/tests/oracle/34-chamfer-then-fillet/expected.json +++ b/tests/oracle/34-chamfer-then-fillet/expected.json @@ -1,5 +1,6 @@ { "source": "freecad 1.1.4", + "known_failure": "SMLib fillet: STEP export finds edges 4.6e-5 to 6.1e-5 off their surfaces against 2e-5", "method": "FreeCAD (OpenCASCADE) build of recipe.json by tools/freecad-oracle/build.py: Part extrude, Part makeChamfer, Part makeFillet", "body_count": 1, "volume_mm3": 22892.42132988775, diff --git a/tests/oracle/35-fillet-curved-curved/expected.json b/tests/oracle/35-fillet-curved-curved/expected.json index 39dddae7e2..feba69fe3d 100644 --- a/tests/oracle/35-fillet-curved-curved/expected.json +++ b/tests/oracle/35-fillet-curved-curved/expected.json @@ -1,5 +1,6 @@ { "source": "freecad 1.1.4", + "known_failure": "SMLib fillet: STEP export finds edges 4.6e-5 to 6.1e-5 off their surfaces against 2e-5", "method": "FreeCAD (OpenCASCADE) build of recipe.json by tools/freecad-oracle/build.py: Part extrude, Part extrude join, Part makeFillet", "body_count": 1, "volume_mm3": 63171.61517720092, diff --git a/tests/oracle/37-pyramid-apex-blend/expected.json b/tests/oracle/37-pyramid-apex-blend/expected.json index faf45e1f58..6edd3e21f6 100644 --- a/tests/oracle/37-pyramid-apex-blend/expected.json +++ b/tests/oracle/37-pyramid-apex-blend/expected.json @@ -1,5 +1,6 @@ { "source": "freecad 1.1.4", + "known_failure": "the apex blend's shape is 0.193 mm off the reference (at most 0.05)", "method": "FreeCAD (OpenCASCADE) build of recipe.json by tools/freecad-oracle/build.py: Part.makeLoft, Part makeFillet", "body_count": 1, "volume_mm3": 15465.577113384288, diff --git a/tests/oracle/77-fillet-variable-linear/expected.json b/tests/oracle/77-fillet-variable-linear/expected.json index 97615472ed..33ad077c03 100644 --- a/tests/oracle/77-fillet-variable-linear/expected.json +++ b/tests/oracle/77-fillet-variable-linear/expected.json @@ -1,5 +1,6 @@ { "source": "analytic", + "known_failure": "SMLib variable fillet: STEP export finds edges 4.6e-5 to 6.1e-5 off their surfaces against 2e-5", "method": "box 40x30x20 with its top front edge (y=0, z=20) rounded at a radius running straight from 2 (x=0) to 5 (x=40): sections are quarter rounds, V = abc - (1 - pi/4) L (a^2 + ab + b^2) / 3; moments and the round's area integrated along the edge (tools/oracle-analytic/cases_fillets.py)", "body_count": 1, "volume_mm3": 23888.407044966672, diff --git a/tests/oracle/78-fillet-variable-to-zero/expected.json b/tests/oracle/78-fillet-variable-to-zero/expected.json index fa6bf793a0..8d11c9c498 100644 --- a/tests/oracle/78-fillet-variable-to-zero/expected.json +++ b/tests/oracle/78-fillet-variable-to-zero/expected.json @@ -1,5 +1,6 @@ { "source": "analytic", + "known_failure": "SMLib variable fillet: STEP export finds edges 4.6e-5 to 6.1e-5 off their surfaces against 2e-5", "method": "as 77 with the radius running from 4 (x=0) down to 0 (x=40), where the round closes to the corner: V = abc - (1 - pi/4) L a^2 / 3; the round is three-sided and the corner at x=40 stays", "body_count": 1, "volume_mm3": 23954.21827485812, diff --git a/tests/oracle/80-fillet-taper-to-fit/expected.json b/tests/oracle/80-fillet-taper-to-fit/expected.json index 30850ccb0e..255552af71 100644 --- a/tests/oracle/80-fillet-taper-to-fit/expected.json +++ b/tests/oracle/80-fillet-taper-to-fit/expected.json @@ -1,5 +1,6 @@ { "source": "analytic", + "known_failure": "the taper-to-fit round's area is off the reference (the fillet room law)", "method": "plate (top 20 -> 2 wide over x 0..40, 15 high) with its top front edge filleted at 3, fit: taper. The radius is the taper law: a clamped cubic B-spline in u = x/40 on 8 equal spans, control radii min(3, 0.9 room) at the Greville abscissae, room = min(20 - 18u, 15) tan 45 deg (top face width, front face height): 3.0000, 3.0000, 3.0000, 3.0000, 3.0000, 3.0000, 3.0000, 3.0000, 3.0000, 2.4750, 1.8000. Sections are quarter rounds; V, moments and areas integrated along the edge", "body_count": 1, "volume_mm3": 6525.960225143974, diff --git a/tests/oracle/81-fillet-spline-radius/expected.json b/tests/oracle/81-fillet-spline-radius/expected.json index 392a2b5f70..66993e4183 100644 --- a/tests/oracle/81-fillet-spline-radius/expected.json +++ b/tests/oracle/81-fillet-spline-radius/expected.json @@ -1,5 +1,6 @@ { "source": "analytic", + "known_failure": "SMLib variable fillet: STEP export finds edges 4.6e-5 to 6.1e-5 off their surfaces against 2e-5", "method": "box 40x30x20 with its top front edge (y=0, z=20) rounded at a radius that is a clamped cubic B-spline in u = x/40, knots 0,0,0,0,0.25,0.6,1,1,1,1, control radii 2, 5, 1.5, 4, 1, 3 (r(0) = 2, r(40) = 3). Sections are quarter rounds; V, moments and areas integrated along the edge, exactly per knot span", "body_count": 1, "volume_mm3": 23933.601078437176, diff --git a/tests/oracle/83-boundary-loop-thicken/expected.json b/tests/oracle/83-boundary-loop-thicken/expected.json index a2b050e30e..8deaae025a 100644 --- a/tests/oracle/83-boundary-loop-thicken/expected.json +++ b/tests/oracle/83-boundary-loop-thicken/expected.json @@ -1,5 +1,6 @@ { "source": "analytic", + "known_failure": "SMLib thicken fails (status 1001)", "method": "region = 10 x 10 square + half disc r 5 on its top side: A = 100 + 12.5 pi, centroid by moments (half disc's at 4r / (3 pi) above its diameter); slab of thickness 2 over it (symmetric about z = 0): V = 2A, area = 2A + 2 (30 + 5 pi)", "body_count": 1, "volume_mm3": 278.53981633974485,