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: Get next onboarding task for given worker.
  
  :param worker_id:
      worker id
  
  :return:
      A list of onboarding tasks for the worker
docstr_tok: ["Get","next","onboarding","task","for","given","worker",".",":","param","worker_id",":","worker","id",":","return",":","A","list","of","onboarding","tasks","for","the","worker"]
code: def get_onboarding_tasks(self, worker_id: str) -> List[PairingsDict]:
      """
      Get next onboarding task for given worker.
  
      :param worker_id:
          worker id
  
      :return:
          A list of onboarding tasks for the worker
      """
      if len(self.onboarding_tasks) == 0:
          return []
  
      worker_data = self._get_worker_data(worker_id)
      onboarding_todo = worker_data["onboarding_todo"]
      if not onboarding_todo:
          # worker has completed all required onboarding tasks
          return []
      # get onboarding tasks for workers needing them
      num_tasks_to_return = min(
          len(onboarding_todo), self.args.blueprint.subtasks_per_unit
      )
      onboarding_tasks_chosen = onboarding_todo[:num_tasks_to_return]
      worker_data["onboarding_todo"] = onboarding_todo[
          num_tasks_to_return:
      ]
      return [
          self.onboarding_tasks[t_id]
          for t_id in onboarding_tasks_chosen
      ]
  
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 11 for calling the AcuteEvalRunner obj's underlying member method code with example usage: obj.get_onboarding_tasks(worker_id) and returns: unknown, list, list