code: def _accuracy_requiring_X_data(
      y_true: np.ndarray,
      y_pred: np.ndarray,
      X_data: Any,
  ) -> float:
      """Dummy metric that needs X Data"""
      if X_data is None:
          raise ValueError()
      return accuracy(y_true, y_pred)
  
imports: from typing import Any
  import numpy
  from autosklearn.metrics import accuracy, make_scorer
label_desc: Use image node_id 1 for calling a global function with example usage: _accuracy_requiring_X_data(y_true, y_pred, X_data) and returns: accuracy