From bf07208863f0d93ccf632a929e1d18e434297775 Mon Sep 17 00:00:00 2001 From: Ben Christel Date: Wed, 13 Mar 2024 14:15:23 -0700 Subject: [PATCH] Fix scoring logic --- dev/flipbook.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/flipbook.tsx b/dev/flipbook.tsx index f9f849ff5c..f5c68315a5 100644 --- a/dev/flipbook.tsx +++ b/dev/flipbook.tsx @@ -123,7 +123,7 @@ function GradableRenderer(props: QuestionRendererProps) { case "invalid": return "You didn't answer the question."; case "points": - return score.earned > 0 ? "Correct!" : "Incorrect."; + return score.earned === score.total ? "Correct!" : "Incorrect."; } }