Creating multiple levels

Multiple levels will allow you to create advanced tests or bonus points, which students only unlock after getting a certain score.
While setting up AutoTest configurations in CodeGrade, it is possible to create multiple test levels that are dependent on each other and are sequential. This allows teachers to create advanced test levels which are unlocked only after the student gets a certain amount of points in the previous level.
As AutoTest categories run independent from each other, levels can help you add conditions between (groups of) categories.
  1. 1.
    Go to the Autotest tab and scroll down to locate an Add level button below the default level 1 section.
  2. 2.
    Click on the Add level button and there appears a section in the previous level named Only execute further levels if total percentage of points achieved by AutoTest is higher than or equal to with an input field corresponding to it.
  3. 3.
    Enter the minimum percentage that a student needs to score in order to unlock the second level, and then click on the Submit button next to it.
  4. 4.
    You can now add test categories to this new level as per your requirements to set up the configuration.
Adding a new level to an AutoTest

Levels or checkpoints?

Levels add conditionality between (groups of) categories, which normally execute paralel and independent to each other. If your goal is to add conditionality within one category instead (e.g. to only continue if a student program successfully compiles), consider using checkpoints instead.