implement partial scoring for Sum score type
do not rescore evaluated and scored submission, fix pep8 warnings