An open API service indexing awesome lists of open source software.

https://github.com/eudoxia0/sm2

The SM-2 algorithm.
https://github.com/eudoxia0/sm2

sm2 spaced-repetition supermemo

Last synced: 5 months ago
JSON representation

The SM-2 algorithm.

Awesome Lists containing this project

README

        

# sm2

[![Test](https://github.com/eudoxia0/sm2/actions/workflows/test.yaml/badge.svg?branch=master)](https://github.com/eudoxia0/sm2/actions/workflows/test.yaml)
[![codecov](https://codecov.io/gh/eudoxia0/sm2/branch/master/graph/badge.svg?token=0U0ZFEY774)](https://codecov.io/gh/eudoxia0/sm2)

An implementation of the [SM-2][sm2] algorithm from [SuperMemo][sm]. For my own elucidation.

[sm2]: https://super-memory.com/english/ol/sm2.htm
[sm]: https://en.wikipedia.org/wiki/SuperMemo

Plot of the change in EF as a function of response quality:

![](ef.png)

Interval as a function of correct repetitions, for different EF values:

![](interval.png)