code: def input_expected_output(input_combo):
      """
      This fixture returns a dictionary containing all input params required to
      run a HITS algo and the corresponding expected result (based on NetworkX
      HITS) which can be used for validation.
      """
      # Only run Nx to compute the expected result if it is not already present
      # in the dictionary. This allows separate Nx-only tests that may have run
      # previously on the same input_combo to save their results for re-use
      # elsewhere.
      if "nxResults" not in input_combo:
          dataset_path = input_combo["graph_file"].get_path()
          Gnx = utils.generate_nx_graph_from_file(
              dataset_path, directed=True
          )
          nxResults = nx.hits(
              Gnx,
              input_combo["max_iter"],
              input_combo["tol"],
              normalized=True,
          )
          input_combo["nxResults"] = nxResults
      return input_combo
  
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 3 for calling a global function with example usage: input_expected_output(input_combo) and returns: input_combo