<feed xmlns='http://www.w3.org/2005/Atom'>
<title>org-drill/tests/test-org-drill-due-and-overdue.el, branch main</title>
<subtitle>Spaced-repetition flashcards for Org Mode
</subtitle>
<id>https://git.cjennings.net/org-drill/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/org-drill/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/org-drill/'/>
<updated>2026-05-05T09:10:03+00:00</updated>
<entry>
<title>test: add tests for due/overdue predicates and scope translation</title>
<updated>2026-05-05T09:10:03+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-05T09:10:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/org-drill/commit/?id=30d48a0fffb2e89a070a726c784d8544ae5043b9'/>
<id>urn:sha1:30d48a0fffb2e89a070a726c784d8544ae5043b9</id>
<content type='text'>
27 ERT tests covering the predicates that decide whether a card appears
in today's drill session:

- org-drill-days-since-last-review / hours-since-last-review with
  current-time mocked for determinism
- org-drill-entry-days-overdue: normal mode (scheduled future/past/now,
  leech skip), cram mode (recent vs stale review windows)
- org-drill-entry-due-p: scheduled in past/future, non-drill, virgin
- org-drill-entry-overdue-p: factor-based threshold across last-interval
  and days-overdue
- org-drill-current-scope: file → nil, file-no-restriction → file, symbol
  passthrough
</content>
</entry>
</feed>
