minor refactorings of ExerciseStatusGenerator