code: def show_tricky_tasks(self, verbose=0):
          
          nids, tasks = [], []
          for task in self.iflat_tasks():
              if task.num_launches > 1 or any(n > 0 for n in (task.num_restarts, task.num_corrections)):
                  nids.append(task.node_id)
                  tasks.append(task)
  
          if not nids:
              cprint("Everything's fine, no tricky tasks found", color="green")
          else:
              self.show_status(nids=nids)
              if not verbose:
                  print("Use --verbose to print task history.")
                  return
  
              for nid, task in zip(nids, tasks):
                  cprint(repr(task), **task.status.color_opts)
                  self.show_history(nids=[nid], full_history=False, metadata=False)
                  #if task.num_restarts:
                  #    self.show_restarts(nids=[nid])
                  if task.num_corrections:
                      self.show_corrections(nids=[nid])
docs: Print list of tricky tasks i.e. tasks that have been restarted or
          launched more than once or tasks with corrections.
  
          Args:
              verbose: Verbosity level. If > 0, task history and corrections (if any) are printed.