Score rectification for online assessments in robot-assisted arm rehabilitation