class_docstr: Helpers for writing expectation functions over tests.
  Each test has a list of testcases, and each testcase has a list of examples.
  Expectation function will act on whole tests, testcases, individual examples, or pairs of examples.
  In any of these, the output of an expectation function for a single example
  is an integer, float, bool, or None, where:
      > 0 (or True) means passed,
      <= 0 or False means fail, and (optionally) the magnitude of the
        failure, indicated by distance from 0, e.g. -10 is worse than -1
      None means the test does not apply, and this should not be counted
docstr: Aggregate such that all have to be True
  See docstring for "aggregate", this is an aggregation function
  
  Parameters
  ----------
  ignore_first : bool
      If True, do not require first example to be True (useful for perturbation tests)
  
  Returns
  -------
  function
      aggregation function
docstr_tok: ["Aggregate","such","that","all","have","to","be","True","See","docstring","for","``","aggregate","''",",","this","is","an","aggregation","function","Parameters","--","--","--","--","--","ignore_first",":","bool","If","True",",","do","not","require","first","example","to","be","True","(","useful","for","perturbation","tests",")","Returns","--","--","--","-","function","aggregation","function"]
code: def all(ignore_first=False):
      """Aggregate such that all have to be True
      See docstring for "aggregate", this is an aggregation function
  
      Parameters
      ----------
      ignore_first : bool
          If True, do not require first example to be True (useful for perturbation tests)
  
      Returns
      -------
      function
          aggregation function
  
      """
  
      def tmp_fn(results):
          if ignore_first:
              results = results[1:]
          return np.all(results > 0)
  
      return tmp_fn
  
imports: import numpy
  import itertools
label_desc: Use image node_id 7 for calling the Expect obj's underlying member method code with example usage: obj.all(ignore_first) and returns: tmp_fn, np