code: def test_bad_data():
      data = np.sqrt(
          np.load("pynndescent/tests/test_data/pynndescent_bug_np.npz")[
              "arr_0"
          ]
      )
      index = NNDescent(data, metric="cosine")
  
imports: import os
  import io
  import re
  import pytest
  from contextlib import redirect_stdout
  import numpy
  from sklearn.neighbors import KDTree
  from sklearn.neighbors import NearestNeighbors
  from sklearn.preprocessing import normalize
  import pickle
  import joblib
  import scipy
  from pynndescent import NNDescent, PyNNDescentTransformer
label_desc: Use image node_id 32 for calling a global function with example usage: test_bad_data() without return types