code: def test_create_difference_dictionary(self):
      test_eval_result = self.create_eval_result()
      res = weight_utils.create_percentage_difference_dictionary(
          test_eval_result,
          "Overall",
          "post_export_metrics/negative_rate@0.10",
      )
      self.assertEqual(3, len(res))
      self.assertIn("gender-sexual_orientation", res)
      self.assertIn("gender", res)
      self.assertAlmostEqual(res["gender"]["female"], 0.125)
      self.assertAlmostEqual(res[""][""], 0)
  
file_path: fairness-indicators/fairness_indicators/remediation/weight_utils_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  from fairness_indicators.remediation import weight_utils
  import tensorflow.compat.v1
label_desc: Use image node_id 7 for calling the WeightUtilsTest obj's underlying member method code with example usage: obj.test_create_difference_dictionary() without return types