mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 14:18:12 +02:00
formatted code
This commit is contained in:
@ -29,7 +29,7 @@ export const evaluate_comments = async (answers, percent_cb, finished_cb) => {
|
|||||||
const paraphrases = REFERENCE_MAP[id];
|
const paraphrases = REFERENCE_MAP[id];
|
||||||
|
|
||||||
let maxScore = 0;
|
let maxScore = 0;
|
||||||
const scores = []
|
const scores = [];
|
||||||
for (const paraphrase of paraphrases) {
|
for (const paraphrase of paraphrases) {
|
||||||
const score = bleu(paraphrase, generated_comment, 4); // TODO: ask prof what number show be here
|
const score = bleu(paraphrase, generated_comment, 4); // TODO: ask prof what number show be here
|
||||||
scores.push(score);
|
scores.push(score);
|
||||||
|
Reference in New Issue
Block a user