Module 6 — L4.2 Measurement, caching and benchmarks

The code as it stands at the end of this lesson, with the dataset it reads.
The code files are assembled from that lesson's own code blocks, so they
match what the lesson asks you to write. The dataset is the same one the
lesson uses.

Delete .classifier_cache.json before any timing run — a cache that skips the work will make your measurements look good for the wrong reason.

Set up, then run:

  python -m venv .venv
  source .venv/bin/activate      # Windows: .venv\Scripts\activate
  pip install -r requirements.txt
  AUTO_APPROVE=1 python pipeline.py
  # Windows PowerShell: $env:AUTO_APPROVE=1; python pipeline.py

You are not expected to download this to keep up. Type the code out if that
helps you learn it; take this if you would rather read and run it.
