formatted code

This commit is contained in:
Karma Riuk
2025-05-10 22:00:47 +02:00
parent 644b560ad6
commit 0a0e1b73fb

View File

@ -29,7 +29,7 @@ export const evaluate_comments = async (answers, percent_cb, finished_cb) => {
const paraphrases = REFERENCE_MAP[id];
let maxScore = 0;
const scores = []
const scores = [];
for (const paraphrase of paraphrases) {
const score = bleu(paraphrase, generated_comment, 4); // TODO: ask prof what number show be here
scores.push(score);