Skip to content

1.4 Grading

YunxiangChi edited this page Nov 6, 2025 · 1 revision

We provide an extensive test framework that contains dozens of test cases, covering all important aspects of your implementation (read the wiki section on the test framework for more information). We use the test framework to automatically determine your grade for the project. As you will see when running test cases, each case is associated with a certain number of points.

To compute your grade, we will execute all public test cases to get the number of points (POINTS) your implementation receives. We then compute your grade using the following linear scale:

 PUBLIC_GRADE = POINTS / 450 * 9
              = POINTS / 50
              = run all tests

PRIVATE_GRADE = PRIVATE_SCORE * 1.0

        GRADE = PUBLIC_GRADE + PRIVATE_GRADE

The maximum number of points you can achieve is 450. Thus, the maximum PUBLIC_GRADE you can achieve is a grade of 9.0. By running all test cases, you can see what PUBLIC_GRADE your current implementation achieves.

The PRIVATE_GRADE allows you to go from a grade of 9.0 to a 10.0 (as 0.0 <= PRIVATE_SCORE <= 1.0). There are two factors influencing the PRIVATE_GRADE:

  1. We prepare a set of private test cases. These test run your implementation against different inputs and test traces. Make sure you precisely follow the protocol described in the assignment, and respect Postel's law.
  2. We will have a brief look at your implementation to understand how you solved the tasks. To that end, we expect to see basic comments that explain your solution.

Clone this wiki locally