pub fn joint_coverage(
covered: &[Vec<bool>],
) -> Result<JointCoverage, MetricError>Expand description
Compute joint and marginal coverage from a row-major coverage matrix:
covered[i][q] is true when row i’s prediction set for question q covered the
realized label.
§Errors
MetricError::EmptyInput on zero rows or zero questions;
MetricError::LengthMismatch on a ragged matrix.