Skip to main content

Project workbench

Move from browser experiments to a real project workspace.

Level 0 concepts are browser-first. Local Python, repositories, terminals, and virtual environments become builder skills gradually instead of appearing as hidden prerequisites.

Step 0 — Install the tools before a local Lab

Skip this step for browser-only Level 0 work. For local projects, use Python 3.11 or newer and a terminal.

1. Install Python 3.11+

2. Get Git or download a ZIP

Install Git from its official downloads page. Alternatively, open the public learner materials repository, choose Code → Download ZIP, extract it, and open the extracted top-level folder. You can use the local exercises without Git.

3. Open a terminal

Windows: open PowerShell from the Start menu. macOS: open Terminal from Applications → Utilities. Linux: open your desktop's terminal application.

python --version

If python is not recognized on macOS or Linux, try python3 --version and use python3 in subsequent commands.

4. Install packages only when the level needs them

Run these commands from the extracted or cloned repository root, after activating your virtual environment. The Level 1 and Level 3 dependency files cover their project starters; the local Labs in Levels 10–15 use the standard library for their required preflights.

Level / activityInstallation commandPackages
Level 0NonePython standard library
Levels 1–2python -m pip install -r projects/starters/l01/requirements.txtNumPy, scikit-learn
Levels 3–5python -m pip install -r projects/starters/l03/requirements.txtNumPy, scikit-learn, PyTorch
Level 6 training notebookpython -m pip install -r projects/starters/l03/requirements.txt (local runs)PyTorch, NumPy; hosted notebooks may manage their own environment
Levels 7–9No new required project-starter requirements fileReuse the packages needed by your chosen Lab
Levels 10–15 required local preflightsNonePython standard library; Docker is optional for Stage D container practice
Optional real-model extensionspython -m pip install -r labs/real-model/requirements.txtAdditional model / SDK packages; not needed for deterministic local Labs

For more troubleshooting, see When you're stuck.

Browser evidence→Open files→Run Python→Validate

Level 0 Core path — no local setup required

You can demonstrate the Level 0 exit skills with the browser Lab and an evidence report before you learn repository or terminal workflow.

1. Complete L0.12 and run its Lab unchanged.

2. Record before, after, and baseline.

3. Change only candidate_threshold = 3 to candidate_threshold = 2, run again, and explain the new mistake.

4. Write a short evidence report covering feature/label roles, train/test separation, the baseline, your debug hypothesis, the result, and one limitation.

Open the Level 0 project brief →

Five workspace words

These are tools, not assumed background knowledge.

Repository

The project folder

The learner materials repository contains Labs, validators, rubrics, and project starter files.

Project root

The top folder

You are at the root when folders such as projects and labs are visible.

Terminal

Where commands run

A terminal is a text interface where you type commands such as git clone or python.

Python file

A script you can run

A file ending in .py that Python can execute, such as a Lab script or a project starter.

Validator

A behavior check

A validator checks required project behavior. Passing it is evidence, not a replacement for your explanation.

First local run

Use the exact commands first. Explore after the known-good path works.

git clone https://github.com/yonpak/ai-from-zero-to-builder-materials.git
cd ai-from-zero-to-builder-materials
python --version

On some systems the Python command is python3. For the Level 0 Builder path, no third-party package is required.

python projects/starters/l00/data_detective.py
python projects/tests/l00/validate_submission.py projects/starters/l00/data_detective.py

Level 1 adds a virtual environment

A virtual environment keeps this project's packages separate from other Python projects.

macOS / Linux

python -m venv .venv
source .venv/bin/activate
python -m pip install -r projects/starters/l01/requirements.txt

Windows PowerShell

python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r projects/starters/l01/requirements.txt

If PowerShell reports running scripts is disabled on this system when activating the environment, run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned in PowerShell and then retry activation. This changes the policy for your Windows user; review the prompt and your organization's security rules before accepting.

Debug the workspace before the model

When a command fails, find the earliest broken boundary instead of changing model code at random.

01LocationAre you at the repository root?
02PythonDoes the expected Python command work?
03EnvironmentIs the required virtual environment active?
04CodeOnly then debug the project logic.
Continue to project briefs →