code: def test_basic_run():
      (
          X,
          IncreaseFeature1,
          IncreaseFeature2,
          IncreaseFeature3,
          passed,
      ) = create_basic_scenario()
      possible_actions = [
          [IncreaseFeature1(i) for i in range(1, 10)],
          IncreaseFeature2(5),
          [IncreaseFeature3(i) for i in range(1, 20)],
      ]
      optimizer = shap.ActionOptimizer(passed, possible_actions)
      actions = optimizer(X.iloc[0])
      assert len(actions) == 2
      assert sum(a.cost for a in actions) == 27
  
file_path: shap/tests/actions/_optimizer.py
imports: import numpy
  import pandas
  import pytest
  import shap
  from shap.utils._exceptions import ConvergenceError, InvalidAction
label_desc: Use image node_id 2 for calling a global function with example usage: test_basic_run() without return types