Repository navigation
feat(code-intel): rank explore results, hide std calls in query, group arch by crate - #742
Merged
Merged
Conversation
…p arch by crate - explore: order exact name > prefix > substring > FTS rank, match names only unless --docs, validate --kind, print 'Showing N of M' when cut - query: hide std/core method names unless the project defines them; --include-std shows them and the output counts what was hidden - arch: group by Cargo package then module path (--depth), count calls between crates and between modules - routes: state the frameworks searched and the number of files scanned Refs #717
ajianaz
force-pushed
the
feat/explore-ranking-arch
branch
from
November 16, 2026 03:39
b33666e to
c1489cf
Compare
1 task done
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
cora exploreorders results exact name, then prefix, then substring, then FTS rank, applies the limit after ranking, prints "Showing N of M symbols" when cut, accepts--kind, and matches doc text only with--docs.cora queryhides std and core method names by default (--include-stdshows them) and says how many calls were hidden. A project-defined name or an explicitly queried name is never hidden.cora archgroups by crate (nearestCargo.tomlwith a[package]), then module path, with call-edge counts between groups and an unattributed count for ambiguous names. The old per-directory list stays asmodulesin JSON.cora routesprints how many files it searched and for which frameworks.Why
explore fetchreturned 50 noisy symbols with no ordering rule,querylisted std method names that are never the answer, andarchgrouped only by top-level directory, which says nothing about a multi-crate workspace. Refs #717 (the brain/embedding evaluation and the rest of the routes item are not part of this PR, so the issue stays open).Testing
--docs,--kind, the std filter (before the limit, project names kept), crate grouping on a two-crate workspace, and the routes summary.query "main -> *"drops from 257 to 206 rows with 52 std calls reported as hidden;explore indexlists the module and functionindexfirst;archreports modules with edge counts.cargo fmt --all -- --check,cargo clippy --all-targets --features tree-sitter -- -D warnings,cargo test --features tree-sitter.