pub mod dataset;
pub mod embedding;
pub mod harness;
pub mod report;
pub mod search;
#[cfg(feature = "quant")]
pub mod quantization;
pub use report::EvalReport;
#[derive(Debug, thiserror::Error)]
pub enum EvalError {
#[error("insufficient data: need at least {min}, got {got}")]
InsufficientData { min: usize, got: usize },
#[error("dimension mismatch: expected {expected}, got {got}")]
DimensionMismatch { expected: usize, got: usize },
#[error("quantization error: {0}")]
#[cfg(feature = "quant")]
Quant(#[from] mnemonist_quant::QuantError),
#[error("{0}")]
Other(String),
}