code: def classification_main(filename):
      docs = read_jsonl(filename)
      incorrect_labels_docs = get_incorrect_labels(docs)
      incorrect_slots_docs = get_incorrect_slots(docs)
  
      print(
          "{} / {} have incorrect labels".format(
              len(incorrect_labels_docs), len(docs)
          )
      )
      print(
          "{} / {} have incorrect slots".format(
              len(incorrect_slots_docs), len(docs)
          )
      )
  
      for doc in incorrect_labels_docs:
          print(doc)
  
file_path: NeMo/examples/nlp/dialogue/analyse_prediction_results.py
imports: import argparse
  import json
  import re
  import numpy
  from nemo.collections.nlp.metrics.dialogue_metrics import DialogueGenerationMetrics
label_desc: Use image node_id 7 for calling a global function with example usage: classification_main(filename) without return types