next interval >= prev interval + 1

http://ankisrs.net/docs/manual.html#reviews

One final thing to note is that Anki forces a new interval to be at least 1 day longer than it was previously so that you don’t get stuck reviewing with the same interval forever. 

https://anki.tenderapp.com/discussions/ankidesktop/18382-new-interval-does-not-seem-to-be-updated-with-ease-at-130-and-current-interval-at-7-days

In some cases interval does not grow in fact.
This commit is contained in:
Dmitry Mikheev 2016-05-27 00:26:48 +05:00
parent 47521cff9a
commit c94b6a24bd

View File

@ -894,7 +894,7 @@ select id from cards where did in %s and queue = 2 and due <= ? limit ?)"""
elif ease == 4: elif ease == 4:
interval = ivl4 interval = ivl4
# interval capped? # interval capped?
return min(interval, conf['maxIvl']) return max(min(interval, conf['maxIvl']), card.ivl+1)
def _fuzzedIvl(self, ivl): def _fuzzedIvl(self, ivl):
min, max = self._fuzzIvlRange(ivl) min, max = self._fuzzIvlRange(ivl)