MIT does this right. Students can boost their grade by submitting revised solutions after the initial marking.