Share good ideas and conversation.   Login or Take a Tour!
comment
bhrgunatha  ·  295 days ago  ·  link  ·    ·  parent  ·  post: A list of AIs doing what their creators said, not what they meant

    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!