Read path is cgo like search. Control questions live in rank so CI can
test them without ladybug. Python bin/kb/{get,stats,eval} stays the
runner fallback.
17 lines
427 B
Go
17 lines
427 B
Go
package rank
|
|
|
|
// Eval control questions (recall@5). Kept here so CI can test the gate
|
|
// table without ladybug cgo. The runner lives in internal/brain (cgo).
|
|
const EvalRecallThreshold = 0.95
|
|
|
|
type EvalQuestion struct {
|
|
Query string
|
|
Fragment string
|
|
}
|
|
|
|
var EvalQuestions = []EvalQuestion{
|
|
{"hybrid search fts and vector", "BM25"},
|
|
{"eslider devops engineer", "DevOps"},
|
|
{"ladybugdb graph engine storage", "LadybugDB"},
|
|
}
|