class_docstr: A mock result compiler used for testing.
code: def compile_results(self):
      compiled_results = dict()
      for tdata in self.get_task_data():
          tdata_id = tdata["unit_id"]
          compiled_results[tdata_id] = tdata
      return compiled_results
  
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 2 for calling the MockResultsCompiler obj's underlying member method code with example usage: obj.compile_results() and returns: compiled_results