code: def test_set_alias(data_100):
      model = bmb.Model("n1 ~ n2 + (n2|cat1)", data_100)
      aliases = {
          "Intercept": "α",
          "n2": "β",
          "1|cat1": "α_group",
          "n2|cat1": "β_group",
          "sigma": "σ",
      }
      model.set_alias(aliases)
      model.build()
      new_names = set(
          [
              "α",
              "β",
              "α_group",
              "α_group_σ",
              "β_group",
              "β_group_σ",
              "σ",
          ]
      )
      assert new_names.issubset(set(model.backend.model.named_vars))
  
file_path: bambi/tests/test_aliases.py
imports: import pytest
  import bambi
  import numpy
  import pandas
label_desc: Use image node_id 9 for calling a global function with example usage: test_set_alias(data_100) without return types