mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
revert ease1 change
suspicious of the previous change, I had a look at the example pascal and found the EF _was_ actually updated on a failure. The spec is misleading there.
This commit is contained in:
parent
095ac330b5
commit
d8ba9e1987
1 changed files with 5 additions and 3 deletions
|
@ -519,10 +519,12 @@ where id != :id and factId = :factId""",
|
|||
if not card.reps:
|
||||
# card is new, inherit beginning factor
|
||||
card.factor = self.averageFactor
|
||||
if ease == 2:
|
||||
if card.successive and not self.cardIsBeingLearnt(card):
|
||||
if card.successive and not self.cardIsBeingLearnt(card):
|
||||
if ease == 1:
|
||||
card.factor -= 0.20
|
||||
elif ease == 2:
|
||||
card.factor -= 0.15
|
||||
elif ease == 4:
|
||||
if ease == 4:
|
||||
card.factor += 0.10
|
||||
card.factor = max(1.3, card.factor)
|
||||
|
||||
|
|
Loading…
Reference in a new issue