code: def coverage(target: np.ndarray, forecast: np.ndarray) -> float:
      r"""
      .. math::
  
          coverage = mean(Y <= \hat{Y})
      """
      return float(np.mean(target <= forecast))
  
file_path: gluonts/src/gluonts/evaluation/metrics.py
imports: from typing import Optional
  import numpy
  from gluonts.time_feature import get_seasonality
label_desc: Use image node_id 5 for calling a global function with example usage: coverage(target, forecast) and returns: float