General

A short unique identifier for this question, such as add-vectors or calculus/find-derivative. Use only letters, numbers, dashes, underscores, and dots, with no spaces. Use forward slashes to separate directories.
The title of the question (e.g., "Add two numbers").
Workspace
jonatan

Assessments

Question behavior

The grading method used for this question.
If enabled, students will only be able to try a single variant of this question on any given assessment.
If enabled, the correct answer panel will be shown after all submission attempts have been exhausted.
If enabled, the question will award partial points for fractional scores. For example, if only some elements on the page are correct, the student receives a proportional score. When disabled, the question awards only 0% or 100%.

Preferences

Configure preferences that can be specified when a question is used on an assessment. Values are available in server.py and question.html.
No preferences configured
Configure a remote development environment for students.
The Docker image that will be used to serve this workspace. Only images from the Dockerhub registry are supported.
The list of files or directories that will be copied out of the workspace container when saving a submission. You may enter multiple files or directories, separated by commas.
Command line arguments to pass to the Docker container. Multiple arguments should be separated by spaces and escaped as necessary using the same format as a typical shell.
Environment variables to set inside the workspace container. Variables must be specified as a JSON object (e.g. {"key":"value"}).
Whether the workspace should have network access. Access is disabled by default.
The port number used in the Docker image. If not provided, the default port for the image will be used.
The home directory of the workspace container. If not provided, the default home directory for the image will be used.
Workspace images can specify how URLs for container-specific resources should be handled by the workspace proxy. In particular, the container prefix (e.g., /pl/workspace/<id>/container/) can be stripped from the URL before it is sent to the container. Unless you have a specific reason to change this setting, it is recommended to use the default settings.

External grading

Configure grading using a Docker container.
The Docker image that will be used to grade this question. Only images from the Dockerhub registry are supported.
Program or command to run as the entrypoint to your grader. If not provided, the default entrypoint for the image will be used.
The list of files or directories that will be copied from course/serverFilesCourse into the grading job. You may enter multiple files or directories, separated by commas.
The number of seconds after which the grading job will timeout.
Environment variables to set inside the grading container. Variables must be specified as a JSON object (e.g. {"key":"value"}).
Whether the grading containers should have network access. Access is disabled by default.

Manage question

View source on GitHub
Open this question's source files in the course's repository.
View on GitHub
Make a copy of this question
Create a duplicate of this question to use as a starting point.