6 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
7f45d93613 Fix all test bugs and add notebook execution support to tito
Test Fixes (External pytest tests - all passing):
- Module 03: Reverted .weights for test helper classes
- Module 08: Fixed DataLoader data format (tuple → list(zip()))
- Module 10: Use CharTokenizer instead of abstract Tokenizer
- Module 15: Fixed KVCache constructor args and seq_len
- Module 19: Fixed Benchmark constructor args

Tito CLI Improvements:
- Added module name resolver: "15" → "15_quantization"
- Added .ipynb file support in _get_dev_file_path()
- Added notebook-to-Python conversion using jupytext
- Inline tests now execute notebooks correctly

Results:
- External tests: 36/36 passing (100%)
- Tito inline tests: 15/20 passing (75%)
- Remaining failures are module code bugs, not test framework issues
2025-12-05 18:29:12 -08:00
Vijay Janapa Reddi
7bc4f6f835 Reorganize repository: rename docs/ to site/ for clarity
- Delete outdated site/ directory
- Rename docs/ → site/ to match original architecture intent
- Update all GitHub workflows to reference site/:
  - publish-live.yml: Update paths and build directory
  - publish-dev.yml: Update paths and build directory
  - build-pdf.yml: Update paths and artifact locations
- Update README.md:
  - Consolidate site/ documentation (website + PDF)
  - Update all docs/ links to site/
- Test successful: Local build works with all 40 pages

The site/ directory now clearly represents the course website
and documentation, making the repository structure more intuitive.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 16:31:51 -08:00
Vijay Janapa Reddi
52627950a3 Update progressive tests README and init 2025-12-04 11:09:31 -08:00
Vijay Janapa Reddi
4264699b5f Update test files with progressive integration and checkpoint improvements 2025-12-04 11:08:17 -08:00
Vijay Janapa Reddi
be8ac9f085 Refine Aha Moment demos and update progressive tests
Updates demo implementations across modules and enhances progressive test configuration for better educational flow.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 07:39:40 -08:00
Vijay Janapa Reddi
7d41bb125e Clean up naming conventions
- Remove top-level SimpleModel from modules 15 & 16 (keep in test functions)
- Rename QuantizationComplete → Quantizer (cleaner, matches Profiler pattern)
- Rename CompressionComplete → Compressor (same pattern)
- Rename benchmarking.benchmark → bench (shorter)
2025-12-02 22:05:50 -08:00