Skip to content
Fondazione ITS INCOM

Examples

How to use the platform

Step-by-step examples for your classroom exercises: what to write, which model to choose, what to expect. We add new ones as the courses go on.

All examples

Featured · Cloud & Cybersecurity

Appunti del Sistemista: ask the book

Beginner · 15 min

Marco Bellini's book, 501 pages from the first ping to the GPU data centre. Free for ITS INCOM students, and loaded on the platform: ask it anything, from your dashboard or from your code.

Get the book (opens in a new tab) How to use it: Appunti del Sistemista: ask the book

Your first conversation

General Beginner · 10 min

Open the chat, pick a model, write a clear request and check the answer.

Read the example: Your first conversation

A mock interview for your internship

General Beginner · 30 min

Before the real one, let a model interview you for your internship, one question at a time. Its feedback on clarity, examples, relevance and gaps is a first opinion to compare with your teacher's, not a mark.

Read the example: A mock interview for your internship

A tutor that does not give you the answer

Cloud & Cybersecurity Beginner · 30 min

A subnetting exercise with a tutor that only asks questions. In the chat, or as a small Python program with gpt-oss-120b, the model that checks the maths.

Read the example: A tutor that does not give you the answer

Seven models: which one for what

General Beginner · 20 min

Gemma, Qwen3.6, Qwen3.8, Qwen3-Coder, Ministral, Apertus and gpt-oss-120b side by side. What each one is good at, and a script that asks six of them the same question and times them.

Read the example: Seven models: which one for what

Questions about your course documents

General Beginner · 15 min

Upload a handout and ask questions about it; every answer cites the part of the document it comes from.

Read the example: Questions about your course documents

Give a voice to your characters

General Beginner · 20 min

In the Studio, write a line, choose one of six voices and download the MP3. Then a short scene with three characters, one voice each. No code.

Read the example: Give a voice to your characters

Subtitles for your video

General Beginner · 25 min

Upload a video to the Studio and download its subtitles as an .srt file. Then translate them with the chat, and watch both in VLC. No code.

Read the example: Subtitles for your video

A picture from a description

General Beginner · 15 min

In the Studio, describe a picture in words and download the PNG. What to write so that it looks the way you imagined it, and how to get words spelled right inside it. No code.

Read the example: A picture from a description

Code with Qwen3-Coder

Programming Intermediate · 40 min

The model made for programming. Have it write a log analyser, explain it and find a bug in it, then get your own code reviewed.

Read the example: Code with Qwen3-Coder

Your first API call in Python

Programming Beginner · 20 min

Create a key, install the OpenAI library and call a model from your own code.

Read the example: Your first API call in Python

Reading an image

Programming Beginner · 15 min

From your code, send Gemma a photo of a diagram or of an exercise, and get it explained.

Read the example: Reading an image

Text to speech in Python

Programming Beginner · 20 min

Turn a text into an MP3 with one of the school's six voices, then let the transcription model listen to it and check that it says what you wrote.

Read the example: Text to speech in Python

Subtitles from a recording, in Python

Programming Intermediate · 35 min

Transcribe a recording with the time of every sentence, and write an .srt file that VLC, YouTube and video editors can read.

Read the example: Subtitles from a recording, in Python

Pictures in Python

Programming Intermediate · 30 min

Generate a picture and save the PNG, ask for two variants at once with the n parameter, and use a seed to get the same picture again.

Read the example: Pictures in Python

SQL from plain English

Programming Intermediate · 40 min

Describe in words the data you want, let Qwen3-Coder write the SQL, run it, and check it against an answer you worked out yourself.

Read the example: SQL from plain English

Unit tests that catch bugs

Programming Intermediate · 50 min

Ask Qwen3-Coder for pytest tests of an IBAN checker, run them, and find the two bugs hidden in the function.

Read the example: Unit tests that catch bugs

A regex that passes its tests

Programming Intermediate · 40 min

A model writes a regular expression for IPv4 addresses, your tests check it, and the failures go back to the model until everything passes. Then the surprise: Qwen3-Coder is not the best one here.

Read the example: A regex that passes its tests

A code review as JSON

Programming Intermediate · 30 min

Qwen3-Coder reviews a file and answers in a JSON schema you choose, so your program can sort the findings, check that each one points at real code, and stop a commit. Then you read them.

