class_docstr: Tests the main functions in the library.
class_docstr_tok: ["Tests","the","main","functions","in","the","library","."]
code: def test_performance_profiles(self, use_score_distribution):
      tau_list = [0.0, 0.25, 0.5, 1.0]
      score_dict = {"x": self._x, "y": self._y}
      profiles, profile_cis = rly.create_performance_profile(
          score_dict,
          tau_list,
          use_score_distribution=use_score_distribution,
          reps=100,
      )
      for key in score_dict:
          self.assertIsInstance(profiles[key], np.ndarray)
          np.testing.assert_array_equal(
              profiles[key], sorted(profiles[key], reverse=True)
          )
          self.assertLen(profiles[key], len(tau_list))
          self.assertEqual(profile_cis[key].shape, (2, len(tau_list)))
  
file_path: rliable/tests/rliable/library_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import rliable.library
  import rliable.metrics
label_desc: Use image node_id 5 for calling the LibraryTest obj's underlying member method code with example usage: obj.test_performance_profiles(use_score_distribution) without return types