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
[Bug]: query only matches names, so code whose body has the question's words is never found #5051
I have checked the Troubleshooting section in the README
What happened?
graphify query only matches the question against node names and labels. Agents ask the way issues are written ("credit history transactions"), and the function that does the work is often named something else (Ledger.entries). Its body has every word of the question, but the body is never looked at. So the answer is the tests and docs that happen to have the words in their names, and the agent gives up on the graph and greps.
On SWE-bench Lite + Verified (293 questions, the gold file is the one the fix touched), 0.9.102 has the gold file in the top 5 answers for 61% of the 179 non-Django questions and 65% of the 116 Verified questions. Plain BM25 over whole files gets 67%, at about 20x the tokens to read.
This is a follow-up to #4983 (#4982, shipped in 0.9.102), which ranks source above tests and docs. That helps once the code is a candidate, but here the code never becomes one.
Steps to reproduce
app/ledger.py
classLedger:
defentries(self, account_id, limit=50):
"""Return the newest rows for an account."""rows=self.db.select("credit_transactions", account=account_id)
# history page shows refunds and top-ups togetherreturnsorted(rows, key=lambdar: r.created_at, reverse=True)[:limit]
Activity
github-actions commentedon Nov 6, 2026
Thanks for opening this issue, @rohit-jsfreaky. 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.