code: def test_omit_offsets_false():
      rng = np.random.default_rng(121195)
      data = pd.DataFrame(
          {
              "y": rng.normal(size=100),
              "x1": rng.normal(size=100),
              "g1": ["a"] * 50 + ["b"] * 50,
          }
      )
      model = bmb.Model("y ~ x1 + (x1|g1)", data)
      fitted = model.fit(tune=100, draws=100, omit_offsets=False)
      offsets = [
          var
          for var in fitted.posterior.var()
          if var.endswith("_offset")
      ]
      assert offsets == ["1|g1_offset", "x1|g1_offset"]
  
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 18 for calling a global function with example usage: test_omit_offsets_false() without return types