code: def check_same(a, b, eps, name):
      assert np.allclose(a, b, rtol=0.01, atol=eps), (
          "different from expected",
          name,
          list(a),
          list(b),
      )
  
imports: import io
  import os
  import pytest
  import numpy
  from numpy.testing import assert_allclose, assert_equal
  import pandas
  import patsy
  from statsmodels.api import families
  from statsmodels.tools.sm_exceptions import ValueWarning
  from statsmodels.othermod.betareg import BetaModel
  from .results import results_betareg
label_desc: Use image node_id 1 for calling a global function with example usage: check_same(a, b, eps, name) without return types