FSRSAlgorithm
§Constructors
§Properties
Get the parameters of the algorithm.
§Methods
If fuzzing is disabled or ivl is less than 2.5, it returns the original interval.
- The interval to be fuzzed.
t days since the last review
- This adds a small random delay to the new interval time to prevent cards from sticking together and always being reviewed on the same day.
- The fuzzed interval.
0<request_retention<=1,Requested retention rate
The formula used is : $$\min \lbrace \max \lbrace D_0,1 \rbrace,10\rbrace$$
$$D \in [1,10]$$
The formula used is : $$R(t,S) = (1 + \text{FACTOR} \times \frac{t}{9 \cdot S})^{\text{DECAY}}$$
t days since the last review
Stability (interval when R=90%)
r Retrievability (probability of recall)
The formula used is : $$D_0(G) = w_4 - e^{(G-1) \cdot w_5} + 1 $$ $$D_0 = \min \lbrace \max \lbrace D_0(G),1 \rbrace,10 \rbrace$$ where the $$D_0(1)=w_4$$ when the first rating is good.
Grade (rating at Anki) [1.again,2.hard,3.good,4.easy]
Difficulty $$D \in [1,10]$$
The formula used is : $$w_7 \cdot \text{init} +(1 - w_7) \cdot \text{current}$$
$$w_2 : D_0(3) = w_2 + (R-2) \cdot w_3= w_2$$
$$D - w_6 \cdot (R - 2)$$
difficulty
The formula used is : $$\text{next}_d = D - w_6 \cdot (g - 3)$$ $$D^\prime(D,R) = w_7 \cdot D_0(4) +(1 - w_7) \cdot \text{next}_d$$
Difficulty $$D \in [1,10]$$
Grade (rating at Anki) [1.again,2.hard,3.good,4.easy]
$$\text{next}_D$$
The formula used is : $$S^\prime_f(D,S,R) = w_{11}\cdot D^{-w_{12}}\cdot ((S+1){w_{13}}-1) \cdot e{w_{14}\cdot(1-R)}$$
Difficulty D \in [1,10]
Stability (interval when R=90%)
Retrievability (probability of recall)
S^\prime_f new stability after forgetting
- Stability (interval when R=90%)
t days since the last review
- This adds a small random delay to the new interval time to prevent cards from sticking together and always being reviewed on the same day.
The formula used is : $$S^\prime_r(D,S,R,G) = S\cdot(e^{w_8}\cdot (11-D)\cdot S^{-w_9}\cdot(e^{w_{10}\cdot(1-R)}-1)\cdot w_{15}(\text{if} G=2) \cdot w_{16}(\text{if} G=4)+1)$$
Difficulty D \in [1,10]
Stability (interval when R=90%)
Retrievability (probability of recall)
Grade (Rating[0.again,1.hard,2.good,3.easy])
S^\prime_r new stability after recall