code: def test_seed_reset(spa_data):
      spa = SPA(
          spa_data.benchmark, spa_data.models, reps=10, seed=23456
      )
      initial_state = spa.bootstrap.state
      spa.compute()
      spa.reset()
      assert spa._pvalues == {}
      assert_equal(
          spa.bootstrap.state["state"]["state"],
          initial_state["state"]["state"],
      )
      assert_equal(
          spa.bootstrap.state["state"]["inc"],
          initial_state["state"]["inc"],
      )
      assert_equal(
          spa.bootstrap.state["has_uint32"], initial_state["has_uint32"]
      )
      assert_equal(
          spa.bootstrap.state["uinteger"], initial_state["uinteger"]
      )
  
imports: from typing import NamedTuple
  import numpy
  from numpy import linspace
  from numpy.random import RandomState
  from numpy.testing import assert_allclose, assert_equal
  import pandas
  from pandas.testing import assert_frame_equal, assert_series_equal
  import pytest
  import scipy.stats
  from arch.bootstrap import CircularBlockBootstrap, MovingBlockBootstrap, StationaryBootstrap
  from arch.bootstrap.multiple_comparison import MCS, SPA, StepM
label_desc: Use image node_id 7 for calling a global function with example usage: test_seed_reset(spa_data) without return types