class_docstr: Managing class for the acute evaluator process.
  
  Relevant args are parsed in the `setup_args` function above.
class_docstr_tok: ["Managing","class","for","the","acute","evaluator","process",".","Relevant","args","are","parsed","in","the","`","setup_args","`","function","above","."]
docstr: Set block qualification if necessary.
  
  :param task_id:
      task id used to set block qualification, if necessary.
docstr_tok: ["Set","block","qualification","if","necessary",".",":","param","task_id",":","task","id","used","to","set","block","qualification",",","if","necessary","."]
code: def set_block_qual(self, task_id: str):
      """
      Set block qualification if necessary.
  
      :param task_id:
          task id used to set block qualification, if necessary.
      """
      if self.args.blueprint.block_on_onboarding_fail:
          self.block_qualification = (
              self.args.blueprint.block_qualification
          )
          if self.block_qualification is None:
              self.block_qualification = f"{task_id}_failed_onboarding"
              self.args.blueprint.block_qualification = (
                  self.block_qualification
              )
              logger.warning(
                  "No block_qualification set in opt, automatically creating "
                  "new qualification {}".format(
                      self.block_qualification
                  )
              )
          found_qualifications = self.task_run.db.find_qualifications(
              self.block_qualification
          )
          if len(found_qualifications) == 0:
              self.task_run.db.make_qualification(
                  self.block_qualification
              )
  
imports: import json
  import queue
  import random
  from typing import List, Any, Dict, Tuple, Set, TYPE_CHECKING
  from mephisto.utils.logger_core import get_logger
  from mephisto.abstractions.blueprint import SharedTaskState, TaskRunner
  from omegaconf import DictConfig
label_desc: Use image node_id 3 for calling the AcuteEvalRunner obj's underlying member method code with example usage: obj.set_block_qual(task_id) without return types