def METHOD_NAME(failure_logger, mask_dataset):
    mask_value, X_np, X = mask_dataset
    median = _masked_column_median(X, mask_value).get()
    mask = ~sk_get_mask(X_np, value_to_mask=mask_value)
    n_columns = X.shape[1]
    for i in range(n_columns):
        column_mask = mask[:, i]
        column_median = np.median(X_np[:, i][column_mask])
        assert column_median == median[i]