INNER CODE UNIT · Go
t
orneryd/NornicDB · cmd/eval/main.go:113
t := parseThresholds(*thresholds)
harness.SetThresholds(t)
}
// Run evaluation
fmt.Println("\n🚀 Running evaluation...")
ctx := context.Background()
result, err := harness.Run(ctx)
if err != nil {
fmt.Fprintf(os.Stderr, "❌ Evaluation failed: %v\n", err)
os.Exit(1)
}
// Output results
reporter := eval.NewReporter(os.Stdout)
switch *output {
case "summary":
reporter.PrintSummary(result)