code: def test_fallback_list():
      algo = basic.Fallback([basic.Memorized(simple_df), Bias()])
      algo.fit(lktu.ml_test.ratings)
      assert len(algo.algorithms) == 2
  
      params = algo.get_params()
      assert list(params.keys()) == ["algorithms"]
      assert len(params["algorithms"]) == 2
      assert isinstance(params["algorithms"][0], basic.Memorized)
      assert isinstance(params["algorithms"][1], Bias)
  
file_path: lkpy/tests/test_fallback.py
imports: from lenskit.algorithms import basic
  from lenskit.algorithms.bias import Bias
  from lenskit import util
  import pandas
  import numpy
  import binpickle
  import lenskit.util.test
  from pytest import approx
label_desc: Use image node_id 3 for calling a global function with example usage: test_fallback_list() without return types