code: def test_cs_rated_items_array():
      "rated_items should return array as itself"
      items = ["a", "b", "wombat"]
      items = np.array(items)
  
      i2 = CandidateSelector.rated_items(items)
      assert isinstance(i2, np.ndarray)
      assert all(i2 == items)
      assert i2 is items
  
imports: from lenskit.algorithms import CandidateSelector
  import pandas
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: test_cs_rated_items_array() without return types