Store all iterations and results in the markdown file, this allows for later readjustments of the algorithm as needed, as well as easy export to Anki.