Re:Launch HN: Sweep (YC S23) – A bot to create simple PRs in...
by applgo443 on Thursday August 03, 2023 @11:32PM
(#36995182)
How do you approach the problem of what files to look into to fix a bug? Just embeddings doesn't seem to cut it.
[ Parent
| on HN ]
Re:Launch HN: Sweep (YC S23) – A bot to create simple PRs in...
by williamzeng0 on Friday August 04, 2023 @12:01AM
(#36995347)
We use some simple ranking heuristics detailed here: https://docs.sweep.dev/blogs/building-code-search
One thing we also do is match any files mentioned in the issue. So if you mention sweepai/api.py, we'll find that and add it to the fetched files. There's still more work to be done here, so look out for those!
Likely file name based scoring, and other rules + finetuned retrieval models (opt-in of course)