diff --git a/src/IsaacApiTypes.tsx b/src/IsaacApiTypes.tsx index da235d0d86..fe64c57f69 100644 --- a/src/IsaacApiTypes.tsx +++ b/src/IsaacApiTypes.tsx @@ -360,6 +360,7 @@ export interface QuestionValidationResponseDTO { questionId?: string; answer?: ChoiceDTO; correct?: boolean; + marks?: number; explanation?: ContentDTO; dateAttempted?: Date; } @@ -374,7 +375,6 @@ export interface InlineRegionValidationResponseDTO extends QuestionValidationRes } export interface LLMFreeTextQuestionValidationResponseDTO extends QuestionValidationResponseDTO { - marksAwarded?: number; markBreakdown?: LLMFreeTextMarkSchemeEntryDTO[]; } diff --git a/src/app/components/elements/LLMFreeTextQuestionFeedbackView.tsx b/src/app/components/elements/LLMFreeTextQuestionFeedbackView.tsx index 4707dcb48f..da578dc7f9 100644 --- a/src/app/components/elements/LLMFreeTextQuestionFeedbackView.tsx +++ b/src/app/components/elements/LLMFreeTextQuestionFeedbackView.tsx @@ -39,7 +39,7 @@ export default function LLMFreeTextQuestionFeedbackView({validationResponse, max