Read the example: A code review as JSON

Let the model call your functions

Programming Advanced · 45 min

Give Qwen3.6 two Python functions with the school timetable. The model decides which ones to call and with what arguments, your code runs them, and the model writes the answer.

Read the example: Let the model call your functions

A Dockerfile, reviewed and rewritten

Cloud & Cybersecurity Advanced · 60 min

Give Qwen3-Coder a Dockerfile full of classic mistakes, get a security review and a corrected version, then prove the difference with Docker.

Read the example: A Dockerfile, reviewed and rewritten

Harden SSH with Ansible

Cloud & Cybersecurity Advanced · 60 min

Qwen3-Coder writes an Ansible playbook that turns off password logins over SSH. Then you check it, and run it on a lab VM without locking yourself out.

Read the example: Harden SSH with Ansible

Phishing or not?

Cloud & Cybersecurity Intermediate · 40 min

Gemma reads five emails and rates each one, with its reasons, as JSON: suspicious, needs checking, or no warning signs. Then what pasted text cannot prove, and an email that tries to give orders to the model.

Read the example: Phishing or not?

Voice commands for a device

Internet of Things Advanced · 50 min

Say “turn on the lamp”: the transcription model writes it down, a model turns it into a JSON command, and a few lines of Python switch the lamp. Tested on a PC, ready for a Raspberry Pi.

Read the example: Voice commands for a device

A sensor that speaks

Internet of Things Intermediate · 45 min

A reading from the sensors becomes a sentence, and the sentence becomes an MP3 that a Raspberry Pi plays in the classroom. A model makes the sentence friendlier; your code checks its numbers.

Read the example: A sensor that speaks

Voice lines for your game, from a spreadsheet

AR/VR & Game Developer Intermediate · 40 min

Write your characters' lines in a spreadsheet, and one program turns every row into a WAV named after its id, ready to drop into Unity.

Read the example: Voice lines for your game, from a spreadsheet

Icons and textures for your game

AR/VR & Game Developer Intermediate · 45 min

A set of inventory icons in one style, with a transparent background, ready for Unity. Then a stone texture that repeats, and how to find its seams.

Read the example: Icons and textures for your game

Flashcards from your notes

General Intermediate · 30 min

Turn your notes into question-and-answer cards with Gemma, and import them into Anki or Quizlet to study.

Read the example: Flashcards from your notes

From a group chat to a task list

General Intermediate · 30 min

Paste the chat of your project group and Qwen3.6 pulls out who does what and by when, with real dates instead of “by Friday”.

Read the example: From a group chat to a task list

One message, three languages

General Intermediate · 30 min

Apertus, the Swiss model, translates a notice for customers into French and German; Ministral, the European model of Mistral AI, checks every translation.

Read the example: One message, three languages

A screenshot of an error

General Beginner · 15 min

Send Ministral the screenshot of an error from your terminal, your browser or your editor, and get the cause and the steps to fix it.

Read the example: A screenshot of an error

Sums you can trust: let the model reason

General Intermediate · 30 min

An invoice with a wrong discount. Gemma answers in seconds, gpt-oss-120b thinks first. See which one finds the mistake, then let Python do the maths.

Read the example: Sums you can trust: let the model reason

Anomalies in sensor readings

Internet of Things Intermediate · 40 min

A CSV from a classroom sensor goes in, and JSON comes out with the suspicious rows and a reason for each. The schema is built from your own data, so the model can name only rows that exist; your code puts the real values next to each reason, and two rules in Python check what is certain.

Read the example: Anomalies in sensor readings

MQTT topics for a smart classroom

Internet of Things Advanced · 60 min

A model designs the topics and the JSON payloads of a classroom with sensors and lights. Python checks the design with JSON Schema and a few broken messages, finds the holes, and three more sentences in the request close them.

Read the example: MQTT topics for a smart classroom

An ESP32 sketch, written and reviewed

Internet of Things Advanced · 60 min

Qwen3-Coder writes the firmware of a classroom air sensor from seven written requirements. arduino-cli proves that it compiles; a short Python program shows you the lines behind each requirement; reading them finds what compiling cannot.

Read the example: An ESP32 sketch, written and reviewed

Prompting 101: how to ask well

General Beginner · 25 min

