# Frontier labs
Runnable companions to F01 and F19 (Part X of Foundations to Frontier). Python 3.13 standard library only.
```shcdfrontier_code
python-munittestdiscover-stests-p"test_*.py"-v# reference solutions
pythonverify_f01.py# numbers used in F01's worked examples
pythonverify_f19.py# numbers used in F19's worked examples```
Work the starters yourself, then test them instead of the reference:
```powershell$env:MANUAL_IMPL="starters"python-munittestdiscover-stests-p"test_*.py"-vRemove-ItemEnv:MANUAL_IMPL```
| Lab | File | What you implement |
|---|---|---|
| F01.L1 | `starters/control_lab.py` | `PID.update` with derivative-on-measurement and anti-windup |
| F01.L2 | `starters/control_lab.py` | `bicycle_step`, the kinematic car model |
| F01.L3 | `starters/control_lab.py` | `pure_pursuit_steer` |
| F19.L1 | `starters/perf_lab.py` | `critical_path` |
| F19.L2 | `starters/perf_lab.py` | `list_schedule` (greedy VLIW packing) |
| F19.L3 | `starters/perf_lab.py` | `search_batch_lockstep` (batched tree traversal) |
Run one chapter's tests with `python -m unittest tests.test_frontier -v` (F01) or `python -m unittest tests.test_perf -v` (F19).