using underscore instead of spaces in result obj

This commit is contained in:
Karma Riuk
2025-05-11 09:34:40 +02:00
parent 91ffbc467e
commit f03e95cd58
2 changed files with 5 additions and 5 deletions

View File

@ -36,9 +36,9 @@ export const evaluate_comments = (answers, percent_cb) => {
maxScore = Math.max(score, maxScore);
}
results[id] = {
"max bleu score": maxScore,
"bleu scores": scores,
"proposed comment": generated_comment,
max_bleu_score: maxScore,
bleu_scores: scores,
proposed_comment: generated_comment,
};
percent_cb(Math.floor((++i / total) * 100));
}