Generating the QID List: When you click “Generate QID List,” the add‑on:
Determines the selected parent decks. Runs an SQL query on the revlog table to get the IDs of cards whose most recent review had ease value 1 (indicating “again”). For each candidate card, it checks if the card belongs to one of the selected parent decks and ignores cards with zero reviews (new cards). It then scans the note’s tags for a pattern like “QID:123” and collects the numeric part in a set to avoid duplicates. Finally, it displays the comma‑separated list of QIDs in the text field.
Copying the List: Clicking “Copy List” copies the generated QID list to the clipboard.