-
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Summary
solverforge-cvrp currently combines repeated unsafe dereferences with duplicate thin wrapper APIs.
Problem
The crate relies on *const ProblemData-style access patterns and exposes overlapping helpers such as assign_route and set_route.
Why This Matters
This raises maintenance cost and safety risk in a public helper API and makes the surface harder to reason about.
Proposed Work
- Consolidate duplicate route helpers.
- Strengthen documentation for safety invariants.
- Investigate safer ownership/reference patterns where feasible.
- Re-evaluate what should be publicly re-exported from the facade crate.
Acceptance Criteria
- Duplicate wrapper surface is reduced.
- Safety invariants are explicit and tested.
- The public API is easier to reason about.
Source
Derived from PR #3 (PRODUCTION_REVIEW_ISSUES_2026-03-20.md).
Reactions are currently unavailable