trilogy-group / memorization-app

tu2k22-memorization
2 stars 1 forks source link

Frontend/Backend: Spaced repetitions quizzes #86

Open gao-ti opened 2 years ago

gao-ti commented 2 years ago
gao-ti commented 2 years ago

Suggestion of quiz DB design @arsen-ti

model Quiz {
    id String   @unique
    subject String
    chapter String
    questions Question[]
}

model Question {
    id String   @unique
    difficulty  String
    type    String //mcq, sort, fill in blank

    // mnemonic hints
    image Image[] // Pending - gao-ti
    video Video[]
    testcues TextCue[] // Pending - gao-ti

    // Question string
    questionStr Text
    answerStr   Text
}
gao-ti commented 2 years ago

I'll take spaced repetition from here

gao-ti commented 2 years ago

Arsen's PR merged https://github.com/trilogy-group/memorization-app/pull/64

gao-ti commented 2 years ago

Will use supermemo algorithm for spaced repetition

https://npm.io/package/supermemo

gao-ti commented 2 years ago

Spaced repetition PR raised https://github.com/trilogy-group/memorization-app/pull/98

gao-ti commented 2 years ago

98 merged.

Backend support for spaced repetition completed.

gao-ti commented 2 years ago

Blocked due to lack of question/answer data from the question bank team.

gao-ti commented 2 years ago

https://github.com/trilogy-group/memorization-app/pull/143