The same question asked badly and asked well, side by side. The four parts of a good request (role, context, format and an example) and what each one changes in the answer. No code.

Read the example: Prompting 101: how to ask well

A professional email

General Beginner · 25 min

An email to a company for your internship, and one to your tutor. What to tell the model, what to leave out, and the four things to check before you send. Then make it more formal, or shorter. No code.

Read the example: A professional email

A recorded lesson turned into notes

General Intermediate · 45 min

Transcribe the recording of a lesson, then let a model write a summary, the key points and five review questions with their answers. Where the notes can go wrong, and how to handle an hour-long lesson.

Read the example: A recorded lesson turned into notes

A five-second clip in the Studio

General Beginner · 20 min

Describe a scene in the Studio and get a five-second video in about two minutes. What to write so that the clip shows what you imagined, and what the model does not always follow. No code.

Read the example: A five-second clip in the Studio

A video clip from Python

Programming Intermediate · 40 min

Ask for a clip, check on it until it is ready, and download the MP4. Then a storyboard of three shots, made one after the other and joined with ffmpeg.

Read the example: A video clip from Python

Attacks in an access log

Cloud & Cybersecurity Intermediate · 40 min

Gemma reads the access log of a web shop and names the attackers, as JSON. Then grep and awk check every claim. The patterns were right, a number was wrong, and the worst attack had already succeeded.

Read the example: Attacks in an access log

An incident report that invents nothing

Cloud & Cybersecurity Intermediate · 40 min

From the on-call notes to a report for the manager. Every sentence says which notes it comes from, your code puts the two side by side and marks every number that is not in the notes, and five minutes of reading find what the model added.

Read the example: An incident report that invents nothing

Firewall rules you can test

Cloud & Cybersecurity Advanced · 60 min

A model writes the nftables rules of a web server from a plain description. Two network namespaces on your Linux VM try sixteen connections and show what the rules really do. Of twelve files from four models, only one did everything it was asked.

Read the example: Firewall rules you can test

A game design document, reviewed

AR/VR & Game Developer Beginner · 30 min

Paste the design document of your game into the chat with a checklist, and get a review point by point, with the sentence of your document behind every verdict. Then check the review itself: every quote, every “missing” and every sum. No code.

Read the example: A game design document, reviewed

A dialogue tree for your NPC

AR/VR & Game Developer Intermediate · 45 min

A model writes the branching conversation of a blacksmith as JSON. A short Python checker walks the tree and finds the dead ends, the broken links and the endings nobody can reach, and the model fixes them. Then you play it, and read what no checker can see.

Read the example: A dialogue tree for your NPC

A level you can finish

AR/VR & Game Developer Advanced · 60 min

gpt-oss-120b draws a dungeon level as rows of text, from a description. The schema fixes its size and its tiles, and a short Python checker proves that it can be finished: the key before the door, and the door before the exit. Then a script builds it in Unity.

Read the example: A level you can finish

Your first API call in JavaScript

Web Development Beginner · 15 min

Install Node.js and the OpenAI library, put your key in an environment variable, and ask Qwen3.8 a question from a .mjs file, first in one piece and then streamed word by word. Your code checks that the key is there and that the answer was not cut off.

Read the example: Your first API call in JavaScript

A chat box on your web page

Web Development Intermediate · 45 min

A page with a text box talks to a small Node server, and the server talks to the API with your key and streams the answer back as it arrives. The server fixes the model and the instructions, and refuses what it did not ask for: other fields, other roles, questions over 1,000 characters.

Read the example: A chat box on your web page

Errors, retries and timeouts in JavaScript

Web Development Intermediate · 30 min

Make the API fail on purpose, with a wrong key, a model that does not exist, a parameter it does not know, a timeout and a user who leaves, and read what really comes back. The library tries again only when that can help; your code turns each error into a message the user can act on.

Read the example: Errors, retries and timeouts in JavaScript

Tests for your JavaScript

Web Development Intermediate · 40 min

A price formatter for an Italian shop hides two bugs. Qwen3-Coder or Qwen3.8 writes tests with node:test, and you run them with node --test. A failing test shows a bug, if the model tested the right cases. For each failure, you decide whether the function or the test is wrong.

Read the example: Tests for your JavaScript

Alt text for your images

Web Development Beginner · 30 min

