Picture an archer taking aim downrange. The arrow falls short of the target. Now comes the tricky part: did they miss because their technique is off, or because a gust of wind nudged the arrow sideways? Answer that wrong, and they'll practice the wrong thing all day. According to a new study from the University of Oxford, our brains run a similar calculation every time we experience success or failure — and scientists have finally pinned down the wiring that makes it happen.

Published in the journal Neuron, the study set out to understand a question that sits at the heart of learning: how do we know whether an outcome was our own doing or just plain chance? The answer matters far beyond the archery range. Whether you're a student puzzling over a test score, an athlete reviewing a race, or someone trying to make sense of a rough patch, getting this attribution right shapes the lessons you take away.

Lead author Dr. Yanhe Liu, of Oxford's Department of Experimental Psychology, put it plainly: "Knowing whether an outcome was caused by us or by something outside our control is fundamental to learning. Making the wrong attribution could lead them to learn the wrong lesson."

To uncover the brain's logic, the researchers had adult volunteers play a simple decision game. They judged whether a screen held more blue or orange dots and rated how confident they felt in each guess, then received feedback on whether they'd got it right. But here was the twist: the reliability of that feedback quietly shifted. In "controllable" rounds, the feedback matched their true performance 90% of the time. In "uncontrollable" rounds, it matched only 10% of the time, with everything else generated at random. Participants weren't told which type of round they were in — they had to sense it from experience.

And their confidence turned out to be the key. When people felt very sure of an answer but got a surprising wrong result, they tended to blame chance. When they were less certain, they were more likely to point the finger at their own performance. All the while, they kept updating their general sense of how much control they really had over the world around them.

Using an ultra-high-resolution functional MRI scanner on 22 participants, the Oxford team traced this process to a brain circuit connecting the dorsomedial prefrontal cortex (dmPFC) with the dorsal raphe nucleus, a small structure deep in the brain. A second circuit linked another prefrontal region to dopamine-associated areas of the midbrain, governing how these judgments shaped the brain's reaction to feedback.

To be sure the dmPFC really did the heavy lifting, they ran a separate experiment with 20 more volunteers. Temporarily disrupting the region with targeted magnetic stimulation slowed people down at telling genuine feedback from random noise — strong evidence this circuit is essential to our sense of control.

Understanding how we decide that a result was "our" doing or "theirs" could one day inform treatments for depression, since one of the brain areas involved is tied to chemicals many depression therapies already target. It's a reminder that the humble question "whose fault was that?" is far more than second-guessing — it's the engine of how we learn, adapt, and grow.