code: def fmt_acc(label, n, l_corr, u_corr, total_errs):
      l_pc = pc(l_corr, n)
      u_pc = pc(u_corr, n)
      err_pc = pc(n - l_corr, total_errs)
      return "%s\t%d\t%.3f\t%.3f\t%.3f" % (label, n, l_pc, u_pc, err_pc)
  
file_path: vowpal_wabbit/demo/dependencyparsing/evaluate.py
imports: import os
  import sys
  from collections import defaultdict
label_desc: Use image node_id 2 for calling a global function with example usage: fmt_acc(label, n, l_corr, u_corr, total_errs) and returns: unknown