The images of a web page go to a vision model, and an alt text comes back for each one. Your code checks the length, the words a screen reader does not need, and every number of a chart against the data behind it; only what passes goes into the page.

Read the example: Alt text for your images

SEO tags that fit

Web Development Beginner · 25 min

The HTML of a page goes in, and a title and a meta description come out as JSON. Your code checks their length and the main keyword, and when a check fails it asks once more, with the reason.

Read the example: SEO tags that fit

Translate your i18n files

Web Development Intermediate · 35 min

The en.json of a web shop goes in, and it.json, de.json and fr.json come out. A schema built from your keys fixes the shape; your code checks that every placeholder and every HTML tag is still there, exactly, and that nothing was left in English. Only the files that pass are written.

Read the example: Translate your i18n files

Product pages from a catalog

Web Development Intermediate · 35 min

A small JSON catalog goes in, and a description with three highlights comes out for every product, as JSON. Your code checks that every number in the text is in the catalog row, and stops claims the catalog does not make; only the pages that pass go on the site.

Read the example: Product pages from a catalog

Find the holes in a PHP form

Web Development Intermediate · 40 min

A PHP login form with five planted holes goes to two models, which answer in a JSON schema with the line, the kind, what an attacker does and the fix. Your code checks that every finding quotes the code really on its line, and scores the findings against an answer key. Then you fix the form and check both files with php -l.

Read the example: Find the holes in a PHP form

An accessibility review of a page

Web Development Intermediate · 35 min

An HTML page with typical accessibility problems is checked twice. Rules in Python find what is certain, the contrast ratio computed by code included; a model finds what needs judgement and explains each problem for a student. The program locates every quote of the model in the page and compares the two lists.

Read the example: An accessibility review of a page

Commit messages from your diff

Web Development Beginner · 20 min

A Node script reads what you staged with git diff --staged, and Qwen3.8 writes a commit message in the Conventional Commits format. A regular expression checks the first line, and the script asks again once if it fails. You read the message before you commit.

Read the example: Commit messages from your diff

Moderating comments on your blog

Web Development Beginner · 25 min

Fifteen comments on a blog post go to a model, which gives each one a decision from a fixed list (publish, spam, offensive, needs_human) and a short reason. Your code checks that every comment got exactly one decision, sends links and doubts to a queue for a person, and never deletes anything. Two models, compared.

Read the example: Moderating comments on your blog

Test data for your database

Web Development Intermediate · 35 min

A model writes fifteen customers and twenty-five orders for a small shop in Legnano, as JSON that follows your schema. Your code checks emails, dates, prices, totals and customer ids, refuses what is wrong, and loads the rest into SQLite.

Read the example: Test data for your database

Search your site by meaning

Web Development Intermediate · 40 min

Twelve articles of a school blog become vectors with bge-m3, saved once in a JSON file. A question becomes a vector too, and cosine similarity in plain JavaScript finds the closest article, also when the question shares no words with it. A small test set measures it against a keyword search.

Read the example: Search your site by meaning

An OpenAPI description of your API

Web Development Advanced · 45 min

Qwen3-Coder reads a small Node.js API and writes its OpenAPI 3.1 description as JSON. Your code checks that it parses, that every route of the code is in it and nothing more, and that the path parameters match. Without a model, the same check tells you when the code and the description drift apart.

Read the example: An OpenAPI description of your API

A booking assistant with tools

Web Development Intermediate · 45 min

A student books the IoT lab by chatting. Qwen3.8 calls two JavaScript functions, list_free_slots and book_slot; your code holds the real calendar and refuses any booking that is not a free slot, whatever the model says.

Read the example: A booking assistant with tools

A daily report from your sensors

Internet of Things Intermediate · 30 min

A day of classroom readings goes in, and five sentences for the teacher come out. Your code computes every number, the model only writes the sentences, and your code checks that each number in the report is one of its facts.

Read the example: A daily report from your sensors

When to open the windows

Internet of Things Beginner · 25 min

The CO2 readings of six classrooms go in. A rule in Python decides which rooms need fresh air, a model writes the message for each teacher in Italian and English, and your code checks the length and that the room and the value are in it.

Read the example: When to open the windows

How many people are in the room?

Internet of Things Intermediate · 35 min

