From e10da8fe238ad069e6793f263d92521a65e928f8 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Wed, 26 Oct 2022 16:41:26 +0200 Subject: fix(report): list more decimals in soak comparisons Recent results frequently show just one digit. Change-Id: Ieefb7d06789af6934cb76d7abd959df50ab6fa3c Signed-off-by: Vratko Polak --- resources/tools/presentation/generator_tables.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'resources') diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index b09b820419..d76c4ba2b8 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -915,8 +915,8 @@ def table_soak_vs_ndr(table, input_data): else: data_c_mean = mean(data_c) data_c_stdev = stdev(data_c) - item.append(round(data_c_mean / 1e6, 1)) - item.append(round(data_c_stdev / 1e6, 1)) + item.append(round(data_c_mean / 1e6, 2)) + item.append(round(data_c_stdev / 1e6, 2)) else: data_c_mean = None data_c_stdev = None @@ -925,11 +925,11 @@ def table_soak_vs_ndr(table, input_data): delta, d_stdev = relative_change_stdev( data_r_mean, data_c_mean, data_r_stdev, data_c_stdev) try: - item.append(round(delta)) + item.append(round(delta, 2)) except ValueError: item.append(delta) try: - item.append(round(d_stdev)) + item.append(round(d_stdev, 2)) except ValueError: item.append(d_stdev) tbl_lst.append(item) -- cgit 1.2.3-korg