Rank a repository against a question
jev_grepRank repository files or functions by relevance to a plain-language question, returning locations and confidence scores to pinpoint the most relevant code.
Instructions
Rank the files, or the functions inside the strongest files, of a repository by how relevant they are to a plain-language question. Returns {path, line_start, line_end, kind, probability} sorted by probability, plus token and cost usage. Enumeration is gitignore-aware; answers are cached per (model, question, unit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'files' scores whole files; 'functions' then splits the best files. | files |
| path | Yes | Absolute path to the repository or directory to search. | |
| top_k | No | How many results to return. | |
| question | Yes | What you are trying to find out, in plain language. | |
| threshold | No | Drop units scoring below this probability. | |
| budget_usd | No | Stop and return partial results before spending more than this. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||