class_docstr: Test the base ResultsCompiler class.
code: def test_compile_all_results(self):
      data_compiler = MockResultsCompiler(DUMMY_OPT)
  
      compiled_data = data_compiler.compile_results()
      self.assertIsNotNone(compiled_data)
      self.assertIsInstance(compiled_data, dict)
      self.assertEqual(len(compiled_data), LEN_MOCK_DATA)
  
imports: import unittest
  from typing import Any, Dict, List
  from parlai.crowdsourcing.utils.analysis import AbstractResultsCompiler
  from collections import defaultdict
label_desc: Use image node_id 1 for calling the TestResultsCompiler obj's underlying member method code with example usage: obj.test_compile_all_results() without return types