๐Ÿš€ We're in early access! Submit feedback โ€” your input shapes the platform.
โ† Back to Mission Control

How Missions Work

Everything you need to know about the mission workbench, hints, XP, and leveling up.

The Workbench

Every mission opens in a split-screen workbench. Here's what each side does.

๐Ÿ“‹

Left Panel โ€” The Brief

  • โ€ข Mission description and context
  • โ€ข Test cases with inputs and expected outputs
  • โ€ข Difficulty, time estimate, and XP reward
  • โ€ข Links to related lessons for review
  • โ€ข "Why This Works" explanation (after completion)
๐Ÿ’ป

Right Panel โ€” Code & Terminal

  • โ€ข Code editor with starter code
  • โ€ข Language selector (JavaScript / Python)
  • โ€ข Hint buttons (unlock progressively)
  • โ€ข Run / Check button to validate
  • โ€ข Terminal output with pass/fail results

Workbench Layout

โ† LLM Fundamentals/One-Shot Email Categorizer๐Ÿ“– GuideRank 1
โ† Brief
๐Ÿงช TDDยทbeginnerยทโญ 100 XP
One-Shot Email Categorizer
Build a prompt that categorizes emails into Billing, Technical, or General using one example...
Test Cases (5)
Lists all three categories
Input: "My app keeps crashing"
Expected: CONTAINS_ALL:Billing,Technical,General
Contains exactly one example
Code Editor โ†’
JS๐Ÿ’ก 1๐Ÿ’ก 2
โ† Hints๐Ÿ’พ Saveโ–ถ Run
// Your code here...
function buildCategorizationPrompt(emailBody) {
// TODO: Build a one-shot prompt
}
โ† Terminal
Click Run / Check to validate your solution

The workbench layout โ€” brief on the left, code editor and terminal on the right

Before & After

Here's what a mission looks like when you start vs. when you complete it.

1You Start With
Starter Code
function buildCategorizationPrompt(emailBody) {
// Build a one-shot prompt that categorizes
// into: Billing, Technical, or General.
// Use exactly ONE example.
return `Categorize: ${emailBody}`;
}
โŒ FAILED โ€” 1 of 5 tests passing
โœ— Lists all three categories
โœ— Contains exactly one example
โœ“ Includes the target email
โœ— Constrains output to label only
โœ— Ends with completion cue
โœ“After You Solve It
Your Solution
function buildCategorizationPrompt(emailBody) {
return [
'Categorize into: Billing, Technical, General.',
'Example: "Charged twice" โ†’ Billing',
`Email: "${emailBody}"\nCategory:`
].join('\n');
}
โœ… PASSED โ€” All Tests Passing!
โœ“ Lists all three categories
โœ“ Contains exactly one example
โœ“ Includes the target email
โœ“ Constrains output to label only
โœ“ Ends with completion cue
๐Ÿ’ก Why This Works

One-shot prompting gives the model a single example that establishes the expected format. Listing all categories and ending with "Category:" constrains the output to just the label.

Step by Step

1

๐Ÿ“‹Read the Brief

The left panel shows the mission description, test cases with expected inputs and outputs, and links to related lessons. Read it carefully before coding.

2

โœ๏ธWrite Your Solution

The right panel has a code editor with starter code. Choose JavaScript or Python using the language selector. Your code auto-saves with โŒ˜S.

3

โ–ถRun & Check

Click "Run / Check" to validate your solution. The terminal shows which tests pass or fail, with expected vs actual values for failures.

4

๐Ÿ”„Iterate & Learn

Failed attempts unlock hints progressively. Use them to guide your approach. Each attempt teaches you something โ€” the encouragement system tracks your progress.

5

๐ŸŽ‰Complete & Understand

When all tests pass, you earn XP and see a "Why This Works" explanation on the left panel. This validates your approach and deepens understanding.

Hints & Solutions

Stuck? The system is designed to help you without giving away the answer immediately.

๐Ÿ’ก

Progressive Hints

Hints unlock after failed attempts. The first hint appears after 3 tries, the second after 5, and the third after 8. Each hint gets more specific.

๐Ÿ”“

Reveal Solution

After 5+ attempts, you can spend XP to reveal the full solution code. This costs 50% of the mission's XP reward. You won't earn XP for that mission, but you'll learn the approach.

๐Ÿง 

Why This Works

When you complete a mission (or reveal the answer), an explanation appears in the left panel. It explains the concepts behind the solution so you understand the "why", not just the "how".

Mission Types

Missions come in different formats to test different skills.

๐Ÿงช

TDD Challenge

Write code to pass pre-defined test cases. You see the test names, inputs, and expected outputs upfront.

๐Ÿ›

Debugging

Fix buggy code. You see the symptoms and expected behavior โ€” find and squash the bugs.

โšก

Optimization

Improve a working pipeline to hit cost and quality targets. Metrics update live as you iterate.

โฑ๏ธ

Perf Optimization

Make slow code fast. Hit the time threshold while keeping correctness.

๐Ÿ”ด

Red Team

Two phases: first craft a prompt injection attack, then build defenses against it.

๐Ÿ“

PR Review

Review code with highlighted lines. Find and fix the bugs before approving.

๐Ÿ”

Edge Case Discovery

Find inputs that break a function. Discover enough edge cases to complete the mission.

โœ…

Test Writing

Write test cases for a given function. Cover all the required scenarios.

XP & Progression

Missions are how you earn XP and climb the ranks.

Earning XP

  • โ€ข Complete a mission on your own โ†’ full XP reward
  • โ€ข Reveal the solution first โ†’ no XP for that mission
  • โ€ข Each mission can only award XP once
  • โ€ข Beginner missions: 100 XP, Intermediate: 125-150 XP, Advanced: 150-200 XP

Ranks

  • โ€ข Accumulate XP to unlock higher ranks
  • โ€ข Each rank unlocks new, harder missions
  • โ€ข Your rank badge appears on your profile
  • โ€ข Check the Ranks page for thresholds

Ready to start?

Pick a mission that matches your skill level and dive in. You can always come back here if you need a refresher.

๐Ÿš€ Go to Mission Control