eval

command
v1.5.2-hotfix Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command eval runs the search quality evaluation harness against NornicDB.

Usage:

go run ./cmd/eval [flags]

Flags:

-url        NornicDB server URL (default: http://localhost:7474)
-suite      Path to test suite JSON file
-output     Output format: summary, detailed, json, compact (default: summary)
-save       Save results to JSON file
-threshold  Override pass/fail thresholds (format: p10=0.5,mrr=0.5,hit=0.8)

This command evaluates search quality by: 1. Connecting to a running NornicDB server 2. Running test queries against the search API 3. Computing IR metrics (Precision, Recall, MRR, NDCG) 4. Reporting pass/fail based on thresholds

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL