code: def _format_brief_report(results):
      """Formats the gives list of `_Result`s as a condensed report str.
  
      Part of the condensing is that `brief_report` only describes the
      most likely to fail batch member.  This introduces some statistical
      skew: the samples being bootstrapped from are not for the true
      distribution of the batch member under test, but from the
      distribution conditioned on that batch member having turned to be
      the worst in the batch.  This may grow problematic for a large batch
      of `assertAllMeansClose`, where multiple members have a
      non-negligible true probability of failure.  If that source of error
      is not worth the brevity, there's always `full_report`.
  
      Args:
        results: A list of `_Result` for a batch `assertAllMeansClose`
          evaluation.
  
      Returns:
        report: A Python `str` suitable for being printed or added to an
          assertion message.
      """
      worst = results[0]
      report = ""
      if len(results) > 1:
          for result in results:
              p_fail = (
                  result.gaussian.too_low_p + result.gaussian.too_high_p
              )
              if (
                  p_fail
                  > worst.gaussian.too_low_p + worst.gaussian.too_high_p
              ):
                  worst = result
          report += f"At index {worst.batch_indices}"
      return report + _format_brief_report_one(worst)
  
imports: import collections
  import numpy
  import scipy.optimize
  import scipy.stats
label_desc: Use image node_id 13 for calling a global function with example usage: _format_brief_report(results) and returns: unknown