Calculate the difficulty of remembering the contents of a card by how many times it has been moved back in Leitner mode
One could define two traffic lights: one for one's own learning phase, the other as the average of the learning phases of all learners.
Calculate the difficulty based on the median of:
- own user
- all learners in an active bonus
- all learners of that card
The color thresholds are stored inside the config and can be used like follow:
- red: < 49 % known
- yellow: 50 - 74 % known
- blue: 75 - 90 % known
- green: 90% known
The stored difficulty values can be calculated from the collection leitnerUserCardStats:
- Field stats.answers.known
- Field .stats.answers.notKnown
Todo:
-
Hook up the difficulty rating to the background color -
Add a traffic light with a tooltip which explains the colors -
Allow admins to set the difficulty threshold inside the config