docstr: Return a list of lines describing the statistics, to be printed.
code: def get_description(self):
      """Return a list of lines describing the statistics, to be printed."""
      if not self.has_runs:
          return ["  - Test was never run"]
      lines = [
          "  - %d passing examples, %d failing examples, %d invalid examples"
          % (
              self.passing_examples,
              self.failing_examples,
              self.invalid_examples,
          ),
          "  - Typical runtimes: %s" % (self.runtimes,),
          "  - Fraction of time spent in data generation: %s"
          % (self.draw_time_percentage,),
          "  - Stopped because %s" % (self.exit_reason,),
      ]
      if self.targets:
          lines.append("  - Highest target scores:")
          for label, score in sorted(
              self.targets.items(), key=lambda x: x[::-1]
          ):
              lines.append("{:>20g}  ({})".format(score, repr(label)))
      if self.events:
          lines.append("  - Events:")
          lines += ["    * %s" % (event,) for event in self.events]
      return lines
  
file_path: catboost/contrib/python/hypothesis/py2/hypothesis/statistics.py
imports: from __future__ import absolute_import, division, print_function
  import math
  from hypothesis.internal.conjecture.data import Status
  from hypothesis.internal.conjecture.engine import MAX_SHRINKS, ExitReason
  from hypothesis.utils.dynamicvariables import DynamicVariable
label_desc: Use image node_id 2 for calling the Statistics obj's underlying member method code with example usage: obj.get_description() and returns: lines, list