Applied, thanks. I'll move regression.py from autotest to virt-tests. On Wed, Oct 17, 2012 at 5:43 AM, Amos Kong <[email protected]> wrote: > We only display +/- before significant if p-value is larger than 0.05, > it's not clear to know if the performance enhances or not. > > Signed-off-by: Amos Kong <[email protected]> > --- > client/tools/regression.py | 8 +++----- > 1 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/client/tools/regression.py b/client/tools/regression.py > index 65d1b42..6ac35d7 100755 > --- a/client/tools/regression.py > +++ b/client/tools/regression.py > @@ -193,11 +193,9 @@ class Sample(object): > (t, p) = stats.ttest_rel(sample1, sample2) > else: > (t, p) = stats.ttest_ind(sample1, sample2) > - flag = " " > - if p <= 0.05: > - flag = "+" > - if float(avg1) > float(avg2): > - flag = "-" > + flag = "+" > + if float(avg1) > float(avg2): > + flag = "-" > tmp.append(flag + "%.3f" % (1 - p )) > tmp = "|".join(tmp) > ret.append(tmp) > -- > 1.7.1 > > _______________________________________________ > Autotest-kernel mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/autotest-kernel
-- Lucas _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
