open-spaced-repetition /srs-benchmark
A benchmark for spaced repetition schedulers/algorithms
★ 303⑂ 28👁 11⑃ 274● 90▤ 0
+1
Daily
303
stars
28
forks
11
watchers
274
prs
90
issues
0
releases
README
SRS Benchmark Introduction Spaced repetition algorithms are computer programs designed to help people schedule reviews of flashcards. A good spaced repetition algorithm helps you remember things more efficiently. Instead of cramming all at once, it distributes your reviews over time. To make this efficient, these algorithms try to understand how your memory works. They aim to predict when you're likely to forget something, so they can schedule a review accordingly. This benchmark is designed to assess the predictive accuracy of various algorithms. A multitude of algorithms are evaluated to find out which ones provide the most accurate predictions. We will evaluate your algorithm! Open a GitHub issue or contact L-M-Sherlock. Dataset ~~The dataset for the SRS benchmark comes from 20 thousand people who use Anki, a flashcard app. In total, this dataset contains information about \~1.7 billion reviews of flashcards. The full dataset is hosted on Hugging Face Datasets: open-spaced-repetition/FSRS-Anki-20k.~~ The dataset for the SRS benchmark comes from 10 thousand users who use Anki, a flashcard app. In total, this dataset contains information about ~727 million reviews of flashcards. The full dataset is hosted on Hugging Face Datasets: open-spaced-repetition/anki-revlogs-10k. Evaluation Data Split In the SRS benchmark, we use a tool called TimeSeriesSplit. This is part of the sklearn library used for machine learning. The tool helps us split the data by time: older reviews are used for training and newer reviews for testing. That way, we don't accidentally cheat by giving the algorithm future information it shouldn't have. In practice, we use past study sessions to predict future ones. This makes TimeSeriesSplit a good fit for our benchmark. Note: TimeSeriesSplit will remove the first split from evaluation. This is because the first split is used for training, and we don't want to evaluate the algorithm on the same data it was trained on. RWKV and RMSE-BINS-EXPLOIT do not use TimeSeriesSplit. Metrics We use three metrics in the SRS benchmark to evaluate how well these algorithms work: Log Loss, AUC, and a custom RMSE that we call RMSE (bins). - Log Loss (also known as Binary Cross Entropy): used primarily in binary classification problems, Log Loss serves as a measure of the discrepancies between predicted probabilities of recall and review outcomes (1 or 0). It quantifies how well the algorithm approximates the true recall probabilities. Log Loss ranges from 0 to infinity, lower is better. - Root Mean Square Error in Bins (RMSE (bins)): this is a metric designed for use in the SRS benchmark. In this approach, predictions and review outcomes are grouped into bins based on three features: the interval length, the number of reviews, and the number of lapses. Within each bin, the squared difference between the average predicted probability of recall and the average recall rate is calculated. These values are then weighted according t
Top issues
#313FSRS-7 with default parameters is giving me too unrealistic intervals if first review is failed19 comments · 2026-04-27#124[TODO] Improve Ebisu16 comments · 2024-09-23#147Guidance for adding the 1PL-IRT model8 comments · 2025-01-02#357FSRS7 With Residual Boosting6 comments · 2026-09-26#353License clarification and redistribution permission for SRS RWKV code and trained checkpoint6 comments · 2026-09-12#297New Algorithm Submission: Gomgomi SRS6 comments · 2026-03-30#341Result files with --secs but not --short are stale and need to be regenerated1 comments · 2026-06-25#247type check for dict1 comments · 2025-06-19