Skip to content

Commit

Permalink
Show the sigificant change in the graphs (#4025)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Dec 8, 2023
1 parent 3c4dc43 commit fc939b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/compare/pug/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ each metricGroup, groupName in compare.metrics
each values, metricName in metricGroup
- var fullMetricName = groupName + '.' + metricName
- var metricId = fullMetricName.replace(/\./g, '_')
h3 #{fullMetricName}
h3 #{fullMetricName} #{values.statisticalTestU === "N/A"? '' : values.statisticalTestU < 0.05 ? '(significant change)' : ''}
.ct-chart(id=`chart-${metricId}`)
.ct-legend
span.ct-legend-item
Expand Down

0 comments on commit fc939b4

Please sign in to comment.