Quantitative evaluation of performance during robot-assisted treatment