codemap
codemap copied to clipboard
find is an identifier search; symptom queries miss the fix file where grep finds it
codemap find is BM25 over path and identifier tokens. That makes it a good symbol finder and a poor bug-report-to-file locator, but the skill text presents it as the latter.
Two symptom-style queries, both on the fix commit's parent:
- werkzeug, "rule match converter values wrong parameter order many converters segment": the fix file
src/werkzeug/routing/matcher.pyis not in the top 5 (rules.py,accept.py,exceptions.py,converters.pyare).grep -rl converter srclistsmatcher.pyfirst. - yt-dlp, "redirect Location header relative dot segments urllib": fix file
yt_dlp/networking/_urllib.pyranks 4th (5.3 s on 1239 files).grep -rln Location yt_dlpranks it 3rd in 0.01 s.
Suggestion: say what it is in the tool description ("ranks files by identifier match; use grep for free text"), or add a body-text fallback when the identifier match is weak.