ianmackenzie / ianmackenzie/opensolid
Refactor Python tolerance handling
- Dominant language
- Haskell
- Stars
- 18
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
- Set tolerances for different units separately/independently
- e.g. setting an angular tolerance shouldn't clear the current length tolerance
- Convenience functions like `Tolerance.meters(1e-9)`, `Tolerance.degrees(1e-3)`, `Tolerance.unitless(1e-12)` etc.?
- also generic ones like `Tolerance.length(Length.micrometers(10))` etc.
- Have default tolerances pre-configured? 1e-9 meters, radians, and unitless...
- middle ground: `Tolerance.defaults()` to explicitly set up default tolerances for everything
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Start by locating the Tolerance type and its unit-specific handling, then clarify which of the independent setters, convenience functions, and defaults are required; the issue is done only once that scope and its expected behavior are agreed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- computer-graphics
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100