I am learning Python, and for education I am looking thru the Mnemosyne code (Mnemosyne 2.2a). In the scheduler code (SM2_mnemosyne.py) in rebuild_queue() in the "Stage 2" section, I see that grade 0 cards are added twice to the queue (lines 264 and 265):
260: for _card_id, _fact_id in db.cards_to_relearn(grade=0, 261: sort_key="-interval"): 262: if _fact_id not in self._fact_ids_in_queue: 263: if non_memorised_in_queue < limit: 264: self._card_ids_in_queue.append(_card_id) 265: self._card_ids_in_queue.append(_card_id) 266: self._fact_ids_in_queue.append(_fact_id) 267: non_memorised_in_queue += 1 268: if non_memorised_in_queue == limit: 269: break Is this intended? Best regards Werner -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/mnemosyne-proj-users/-/MXaCDRg4cP0J. For more options, visit https://groups.google.com/groups/opt_out.
