code: def test_init_from_examples_with_ids(self):
      # This test ensures that IndexedInput.id is the same as
      # IndexedInput.data._id when initialized from examples with _id fields.
      examples: list[lit_types.JsonDict] = [
          {
              "parity": "odd",
              "text": "one",
              "value": 1,
              "_id": "one-1-odd",
          },
          {
              "parity": "even",
              "text": "two",
              "value": 2,
              "_id": "two-2-even",
          },
          {
              "parity": "odd",
              "text": "three",
              "value": 3,
              "_id": "three-3-odd",
          },
      ]
      dataset = lit_dataset.IndexedDataset(
          spec=self._DATASET_SPEC, examples=examples
      )
  
      for indexed_example, example, original in zip(
          dataset.indexed_examples, dataset.examples, examples
      ):
          self.assertEqual(example["_id"], original["_id"])
          self.assertEqual(indexed_example["id"], original["_id"])
  
          self.assertIsNotNone(example["_meta"])
          self.assertEqual(indexed_example["meta"], example["_meta"])
  
          self.assertEqual(indexed_example["data"], example)
  
          for key in original:
              self.assertEqual(example[key], original[key])
  
imports: import os
  import types
  from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  import numpy
label_desc: Use image node_id 2 for calling the IndexedDatasetTest obj's underlying member method code with example usage: obj.test_init_from_examples_with_ids() without return types