code: def check_rstate(a, b):
      assert all(np.allclose(a_, b_) for a_, b_ in zip(a[1:], b[1:]))
  
file_path: emcee/src/emcee/tests/unit/test_state.py
imports: import numpy
  import pytest
  from emcee import EnsembleSampler
  from emcee.state import State
label_desc: Use image node_id 1 for calling a global function with example usage: check_rstate(a, b) without return types