a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment
bhrgunatha  ·  2159 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!