跳到正文
DEV Community· Lajat·· 2 小時前AI 評分58

Odin 瀏覽器內搜尋引擎可從 Bug 報告定位修復函數

I built an in-browser search engine that finds the exact function to fix a bug

AI 導讀

作者建立 Odin 瀏覽器內搜尋引擎,用戶提交公開程式碼庫連結及 Bug 報告或描述後,工具會找出最可能需要修改的檔案與函數。在 SWE-bench Lite 的 300 個真實問題中,正確檔案進入前 10 個結果的比例為 93.0%,找到正確函數的比例為 79.4%。

正文

Lajat

TLDR: I built a search engine that reads a bug report (or lets you define it) and points to the exact file (93%) and to the exact function (79.4%) you need to fix.

Hey everyone,

I recently made a new project while trying to get into RAG and automation.

Odin is more than a search engine, all you have to do is paste a public repo URL and link the issue or describe the bug yourself and it downloads, parses and ranks the functions based on the mentioned bug.

Why its different than any LLM:

It runs mostly in your browser: It uses Tree-sitter (via WebAssembly) and small local models (via WebGPU) so your code isn't just blindly shipped off to a giant cloud LLM. 

It punches above its weight: Evaluated on 300 real issues from the SWE-bench Lite dataset, it puts the correct file in the top 10 results 93.0% of the time, and the exact function 79.4% of the time. 

It’s incredibly efficient: It matches the accuracy of heavy Claude 4.5 agents using models under 1B parameters, cutting the cost per issue to a fraction of a cent. 

There’s also a GitHub Action you can drop into your repo to automatically comment on new issues with the most likely functions to fix. 

I would really appreciate it if you would give it a try (it would help me with the benchmarks as well)

feedback, questions, criticism are welcome

Odin: find the code behind any bug report

Paste a bug report, get the functions most likely to need the fix. Works on public repositories in Python, JavaScript, TypeScript, Go, Java and Rust, right in your browser.

favicon allfather.dev

來源:DEV Community · dev.to