ENCOA-233: Added the option for certain exercises to not count towards scores
This commit is contained in:
@@ -88,6 +88,7 @@ export interface UserSolution {
|
||||
exercise: string;
|
||||
isDisabled?: boolean;
|
||||
shuffleMaps?: ShuffleMap[];
|
||||
isPractice?: boolean
|
||||
}
|
||||
|
||||
export interface WritingExam extends ExamBase {
|
||||
@@ -162,6 +163,7 @@ export interface WritingExercise extends Section {
|
||||
evaluation?: WritingEvaluation;
|
||||
}[];
|
||||
topic?: string;
|
||||
isPractice?: boolean
|
||||
}
|
||||
|
||||
export interface AIDetectionAttributes {
|
||||
@@ -196,6 +198,7 @@ export interface SpeakingExercise extends Section {
|
||||
evaluation?: SpeakingEvaluation;
|
||||
}[];
|
||||
topic?: string;
|
||||
isPractice?: boolean
|
||||
}
|
||||
|
||||
export interface InteractiveSpeakingExercise extends Section {
|
||||
@@ -215,6 +218,7 @@ export interface InteractiveSpeakingExercise extends Section {
|
||||
first_topic?: string;
|
||||
second_topic?: string;
|
||||
variant?: "initial" | "final";
|
||||
isPractice?: boolean
|
||||
}
|
||||
|
||||
export interface FillBlanksMCOption {
|
||||
@@ -243,6 +247,7 @@ export interface FillBlanksExercise {
|
||||
solution: string; // *EXAMPLE: "preserve"
|
||||
}[];
|
||||
variant?: string;
|
||||
isPractice?: boolean
|
||||
}
|
||||
|
||||
export interface TrueFalseExercise {
|
||||
@@ -251,6 +256,7 @@ export interface TrueFalseExercise {
|
||||
prompt: string; // *EXAMPLE: "Select the appropriate option."
|
||||
questions: TrueFalseQuestion[];
|
||||
userSolutions: { id: string; solution: "true" | "false" | "not_given" }[];
|
||||
isPractice?: boolean
|
||||
}
|
||||
|
||||
export interface TrueFalseQuestion {
|
||||
@@ -274,6 +280,7 @@ export interface WriteBlanksExercise {
|
||||
solution: string;
|
||||
}[];
|
||||
variant?: string;
|
||||
isPractice?: boolean
|
||||
}
|
||||
|
||||
export interface MatchSentencesExercise {
|
||||
@@ -285,6 +292,7 @@ export interface MatchSentencesExercise {
|
||||
allowRepetition: boolean;
|
||||
options: MatchSentenceExerciseOption[];
|
||||
variant?: string;
|
||||
isPractice?: boolean
|
||||
}
|
||||
|
||||
export interface MatchSentenceExerciseSentence {
|
||||
@@ -308,7 +316,8 @@ export interface MultipleChoiceExercise {
|
||||
passage?: {
|
||||
title: string;
|
||||
content: string;
|
||||
}
|
||||
}
|
||||
isPractice?: boolean
|
||||
}
|
||||
|
||||
export interface MultipleChoiceQuestion {
|
||||
|
||||
Reference in New Issue
Block a user