svenwey commited on
Commit
c290545
·
1 Parent(s): 20a5af9

rename return fields for clarity

Browse files
Files changed (1) hide show
  1. logmetric.py +2 -2
logmetric.py CHANGED
@@ -149,6 +149,6 @@ class LogMetric(evaluate.Metric):
149
  logmetric_duration = f" {t_after_logmetric - t_before_logmetric:0.10f}"
150
 
151
  return {
152
- "timestamp_score": timestamp_score,
153
- "logmetric_duration": logmetric_duration,
154
  }
 
149
  logmetric_duration = f" {t_after_logmetric - t_before_logmetric:0.10f}"
150
 
151
  return {
152
+ "score": timestamp_score,
153
+ "duration": logmetric_duration,
154
  }