-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(scoring): improve context relevancy scoring
Remove MIN_RESULTS constant and use MULTI_FILE_THRESHOLD consistently for minimum results filtering. Improve scoring by adding base score to symbol matches and simplify spatial distance calculation. Add score bonus for current file context to improve relevancy of local results. These changes make the context selection more accurate by: - Using consistent thresholds - Better handling of symbol matching scores - Prioritizing local context appropriately
- Loading branch information
Showing
1 changed file
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters