My modules (module workbench)¶
In the module workbench you write your own exercises for your classes: a short lesson, tasks and an automatic check for each task. Your students solve the tasks on their own Linux VM and click Check – the Lab works out by itself whether the task is solved. You do not write any code for this: every check is built from a fixed building block, and you only fill in fields.
Before students see a module, you run it once yourself on a real VM. That makes sure no task is already solved from the start and that every task can be solved.
Where do I find the workbench?
Sidebar → Try modules → box Build your own modules → Open my modules. The workbench only appears if it has been enabled for your school. If the box is missing, it is not (yet) available for your school.
Requirements¶
- You are a member of a school as a teacher (or school admin).
- Your school has confirmed the data processing agreement (DPA). If it is missing, the workbench says: “Please confirm the data processing agreement (DPA) first.” The school administration takes care of this.
- Your own modules need the DPA in the updated version 2.3. It adds that teachers can create, try out and provide their own exercise modules for their classes. If your school is still on an older version, everything else keeps working as before; My modules then shows a note, and the head of school can confirm the new version right there.
- For the trial run on a VM – and therefore for releasing – your school needs an active license. Without a license you can build, save and test modules without a VM; the workbench then shows: “Your school currently has no active license. … Please contact your school management.”
- You can only release to classes you look after yourself. Create a class first (Manage classes).
Only you can see and edit your own modules. Colleagues, other schools and the public catalog do not see them.
The “My modules” list¶
Every module has a status:
| Status | Meaning |
|---|---|
| Draft | You are still building. Students see nothing. |
| In trial run | There is a trial run for this module. You can keep editing; every change sets the status back to Draft. |
| Released | Students in the selected classes see the module. Editing only after withdrawing the release. |
| Locked | Techlogia has locked the module. Terminal and release are off. |
At most 20 own modules per teacher. New module opens an empty workbench.
The workbench at a glance¶
- Toolbar (top): module title, Details (open the module details), save state (“Not saved”, “Saved · 14:26 · Draft”), Undo and Redo, Help, Test (without VM), Save, VM & terminal.
- Path to release: four steps from left to right – Test without VM (optional), Counter-check, Every task solved once, Release to classes. A green tick means: done for the saved version. Next to it on the right the checklist (“3 problems” or “No problems”) and the Canvas/List switch.
- Left: task templates, Empty task, From lab modules and all check building blocks.
- Middle: the canvas: Start (what the VM starts with) → tasks with their checks → Goal.
- Right: the properties of whatever you have just clicked.
- Bottom: the VM bar with terminal, remaining time, daily quota and the evidence.
Behind every ⓘ there is a short explanation. Help contains the workflow, all terms, the keyboard shortcuts and the tour.
Quick start: the example module in six steps¶
The images on this page show a small example, “Docs example: Set up a web server”, with two tasks: create a start page for the web server and write the web server’s port into a file.
- New module → on the right enter title, short description and lesson.
- On the left click the template Your own start page – it brings the task with three checks.
- Click Empty task, write title and text, under Choose a check … pick File contains text and fill it in.
- Optionally Test (without VM), then Save.
- At the bottom Start VM. The counter-check runs by itself, then the terminal opens. Solve every task in the terminal and click Check all tasks in the VM bar. Stop VM.
- In the path to release Release to classes → tick the class → Release.
The two sections below explain the steps: first what is required, then what you can do in addition.
Required: what you must do before students see the module¶
Without these steps the module cannot be saved, run on a VM or released.
| # | Required | How you can tell it is done |
|---|---|---|
| 1 | Module details in the module language: title, short description, lesson; duration between 5 and 240 minutes | No red fields under Details |
| 2 | At least one task – each with a title, task text and at least one check | Checklist without red entries |
| 3 | Save | Toolbar: “Saved · …” |
| 4 | Trial run with a passed counter-check: no task may already be solved on the fresh VM | Step Counter-check: “passed · …” |
| 5 | Solve and check every task once yourself – with Check in the VM bar | Step Every task solved once: “2 of 2 tasks” |
| 6 | Release to at least one of your own classes | Step Release to classes: “released to 1 class” |
Test without VM is not required. It costs nothing and finds many mistakes in advance – so it is still worth it.
1. Fill in the module details¶
- Title and short description (“One or two sentences: what will students be able to do afterwards?”).
- Lesson – the theory part before the tasks. Simple formatting (Markdown) such as
## Heading,**bold**and lists with-is possible, images are not. - Duration (5–240 minutes) and difficulty (Beginner, Intermediate, Advanced) are information for your students’ overview. They do not change the checks.
- Module language – only the texts in this language are required (see Second language version).
2. Create tasks with checks¶
Every task needs:
- a title,
- the text What should students do? – name folders and file names exactly as the check expects them,
- at least one check. A task counts as solved when all its checks are true.
A check is a question to the VM that can be answered with yes or no. Under What should be checked? you pick a building block and fill in the fields. At the top, the box This is how the check reads says in a full sentence what it does.
The checklist must have no red¶
The checklist (to the right of the path to release) collects everything that is still missing:
- Red must go, otherwise you cannot save. Examples: “The task has no check yet. Without a check nobody can solve it.”, “Checks may only read files in the exercise folders under /home/student/.”
- Yellow is a note and blocks nothing. Examples: “This task would probably already be solved on a fresh VM. …” or “The text mentions ‘task 2’. …” (numbers from adopted texts).
A module without a task can be saved, but not run on a VM.
3. Save¶
Save (or Ctrl + S) creates the module or saves your changes. As long as something is red, the workbench says: “… problems left. Fix the places marked red first.”
The browser keeps unsaved work. If you open the module later in the same browser, the top says “Your unsaved work from last time has been restored.” with the button Discard and show the saved version.
4. Trial run: start the VM, wait for the counter-check¶
At the bottom of the VM bar click Start VM. It always starts the saved version – the same VM your students will get later.
- “VM is being built, about 1 to 2 minutes”.
- “VM ready · counter-check running, then the terminal opens”: all saved checks run once on the untouched VM. No task may already be solved at that point. That is why the terminal stays locked until then – any command before could distort the result.
- “VM running · … minutes left”: the counter-check has passed and the terminal is open.
Counter-check not passed? Then it says: “Not passed: the marked tasks are already solved on the fresh VM. Add a check, save and restart.” Typical case: the check “nginx is running” on its own – on the base VM nginx is already running. Add a check that only becomes true after the work (for example a file that does not exist before).
5. Solve and check every task once¶
Solve every task yourself in the terminal, just as your students would. Then click Check next to the task in the VM bar, or Check all tasks.
Why this is required: it shows before the lesson if a check is too strict or a file name in the task does not match the path of the check.
Then end the VM with Stop VM – your daily quota counts down as long as the VM is running. The evidence stays saved.
Evidence only counts for the saved version
If you then change and save a check, both pieces of evidence lapse (“You have changed checks since the last trial run. The evidence no longer counts.”). The running VM stays usable for trying things out; releasing needs a new trial run on a fresh VM (Restart). If you change only texts (title, task text, hints, lesson), the evidence stays valid.
6. Release to classes¶
In the path to release click Release to classes. Tick your classes and click Release.
- Only your own classes are offered. The release unlocks the module for these classes – there is no extra step under Class → Modules.
- What is released is always the saved version with both pieces of evidence. Before that the step is locked (“only after both pieces of evidence”).
- A released module cannot be edited: “This module is released. To edit it, withdraw the release first; your classes will no longer see it until you release it again.”
Optional: what you can do in addition¶
Task templates¶
A template inserts a finished task with matching checks. Afterwards you only adjust texts and values.
| Template | What it checks |
|---|---|
| Your own start page | Create file, heading, web server responds |
| Edit a file | Create a file and write text into it |
| Stop a service | Switch off a running service for good |
| Set up the firewall | Switch ufw on, default policy, open a port |
| Harden SSH | Block root login, limit attempts |
| User and group | Create an account and add it to a group |
| Automate a job | Create a schedule with cron |
| Switch on HTTPS | Port 443 open, web server answers encrypted |
Empty task starts without presets. At most 20 tasks per module.
Checks from building blocks¶
17 building blocks in five topics. Drag a building block onto a task or click it.
| Topic | Building blocks |
|---|---|
| Files | File contains text · File exists · Cron file |
| Services and processes | Service state · Process is running · Package is installed |
| Network and firewall | Port is open · Firewall is active · Firewall rule · Firewall default policy |
| Users and security | SSH setting · User exists · User in group · Group exists |
| Web | Web server responds · Web server responds over HTTPS · nginx configuration |
File contains text knows these conditions: contains the text, does not contain the text, consists exactly of the text, starts with the text, has a line that reads, consists only of the number, consists only of a number greater than or less than. Ignore upper and lower case can be ticked. Free search patterns (regex) are not available.
Good to know:
- Checks only read files in the exercise folders under
/home/student/:uebung,website,markdown,python,git-uebung,sicherheit,sql,csv,krypto,paketanalyse,sockets. Clicking a folder puts it into the field. Letters, digits,_ . -and at most three subfolders are allowed. - An empty file counts as missing.
- “Does not contain” counts as two single checks: the workbench also checks that the file exists – otherwise the task would already be solved on the fresh VM.
- Web server responds checks the response of
http://localhost/– only the headers, not the text of the page, e.g. “has the status code 200”. - SSH setting and nginx configuration check the configuration as the program reads it – not whether the
service has been reloaded. Put
sudo systemctl reload sshorsudo systemctl reload nginxinto the task text if that is part of the task. - Cron file reads
/etc/cron.d/<name>. The file must be readable for the check (permissions 0644 are usual). - Dashed boxes under Not possible yet show what checks cannot do today (e.g. “one of several is enough”, the content of the web page, file permissions, prepared start files). A click explains it.
Hints in levels¶
Up to three hints per task, which students reveal one after the other: level 1 a nudge, level 2 the right tool or command, level 3 almost the solution. Without a hint, students do not see a hint button.
Adopt tasks from lab modules¶
On the left under From lab modules → Adopt a task. You see tasks from the lab modules that come with a check, grouped by module, with search and Preview (task text and checks as sentences). Adopt inserts the task like a template.
- You get your own copy: title, text, hints and checks. You can change texts and hints afterwards; the lab module stays untouched. The model solution is not copied.
- If the check can be rebuilt exactly from the building blocks, you can change the check too. Otherwise it says Check unchanged: you see what is checked, but the check itself cannot be viewed or changed in the editor, and you cannot mix your own checks into this task.
- If Techlogia changes such a check later, you see: “Techlogia has changed the check from the lab. Save again and run a new trial.” Until then your classes keep working with the version you tried out.
- The tabs: Fits (runs in your environment), Other environment (needs the environment of another lab module – with the button Use this environment), Not adoptable (with the reason).
- If an adopted text refers to another task (“as in task 2”), it means the number in the lab module. The checklist shows a yellow note for this.
Choose the starting state and environment¶
Clicking Start on the canvas shows what the VM starts with.
- Fresh base VM (default): Ubuntu 24.04, the nginx web server is already running (start page at
http://localhost/), ufw, fail2ban and lynis are installed, the exercise folders exist. - Environment of a lab module, e.g. Linux Console, Docker or Linux Firewall with nftables: the VM then starts as in that lab module, with the same programs and exercise files. That lets you also adopt its tasks (“+5 tasks”).
- One environment applies per module. Tasks for the base VM run in every environment. If a switch would drop tasks, the workbench asks first and names them.
- Your own programs or start files are not possible.
Test without VM¶
Test in the toolbar (or the first step in the path to release) runs all checks in the browser – without a VM, without quota, in two seconds:
- After the work: are all checks true with your examples? Then the task can be solved.
- Fresh VM: is a task already true before anyone has done anything? Then it lacks a meaningful check.
You enter the example for each check under Example for testing without a VM: what the file (or the response) looks like once the task is solved. The workbench suggests one from your fields. Examples stay in your browser; students never see them. The test does not replace the trial run.
Try things out on the VM¶
While a VM is running, every check has the button Check on the VM and every task Check all checks on the VM. It checks what is in the fields right now – even unsaved – and you immediately see whether it is true and what the VM found.
That way you work in small steps: try a command in the terminal, build the check, check, adjust. Trying out creates no evidence; for releasing only Check in the VM bar counts.
Student view (preview)¶
On a task, Student view at the top shows what the task looks like for students: title, task text, Check and Show hint. With Before the work and After the work you see both responses (“Done” or “Not yet”), and with the students’ language both versions.
List instead of canvas¶
At the top right you switch between Canvas and List. The list shows the same module from top to bottom, with every check as a sentence – handy when there are many tasks.
On the canvas you reorder tasks by dragging them by their header; Fit and Tidy up arrange the view. The order of the tasks is the order for students.
Second language version¶
You write the module in one language (module language German or English). With Add German version (or English) you can write a second version, field by field – this is optional. Where it is missing, students see the text in the module language, even if they have set the Lab to the other language.
Undo, keyboard shortcuts, help¶
| Key | Effect |
|---|---|
| Ctrl + S | Save |
| Ctrl + Z | Undo |
| Ctrl + Shift + Z | Redo |
| + − 0 | Zoom the canvas in, out, fit |
| Del | Remove the selected check |
| ? | Open the help |
| Esc | Close window |
On a Mac use ⌘ instead of Ctrl. Undo brings back deleted tasks and checks (“Task deleted. ‘Undo’ brings it back.”).
Change or withdraw the release, delete a draft¶
- Save selection changes which classes the module is released to.
- Withdraw release: your students no longer see the module; their progress stays saved. The module is a draft again and can be edited. As long as you do not change the checks, you can release it again without a new trial run.
- Delete draft (under Details) only works for drafts and only as long as no student has worked on it.
On tablet and phone¶
A module is best built on a computer; on a tablet or phone you can view it and make smaller changes.
How students see the module and how it counts¶
- Only students in the released classes see the module. Other classes – including your own –, other schools and people without a class do not see it. It never appears in the public catalog.
- Students see the title, short description, lesson, your task texts, the hints (one after the other) and the Check button. Afterwards it says Done or Not yet with a sentence about the check. The interface does not show your examples or the fields of the check.
- Every person gets their own fresh VM in the chosen starting state. The class practice-time quota applies as for all modules (Modules & quota).
- Whoever has solved all tasks has completed the module. In the students’ profile the tasks count towards “tasks solved x of y”, and you see them in Class progress.
Points: your own modules count within the class – in the class leaderboard and the class weekly goal. They do not count for global XP, leagues and the global leaderboard, certificates, bonus minutes or badges. This keeps comparisons across schools fair: globally only the Lab catalog counts.
Limits and quota¶
| What | Limit |
|---|---|
| Own modules per teacher | 20 |
| Tasks per module | 20 |
| Checks (building blocks) per task | 6, at most 12 single checks in total (“does not contain” counts twice) |
| Hints per task | 3 |
| Duration | 5–240 minutes |
| Title / short description / lesson | 200 / 2,000 / 20,000 characters |
| Task text / hint | 5,000 / 2,000 characters |
| Text or number value of a check | one line, at most 100 characters; numbers from 0 to 1,000,000 |
| Simultaneous trial runs | one – also across several modules |
| Trial-run quota | minutes per day, shown in the list and in the VM bar (currently 60 minutes) |
About the quota:
- It only applies to your trial runs and per calendar day. Your students’ quota is separate.
- The clock runs as long as the VM is started. With less than 5 minutes left no VM starts.
- When it is used up: “Your minutes for today are used up. You can continue tomorrow.”
- Tip: first Test without VM, then start the VM, and stop it as soon as the evidence is in place.
Frequent questions and typical messages¶
| Message or question | What to do |
|---|---|
| “Save first, then a VM can be started” | Save. The VM always starts with the saved version. |
| “A VM needs at least one saved task in the module.” | Create a task and save. |
| “The task has no check yet. …” | Pick a building block under Choose a check … or drag one onto the task. |
| “The folder ‘…’ is not open to checks. …” | Put the file into one of the exercise folders; below the field Move to this folder: offers a valid path. |
| “Not passed: the marked tasks are already solved on the fresh VM. …” | Add a check that only becomes true after the work, save, Restart the VM. |
| A task does not turn green although it is solved | Under On the running VM, Found: shows what the VM actually sees. Compare path, spelling and condition. |
| “You have changed checks since the last trial run. The evidence no longer counts.” | Do a new trial run on a fresh VM (Restart). |
| “A trial run is already running, possibly for another of your modules. …” | End the other trial run with Stop VM. |
| “Your minutes for today are used up. …” | Continue the next day; until then test without a VM. |
| “Your school currently has no active license. …” | Contact your school management. Building and testing without a VM still work. |
| “The module is released or locked and cannot be changed right now.” | Withdraw the release, then edit. |
| “Students have already worked on it, so it cannot be deleted.” | Withdraw the release instead of deleting; progress is kept. |
| “Techlogia has changed the check from the lab. …” | Save the module again and run a new trial. |
| “Techlogia has updated the environment since the trial run. Please run a new trial.” | Do a new trial run. |
| Do I have to run a new trial before every lesson? | No. The evidence counts until you change checks or Techlogia changes an adopted check or the environment. |
| Do colleagues see my modules? | No. Only you can see and edit them, and you can only release them to your own classes. |