code: def test_thresholder(
      self, config: lit_types.JsonDict, expected: float
  ):
      # Test with default options.
      result = self.thresholder.run(
          _EXAMPLES,
          self.model,
          self.dataset,
          self.model_outputs,
          config=config,
      )
      self.assertLen(result, 1)
      self.assertEqual("probas", result[0]["pred_key"])
      self.assertEqual(expected, result[0]["thresholds"][""]["Single"])
  
file_path: lit/lit_nlp/components/thresholder_int_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  from lit_nlp.components import thresholder
  from lit_nlp.examples.models import glue_models
  from lit_nlp.lib import caching
  from lit_nlp.lib import file_cache
label_desc: Use image node_id 3 for calling the ThresholderTest obj's underlying member method code with example usage: obj.test_thresholder(config, expected) without return types