class_docstr: Basic tests for some simple functionality.
class_docstr_tok: ["Basic","tests","for","some","simple","functionality","."]
code: def test_max_contradiction(self, mock_contradiction_probability):
      mock_contradiction_probability.return_value = [1.0]
      context = ["a", "b"]
      hypo = ["c", "d", "e"]
      batch_size = 1
      desired_probs_size = len(context) * len(hypo)
      probs = self.reasoning_evaluator.max_contradiction(
          context, hypo, batch_size
      )
      self.assertEqual(desired_probs_size, len(probs))
  
file_path: ParlAI/tests/nightly/cpu/test_roscoe.py
imports: import unittest
  from unittest.mock import patch
  import numpy
label_desc: Use image node_id 5 for calling the TestEvaluator obj's underlying member method code with example usage: obj.test_max_contradiction(mock_contradiction_probability) without return types