Class Core


  • public class Core
    extends Object

    The class Core takes an Assignment as its input, controls the execution of ModuleRunners, gathers ModuleRunnerResults, evaluates module results using ModuleEvaluators, and generates an AssignmentResult with a well structured grading scheme. There is more information about the role of classes in this package in the documentation of the class Graja.

    This class assumes that the student's submission is unpacked into a file system folder.

    • Constructor Detail

      • Core

        public Core()
    • Method Detail

      • gradeRequest

        public static Result gradeRequest​(Request request,
                                          Sequence initialLeadingComments)
        This method compiles the solution and runs the grader.
        Parameters:
        request -
        Returns:
        a result object with comments and individual assignment results. The initialLeadingComments are referenced by the new Result. It is guaranteed, that the returned object contains results for every requested assignment. On error, Results with comments are returned (but never null).
      • main

        public static void main​(String[] args)