code: def test_build_candidate_sampler_config_failed(self):
      with self.assertRaises(ValueError):
          cs_config_builder.build_candidate_sampler_config(100)
      with self.assertRaises(ValueError):
          cs_config_builder.build_candidate_sampler_config("invalid")
  
file_path: neural-structured-learning/research/carls/candidate_sampling/candidate_sampler_config_builder_test.py
imports: from research.carls.candidate_sampling import candidate_sampler_config_builder
  from research.carls.candidate_sampling import candidate_sampler_config_pb2
  import tensorflow
label_desc: Use image node_id 5 for calling the CandidateSamplerConfigBuilderTest obj's underlying member method code with example usage: obj.test_build_candidate_sampler_config_failed() without return types