I'd say he did very well!
Maybe that is what artificial intelligence should be doing for us, creating simulations for our minds and bodies o feel what real pain is like
as in that story you wrote so long ago, where punishment was for the perp to feel all the pains that the perp had inflicted on others.
As they say, "no pain, no gain", right? So, if we want to rehabilitate people, it has to come from discomfort.