From ab4d8b89325753b2301e8bc79c0b8e3827c4e96f Mon Sep 17 00:00:00 2001 From: Nursoltan Saipolda Date: Fri, 26 Feb 2021 12:58:34 +0800 Subject: [PATCH] change recommender score calculation --- src/shared/utils/challenge-listing/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/utils/challenge-listing/helper.js b/src/shared/utils/challenge-listing/helper.js index bf349689a4..6c449ce7dc 100644 --- a/src/shared/utils/challenge-listing/helper.js +++ b/src/shared/utils/challenge-listing/helper.js @@ -39,5 +39,5 @@ export function phaseStartDate(phase) { * @param {Float} score */ export function calculateScore(score) { - return Math.trunc(parseFloat(score) * 100.0); + return Math.ceil(parseFloat(score) * 100.0); }