topology.brep_validation green
- Layer
- 35
- Upstream lines
- 1,500
- Functions
- 0
- Rust module
topology::brep::validation
Status history
- green 1,500 lines
Source: crates/solidcore/src/topology/brep/validation.rs
Upstream: source/SMLib/src/SmBrep.cpp, source/SMLib/src/SmEdge.cpp, source/SMLib/src/NL_CrvBasic.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
Rust-read file sources (2026-10-30): the Rust side reads .smb inputs with own_reader::brep_in_order under the runner's CONVENTIONS (Notify naming as before) instead of importing the C++ export; a failed Rust read is an error, not a rejection. Still imported: the SmBrepConstructor sheet grids (grid_faces, shared_boundaries): SmBrepConstructor (source/SMLib/src/SmBrepData.cpp, harness/callgraph/unused_functions.txt, no owning unit) is not ported. Counts: see the PR difftest summary. PR #961, issue #431: ported ValidatePointers, ContainsCoincidentTopology, SmEdge::ValidateGeometry(FALSE), and reversal repairs against pinned c9c5979. Ordered local membership/spatial indices preserve report/pair order. 3096/3096 differential cases pass (96 fixtures + 3000 fixed-seed cases), 0 deferred, max_rel_err=0, all with values; 3096/3096 perturbations detected. Shared-boundary fixtures exercise positive edge/edge and face/face pairs, including four radial edge uses, alongside vertex/edge and vertex/face/edge/face cases. Synthetic 50002-face sheet grid: pointer validation 0.422 s, coincidence search 0.788 s; timings diagnostic, not the original issue model. No upstream version or tolerance changes. 2026-11-13: ContainsCoincidentTopology removed with its cases (WR-798; plan/findings/topology.brep_validation--brep-wide-coincidence-is-not-a-validity-test-2026-11-13.md): the unit is ValidatePointers, SmEdge::ValidateGeometry(FALSE) and the reversal repairs.
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
- 69
- 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: geom.assert_array green geom.tools green query.face_p1 green query.face_p2 green surface.surface_p5 green topology.brep_p1 green topology.edge green topology.edgeuse_p3 green topology.face_p1 green topology.face_p2 partial topology.face_p4 green topology.loopuse green topology.trimming_tools green
Soft dependencies: none
Dependents: topology.assert_valid partial
Soft dependents: none
Upstream functions
No upstream functions listed in harness/callgraph/units.json.
Module file-header table (5 rows)
| Rust | Upstream |
|---|---|
[validate_pointers] | SmBrep::ValidatePointers |
[soundness], [standing], [volume] | (not upstream) the check at level 2, the manifold test and the volume |
[update_tolerances_after_boolean] | (not upstream) a boolean result's tolerance update, wide vertices centred first |
check_edge_geometry | SmEdge::ValidateGeometry(FALSE) |
check_edgeuse_geometry | sm_CheckEdgeuseGeometry |
Upstream tests reaching this unit
prog_test:my_test_topology, SM_API_test:TestSmCreateBox