code: def get_default_series_preference(
      series_names: List[str],
  ) -> List[int]:
      return [
          1 if "loss" == s.lower().split(".")[0] else -1
          for s in series_names
      ]
  
file_path: labml/app/server/labml_app/utils/__init__.py
imports: import time
  from typing import Callable, List
  from uuid import uuid4
  from functools import wraps
label_desc: Use image node_id 5 for calling a global function with example usage: get_default_series_preference(series_names) and returns: unknown