pub fn new(value: u32) -> Result<Self, String> {
        if Self::is_valid(value) {
            Ok(Self(value))
        } else {
            Err(format!("top_k must be between 1 and 1000, got {value}"))
        }
    }
Creates a new TopK value, returning an error if outside the valid
range (1 to 1000)
crates/forge_domain/src/top_k.rs