Implements grading of hierarchy test runs.