gabeorlanski commited on
Commit
84e44d7
1 Parent(s): bf34e9e

Update bc_eval.py

Browse files
Files changed (1) hide show
  1. bc_eval.py +2 -0
bc_eval.py CHANGED
@@ -297,6 +297,8 @@ def _calculate_metrics(lang, q_passed, q_pcts, k_vals):
297
  for k in k_vals
298
  }
299
  out[f"{lang}/mean_pct_pass"] = np.mean(pcts_passed)
 
 
300
 
301
  return out
302
 
 
297
  for k in k_vals
298
  }
299
  out[f"{lang}/mean_pct_pass"] = np.mean(pcts_passed)
300
+ out[f"{lang}/median_pct_pass"] = np.median(pcts_passed)
301
+
302
 
303
  return out
304