code: def deprecated(report):
    
    warnings.warn("Printing dict-based reports is deprecated. This function "
                  "is included only to support a private development branch "
                  "and may be removed without warning.")
  
    for key in report:
      confidence_name = 'confidence'
      correctness_name = 'correctness'
      if confidence_name not in report[key]:
        confidence_name = 'all_probs'
        correctness_name = 'correctness_mask'
        warnings.warn("'all_probs' is used only to temporarily support "
                      "the private development branch. This name can be "
                      "removed at any time without warning.")
      covered = report[key][confidence_name] > 0.5
      wrong = 1. - report[key][correctness_name]
      failure_rate = (covered * wrong).mean()
      print(key, 'failure rate at t=.5', failure_rate)
      print(key, 'accuracy at t=0', report[key][correctness_name].mean())
docs: The deprecated implementation of report printing.
    :param report: dict