code: def _canonical_name(name: str) -> str:
      return {"MIN": "T", "Y": "A"}.get(name, name)
  
imports: from __future__ import annotations
  import re
  from dataclasses import dataclass
  from typing import Tuple, Optional
  import numpy
  from gluonts import maybe
label_desc: Use image node_id 2 for calling a global function with example usage: _canonical_name(name) and returns: dict