class_docstr: Compile and save results of human+model chats.
  
  Results will be saved on the level of specific conversations, as well as aggregated
  up the level of each worker as a whole.
code: def __init__(self, opt: Dict[str, Any]):
      AbstractTurnAnnotationResultsCompiler.__init__(self, opt)
      if "results_folders" in opt:
          self.results_folders = opt["results_folders"].split(",")
      else:
          self.results_folders = None
  
      # Input args
      self.model_nickname = opt["model_nickname"]
      assert len(self.results_folders) > 0
      for folder in self.results_folders:
          assert os.path.isdir(
              folder
          ), f"{folder} is not a valid folder!"
      os.makedirs(self.output_folder, exist_ok=True)
      self.start_date = opt["start_date"]
      self.max_convos_per_worker = opt["max_convos_per_worker"]
      self.min_word_count = opt["min_word_count"]
      self.hit_block_list = opt["hit_block_list"].split(",")
      self.worker_block_list = opt["worker_block_list"].split(",")
  
      # Setting up problem buckets
      if self.use_problem_buckets:
          self.regular_buckets = [
              bucket
              for bucket in self.problem_buckets
              if bucket not in ["other", "none_all_good"]
          ]
          # Remove the buckets that are special cases
  
      self.acceptability_checker = AcceptabilityChecker()
      self.completed_run_stats_path = opt["completed_run_stats_path"]
  
file_path: ParlAI/parlai/crowdsourcing/projects/multisession_chat/human_eval/compile_results.py
imports: import json
  import os
  import re
  from typing import Any, Dict
  import numpy
  import pandas
  from parlai.crowdsourcing.utils.acceptability import AcceptabilityChecker
  from parlai.crowdsourcing.tasks.model_chat.analysis.compile_results import ModelChatResultsCompiler
  from parlai.crowdsourcing.utils.analysis import AbstractTurnAnnotationResultsCompiler
label_desc: Use image node_id 2 to create a new ModelChatResultsCompiler object from inherited base classes: BaseModelChatResultsCompiler with example: obj = ModelChatResultsCompiler(opt)