What I find intriguing about this, from a conceptual point of view, is how similar the workflow is to the evolution of biological life.
Passing tests is a measure for the fitness of the system; how it achieves this goal doesn't matter. The code itself might be awful, or only work due to side effects or emergent properties, but it works!