stupen

Docs

Using Stupen

Stupen plans what to practise, builds exercises it has already solved and coaches you up to a help limit you choose. It runs on SUBCULT's server at stupen.subcult.tv/app, with your own AI account.

Getting started

  1. Sign in with an emailed link, GitHub or a passkey. A new email address creates your account; each person gets their own tracks, prompts and history.
  2. On the Models page, connect the AI the coach uses: paste an API key from Anthropic, OpenAI, Google, Mistral, Groq, DeepSeek, xAI or any OpenAI-compatible service, or choose Connect with OpenRouter to approve Stupen there. Keys are stored encrypted and never shown again. The provider bills you for what you use.
  3. Create a track: the subject in your words, your level (brand new, beginner, intermediate, advanced or expert), your goals, your background, how you like to learn and how long a session is.
  4. Pick a practice format (see Practice formats). Stupen guesses one from the subject; React, for example, suggests the React container.
  5. Add materials you already have, if any, and choose whether to write the plan now or to search the web for good material first.
  6. Open the first lesson, work in the editor, run the checks and ask the coach when you need it.

The help limit

You choose how much the coach may help, from 0 to 6. It stays under your limit and labels each reply with the level it used. The default depends on your level and can be changed for each lesson.

LevelNameThe coach…
0Questions onlyasks what you think, tried or saw
1Pointnames the idea, or the part of the work or output to look at
2Explainexplains the idea or the error message in general terms
3Diagnosesays what is wrong in your work, not how to fix it
4Directdescribes the fix or approach in words or pseudocode
5Fragmentshows a few lines that don't finish the task
6Solvegives a full worked solution; the attempt is closed

The limit is an instruction to the coach, which is a language model and can be wrong. If a useful answer needs a higher level, it says so and asks you to raise the limit.

Plans

The plan sets the order, scope and pace of your lessons; each lesson is built when you reach it. You can:

The coach keeps short progress notes about you, which later lessons and replies use. You can read and edit them on the plan page.

Lessons and checks

A lesson has a brief, starter files, tests or a written task, escalating hints and, often, a reading list. Before you see it, its hidden reference solution must pass the tests and the starter files must fail them. If that check still fails after one retry, the lesson is kept and marked tests unverified.

Practice formats

Quick, no packages

Python, TypeScript, JavaScript, Go, Rust, Java, C, C++, SQL (SQLite) and Bash, using the standard library, in a sandbox with no network. Checks start at once.

Written answers

For any subject without a test runner: concepts, design, maths, natural languages. You answer in a Markdown file and the coach grades it against the brief.

Your own check command

For another language installed on the server: you give the shell command that checks a lesson folder.

Container

Real projects with any packages. See Containers.

Containers

Thirteen ready-made environments: React with Vite, a plain web page, Node, Python, Go, Rust, Java with Maven, Ruby, PHP with Composer, C# and .NET, Elixir, Deno and Bun. A custom environment can use any Docker image with your own setup, install, check and preview commands.

Materials

Add what you learn from: a link, an upload (PDF, Markdown, text, Word, ODT, EPUB, HTML, notebooks or code) or pasted text. Or let the coach search the web and save what it finds. Then build materials into your plan, make a lesson from them, or attach one to a question in the chat. Pages that need JavaScript are rendered before their text is saved.

Prompts

The buttons above the chat come from your prompt library. There are thirteen to start: Explain the idea first, Give me a hint, Explain the failure, I'm stuck, Review my solution, Grade my answer, Explain the selection, Explain it more simply, Show another example, Quiz me, Go deeper, Where is this used? and What should I practise next?

Edit them, add your own and reorder them on the Prompts page. A prompt can use placeholders such as {{selection}} for text selected in the editor or {{failing}} for the failing check output. Any prompt can have a trigger:

TriggerFires
Only when I pick itnever on its own
When I open a lesson for the first timeonce per lesson
When my checks failafter a failing run
When my checks fail three times in a rowon every third failure in a row
When my checks passthe first time a lesson passes
When I submit a written answeron Submit for grading

Each triggered prompt either sends automatically or is suggested above the message box. Switch automatic prompts off in the coach panel at any time.

Keys

KeyDoes
Ctrl+Enter (⌘+Enter on a Mac)Run checks, or submit a written answer
Ctrl+S (⌘+S)Save the open file; files also save as you type
Enter in the message boxSend to the coach
Shift+EnterNew line in the message
Tab in the editorIndent

Undo and recovery

Limits

More