an intelligent system needs to learn from its failures, not keep repeating them