Skip to content

Commit

Permalink
Round printed result times
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 10, 2023
1 parent 4057cda commit 58bd1e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions neon_minerva/integration/user_utterance.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ def run_test(self) -> dict:
LOG.error(result)
formatted_results = dict()
for key, values in aggregated_results.items():
formatted_results[key] = {"average": sum(values) / len(values),
"minimum": min(values),
"maximum": max(values)}
formatted_results[key] = {"average": round(sum(values) /
len(values), 3),
"minimum": round(min(values), 3),
"maximum": round(max(values), 3)}
return formatted_results

def register_bus_events(self):
Expand Down

0 comments on commit 58bd1e6

Please sign in to comment.