Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1164898 - A few more fixups to display of confidence warning
* Don't display it if we don't have any runs at all for either original or new * Some capitalization tweaks
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<span ng-if="result.confidenceText && result.confidence"> | ||
{{result.confidence|displayPrecision}} (<abbr title="Result of running t-test on base versus new result distribution: higher values indicate greater confidence that the indicated performance difference is statistically meaningful">{{result.confidenceText}}</abbr>) | ||
</span> <span ng-if="result.originalRuns.length < 5 || result.newRuns.length < 5" | ||
class="glyphicon glyphicon-warning-sign text-warning" | ||
tooltip="6 Base / New runs recommended for increased confidence in comparison" | ||
tooltip-placement="left" | ||
style="cursor:default"> | ||
</span> | ||
{{result.confidence|displayPrecision}} (<abbr title="Result of running t-test on base versus new result distribution: higher values indicate greater confidence that the indicated performance difference is statistically meaningful">{{result.confidenceText}}</abbr>)</span> | ||
<span ng-if="(result.originalRuns.length && | ||
result.newRuns.length) && | ||
(result.originalRuns.length < 6 || result.newRuns.length < 6)" | ||
class="glyphicon glyphicon-warning-sign text-warning" | ||
tooltip="6 base / new runs recommended for increased confidence in comparison" | ||
tooltip-placement="left" | ||
style="cursor:default"/> |