John Smith commited on 2022-311 00:14:14
Showing 1 changed files, with 1 additions and 1 deletions.
The leech-detection procedure filtered prompts to only include those with low ease and many lapses. It now includes those with fewer lapses; low ease on its own accurately measures difficulty and inefficiency. A card for which the user repeatedly selects Hard will both have a low ease and reasonably qualify as a leech.
| ... | ... |
@@ -223,7 +223,7 @@ local actions = {
|
| 223 | 223 |
local leechqueue = {}
|
| 224 | 224 |
for i, cg in ipairs(deck) do |
| 225 | 225 |
for j, pr in ipairs(cg) do |
| 226 |
- if pr.fail > 4 and pr.ease < 2 and pr.delay >= 0 then |
|
| 226 |
+ if pr.ease < 2 and pr.delay >= 0 then |
|
| 227 | 227 |
table.insert(leechqueue, { i, j })
|
| 228 | 228 |
end |
| 229 | 229 |
end |
| 230 | 230 |