Skip to content

Commit 51da158

Browse files
committed
results for chrome 118
1 parent 207e528 commit 51da158

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: webdriver-ts-results/src/Common.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -616,16 +616,15 @@ export class ResultTableData {
616616
let statisticalResult = undefined;
617617
let statisticalCol = undefined;
618618
const compareWithMean = compareWithResultsValues.mean;
619-
const stdDev = compareWithResultsValues.standardDeviation || 0;
620-
const compareWithResultsStdDev =
621-
compareWithResultsValues.standardDeviation || 0;
619+
const stdDev = resultValues.standardDeviation || 0;
620+
const compareWithResultsStdDev = compareWithResultsValues.standardDeviation || 0;
622621

623622
const x1 = resultValues.mean;
624623
const x2 = compareWithMean;
625624
const s1_2 = stdDev * stdDev;
626625
const s2_2 = compareWithResultsStdDev * compareWithResultsStdDev;
627-
const n1 = 10;
628-
const n2 = 10;
626+
const n1 = compareWithResultsValues.values.length;
627+
const n2 = resultValues.values.length;
629628
const ny =
630629
Math.pow(s1_2 / n1 + s2_2 / n2, 2) /
631630
((s1_2 * s1_2) / (n1 * n1 * (n1 - 1)) +

0 commit comments

Comments
 (0)