bug fix: score calculation based on build_tag
authorMorgan Richomme <morgan.richomme@orange.com>
Fri, 20 Oct 2017 15:17:37 +0000 (17:17 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Fri, 20 Oct 2017 15:48:05 +0000 (17:48 +0200)
commitf97f2212e862644178b87708ea62eb091b51a506
treea0bf45fe025cba0c133837ab2c3d05c8da1d5919
parent5b2b99e43eba2e7dfd2694ce165c1945642c3838
bug fix: score calculation based on build_tag

we were used to count the number of PASS of the last 4 runs
it works 80% of the cases

4 runs
4 OK => 3 points
3 OK => 3 points
2 OK => 2 points
1 OK => 1 point
0 => 0

it is different from the normal score calculation
4 OK => 3 points
3 OK => 2 points
2 OK => 2 points
1 OK => 1 point
0 => 0

Change-Id: Ib8df2c294e0036246176c181b7a7ac290ebea07e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
reporting/reporting/utils/reporting_utils.py