code: def test_get_top_k_scored_items(scores):
      top_items, top_scores = get_top_k_scored_items(
          scores=scores, top_k=3, sort_top_k=True
      )
  
      assert np.array_equal(
          top_items, np.array([[4, 3, 2], [0, 1, 2], [1, 3, 2]])
      )
      assert np.array_equal(
          top_scores, np.array([[5, 4, 3], [5, 4, 3], [5, 4, 3]])
      )
  
file_path: recommenders/tests/unit/recommenders/utils/test_python_utils.py
imports: import pytest
  import numpy
  from recommenders.utils.python_utils import exponential_decay, jaccard, lift, get_top_k_scored_items, binarize, rescale
label_desc: Use image node_id 8 for calling a global function with example usage: test_get_top_k_scored_items(scores) without return types