code: def _group_tasks_by_name_and_status(task_dict):
      
      group_status = {}
      for task in task_dict:
          if task.task_family not in group_status:
              group_status[task.task_family] = []
          group_status[task.task_family].append(task)
      return group_status
docs: Takes a dictionary with sets of tasks grouped by their status and
      returns a dictionary with dictionaries with an array of tasks grouped by
      their status and task name