blend.fillet_solver_p5 green
- Layer
- 50
- Upstream lines
- 848
- Functions
- 2
- Rust module
blend::fillet_solver::p5
Status history
- todo 848 lines
- partial 848 lines
- green 848 lines
Source: crates/solidcore/src/blend/fillet_solver/p5.rs
Upstream: source/SMLib/src/SmFilletSolver.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
GREEN (2026-10-23): difftest 100 cases, 100 passed, 0 failed, 0 deferred, max_rel_err=0e0 (implements ClassGeometry topology_entity and topology_handle on Objects in the blend_fillet_solver_p5 runner, closing the SmFace::Point3DClassify dispatch gap now that WithMadeTrimCurves forwards topology hooks on main). main CI e33985411 (2026-10-23): PARTIAL blend.fillet_solver_p5 cases=100 passed=97 failed=0 deferred=3 blocked_by=query.face_p1(3). PR #208: complete TestRollOver/ProcessRollOver caller control flow; only unavailable callees stubbed. 170 cases (84 new review fixtures), 164 pass / 0 fail / 4 deferred (query.face_p1: SmFace::Point3DClassify dispatch gap after face p4 landed) / 2 rejected, bit-identical. Multi/empty interval cases now compare the null-surface return after real EvaluateBinormal. Native comparisons cover accessible returns, ordered classifications and adjusted corners; actual tangent/cliff repair is not compared. 27 rollover kernel regressions cover continuation, partial mutations, short intervals, default convexity arguments, real offset copy and interval connection, shared p1 rail/support helpers, ownership, tolerance cascades below the zone default, zero fresh-vertex constructor tolerances and progress. The newly ported geom_p2 surface intersection and rail/side-edge vertex calculator are wired, with live solver identity preserved; real support intersection and the remaining corner dependency have direct regressions. sm_SplitRail/sm_ComputeSupportEdge now have single typed bodies under their owning p1 module; p5 delegates. Real offset wrapper/copy with SS_UNKNOWN construction defaults, binormals, classification reset/ConnectIntervals wired after current main + #147/#192 integration. Native worker uses posix_spawn/exec instead of post-fork allocation; branch-specific null-curve guard; 1200 allocation probes + signals with zero host crashes; four direct ASan/LSan calls without reported errors/leaks. Remaining real TestRollOver cases now reach the existing SmFace::Point3DClassify dispatch gap (query.face_p1); two incomplete full-rollover fixtures rejected. No actual repair parity claimed. 2 fns; cycle back-edges (call into later units; stub or co-port): blend.fillet_solver_p3(3), blend.fillet_geom_p2(2), blend.fillet_geom_p3(2), blend.fillet_geom_p5(2), blend.fillet_solver_p2(2), blend.fillet_executive_p1(1); unit-SCC #22 (220 units); 25 upstream test entry points reach this unit Current-main integration after #303 (PR #208): caller Kernel forwarded; solver geometry lists and split registration use the shared FilletGeomId; landed geom p5 MakeFilletEdge and TrimRailCurves are called directly. The live-solver trim entry preserves nonzero ids and shares indexed-table normal/cliff bodies. New real-builder and solver-id-37 Rust regressions pass; they do not certify completed native rollover repair. The native worker compiles sc_shim.cpp for sc_native_mutex; the p5 classification adapter resolves the actual vertex/face gap. Both maintainer batch fixes are attributed in the merge commit. UPDATE after #247: rollover TopologySplit and ReCalcFilletGeom call the landed geom p3 with real caller state; geom p2 live-solver rail queries share p6 bodies. Two Rust regressions check nonzero solver identity, upstream default split type and partial topology edits before the missing base edge use, and the real recalculation missing-curve status. UPDATE (PR #208 after #236): calls the landed p3 classification refinement, rail/side-edge intersection and full rollover with the live solver and caller Kernel. Refinement temporarily detaches its classification for immutable rail access and restores all partial writes on both success and error. Two Rust adapter regressions cover empty refinement, an unrefinable interval with classification restoration and the actual missing side-face use; the existing caller regression now reaches the p3 missing-solver-edge-use error. Native completed rollover parity is still not established. Qualification after #236 in PR #208: PARTIAL blend.fillet_solver_p5 cases=170 passed=164 failed=0 deferred=4 max_rel_err=0e0 with_values=164 no_values=0 rejected=2 blocked_by=query.face_p1(4). Qualification after main #456 (PR #208): PARTIAL blend.fillet_solver_p5 cases=170 passed=164 failed=0 deferred=4 max_rel_err=0e0 with_values=164 no_values=0 rejected=2 blocked_by=query.face_p1(4). All 27 p5 kernel regressions pass with the real pseudo-B-rep constructor; explicit missing-region guard and topology-split missing-base-use status preserve completed edits and actual solver identity. Native completed rollover parity remains unestablished. Qualification after main #491 (PR #208): PARTIAL blend.fillet_solver_p5 cases=170 passed=164 failed=0 deferred=4 max_rel_err=0e0 with_values=164 no_values=0 rejected=2 blocked_by=query.face_p1(4). All 27 p5 kernel regressions pass with the real pseudo-B-rep constructor; explicit missing-region guard and topology-split missing-base-use status preserve completed edits and actual solver identity. Native completed rollover parity remains unestablished. Qualification after main #491 (PR #208): PARTIAL blend.fillet_solver_p5 cases=170 passed=164 failed=0 deferred=4 max_rel_err=0e0 with_values=164 no_values=0 rejected=2 blocked_by=query.face_p1(4). All 27 p5 kernel regressions pass with the real pseudo-B-rep constructor; explicit missing-region guard and topology-split missing-base-use status preserve completed edits and actual solver identity. Native completed rollover parity remains unestablished.
Goldens
This is committed inventory, not a runtime result or a correctness proof. A golden records what solidcore produced when blessed. Current results require the canonical CI gate, not these counts.
- Golden records
- 100
- Stored error outcomes
- 0
- Stored deferrals
- 0
- Stored harness rejections
- 0
- Known-failure entries
- 0
Metadata counts describe fields in the stored records; they are not passes or live failures.
Source at f9704ee3b:
golden JSONL ·
known-failure list.
Dependencies
Depends on: blend.fillet_geom_p1 green blend.fillet_solver_p1 green curve.curve_p2 green geom.object green geom.solution_array green intersect.curve_class_p1 green surface.offset_surface green topology.edge green
Soft dependencies: curve.curve_p1 green geom.extent1d green geom.tol green geom.vector3d green intersect.curve_class_p2 green intersect.curve_class_p4 green intersect.point_class green query.face_p1 green query.face_p2 green surface.surf_of_revolution_p1 green surface.surf_of_revolution_p2 green surface.surface_p2 partial topology.edgeuse_p1 green topology.edgeuse_p2 green topology.face_p2 partial topology.vertex green
Dependents: none
Soft dependents: blend.fillet_executive_p3 partial
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmFilletSolver::TestRollOver | SmFilletSolver.cpp:5714 | 109 | [FilletSolver::test_roll_over], [FilletSolver::test_roll_over_with_ops] |
SmFilletSolver::ProcessRollOver | SmFilletSolver.cpp:7161 | 739 | [FilletSolver::process_roll_over], [FilletSolver::process_roll_over_with_ops] |
Module file-header table (3 rows)
| Rust | Upstream |
|---|---|
[FilletSolver::test_roll_over], [FilletSolver::test_roll_over_with_ops] | SmFilletSolver::TestRollOver |
[FilletSolver::process_roll_over], [FilletSolver::process_roll_over_with_ops] | SmFilletSolver::ProcessRollOver |
[FilletSolver::end_sections_fit_their_faces_with_ops] | the fork's SmFilletSolver::EndSectionsFitTheirFaces (tangency-labs/smlib a307480; p5/end_sections_fit.rs) |
Upstream tests reaching this unit
SM_API_test:TestSmCircularFillet, SM_API_test:TestSmChamferFillet, SM_API_test:TestSmFilletEdges, SM_API_test:TestSmFilletEdgesPerEdge, SM_API_test:TestSmVariableRadiusFillet, SM_API_test:TestSmSetBevelCorners