code: def test_too_few_evals():
      (
          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)
      with pytest.raises(ConvergenceError):
          optimizer(X.iloc[0], max_evals=3)
  
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 3 for calling a global function with example usage: test_too_few_evals() without return types