I cannot remember where I read this, possibly Eliezer Yudkowsky's HPMOR. I'm looking to read the actual experiment and its results.
The experiment supposedly got 3 groups of dogs. One they consistently treated with only love. The second one was treated consistently negatively. The third group was treated positively and negatively at random.
Supposedly the 3rd group showed the highest degree of affection towards their handlers.
Can anyone point me to the experiment, or any source or detailed description about it?