| |
|
|
|
|
|
|
| |
Stage 5 of #147, closing the scheduler migration. simple8 now takes (state quality &optional delta-days) instead of seven positional args, binding the recall fields from the struct at the top so the algorithm body is unchanged. simple8 doesn't use ease, so the binding skips that slot.
Both call-site branches collapse to (state quality [delta-days]), dropping the per-branch accessor unpacking. The testutil adapter test-scheduler--call-simple8 keeps the simple8 test calls a one-symbol rename per site. One direct simple8 call in tests/test-org-drill-prompt-and-format-helpers.el now uses the new struct API inline.
With this stage landed, all three schedulers, the item-data round-trip, and every test caller go through the org-drill-card-state struct, finishing #147.
|
|
|
I added tests for `org-drill--maybe-prepend-leech-warning' (three
branches: not a leech, method not warn, leech with warn), the
presentation minibuffer-timer function (emits MM:SS prompt, cancels
after 10 calls, switches to '++:++' after an hour), the
`org-drill-cloze-length-matches-hidden-text-p' branch (display becomes
a dotted string), and the simple8 random-noise dispersal-factor branch.
Coverage moved from 87.8% to 88.6%.
|