code: def test_score_duplicates(self):
      scores = dedupe.core.scoreDuplicates(
          self.records, self.data_model.distances, self.classifier, 2
      )
  
      numpy.testing.assert_equal(
          scores["pairs"], self.desired_scored_pairs["pairs"]
      )
  
      numpy.testing.assert_allclose(
          scores["score"], self.desired_scored_pairs["score"], 2
      )
  
imports: import random
  import unittest
  import numpy
  import scipy.special
  import dedupe
label_desc: Use image node_id 2 for calling the ScoreDuplicates obj's underlying member method code with example usage: obj.test_score_duplicates() without return types