locus_benchmark
Measure retrieval quality by comparing search results against a JSON QA file, returning Recall@K and MRR to evaluate ranking accuracy.
Instructions
Measure retrieval quality against a JSON QA file. Returns Recall@K and MRR. QA format: [{"query": "...", "expected_docs": ["path/to/doc.md"]}]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"qa_file": "<qa_file>"
},
"name": "locus_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qa_file | Yes | Path to JSON QA file. | |
| k_values | No | ||
| store_path | No | .locus |