diff options
Diffstat (limited to 'web/getstats')
-rw-r--r-- | web/getstats/tsbmbody.js | 6 | ||||
-rw-r--r-- | web/getstats/tsstats.js | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/web/getstats/tsbmbody.js b/web/getstats/tsbmbody.js index 0b299e4..f79180d 100644 --- a/web/getstats/tsbmbody.js +++ b/web/getstats/tsbmbody.js @@ -110,7 +110,7 @@ function tooltipText_lcms() { function tooltipText_lcss() { return "Stability score for the last significant change:<br /><br />" + " " + - "LCMS * LCGSS * LCLSS * LCDS1 * LCDS2<br /><br />" + + "(LCMS + LCGSS + LCLSS + LCDS1 + LCDS2) / 5<br /><br />" + "The higher this score, the higher the likelihood that the last " + "significant change is or will become permanent."; } @@ -119,10 +119,10 @@ function tooltipText_lcss1() { return "Stability score for the last significant change that does not " + "consider the history after the latter:<br /><br />" + " " + - "LCMS * LCGSS * LCLSS * LCDS1<br /><br />" + + "(LCMS + LCGSS + LCLSS + LCDS1) / 4<br /><br />" + "The higher this score, the higher the likelihood that the last " + "signicifant change is or will become permanent, but since LCDS2 is " + - "omitted from the product, a high LCSS1 is more likely to be caused " + + "omitted from the sum, a high LCSS1 is more likely to be caused " + "by an outlier than a high LCSS!"; } diff --git a/web/getstats/tsstats.js b/web/getstats/tsstats.js index 93e58ab..b659752 100644 --- a/web/getstats/tsstats.js +++ b/web/getstats/tsstats.js @@ -124,10 +124,10 @@ function populatePbmTable(tableSel, data) { lcds1 = stats.lc_dur1_score; lcds2 = stats.lc_dur2_score; - lcss = lcms * lcgss * lclss * lcds1 * lcds2; + lcss = (lcms + lcgss + lclss + lcds1 + lcds2) / 5.0; rbdy += "<td>" + lcss + "</td>"; - lcss1 = lcms * lcgss * lclss * lcds1; + lcss1 = (lcms + lcgss + lclss + lcds1) / 4.0; rbdy += "<td>" + lcss1 + "</td>"; rbdy += "<td>" + lcgss.toFixed(4) + "</td>"; |