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

BM25 from treesitter function calls #14

Closed
4 tasks done
mpadge opened this issue Oct 2, 2024 · 2 comments
Closed
4 tasks done

BM25 from treesitter function calls #14

mpadge opened this issue Oct 2, 2024 · 2 comments

Comments

@mpadge
Copy link
Member

mpadge commented Oct 2, 2024

Use code from ropensci-review-tools/pkgstats#62 (comment) to get all function call tags from tree-sitter, and then use all of those in a separate BM25 analysis


TODO

  • Add tests
  • Upload binary data
  • Use those data to calculate separate BM25 measure
  • Incorporate this code-based BM25 with embedding similarities to generate final similarity metric for code
mpadge added a commit that referenced this issue Oct 2, 2024
mpadge added a commit that referenced this issue Oct 2, 2024
mpadge added a commit that referenced this issue Oct 2, 2024
mpadge added a commit that referenced this issue Oct 2, 2024
mpadge added a commit that referenced this issue Oct 2, 2024
mpadge added a commit that referenced this issue Oct 2, 2024
mpadge added a commit that referenced this issue Oct 2, 2024
mpadge added a commit that referenced this issue Oct 2, 2024
@mpadge mpadge closed this as completed in e28c318 Oct 2, 2024
mpadge added a commit that referenced this issue Oct 2, 2024
@mpadge
Copy link
Member Author

mpadge commented Oct 2, 2024

Re-opening to add tests

@mpadge
Copy link
Member Author

mpadge commented Oct 4, 2024

Re-opening to remove all Recommended pkgs from DESC file, and to use asNamespace() to get function names, and not requireNamespace(). The former just reads the namespace file from .libPaths without loading at all.

@mpadge mpadge reopened this Oct 4, 2024
@mpadge mpadge closed this as completed in b8f6a87 Oct 4, 2024
mpadge added a commit that referenced this issue Oct 4, 2024
And update code to read rcmd namespaces using 'parseNamespaceFile'
mpadge added a commit that referenced this issue Oct 4, 2024
mpadge added a commit that referenced this issue Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant