John Smith commited on 2023-63 12:32:57
Showing 1 changed files, with 1 additions and 0 deletions.
The statistics procedure now displays, among the other histograms, one summarising the distribution of prompts' ratios of time-from-last-review to scheduled delay (a measure of overdueness).
| ... | ... |
@@ -410,6 +410,7 @@ local actions = {
|
| 410 | 410 |
)) |
| 411 | 411 |
io.write("\nEase\n" .. histogram(expdeck, 1.0, 3.3, 0.1, function(pr) return pr.ease end, 0.03))
|
| 412 | 412 |
io.write("\nLog2-delay (seconds)\n" .. histogram(expdeck, 15, 28, 0.5, function(pr) return math.log(pr.delay, 2) end, 0.1))
|
| 413 |
+ io.write("\nDelay-last review ratio\n" .. histogram(expdeck, 0, 2, 0.1, function(pr) return (os.time() - pr.time) / pr.delay end, 0.1))
|
|
| 413 | 414 |
io.write("\nRetention (%)\n" .. histogram(expdeck, 30, 100, 10, function(pr) return 100 * pr:retention() end, 0.02))
|
| 414 | 415 |
io.write("\nReview counts\n" .. histogram(expdeck, 0, 20, 2, function(pr) return pr.succ + pr.fail end, 0.03))
|
| 415 | 416 |
io.write("\nLog2-age (seconds)\n" .. histogram(expdeck, 18, 28, 0.5, function(pr) return math.log(os.time() - (pr.created or 2 * os.time()), 2) end, 0.05))
|
| 416 | 417 |