rename return fields for clarity
Browse files- 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 |
-
"
|
153 |
-
"
|
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 |
}
|