code: def test_evaluate_multiclass_classification_singletask():
      """Test multiclass classification evaluation."""
      X = np.random.rand(100, 5)
      y = np.random.randint(5, size=(100,))
      dataset = dc.data.NumpyDataset(X, y)
      model = dc.models.MultitaskClassifier(1, 5, n_classes=5)
      multitask_scores = model.evaluate(
          dataset, dc.metrics.roc_auc_score, n_classes=5
      )
      assert len(multitask_scores) == 1
      assert multitask_scores["metric-1"] >= 0
  
imports: import pytest
  import deepchem
  import numpy
  import sklearn
  from deepchem.utils.evaluate import Evaluator
  from deepchem.utils.evaluate import GeneratorEvaluator
label_desc: Use image node_id 6 for calling a global function with example usage: test_evaluate_multiclass_classification_singletask() without return types