code: def test_bootstrapping():
      random.seed(42)
      arr = [random.random() for _ in range(1000)]
      expected = metrics.mean_stderr(arr)
      bootstrapped = metrics.bootstrap_stderr(
          metrics.mean, arr, iters=100000
      )
  
      assert bootstrapped == pytest.approx(expected, abs=1e-4)
  
imports: import pytest
  import lm_eval.metrics
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: test_bootstrapping() without return types