Skip to main content

Add lab challenges

Create guided lab challenges

A
Written by Ari Zellner
Updated this week

Lab challenges are part of your class template, just like exercises.

In addition to adding text-based instructions, you define a validation script that Strigo will execute inside the learner’s VM when they click Validate Challenge.

  • The script runs inside the learner’s lab VM (Linux or Windows).

  • Strigo checks the exit code of the script to determine whether the challenge was completed successfully.

    • Exit code 0 → Challenge passed

    • Any non-zero exit code → Challenge failed

  • The learner will see the validation results immediately in their workspace.


How to add a challenge to a class template

  1. On your class template page, scroll down to the Lab Challenges section.

  2. Click Add Challenge to create a new one.

  3. Give your challenge a title that clearly describes the task.

  4. In the Description editor, explain what the learner needs to do.

    • You can format text using Markdown.

    • Add code examples and images to clarify steps.

  5. In the Validation Script field, add the script that verifies success.

    • The script should be written in Bash

    • When the learner clicks Validate Challenge, Strigo securely copies the script to their VM and executes it.

  6. Enabling "Show script output to learner" will show the scripts output text to students in case the validation failed, allowing some feedback for the student



After configuration and if learning materials are enabled for the event, the studnet will receive this similar panel next to their lab:

Did this answer your question?