code: def compare_scores(
      sorted_df, first_key, second_key, epsilon=DEFAULT_EPSILON
  ):
      errors = sorted_df[
          ~cupy.isclose(
              sorted_df[first_key], sorted_df[second_key], rtol=epsilon
          )
      ]
      num_errors = len(errors)
      if num_errors > 0:
          print(errors)
      assert (
          num_errors == 0
      ), "Mismatch were found when comparing '{}' and '{}' (rtol = {})".format(
          first_key, second_key, epsilon
      )
  
imports: import gc
  import pytest
  import random
  import networkx
  import numpy
  import cupy
  import cudf
  import cugraph
  from cugraph.datasets import karate_disjoint
  from cugraph.testing import utils, SMALL_DATASETS
label_desc: Use image node_id 7 for calling a global function with example usage: compare_scores(sorted_df, first_key, second_key, epsilon) without return types