code: def test_overwrite(seed=1234):
      np.random.seed(seed)
  
      def ll(x):
          return -0.5 * np.sum(x**2)
  
      nwalkers = 64
      p0 = np.random.normal(size=(nwalkers, 1))
      init = np.copy(p0)
  
      sampler = EnsembleSampler(nwalkers, 1, ll)
      sampler.run_mcmc(p0, 10)
      assert np.allclose(init, p0)
  
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 3 for calling a global function with example usage: test_overwrite(seed) and returns: unknown