Data pre-processing through Reward-Punishment Editing