From 0a0e1b73fb7651613965c255f5e77bc5862d8586 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Sat, 10 May 2025 22:00:47 +0200 Subject: [PATCH] formatted code --- src/utils/process_data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/process_data.js b/src/utils/process_data.js index eeca995..72ccdaa 100644 --- a/src/utils/process_data.js +++ b/src/utils/process_data.js @@ -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);