sm2 An implementation of the SM-2 algorithm from SuperMemo. For my own elucidation. Plot of the change in EF as a function of response quality: Interval as a function of correct repetitions, for different EF values: