Is it possible to write a python or JS scipt to use a custom and complex insertion pattern i.e. using a mixture of random, tag matching, deck matching and matching words from the front/back?
I know roughly the algorithm for how I want to carry this out, I just don’t know how to interface with anki database so it shows cards in the specified order.