Twenty minutes of CO2 readings go in, and an estimate of the people in the room comes out, as a number and a range. Python does the physics, a model explains the estimate to a student, and your code checks that the range is still in the explanation.

Read the example: How many people are in the room?

Spot a drifting sensor

Internet of Things Intermediate · 35 min

Four weeks of daily means from two CO2 sensors side by side go in, and a maintenance note comes out. Python computes the difference, its trend and which sensor is wrong; a model writes the note, and your code checks the sensor and the drift it names. Qwen3.8 and Gemma compared.

Read the example: Spot a drifting sensor

What uses power at night

Internet of Things Intermediate · 35 min

A week of hourly readings from a school's electricity meter goes in. Your code finds the night baseline and the hours above it; the model groups those hours into events, guesses a cause and writes a checklist for the caretaker; your code checks every hour the model names and does the sums itself.

Read the example: What uses power at night

A motor that is about to fail

Internet of Things Advanced · 45 min

Forty days of vibration from a fan motor go in. Plain Python computes the RMS, the peak and the trend; a model writes the maintenance note and picks an action from a list; your code checks that the action is allowed by simple thresholds before anyone acts on it.

Read the example: A motor that is about to fail

Cleaning sensor data with pandas

Internet of Things Intermediate · 35 min

Two sensors log at different times, with duplicate rows and one of them in local time. A model writes the pandas code that puts both on a 5-minute grid in UTC; you run it, and a checker compares the result with values you worked out by hand.

Read the example: Cleaning sensor data with pandas

Calibrate a cheap sensor

Internet of Things Intermediate · 30 min

Twelve paired readings from a cheap DHT22 and a good thermometer go in. Your code fits a straight-line calibration by hand and measures the error before and after; a model writes the MicroPython function for the ESP32, and your code tests it on the same pairs, at the edges and with fake sensors that fail like the real one.

Read the example: Calibrate a cheap sensor

A MicroPython driver from a register table

Internet of Things Advanced · 45 min

A model writes a MicroPython driver for an I2C sensor from its register table. Your PC runs it against a fake I2C bus that answers with bytes you chose, and checks every value against numbers worked out by hand from the datasheet, before any board is plugged in.

Read the example: A MicroPython driver from a register table

Decode a LoRaWAN payload

Internet of Things Intermediate · 35 min

A field sensor sends five bytes, and a model writes the JavaScript decoder for The Things Network. A Node test feeds it known bytes, a frost reading and a set flag included, and finds the sign bug that the example in the datasheet never shows.

Read the example: Decode a LoRaWAN payload

Sensor specs from a datasheet

Internet of Things Beginner · 25 min

Three short datasheets go in, and JSON comes out with the range, accuracy, supply voltage, interface and I2C address of each sensor. Your code checks that every number is really in the datasheet, and that only an I2C sensor has an I2C address.

Read the example: Sensor specs from a datasheet

A gateway log, explained

Internet of Things Intermediate · 35 min

Sixty-five lines from the log of a classroom IoT gateway go in, and incidents come out as JSON, each with the lines it is built on. Your code checks that every line exists and every quote is on it, lists the warnings left out, and only then asks for a short note for the technician.

Read the example: A gateway log, explained

Reading an analog gauge

Internet of Things Intermediate · 35 min

Python draws eight pressure gauges at values you know, and two vision models read them, answering in a JSON schema with a number and a confidence. Your code measures the error of every reading, and flags the gauges where the two models disagree.

Read the example: Reading an analog gauge

A greenhouse that waters itself

Internet of Things Intermediate · 40 min

Soil moisture for four zones and a small weather forecast go in; the model decides through function calling which valves to open and for how long. Your code holds the guardrails, refuses every unsafe call, and keeps the log you can trust.

Read the example: A greenhouse that waters itself

A weekly health check of your devices

Internet of Things Beginner · 25 min

The last heartbeat of twenty devices goes in: battery, signal, last seen, firmware. Your code finds the problems, a model turns them into a to-do list for the caretaker, and your code checks that no device is invented, missed or left for later.

Read the example: A weekly health check of your devices

Alarms that people read

Internet of Things Beginner · 25 min

Raw alarms from the building system become short phone notifications in Italian and English. Your code checks five rules on every text, asks the model again once when a rule is broken, and falls back to a template, so the alarm always goes out.

Read the example: Alarms that people read