parameters: (self, num_evals, log_progress=True)
docstring: Constructs the run hook.
  
      Args:
        num_evals: The number of evaluations to run for.
        log_progress: Whether to log evaluation progress, defaults to True.
docstring_summary: Constructs the run hook.
docstring_tokens: Constructs the run hook .
function: def __init__(self, num_evals, log_progress=True):
      """Constructs the run hook.
  
      Args:
        num_evals: The number of evaluations to run for.
        log_progress: Whether to log evaluation progress, defaults to True.
      """
      # The number of evals to run for.
      self._num_evals = num_evals
      self._evals_completed = None
      self._log_progress = log_progress
function_tokens: def __init__ ( self , num_evals , log_progress = True ) : # The number of evals to run for. self . _num_evals = num_evals self . _evals_completed = None self . _log_progress = log_progress