Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use networkx based heuristics to improve the results #205

Open
kantord opened this issue Sep 13, 2023 · 0 comments
Open

Use networkx based heuristics to improve the results #205

kantord opened this issue Sep 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kantord
Copy link
Owner

kantord commented Sep 13, 2023

Currently the search results are mostly being sorted based on their semantic relevance, and partly on relevance heuristics based on patterns in Git history.

To improve the result sorting, it could be interesting to also experiment with analyzing the structure of the codebase with regards to which files reference each other and such. Based on this, centrality scores could be calculated, or even a score similar to pagerank could be used.

https://networkx.org/

@kantord kantord added the enhancement New feature or request label Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant