The current implementation of report printing.
  :param report: ConfidenceReport

def current(report):
  """
  The current implementation of report printing.
  :param report: ConfidenceReport
  """
  if hasattr(report, "completed"):
    if report.completed:
      print("Report completed")
    else:
      print("REPORT NOT COMPLETED")
  else:
    warnings.warn("This report does not indicate whether it is completed. Support for reports without a `completed`"
                  "field may be dropped on or after 2019-05-11.")
  for key in report:
    covered = report[key].confidence > 0.5
    wrong = 1. - report[key].correctness
    failure_rate = (covered * wrong).mean()
    print(key, 'failure rate at t=.5', failure_rate)
    print(key, 'accuracy at t=0', report[key].correctness.mean())