Apparently we all have a part of our brain called the anterior cingulate cortex. This cortex lights up when we are performing difficult tasks and emits an electrical pulse "just milliseconds after we have made a mistake". (What would Homer Simpson say at a moment like that?)
The pulse this cortex generates appears to be how we learn from our mistakes. Psychologists have found some evidence that people who are more impulsive or who have a weak sense of duty, responsibility, and reliability also seem to have a weaker pulse.
"It appears that those with a sputtering electrical generator just keep making the same mental and emotional slips again and again."
Question: Do you seem to learn from your mistakes?
My answer: I'm somewhat hit and miss. Some mistakes I seem to repeat. Others, once is plenty for me to learn my lesson.