File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ pub mod comparison {
187
187
pub profile : String ,
188
188
pub scenario : String ,
189
189
pub is_significant : bool ,
190
+ pub significance_threshold : f64 ,
190
191
pub is_dodgy : bool ,
191
192
pub historical_statistics : Option < Vec < f64 > > ,
192
193
pub statistics : ( f64 , f64 ) ,
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ pub async fn handle_compare(
114
114
scenario : comparison. scenario . to_string ( ) ,
115
115
is_dodgy : comparison. is_dodgy ( ) ,
116
116
is_significant : comparison. is_significant ( ) ,
117
+ significance_threshold : comparison. signifcance_threshold ( ) * 100.0 ,
117
118
historical_statistics : comparison. variance . map ( |v| v. data ) ,
118
119
statistics : comparison. results ,
119
120
} )
Original file line number Diff line number Diff line change @@ -425,6 +425,9 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
425
425
</ span >
426
426
</ a >
427
427
</ td >
428
+ < td >
429
+ {{ run.significanceThreshold.toFixed(2) }}%
430
+ </ td >
428
431
</ tr >
429
432
</ template >
430
433
</ tbody >
@@ -541,6 +544,7 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
541
544
datumB,
542
545
percent,
543
546
isDodgy,
547
+ significanceThreshold : r . significance_threshold ,
544
548
isSignificant
545
549
} ) ;
546
550
}
You can’t perform that action at this time.
0 commit comments