pub trait ValidationHook: Send + Sync {
// Provided method
fn validate(
&self,
_key: &str,
_reduced_a: &Tensor,
_reduced_b: &Tensor,
) -> Result<()> { ... }
}Expand description
Pluggable post-reduce validation seam.
The real implementation (held-out-eval host) is a deferred, gated follow-on. Defining the trait now lets the eval-host swap in with zero consumer churn.