You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
query: "get" survives stopwording and exact-matches framework hubs like a NestJS Get decorator, hijacking BFS seeds (follow-up to #1602) #4684
"get" is one of the most common verbs in natural-language questions ("how does X get
authorized", "where do we get the totals"), but it is not in _QUERY_STOPWORDS. In codebases
whose framework exports a symbol named Get (NestJS @Get(), many HTTP routers), that symbol is
a node imported by nearly every controller. The query term get exact-matches its label and
receives _EXACT_MATCH_BONUS, so the decorator becomes a BFS seed for any question that contains
"get", and the traversal spends its budget in the controller layer.
#1602 guarded against a generic term exact-matching a short, low-degree leaf. Here the matched
node is the opposite, a high-degree hub, so that guard doesn't apply. The work/works/working
entries already handle the same pattern for "how does X work".
Steps to reproduce
python -c "from graphify.serve import _query_terms; print(_query_terms('how does payroll.approve get authorized'))"# ['payroll', 'approve', 'get', 'authorized']
graphify query "how does payroll.approve get authorized" --budget 400
Get (the NestJS decorator import) is one of four seeds. Expected: no seed chosen for "get".
Proposed fix
Add get, gets, got, getting to the English part of _QUERY_STOPWORDS, with a comment like
the work one. The all-stopwords fallback in _query_terms keeps a bare graphify query "get"
working, and explain "Get" / find_node are unaffected because node text is never filtered.
Trade-off: a question about the HTTP verb ("GET /invoices") loses the term "get", but keeps its
content terms ("invoices").
I have a PR ready with the stopword change and regression tests (term filtering, the all-stopword
fallback, and a seed-selection test with a high-degree Get hub).
Graphify version
0.9.94 (also checked against v8 at the time of filing: "get" not in _QUERY_STOPWORDS)
Activity
github-actions commentedon Oct 22, 2026
Thanks for opening this issue, @AndresDiagoM. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
fix(query): drop "get" filler verbs from query terms