code: def test_model_init_bad_data():
      with pytest.raises(ValueError):
          bmb.Model("y ~ x", {"x": 1})
  
imports: import logging
  from functools import reduce
  from operator import add
  from os.path import dirname, join
  import arviz
  import numpy
  import pandas
  import pymc
  import pytest
  from formulae import design_matrices
  import bambi
  from bambi.terms import CommonTerm, GroupSpecificTerm
label_desc: Use image node_id 7 for calling a global function with example usage: test_model_init_bad_data() without return types