code: def setUp(self):
      super().setUp()
  
      number_names = [
          "zero",
          "one",
          "two",
          "three",
          "four",
          "five",
          "six",
          "seven",
          "eight",
          "nine",
      ]
      # pylint: disable=g-complex-comprehension
      dummy_inputs = [
          {"name": name, "val": i}
          for i, name in enumerate(number_names)
      ]
      # pylint: enable=g-complex-comprehension
      input_spec = {
          "name": lit_types.TextSegment(),
          "val": lit_types.Scalar(),
      }
      self.input_ds = lit_dataset.Dataset(input_spec, dummy_inputs)
  
      dummy_preds = [
          {"pred": "{name:s}={val:d}".format(**d)}
          for d in self.input_ds.examples
      ]
      self.preds_ds = lit_dataset.Dataset(
          {"pred": lit_types.TextSegment()}, dummy_preds
      )
  
file_path: lit/lit_nlp/components/static_preds_test.py
imports: from absl.testing import absltest
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  from lit_nlp.components import static_preds
label_desc: Use image node_id 1 for calling the StaticPredictionsTest obj's underlying member method code with example usage: obj.setUp() without return types