Skip to content

Commit

Permalink
correct modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
DawidNiezgodka committed Jan 22, 2024
1 parent 85fb1fa commit 466e2ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ module.exports.createBodyForComparisonWithTrendDetMovAverage = function(evaluati

const evaluationResults = evaluationResult.results.result
const evaluationParameters = evaluationResult.evalParameters

const movingAveWindowSize = completeConfig.evaluationConfig.movingAveWindowSize;
core.debug("Moving ave window size: " + movingAveWindowSize)
for (let i = 0; i < evaluationResults.length; i++) {

const resultStatus = evaluationResults[i];
Expand All @@ -299,7 +301,7 @@ module.exports.createBodyForComparisonWithTrendDetMovAverage = function(evaluati
const currValue = currentBenchmark.simpleMetricResults[i].value;
const currPlusUnit = currValue + ' ' + metricUnit;
const shouldBe = evaluationParameters.should_be[i];
const ratio = evaluationParameters.percentageIncreases[i];
const ratio = evaluationParameters.is[i];

//const numberOfConsideredBuilds = evaluationConfiguration.numberOfConsideredBuilds[i];

Expand Down

0 comments on commit 466e2ae

Please sign in to comment.