Assignment Guide

Assignments are the primary mechanism for student evaluation in Lab.Computer.
Each assignment can include one or more notebooks that combine autograded and manually graded components.

When you create an assignment, Lab.Computer provisions a virtual server (Ubuntu-based) where you can add notebooks and install dependencies. Users have root access to these environments.


Adding Assignments

Instructors can add assignments to a course in three ways:

  1. Create a new assignment from scratch.
  2. Clone an assignment from another course.
  3. Duplicate an existing assignment within the same course.

Creating a New Assignment

To create a new assignment:

  1. Open the desired course from your Dashboard.
  2. Navigate to the Assignments tab.
  3. Click + Create Assignment.
  4. Enter a descriptive Assignment Name.
  5. Click Create Assignment to finalize.

GIF: Creating a New Assignment


Cloning Assignments (Copy to Another Course)

Cloning allows instructors to copy assignments or entire course content from one course to another.

Note

  • Only released assignments can be cloned.

To clone assignments:

  1. Navigate to the Students section.
  2. Locate and click Clone link to open the available assignment list.
  3. Choose one of the following options:
    • Clone All Assignments: Copies all released assignments from the selected course. GIF: Importing Single Assignment
    • Clone into Existing Course: Copies a specific released assignment into another course.
      GIF: Importing Course Content
  4. Choose the target course and confirm the selection by clicking Import.

Duplicating an Assignment (Within the Same Course)

The Duplicate option lets instructors copy an assignment within the same course — ideal for reusing or modifying content.

To duplicate an assignment:

  1. Navigate to Assignments section.
  2. Locate the assignment you wish to duplicate.
  3. Click the vertical three dots to open the options menu.
  4. Select Duplicate Assignment.
  5. Enter a new name in the popup for the duplicate assignment.
  6. Click Submit to create.

The duplicated assignment will appear in the Assignments list under the same course.

GIF: How to Duplicate an Assignment


Configuring Assignments

Assignment configuration is accessed through the Action menu (represented by three vertical dots) adjacent to each assignment. Select Edit to access the configuration interface.

Assignment Name

The assignment name appears on student dashboards and in submission records. Using clear, descriptive titles helps students stay organized and aids instructors in record-keeping.

GIF: Rename Assignments

Setting Deadlines and Duration

Start Date

Specifies the exact date and time when the assignment becomes accessible to students. Until this timestamp, students cannot launch or view the assignment.

Due Date

Sets the final submission deadline. After this date and time, the system prevents students from submitting additional work. This ensures consistent evaluation timelines and supports efficient grading workflows.

Duration

Defines the maximum time allowed for completing the assignment once a student begins. A countdown timer starts at the moment of assignment launch, and students are expected to complete the work within this duration.

Setting Description
Start Date When students can first access the assignment
Due Date Final submission deadline
Duration Maximum time limit after starting the assignment

GIF: Update Time and Duration

GIF: Set and Update Assignment Settings

Configuring Hardware and Resources

Hardware configuration allows instructors to allocate appropriate computational resources for the assignment. This ensures students have sufficient processing power for their work while maintaining system efficiency and equitable access for all participants.

Resource Type:

The resource type determines the computational power allocated to each student's assignment environment. Available configurations include:

Resource Type Specifications Typical Use Case
2vCPU-2GB 2 cores, 2 GB RAM Basic coding tasks
2vCPU-16GB 2 cores, 16 GB RAM Data analysis or memory-intensive work
4vCPU-15GB-T4GPU 4 cores, 15 GB RAM, T4 GPU Deep learning or GPU-accelerated workloads

GIF: Set Hardware Settings

Disk Storage Limit

The disk storage limit defines the maximum storage capacity available for packages, generated files, and datasets within each student's isolated environment. The acceptable range spans from 1024 MB to 2048 MB, depending on assignment requirements.

Timeout Settings

Timeout configurations manage server resource allocation and automatic session termination following periods of inactivity.

Instructor Timeout

Instructor timeout may be configured to 10, 20, or 30 minutes. This parameter defines the inactivity period following which the instructor's notebook server automatically closes. The default setting is 10 minutes.

Student Timeout

Student timeout is established by the instructor with a default setting of 10 minutes, adjustable to a maximum of 20 minutes. This parameter dictates the inactivity period before automatic server closure for student environments.

GIF: Configure Timeout

Installing Assignment-Level Software

The Allow Package Installation setting controls student permissions for executing package installation commands (pip install, conda install, apt install) within the assignment terminal environment.

Enable this for:

  • Assignments requiring external libraries

Disable this for:

  • Strict coding exercises where dependencies are fixed

Screenshot: Allow Students to Install Packages

GIF: Allow Students to Install Packages


Deleting an Assignment

  1. Go to the Assignments section.
  2. Click the three dots (⋯) next to the target assignment.
  3. Select Delete → confirm deletion.

GIF: Deleting an Assignment


Adding Notebooks as Assignment Content

After creating an assignment, you must initialize its server:

  1. Locate the assignment in the Assignments section.
  2. Click Server / Launch to initialize the computational environment.
  3. Once started, click Edit to open the notebook editor.

You can now:

  • Add instructions and problem statements
  • Insert student response cells
  • Define test cells and point values

GIF: Adding Notebooks as Assignment Content


Releasing an Assignment

Once ready to publish:

  1. Click Generate in the notebook editor (top-right).
  2. After the assignment is generated, click Release to make it available to students.

Note

  • If any changes are made to the assignment notebook after generation, it must be regenerated by clicking the Regenerate button before releasing.
  • After release, any edits you make will not be reflected in the student view. Ensure the content is final before releasing.

For a deeper overview of the release workflow, see Generating and Releasing Assignments.