code: def fill_preferences(
      series_names: List[str], preferences: List[int]
  ) -> List[int]:
      if len(series_names) > len(preferences):
          preferences += [-1] * (len(series_names) - len(preferences))
  
      return preferences
  
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 6 for calling a global function with example usage: fill_preferences(series_names, preferences) and returns: preferences