The problem with many smart technologies is that their designers, in the quest to root out the imperfections of the human condition, seldom stop to ask how much frustration, failure and regret is required for happiness and achievement to retain any meaning.
After a while the learner would start to complain about the shocks, say his heart was hurting, that he had a heart condition, and finally stop responding.
The treatment is designed to stop the immune systems of those with type 1 diabetes, a condition which usually develops in childhood, from mistakenly destroying the cells which create insulin.