Skip to content

Commit ab4d8b8

Browse files
committed
change recommender score calculation
1 parent 75e4145 commit ab4d8b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/utils/challenge-listing/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ export function phaseStartDate(phase) {
3939
* @param {Float} score
4040
*/
4141
export function calculateScore(score) {
42-
return Math.trunc(parseFloat(score) * 100.0);
42+
return Math.ceil(parseFloat(score) * 100.0);
4343
}

0 commit comments

Comments
 (0)