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.
23 lines
551 B
Go
Executable File
23 lines
551 B
Go
Executable File
//usr/bin/env go run -tags=system_ladybug,brain_eval "$0" "$@"; exit
|
|
//go:build cgo && system_ladybug && brain_eval
|
|
//
|
|
// bin/brain/eval.go - recall@5 gate.
|
|
//
|
|
// ./bin/brain/eval.go
|
|
// ./bin/brain/eval.go --json
|
|
//
|
|
// Needs CGO + libladybug. Python bin/kb/eval is the CI fallback (no cgo).
|
|
// Control questions live in internal/brain/rank (cgo-free).
|
|
// NOTE: never run `gofmt -w` on this file — it breaks the shebang.
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/eSlider/2dph/internal/brain"
|
|
)
|
|
|
|
func main() {
|
|
os.Exit(brain.MainEval(os.Args[1:]))
|
|
}
|