I'm confused about the exact specification of the SuperMemo2 algorithm for spaced repetition learning, as explained here. After each repetition, the E-Factor has to be updated like so: \begin{equation} \text{EF}_\text{new} := \max \{1.3, \text{EF}_\text{old}+(0.1-(5-q)(0.08+(5-q)0.02))\}, \end{equation} where $q$ is the quality of response on a 0 to 5 scale. The interval $I_\text{new}$ until the next repetition is supposed to be \begin{equation} I_\text{new} = I_\text{old} \cdot \text{EF}, \end{equation} but the specification does not explain whether to use the old or the new value of $\text{EF}$. Which one is it?
The implementations I found readable seem to be wrong in other places, so I'm not very confident that they are a reliable source on this issue.