code: def _bit_hi1(n):
      """Returns the position of the high 1 bit base 2 in an integer.
  
      Parameters
      ----------
      n : int
          Input, should be positive.
  
      """
      bin_repr = np.binary_repr(n)
      most_left_one = bin_repr.find("1")
      if most_left_one == -1:
          return 0
      else:
          return len(bin_repr) - most_left_one
  
file_path: scikit-optimize/skopt/sampler/sobol.py
imports: from __future__ import division
  import warnings
  import numpy
  from .base import InitialPointGenerator
  from ..space import Space
  from sklearn.utils import check_random_state
label_desc: Use image node_id 1 for calling a global function with example usage: _bit_hi1(n) and returns: int, unknown