By default, programming solutions run as user test or spec test (graded).
With Task Modes, the (default) modes can be changed/extended with custom modes, for which a docker image has added support.
A docker container spawned for a task can check the environment variable TASK_MODE and act according to the mode that is identified by this value.

Task modes are specified at the course edition level, but can the active set of modes can be overridden for individual programming assignments. The selection of active task modes should always have a single task mode that is used for grading. WebLab will use this mode to determine the computed grade for a programming assignment.

Configuration options for task modes:

  • selection and order of modes that are available
  • button text
  • mode ID that gets passed to docker as env var TASK_MODE
  • description (shown as hover)
  • should task mode be used as the mode for grading?
  • test file to use [spec test, user test]
Submitted by Elmer van Chastelet on 22 September 2021 at 09:00

On 22 September 2021 at 10:55 Elmer van Chastelet tagged 1.7.0

On 24 September 2021 at 08:26 Elmer van Chastelet closed this issue.

On 24 September 2021 at 08:33 Elmer van Chastelet tagged feature

Log in to post comments