code: def rename_doubles(
      batch_metrics_names: List, epoch_metrics_names: List
  ) -> Tuple:
      metrics_names = rename_doubles_from_list(
          batch_metrics_names + epoch_metrics_names
      )
      batch_metrics_names = metrics_names[: len(batch_metrics_names)]
      epoch_metrics_names = metrics_names[len(batch_metrics_names) :]
      return batch_metrics_names, epoch_metrics_names
  
file_path: poutyne/poutyne/framework/metrics/utils.py
imports: import re
  from collections import Counter
  from typing import List, Tuple
label_desc: Use image node_id 4 for calling a global function with example usage: rename_doubles(batch_metrics_names, epoch_metrics_names) and returns: batch_metrics_names,  epoch_metrics_names