code: def test_recall_long_rel():
      rel = np.arange(100)
      items = [1, 0, 150, 3, 10]
  
      r = _test_recall(items, rel, k=5)
      assert r == approx(0.8)
  
file_path: lkpy/tests/test_topn_recall.py
imports: import logging
  import numpy
  import pandas
  from pytest import approx
  from lenskit.metrics.topn import recall
  from lenskit.util.test import demo_recs
  from lenskit import topn
label_desc: Use image node_id 10 for calling a global function with example usage: test_recall_long_rel() without return types