code: def test_nx_hits(benchmark, input_combo):
      """
      Simply run NetworkX HITS on the same set of input combinations used for the
      cuGraph HITS tests.
      This is only in place for generating comparison performance numbers.
      """
      dataset_path = input_combo["graph_file"].get_path()
      Gnx = utils.generate_nx_graph_from_file(
          dataset_path, directed=True
      )
      nxResults = benchmark(
          nx.hits,
          Gnx,
          input_combo["max_iter"],
          input_combo["tol"],
          normalized=True,
      )
      # Save the results back to the input_combo dictionary to prevent redundant
      # Nx runs. Other tests using the input_combo fixture will look for them,
      # and if not present they will have to re-run the same Nx call.
      input_combo["nxResults"] = nxResults
  
file_path: cugraph/python/cugraph/cugraph/tests/link_analysis/test_hits.py
imports: import gc
  import pytest
  import networkx
  import pandas
  import cudf
  import cugraph
  from cugraph.testing import utils, UNDIRECTED_DATASETS
  from cugraph.datasets import email_Eu_core, karate
  from pylibcugraph.testing.utils import gen_fixture_params_product
label_desc: Use image node_id 4 for calling a global function with example usage: test_nx_hits(benchmark, input_combo) without return types