Commit 9d3d5e9047849a7b2aa65d5f1f3bca61e08bcaa6

Authored by Andrew Buss
1 parent 804b11e233
Exists in master

card decay to 1/e in 2 minutes

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

flashcards/models.py View file @ 9d3d5e9
... ... @@ -372,7 +372,7 @@
372 372 return delta.total_seconds()
373 373  
374 374 z = 0
375   - rate = 1.0 / 3600
  375 + rate = 1.0 / 120
376 376 for vote in self.userflashcard_set.iterator():
377 377 t = seconds_since_epoch(vote.pulled)
378 378 u = max(z, rate * t)