def METHOD_NAME(self, preds, targets, char_order, word_order, lowercase, whitespace):
    """Test the differentiability of the metric, according to its `is_differentiable` attribute."""
    metric_args = {
        "n_char_order": char_order,
        "n_word_order": word_order,
        "lowercase": lowercase,
        "whitespace": whitespace,
    }
    self.run_differentiability_test(
        preds=preds,
        targets=targets,
        metric_module=CHRFScore,
        metric_functional=chrf_score,
        metric_args=metric_args,
    )