Solved a bug where the speaking and interactive speaking were not being correctly evaluated

This commit is contained in:
Tiago Ribeiro
2024-03-23 15:43:25 +00:00
parent 38c0c823e1
commit 13ebb9bbd8
9 changed files with 23 additions and 8 deletions

View File

@@ -81,7 +81,7 @@ export default function Speaking({id, title, text, video_url, type, prompts, use
onNext({
exercise: id,
solutions: storagePath ? [{id, solution: storagePath}] : [],
score: {correct: 100, total: 100, missing: 0},
score: {correct: 0, total: 100, missing: 0},
type,
});
};
@@ -94,7 +94,7 @@ export default function Speaking({id, title, text, video_url, type, prompts, use
onBack({
exercise: id,
solutions: storagePath ? [{id, solution: storagePath}] : [],
score: {correct: 100, total: 100, missing: 0},
score: {correct: 0, total: 100, missing: 0},
type,
});
};