code: def test_edge_betweenness_centrality(
      graph_file,
      directed,
      subset_size,
      normalized,
      weight,
      result_dtype,
      edgevals,
  ):
      sorted_df = calc_edge_betweenness_centrality(
          graph_file,
          directed=directed,
          normalized=normalized,
          k=subset_size,
          weight=weight,
          seed=42,
          result_dtype=result_dtype,
          edgevals=edgevals,
      )
      compare_scores(sorted_df, first_key="cu_bc", second_key="ref_bc")
  
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 11 for calling a global function with example usage: test_edge_betweenness_centrality(graph_file, directed, subset_size, normalized, weight, result_dtype, edgevals) without return types