X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=81f022ea47a925e1b2fa66da244b61e1ee61cbd2;hb=4914a78f593124788c754695b79be146c3916c6f;hp=814fbe450c8473f53b5d7d5cb1f9ce3a4b599c57;hpb=4a778c818108baf64a5abe6ffd6b27a4a88a2633;p=csit.git diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 814fbe450c..81f022ea47 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -588,6 +588,7 @@ def table_performance_trending_dashboard(table, input_data): std())[-2] if isnan(last): anomaly = "outlier" + last = list(pd_data)[-1] elif last < (trend - 3 * t_stdev): anomaly = "regression" elif last > (trend + 3 * t_stdev): @@ -602,7 +603,7 @@ def table_performance_trending_dashboard(table, input_data): rel_change = int(relative_change(float(trend), float(last))) tbl_lst.append([name, - round(float(last) / 1000000, 2), + round(float(trend) / 1000000, 2), change, rel_change, anomaly])