code: def test_metric_auc_yc_aux(self):
      n_bins = 10
      result, result_std, result_max, (thresholds, yc_curve) = auc_yc(
          Y_TRUE,
          Y_SCORE,
          n_bins=n_bins,
          return_std_maximum=True,
          return_curve=True,
      )
  
      assert round(result_std, TOL_DEGREE) == 0.228
      assert round(result_max, TOL_DEGREE) == 0.667
      assert np.allclose(
          np.array(thresholds),
          np.array([i / n_bins for i in range(0, n_bins + 1)]),
          atol=TOL,
      )
      assert np.allclose(
          np.array(yc_curve),
          np.array(
              [
                  0.0,
                  0.5,
                  0.5,
                  0.5,
                  0.5,
                  0.5,
                  0.167,
                  0.667,
                  0.667,
                  0.333,
                  0.0,
              ]
          ),
          atol=TOL,
      )
  
file_path: NeMo/tests/collections/asr/confidence/test_asr_confidence_metrics.py
imports: import math
  import tempfile
  import numpy
  import pytest
  from scipy.stats import uniform
  from nemo.collections.asr.parts.utils.confidence_metrics import auc_nt, auc_pr, auc_roc, auc_yc, ece, nce, save_confidence_hist, save_custom_confidence_curve, save_nt_curve, save_pr_curve, save_roc_curve
label_desc: Use image node_id 4 for calling the TestConfidenceMetrics obj's underlying member method code with example usage: obj.test_metric_auc_yc_aux() without return types