def METHOD_NAME(self):
    refs = ["werewolf"]
    preds = ["wereawolf"]
    # S = 0, D = 1, I = 0, N = 8, CER = 0.125
    char_error_rate = cer.compute(predictions=preds, references=refs)
    self.assertTrue(abs(char_error_rate - 0.125) < 1e-6)