Learning from the past to avoid future mistakes [EN/PT]