def METHOD_NAME(self, mock_perplexity):
    mock_perplexity.return_value = [(2, 2), (20, 2)]
    score_types = LANGUAGE_MODEL_SCORES
    desired_scores = {
        PPL_CHAIN: 0.5,
        PPL_STEP: 0.09,
        PPL_STEP_MAX: 0.05,
    }
    scores = self.reasoning_evaluator.compute_ppl_scores(self.chain, score_types)
    for model in LANGUAGE_MODEL_SCORES:
        self.assertTrue(model in scores)
        self.assertAlmostEqual(desired_scores[model], scores[model], places=2)