diff --git a/tools/bench/jube/add_result.py b/tools/bench/jube/add_result.py index 5b2764855f2016ea30140ac29b15aa6f80b4772c..afd8196819b363c1dec9054b163195d02f0de720 100755 --- a/tools/bench/jube/add_result.py +++ b/tools/bench/jube/add_result.py @@ -190,7 +190,7 @@ def format_entry_stats(row: Row, mpivendor: str, commit_chameleon: Repo, commit_ previousSD = thresholdSD maxAcceptableDiff = multiplier*previousSD diff = abs(currentV-previousMean) - if diff > maxAcceptableDiff: + if diff > maxAcceptableDiff and currentV < previousMean: print("Regression: inputs %(Hostname)s, %(MPIvendor)s, %(Algorithm)s, %(Precision)s, %(Nmpi)s, %(P)s, %(Q)s, %(Nthread)s, %(Ngpu)s, %(M)s, %(N)s, %(K)s " % result) print("Regression: outputs Gflops={0}, previousMean={1}, diff={2}, maxAcceptableDiff={3}".format(currentV, previousMean, diff, maxAcceptableDiff)) # make the script fail only if regression for not too small matrices