code: def test_popscore_save_load():
      original = basic.PopScore()
      original.fit(lktu.ml_test.ratings)
  
      mod = pickle.dumps(original)
      algo = pickle.loads(mod)
  
      assert all(algo.item_scores_ == original.item_scores_)
  
file_path: lkpy/tests/test_popular.py
imports: from lenskit.algorithms import basic
  import pandas
  import numpy
  import pickle
  import lenskit.util.test
label_desc: Use image node_id 8 for calling a global function with example usage: test_popscore_save_load() without return types