surface.surface_point_solve_p3 green
- Layer
- 34
- Upstream lines
- 1,282
- Functions
- 5
- Rust module
surface::surface_point_solve::p3
Status history
- todo 1,282 lines
- partial 1,282 lines
- green 1,282 lines
Source: crates/solidcore/src/surface/surface_point_solve/p3.rs
Upstream: source/SMLib/src/SmSurfacePointSolve.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
PARTIAL: native difftest 1365 cases, 1235 pass, 130 deferred, 0 failed, max_rel_err=0.0; deferred: surface.surface_p3 96, surface.surface_p8 34; no absolute floors. 134 fixture cases, 15 upstream Surface.sms points, 1216 fixed-seed generated. Ports all five assigned functions, including the upstream-disabled CheckCrease; exact geometry evaluation copies with a 64-level owned-geometry bound, analytic/STEP/revolution iso curves, and sweep-only STEP derivatives. PR #106 review fixes tolerant left-operand seam comparison (2 formerly failing regressions plus 4 threshold controls), adds 36 STEP-wrapped sphere/torus/cone-shaped revolution pole/seam cases, integrates latest p4/p5 back-edges and threads caller Kernel through local/drop/patch solves. PR #106; 5 fns; largest: SmSurfPtSolveStepper::FindNextStep, SmSurfPtSolveStepper::CheckCrease, SmSurface::LocalPointSolve_1, SmSurfPtSolveStepper::FindBoundarySolution; unit-SCC #22 (220 units); 317 upstream test entry points reach this unit Re-run after merging PR #106 (surface.surface_point_solve_p3 wired, 2026-10-15): 1365 cases, 1331 pass, 34 deferred (surface.surface_p8 34), 0 failed, max_rel_err 0. Re-run after wiring PR #118 (surface.surface_p8 and its back-edges, GlobalPointSolve_0 included): 1365 cases, 1365 pass, 0 deferred, 0 failed, max_rel_err 0; green.
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
- 1,319
- Stored error outcomes
- 0
- Stored deferrals
- 0
- Stored harness rejections
- 0
- Known-failure entries
- 46
Metadata counts describe fields in the stored records; they are not passes or live failures.
Known failures (not blessed)
gen0005: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 9.29321687259924 at UV (-0.8609276626357987, 1.0), but in-domain UV (-1.4360005082232776, 1.0) has distance 9.45710791117157 (tolerance 3.4370765318869762e-6)matrix_0052: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 0.48192460995514236 at UV (0.3503787192433312, -1.658800555685479), but in-domain UV (0.16263760666582505, -1.47978302235689) has distance 1.8427449018338353 (tolerance 3e-6)matrix_0069: tangency-labs/solidcraft#20483: Minimize (global solve, request 2) reports distance 1.8559503668674195 at UV (3.5225152313052512, 1.0), but in-domain UV (3.5225152313052512, 0.715) has distance 1.8380912524520208 (tolerance 2.1396832703821572e-6)matrix_0073: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 0.4105131319246949 at UV (1.147435361293327, 0.8513834766779502), but in-domain UV (0.9575942249470337, 0.27707851669644784) has distance 1.8816719651487352 (tolerance 1e-6)matrix_0145: tangency-labs/solidcraft#13684: Maximize (global solve, request 3) reports distance 4.982786247968119 at UV (0.09825702552529117, -0.09646148151175561), but in-domain UV (0.31060484129721067, -0.07021739189951326) has distance 5.059942199239781 (tolerance 4.9999999999999996e-6)matrix_0192: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 7.772514213706254 at UV (0.9141666666666667, 0.7425), but in-domain UV (0.905, 0.76) has distance 7.777414918050223 (tolerance 1e-6)matrix_0205: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 1.1052309477980449 at UV (1.3325615125204988, 0.8596684199171385), but in-domain UV (2.1356725627088466, 0.5433317869753472) has distance 2.0134149635707366 (tolerance 3e-6)matrix_0211: tangency-labs/solidcraft#13684: Maximize (global solve, request 2) reports distance 3.411602641492657e-05 at UV (0.45869701625137493, 0.9585895126410106), but in-domain UV (0.22639876106029588, 0.045409712464322925) has distance 0.00040755591448143945 (tolerance 5.086406955734793e-10)matrix_0215: tangency-labs/solidcraft#13684: Maximize (global solve, request 3) reports distance 0.6634767989667416 at UV (0.10583157495972309, 0.18070103929734332), but in-domain UV (0.053972687282923704, 0.7009832603801176) has distance 1.6225598107197292 (tolerance 1e-6)matrix_0220: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 4.000747516340677 at UV (1.1169655020713716, 0.30138646576882067), but in-domain UV (0.3864368905320287, 1.0928928413464178) has distance 4.594896543105643 (tolerance 4e-6)matrix_0267: tangency-labs/solidcraft#13684: Maximize reports 6.848382229992056, but in-domain UV (-0.7767981984343537, 1) has distance 8.510836007198144; main already reports a nonmaximum (6.978354978629408)matrix_0282: tangency-labs/solidcraft#13684: Maximize (global solve, request 2) reports distance 0.5422925739534726 at UV (-1.6430876485334818, 0.0), but in-domain UV (-0.9125903094320437, 0.525) has distance 4.174021564195796 (tolerance 1e-6)matrix_0313: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 1.0385586292895421 at UV (0.2567616756970494, 0.8728334350456551), but in-domain UV (1.0, 3.542560266015705) has distance 3.936793616192528 (tolerance 4.17966665916304e-6)matrix_0314: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 122643.49263185261 at UV (0.05535337337851712, 2.3956877385360547), but in-domain UV (0.0, -0.02655429563483347) has distance 124090.61839582199 (tolerance 4.1768040360029256e-2)matrix_0337: tangency-labs/solidcraft#13684: Maximize reports 0.44831251217740314, but in-domain UV (0.5, 2.342948734736579) has distance 4.1697843031871535; main already reports a nonmaximum (0.4483685594987209); Nodes request is ignoredmatrix_0338: tangency-labs/solidcraft#13684: Maximize (global solve, request 3) reports distance 0.27451746538209065 at UV (1.0, 1.0), but in-domain UV (0.0, 0.0) has distance 1.6165309621713915 (tolerance 1e-6)matrix_0376: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 9.575846416120461 at UV (1.0, -0.3649443460274312), but in-domain UV (1.0, -0.5905231079316264) has distance 10.006811539921761 (tolerance 7.547508588374947e-6)matrix_0388: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 2.0752775609196026 at UV (0.5646107481001228, 2.2422142581671025), but in-domain UV (2.4820761745864086, 1.8922668233133089) has distance 5.612813093668562 (tolerance 4.9999999999999996e-6)matrix_0416: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 1.7002304417430785 at UV (-1.929060593459576, 0.0), but in-domain UV (-1.418842927015486, 0.0) has distance 3.4173729510364828 (tolerance 4.1537722629521645e-6)matrix_0489: tangency-labs/solidcraft#13684: Maximize (global solve, request 2) reports distance 4.865209953667253 at UV (-0.2034488211731098, -0.16646538405562428), but in-domain UV (2.510457645425308, 0.6558703937367132) has distance 6.716861159532723 (tolerance 3.866994990189754e-6)matrix_0522: tangency-labs/solidcraft#20483: Signed3dDirectedMaximize (global solve, request 1) reaches 6.902652193455282 along the direction at UV (-1.0164809725370272, 0.12432477406974762), but in-domain UV (-1.014610625267426, 0.155) reaches 6.952110790975218 (tolerance 1e-6)matrix_0524: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 1.1410646795624881 at UV (2.023779428249467, 0.0), but in-domain UV (1.1551023918292787, 1.0) has distance 7.571360811697708 (tolerance 4e-6)matrix_0551: tangency-labs/solidcraft#13684: Maximize (global solve, request 3) reports distance 11.033066781242349 at UV (1.5667139237935657, -0.9165120873323316), but in-domain UV (0.5086915389148157, 0.12333737210925766) has distance 13.909352379798696 (tolerance 5.915794014328951e-6)matrix_0581: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 0.46978857693087017 at UV (1.0, 0.584171777334251), but in-domain UV (1.0, 0.0) has distance 1.9574634743511499 (tolerance 1e-6)matrix_0586: tangency-labs/solidcraft#20483: Signed3dDirectedMaximize (global solve, request 1) reaches 2.859557348394565e-06 along the direction at UV (1.1197006838521193, 0.0), but in-domain UV (2.383783494182589, 1.0) reaches 0.0003997195247318383 (tolerance 3.130769183687375e-10)matrix_0614: tangency-labs/solidcraft#20483: Signed3dDirectedMaximize (global solve, request 0) reaches 0.00020790390253772346 along the direction at UV (-0.4894580911172439, 1.3197938106234324), but in-domain UV (-0.4894580911172439, 1.4770671175039651) reaches 0.0002152041066083081 (tolerance 2.1953940284159186e-10)matrix_0624: tangency-labs/solidcraft#13684: Maximize (global solve, request 3) reports distance 0.24628408098679574 at UV (0.4312912867150005, 0.0), but in-domain UV (0.93, 1.0) has distance 6.894178405797141 (tolerance 3.2006396444723345e-6)matrix_0627: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 1.2187017968251859 at UV (1.0, 0.0), but in-domain UV (0.0, 1.0) has distance 5.815217507540103 (tolerance 5.130371101020741e-6)matrix_0651: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 1.7788741329190632 at UV (-0.20537214043551177, 0.5006087573487188), but in-domain UV (-0.20537214043551177, 0.0) has distance 5.743516821413803 (tolerance 4e-6)matrix_0705: tangency-labs/solidcraft#13684: Maximize (global solve, request 3) reports distance 0.8678767831056028 at UV (0.4212413466324931, 0.9218680119803991), but in-domain UV (1.0, 0.0) has distance 2.9802697058219985 (tolerance 3.1732359201830826e-6)matrix_0708: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 0.9739854112134622 at UV (2.2932111983467798, 1.2843641593396533), but in-domain UV (1.6928411126747418, 2.911564685146458) has distance 2.2457784949474506 (tolerance 4.0093204131703e-6)matrix_0723: tangency-labs/solidcraft#13684: Maximize (global solve, request 2) reports distance 0.04228920378200334 at UV (0.344809572869565, 0.821774300075936), but in-domain UV (0.03300306983596506, -0.026164887109296882) has distance 3.430927356363 (tolerance 4.16131289170901e-6)matrix_0724: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 0.3088928318831002 at UV (0.518602345810296, 0.4596561025066699), but in-domain UV (0.595, 0.96) has distance 4.66026932636631 (tolerance 1e-6)matrix_0740: tangency-labs/solidcraft#13684: Maximize (global solve, request 3) reports distance 6.431574150175895 at UV (0.1353469320530387, 0.0), but in-domain UV (0.0, 1.0) has distance 9.313800953318541 (tolerance 3.9423577615410695e-6)matrix_0742: tangency-labs/solidcraft#13684: Maximize (global solve, request 2) reports distance 0.03932665672231663 at UV (0.46360446516995624, 0.6694991752334518), but in-domain UV (0.22626419484463456, 0.2763452153202656) has distance 0.46583115129997515 (tolerance 1e-6)matrix_0746: tangency-labs/solidcraft#13684: Maximize (global solve, request 2) reports distance 9.103952923843497 at UV (0.5934054084504684, 0.1291670451371345), but in-domain UV (0.8918181750486323, 0.42466752239799627) has distance 16.375325219660166 (tolerance 4.958048834599617e-6)matrix_0801: tangency-labs/solidcraft#13684: Maximize (global solve, request 2) reports distance 2.5626332694884217 at UV (3.6887377223064757, 0.5600556408520767), but in-domain UV (-0.03356662438791558, -0.3986561902094734) has distance 10.95669587150895 (tolerance 1.8018293622116102e-5)matrix_0808: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 0.21092456965923967 at UV (7.198369623435741, 0.0), but in-domain UV (38.84853882358461, 1.0) has distance 3.0333993468772413 (tolerance 1e-6)matrix_0849: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 0.6712752070396529 at UV (0.6245159367218878, 0.8512004705783088), but in-domain UV (0.8204334766355009, 0.85218714437416) has distance 0.7540485899773516 (tolerance 4e-6)matrix_0947: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 0.8374113889496897 at UV (-0.25773332266019805, 0.9847964740107855), but in-domain UV (-0.9729383360716582, 1.2598237926256342) has distance 1.2389274299685138 (tolerance 4.9999999999999996e-6)matrix_1032: tangency-labs/solidcraft#20483: Signed3dDirectedMaximize (global solve, request 1) reaches 3.6926422940334627 along the direction at UV (1.8062080095010546, 0.662034899291057), but in-domain UV (1.513266607029414, 0.662034899291057) reaches 3.719333247322898 (tolerance 4e-6)matrix_1049: tangency-labs/solidcraft#13684: Maximize (global solve, request 0) reports distance 1.3953316851243847 at UV (0.8176957564897646, 2.4598860705006094), but in-domain UV (0.0, 0.11085708043980569) has distance 6.348530001609181 (tolerance 3e-6)matrix_1125: tangency-labs/solidcraft#13684: Maximize (global solve, request 1) reports distance 0.1266881765792206 at UV (0.393863056123387, 0.9954951307865824), but in-domain UV (0.83, 0.0) has distance 6.335513040798186 (tolerance 1e-6)matrix_1150: tangency-labs/solidcraft#13684: Maximize (global solve, request 2) reports distance 1.1330865843701148 at UV (0.0, 0.16730417188445612), but in-domain UV (0.5, 1.0) has distance 9.643160461769599 (tolerance 4.026559571554449e-6)matrix_1156: tangency-labs/solidcraft#13684: Maximize (global solve, request 3) reports distance 4.315800424404778 at UV (-0.47881421600201257, 0.5265388054762941), but in-domain UV (0.15784348883999977, 1.0) has distance 6.717541291701532 (tolerance 5.1669591320558375e-6)matrix_1177: tangency-labs/solidcraft#13684: Maximize (global solve, request 3) reports distance 7.927029669776537 at UV (0.0, -1.9394466044540457), but in-domain UV (1.0, 0.7660017608625576) has distance 14.7437180487783 (tolerance 4.9999999999999996e-6)
Source at f9704ee3b:
golden JSONL ·
known-failure list.
Dependencies
Depends on: geom.extent1d green geom.extent2d green geom.object green geom.vector2d green geom.vector3d green nurbs.b_spline_surface_p1 green surface.surface_p1 green surface.surface_p2 partial surface.surface_p4 green surface.surface_point_solve_p1 green surface.surface_point_solve_p2 green
Soft dependencies: curve.curve_p3 partial curve.curve_p5 partial curve.iso_curve green geom.solution_array green geom.tol green
Dependents: audit.recursion green
Soft dependents: none
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmSurface::GlobalPointSolve_1 | SmSurfacePointSolve.cpp:3151 | 21 | [Surface::global_point_solve_1] |
SmSurfPtSolveStepper::FindBoundarySolution | SmSurfacePointSolve.cpp:4459 | 212 | [SurfPtSolveStepper::find_boundary_solution] |
SmSurfPtSolveStepper::CheckCrease | SmSurfacePointSolve.cpp:4799 | 358 | [SurfPtSolveStepper::check_crease] |
SmSurfPtSolveStepper::FindNextStep | SmSurfacePointSolve.cpp:5184 | 405 | [SurfPtSolveStepper::find_next_step] |
SmSurface::LocalPointSolve_1 | SmSurfacePointSolve.cpp:5683 | 286 | [Surface::local_point_solve_1] |
Module file-header table (5 rows)
| Rust | Upstream |
|---|---|
[Surface::global_point_solve_1] | SmSurface::GlobalPointSolve_1 |
[Surface::local_point_solve_1] | SmSurface::LocalPointSolve_1 |
[SurfPtSolveStepper::find_boundary_solution] | FindBoundarySolution |
[SurfPtSolveStepper::check_crease] | CheckCrease |
[SurfPtSolveStepper::find_next_step] | FindNextStep |
Upstream tests reaching this unit
prog_test:my_test_surface_closest_point, prog_test:my_test_drop_point, prog_test:my_test_matrix, prog_test:my_test_reversed_line_join, SM_API_test:TestSmCreateRectangle, SM_API_test:TestSmCreateRegularPolygon