class_docstr: Tests tabular hot-flips on classification tasks.
class_docstr_tok: ["Tests","tabular","hot-flips","on","classification","tasks","."]
docstr: Tests that non-scalar non-categorical features has correct value.
  
  The values of non-scalar, non-categorical features should be the same as in
  the input example.
code: def test_text_fields_equal_to_target(self):
      """Tests that non-scalar non-categorical features has correct value.
  
      The values of non-scalar, non-categorical features should be the same as in
      the input example.
      """
      output = self._gen.generate(
          example=self._example,
          model=self._model,
          dataset=self._dataset,
          config=self._config,
      )
      s = {o["description"] for o in output}
      self.assertLen(s, 1)
      self.assertIn("big water animal", s)
  
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 8 for calling the ClassificationTabularMtcTest obj's underlying member method code with example usage: obj.test_text_fields_equal_to_target() without return types