When repairing a sorting program, genetic debugging algorithm GenProg made it output an empty list, which was considered a sorted list by the evaluation metric.
Evaluation metric: “the output of sort is in sorted order”
Solution: “always output the empty set”
The AI version of YAGNI in Test Driven Developement ... write just enough code to pass the test.
Sure, but you're supposed to write more tests!