As in I wrote code to generate random exercises, with solutions, using many tricks, to get myself hundreds of problems instead of 1 or 2.
Often spent more time on getting these programs right than on the problems. Still did better than the class. Oh and it was AI in the 1980s IBM sense. Ie. it was based around a python version (which I wrote) of a LISP math system based on maple. I even attempted (and largely failed) to rewrite it in C++.
Even attempted to have my homework read to have the computer correct the actual pages, but I never got convnets to reliably read entire lines (yes, I understand, well now, why a convolution would mostly not realize whether 2 pieces of text are on the same line or not and so get very confused if you go deep enough for recognition to work well)