code: def test_select_draws_no_effect(request, mtcars, condition):
      model, idata = mtcars
  
      conditional = {
          "hp": np.linspace(50, 350, 7),
          "drat": [2.5, 3.5],
          "am": [0, 1],
      }
      grid = data_grid(model, conditional)
  
      idata = model.predict(idata, data=grid, inplace=False)
      draws = select_draws(
          idata, grid, condition=condition, data_var="mpg_mean"
      )
  
      # (CHAINS, DRAWS, n) where n is the number of observations that satisfy the condition
      id = request.node.name
      if id == "1":
          assert draws.shape == (CHAINS, DRAWS, 4)
      elif id == "2":
          assert draws.shape == (CHAINS, DRAWS, 14)
      elif id == "3":
          assert draws.shape == (CHAINS, DRAWS, 2)
  
file_path: bambi/tests/test_interpret.py
imports: import numpy
  import pandas
  import pytest
  import bambi
  from bambi.interpret.helpers import data_grid, select_draws
label_desc: Use image node_id 7 for calling a global function with example usage: test_select_draws_no_effect(request, mtcars, condition) without return types