Task Settings
The settings for a task are described below.
A summary of the task. This is shown to the user on the grading screen (if grading is used).
A good example is "The function
add
works as expected".A user facing summary of what is required to complete the task. This is shown to the user in the Tasks sidebar in their project and in-line in their project's instructions (if the task has been placed there).
A good example is "Write a function called
add
that takes two numbers and returns the sum of them."The checks that should be used to verify if this task has been completed. Keep in mind that checks are run in the order they are toggled on in.
For example, a check that calls the
adds
function with 1
and 2
and expects 3
in return might be linked.For example, "Make sure your
adds
function returns the sum of the numbers provided to it as parameters."For example, "Great work! On to the next function, where we will learn about multiplication."
If toggled, the task will be shown to the user. Disabling it allows you to hide certain tasks from the user.
If enabled, users will be able to see the checks and their results when attempting this task. Disabling this is used when you want to:
- 1.Hide advanced output from the check (e.g. the check's test runner's output).
- 2.Prevent the user from cheating by reverse engineering the check.
If enabled, the checks will be run in the default directory (
/home/nt-user/workspace
by default). It is faster to leave this enabled, but you will want to disable it in some situations, such as when working with a compiled language that will generate extra files when the code is compiled.Global settings for how tasks are displayed to the user can be found by navigating to Interface in the left sidebar and scrolling down to the Task Settings section. More details can be found here.
Last modified 2yr ago