code: def main():
      """Command line:
      python msmarco_eval_ranking.py <path_to_reference_file> <path_to_candidate_file>
      """
  
      if len(sys.argv) == 3:
          path_to_reference = sys.argv[1]
          path_to_candidate = sys.argv[2]
          metrics = compute_metrics_from_files(
              path_to_reference, path_to_candidate
          )
          print("#####################")
          for metric in sorted(metrics):
              print("{}: {}".format(metric, metrics[metric]))
          print("#####################")
  
      else:
          print(
              "Usage: msmarco_eval_ranking.py <reference ranking> <candidate ranking>"
          )
          exit()
  
file_path: FARM/farm/evaluation/msmarco_passage_official.py
imports: import sys
  import statistics
  from collections import Counter
label_desc: Use image node_id 8 for calling a global function with example usage: main() without return types