class_docstr: Result of bootstrapping test success or failure.
docstr: Confidence interval at the given `error_rate` on the true p(fail).
docstr_tok: ["Confidence","interval","at","the","given","`","error_rate","`","on","the","true","p","(","fail",")","."]
code: def for_error_rate(self, error_rate):
      """Confidence interval at the given `error_rate` on the true p(fail)."""
      low_p, high_p = binomial_confidence_interval(
          self.failures, self.trials, error_rate
      )
      return _BootstrapConfidenceInterval(low_p, high_p)
  
imports: import collections
  import numpy
  import scipy.optimize
  import scipy.stats
label_desc: Use image node_id 1 for calling the _BootstrapResult obj's underlying member method code with example usage: obj.for_error_rate(error_rate) and returns: _BootstrapConfidenceInterval