code: def _test_holes_base(n, f=100, base_i=100000):
      annoy = AnnoyIndex(f, "angular")
      for i in range(n):
          annoy.add_item(base_i + i, numpy.random.normal(size=(f,)))
      annoy.build(100)
      res = annoy.get_nns_by_item(base_i, n)
      assert set(res) == set([base_i + i for i in range(n)])
  
file_path: annoy/test/holes_test.py
imports: import random
  import numpy
  from annoy import AnnoyIndex
label_desc: Use image node_id 2 for calling a global function with example usage: _test_holes_base(n, f, base_i) without return types