The article mentions that circuit 23 was found using an "exhaustive search", so presumably using an automated means.
But I don't think that works in the general case to find all "useful" circuits. For example figure 27 is a pA source and requires 2 precise control voltages and a clock source. 39 is a peak detector. Does not seem that easily encoded.