Commit Graph

7 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
2a6e8c4f9a Clean up modules 04, 05, and 06 by removing unnecessary demonstration functions
- Remove demonstrate_complex_computation_graph() function from Module 05 (autograd)
- Remove demonstrate_optimizer_integration() function from Module 06 (optimizers)
- Module 04 (losses) had no demonstration functions to remove
- Keep all core implementations and unit test functions intact
- Keep final test_module() function for integration testing
- All module tests continue to pass after cleanup(https://claude.ai/code)
2025-09-30 08:09:29 -04:00
Vijay Janapa Reddi
e07fda069d Fix module issues and create minimal MNIST training examples
- Fixed module 03_layers Tensor/Parameter comparison issues
- Fixed module 05_autograd psutil dependency (made optional)
- Removed duplicate 04_networks module
- Created losses.py with MSELoss and CrossEntropyLoss
- Created minimal MNIST training examples
- All 20 modules now pass individual tests

Note: Gradient flow still needs work for full training capability
2025-09-29 10:20:33 -04:00
Vijay Janapa Reddi
92a9c7b0d9 Remove obsolete agent files: Consolidated into new specialized agents 2025-09-28 14:56:15 -04:00
Vijay Janapa Reddi
a4b806156e Improve module-developer guidelines and fix all module issues
- Added progressive complexity guidelines (Foundation/Intermediate/Advanced)
- Added measurement function consolidation to prevent information overload
- Fixed all diagnostic issues in losses_dev.py
- Fixed markdown formatting across all modules
- Consolidated redundant analysis functions in foundation modules
- Fixed syntax errors and unused variables
- Ensured all educational content is in proper markdown cells for Jupyter
2025-09-28 09:42:25 -04:00
Vijay Janapa Reddi
9f7248d3d7 Fix import paths: Update all modules to use new numbering
IMPORT PATH FIXES: All modules now reference correct directories

Fixed Paths:
 02_tensor → 01_tensor (in all modules)
 03_activations → 02_activations (in all modules)
 04_layers → 03_layers (in all modules)
 05_losses → 04_losses (in all modules)
 Added comprehensive fallback imports for 07_training

Module Test Status:
 01_tensor, 02_activations, 03_layers: All tests pass
 06_optimizers, 08_spatial: All tests pass
🔧 04_losses: Syntax error (markdown in Python)
🔧 05_autograd: Test assertion failure
🔧 07_training: Import paths fixed, ready for retest

All import dependencies now correctly reference reorganized module structure.
2025-09-28 08:07:44 -04:00
Vijay Janapa Reddi
8824a0a5fc Implement clean start/resume/complete workflow - no overlaps!
PERFECT WORKFLOW: Clean lifecycle commands with distinct purposes

New Commands (No Overlaps):
 tito module start 01      → Start working on module (first time only)
 tito module resume 01     → Resume working on module (continue work)
 tito module complete 01   → Complete module (test + export)
 tito module status        → Show progress with 3 states

Smart Features:
 State tracking:  not started → 🚀 in progress →  completed
 Smart validation: start checks if already started, suggests resume
 Smart defaults: resume/complete work without module number
 Progress persistence: JSON file tracks started/completed modules
 Clear guidance: Always shows next logical step

User Journey:
1. tito setup                → Environment setup
2. tito module start 01     → Begin tensors (marks as started)
3. Work in Jupyter, save    → Natural development
4. tito module complete 01  → Test, export, mark completed
5. tito module start 02     → Begin activations
6. tito module resume 02    → Continue activations later

No command overlaps - each has distinct purpose and clear mental model!
2025-09-28 07:58:06 -04:00
Vijay Janapa Reddi
7d47037655 Implement natural module workflow: tito module 01 → work → tito module complete 01
MAJOR UX IMPROVEMENT: Natural workflow that matches mental model

New Commands:
- tito module 01              → Opens Module 01 in Jupyter Lab
- tito module complete 01     → Tests, exports, updates progress
- tito module status          → Shows completion progress with visual indicators

Key Features:
 Natural language commands (tito module 01 vs tito module view 01_tensor)
 Integrated testing workflow (complete command runs tests before export)
 Progress tracking (JSON file tracks completed modules)
 Next steps guidance (shows what to do next)
 Rich visual feedback (progress bars, status indicators)

User Journey:
1. tito setup                 → First-time environment setup
2. tito module 01            → Open and work in Jupyter
3. Save work in Jupyter      → Ctrl+S
4. tito module complete 01   → Test, export, track progress
5. tito module 02            → Continue to next module

This matches the natural mental model: 'open module 01' → 'complete module 01'
2025-09-28 07:24:56 -04:00