Question Pool
Question Pool
QuestionPools are a collection of questions that are curated by a teacher.
declare interface QuestionPool extends AbstractEntity {
createdBy: string
topicIds?: string[]
courseId: string
parentId?: string // another questionPool.id
details: {
name?: string
description?: string
timeToSolve?: number // in seconds
}
stats?: {
difficulty: DiscreteStats
topicDistribution: {
[topicId: string]: number
}
}
}
declare interface QuestionPoolQuestion extends AbstractEntity {
questionPoolId: string
questionId: string
status: QuestionPoolQuestionStatus
points?: string
position?: number
}
declare type QuestionPoolQuestionStatus = 'accepted' | 'rejected' | '' // | 'todo' for example