evalcompare

command
v0.25.4 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 7 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 evalcompare pairs two cmd/eval --dump v2 files (baseline vs candidate) by query_id and reports per-slice regressions with a fixed-seed paired bootstrap confidence interval (issue #269). It never opens a network connection or a database — it only reads the two dump files (and, optionally, a slice-label file) already on disk, which is what lets it run offline in CI.

The output binary is named evalcompare, not eval, so it does not collide with the root eval/ directory that shadows `go build ./cmd/eval`'s default output name (issue #274).

Exit codes:

0 — compared, no regression detected
1 — a regression was detected: the "overall" group's ndcg10 verdict is
    "regressed" (see Report.Regressed). Per-slice verdicts are printed
    for diagnosis but never set this exit code on their own — gating on
    any one of several independently-tested slices would compound their
    false-alarm rates (deep-verify #269: ~20% over 60 null trials with 8
    slices, versus the ~5% a single test carries).
2 — the two dumps cannot be compared at all (label_hash mismatch, a
    v1/no-header dump without --allow-v1, mismatched query sets, a
    failed run, a duplicate query_id within one dump, or a corrupt dump
    whose stored ndcg10 disagrees with its own rank evidence)
3 — usage error (bad flags, unreadable file)

Jump to

Keyboard shortcuts

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