Library_Engine: Better Query Match
- Dominant language
- C#
- Stars
- 30
- Forks
- 13
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 5
Description
I think we should consider changing how the Library.Query.Match works.
Sometimes in GSA_Toolkit and Revit_Toolkit methods fail if the name of the sections are slightly different: "CHS 33.7x4.0" and "CHS 33.7x4".
Another example might be if a section is named "CHS 114x6.3" in a software's database and "CHS 114.3x6.3", then you might want to treat them as a match. (Ping @jdarcyBHE )
Current code:
https://github.com/BHoM/BHoM_Engine/blob/1a366f71636c2b9a77ceb46ec42217530a057fcc/Library_Engine/Query/Match.cs#L39-L53
Contributor guide
Research direction
Start with Library_Engine/Query/Match.cs at lines 39-53 and compare the current matching behavior for the section-name examples in the issue. Define the intended matching rules for near-equivalent names, then verify that GSA_Toolkit and Revit_Toolkit methods match the relevant sections without introducing incorrect matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100