class_docstr: A test dataset for classification testing.
class_docstr_tok: ["A","test","dataset","for","classification","testing","."]
code: def spec(self) -> lit_types.Spec:
      return {
          "size": lit_types.CategoryLabel(
              vocab=["small", "medium", "large"]
          ),
          "weight": lit_types.Scalar(),
          "legs": lit_types.Boolean(),
          "description": lit_types.StringLitType(),
          "animal": lit_types.CategoryLabel(vocab=ANIMALS),
      }
  
imports: from unittest import mock
  from absl.testing import absltest
  from lit_nlp.api import dataset
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.components import minimal_targeted_counterfactuals
  from lit_nlp.lib import caching
  import numpy
  import scipy.special
label_desc: Use image node_id 1 for calling the ClassificationTestDataset obj's underlying member method code with example usage: obj.spec() and returns: dict