diff --git a/utility.js b/utility.js index 6c2b75d..7618582 100644 --- a/utility.js +++ b/utility.js @@ -194,7 +194,7 @@ module.exports = { if (numbers[0].includes(':')) { let tokens = numbers[0].split(':'); res[s].type = tokens[0] || 'sum'; - res[s].score = parseInt(tokens[1]); + res[s].score = parseInt(tokens[1]) || (100 / (lines.length - 2)); numbers.shift(); } else { res[s].type = 'sum';