Commit Graph

576 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
ef487937bd Standardize all module introductions and fix agent structure
Module Standardization:
- Applied consistent introduction format to all 17 modules
- Every module now has: Welcome, Learning Goals, Build→Use→Reflect, What You'll Achieve, Systems Reality Check
- Focused on systems thinking, performance, and production relevance
- Consistent 5 learning goals with systems/performance/scaling emphasis

Agent Structure Fixes:
- Recreated missing documentation-publisher.md agent
- Clear separation: Documentation Publisher (content) vs Educational ML Docs Architect (structure)
- All 10 agents now present and properly defined
- No overlapping responsibilities between agents

Improvements:
- Consistent Build→Use→Reflect pattern (not Understand or Analyze)
- What You'll Achieve section (not What You'll Learn)
- Systems Reality Check in every module
- Production context and performance insights emphasized
2025-09-18 14:16:58 -04:00
Vijay Janapa Reddi
1a8746e334 Clean up Module Developer agent - remove 5 C's references
- Removed optional 5 C's checkpoint section (unnecessary complexity)
- Fixed Build→Use→Reflect consistency (was mixing with Understand)
- Removed reference to MARKDOWN_BEST_PRACTICES.md (5 C's pattern)
- Updated anti-patterns to focus on standardized introduction format
- Improved test-immediately pattern with clearer requirements
- Simplified agent instructions for clarity and consistency
2025-09-18 14:05:39 -04:00
Vijay Janapa Reddi
e6e79d3b09 Fix: Restore educational-ml-docs-architect filename
- Renamed back from web-designer.md (accidental rename)
- Maintains proper agent naming convention
2025-09-18 14:02:15 -04:00
Vijay Janapa Reddi
248faa3cdf Simplify implementation pattern - remove heavy performance analysis
- Removed formal PERFORMANCE NOTE section (too academic)
- Integrated performance tips into HINTS when relevant
- Keep focus on practical implementation guidance
- Less intimidating for students while still teaching good practices
- Performance considerations only when they really matter
2025-09-18 14:01:51 -04:00
Vijay Janapa Reddi
34892f3a3b Enhance implementation pattern in Module Developer agent
- Added Args/Returns documentation for clarity
- Added PERFORMANCE NOTE section for complexity analysis
- Enhanced APPROACH with WHY explanations for each step
- Improved EXAMPLE with input/output and shape information
- Added memory considerations to HINTS
- Included validation pattern in solution template
- Focus on systems thinking and performance awareness
- Ensures students think about time/space complexity
2025-09-18 13:57:58 -04:00
Vijay Janapa Reddi
6443beda67 Add standardized module introduction template to agents
- Created consistent module introduction format
- Updated Module Developer agent with mandatory template
- Updated Documentation Publisher agent with same template
- Ensures all modules follow same structure:
  - Welcome statement
  - 5 Learning Goals (systems-focused)
  - Build → Use → Reflect pattern
  - What You'll Achieve section
  - Systems Reality Check section
- Focus on systems thinking, performance, and production relevance
2025-09-18 13:55:45 -04:00
Vijay Janapa Reddi
245e27912d Clean up documentation formatting
- Remove bold formatting from all markdown headers
- Remove 'NEW:' tags from README to keep it clean
- Maintain professional academic appearance
2025-09-18 13:36:06 -04:00
Vijay Janapa Reddi
e7aaf78ae6 Fix module dependency diagram and add mermaid support
- Corrected module dependencies based on actual YAML files
- Fixed diagram to show accurate prerequisite relationships:
  - Tensor directly enables both Activations and Autograd
  - DataLoader depends directly on Tensor (not through Spatial)
  - Training depends on Dense, Spatial, Attention, Optimizers, and DataLoader
  - TinyGPT depends on Attention, Optimizers, and Training
- Added sphinxcontrib-mermaid to requirements for diagram rendering
- Updated both intro.md and README.md with corrected diagrams
- Ensured mermaid extension is configured in _config.yml
2025-09-18 13:03:11 -04:00
Vijay Janapa Reddi
0101af004f Update README to reflect current repository state
- Add Harvard University badge and attribution
- Document professional academic design improvements
- Update quick start with virtual environment setup
- Add Jupyter Book website information
- Include instructor grading workflow with NBGrader
- Add prerequisites and learning resources section
- Update contributing and support information
- Add citation format for academic use
- Reflect 95% component reuse for TinyGPT
- Clean title format (TinyTorch with fire emoji)
2025-09-18 11:50:19 -04:00
Vijay Janapa Reddi
9fc524f5a4 Fix spacing, add links, and improve content structure
- Tighten line spacing from 1.8 to 1.6 for better readability
- Reduce header margins for more compact appearance
- Add educational links (Binder, Colab) with proper URLs
- Fix time duplication in badges (use difficulty stars instead)
- Simplify setup module content for better clarity
- Improve content hierarchy with proper nesting
- Professional ML Engineering Skills section now properly organizes steps
- Consistent badge formatting across all modules
- More compact and professional appearance overall
2025-09-18 10:47:32 -04:00
Vijay Janapa Reddi
5e4df64a5f Enhance typography with Inter and JetBrains Mono fonts
- Replace Source Sans/Serif Pro with Inter for better screen readability
- Add JetBrains Mono for superior code display
- Increase body font size from 16px to 17px for better readability
- Optimize line height to 1.8 for comfortable reading
- Add proper font weights and letter spacing hierarchy
- Improve color contrast for accessibility
- Add CSS custom properties for maintainable design tokens
- Enhanced focus states and text selection
- Professional academic typography matching top educational platforms
2025-09-18 10:18:33 -04:00
Vijay Janapa Reddi
8aaf4b06b0 Transform to professional academic design
- Remove excessive emojis while maintaining strategic usage
- Update CSS with academic typography (Source Sans Pro, Source Serif Pro)
- Professional color scheme with academic blues (#2c3e50, #3498db)
- Clean navigation without emoji decorations
- Enhanced visual hierarchy with professional spacing
- University-level styling consistent with Harvard standards
- Maintained pedagogical effectiveness and engagement
- Improved readability with clean, accessible design
- Professional tone throughout all content
- Academic credibility without sacrificing approachability
2025-09-18 10:08:52 -04:00
Vijay Janapa Reddi
cadee60137 Move logo to correct book directory location 2025-09-18 09:49:28 -04:00
Vijay Janapa Reddi
2261f56b6b Improve Jupyter Book styling and configuration
- Replace ugly gray background with clean white theme
- Add proper logo styling and configuration
- Update book chapters from module READMEs
- Add educational-ml-docs-architect agent
- Clean up custom CSS for better readability
- Configure logo.png in correct location
- Update tito book command with proper chapters
2025-09-18 09:48:01 -04:00
Vijay Janapa Reddi
c3fa592a5e Prepare for v0.1 release
Documentation:
• Add comprehensive student quickstart guide
• Create instructor guide with grading workflow
• Update README with v0.1 features and capabilities
• Document interactive ML Systems questions
• Add tito grade command documentation

Cleanup:
• Remove __pycache__ directories (1073 removed)
• Clean .ipynb_checkpoints
• Remove experimental Python files
• Clean up temporary files (.pyc, .DS_Store)

Features in v0.1:
• 17 educational modules from tensors to transformers
• Interactive ML Systems thinking questions (NBGrader)
• TinyGPT demonstrating 70% framework reuse
• 16-checkpoint capability progression system
• Simplified tito CLI wrapping all functionality
• Complete instructor grading workflow

Ready for v0.1 release tag.
2025-09-17 19:29:16 -04:00
Vijay Janapa Reddi
8a101cf52d Add tito grade command for simplified NBGrader interface
Implement comprehensive grading workflow wrapped behind tito CLI:
• tito grade setup - Initialize NBGrader course structure
• tito grade generate - Create instructor version with solutions
• tito grade release - Create student version without solutions
• tito grade collect - Collect student submissions
• tito grade autograde - Automatically grade submissions
• tito grade manual - Open manual grading interface
• tito grade feedback - Generate student feedback
• tito grade export - Export grades to CSV

This allows users to only learn tito commands without needing to
understand NBGrader's complex interface. All grading functionality
is accessible through simple, consistent tito commands.
2025-09-17 19:22:02 -04:00
Vijay Janapa Reddi
0c24d77a86 Fix module structure ordering across all modules
Standardize module structure to ensure correct section ordering:
- if __name__ block → ML Systems Thinking → Module Summary (always last)

Fixed 10 modules with incorrect ordering:
• 02_tensor, 04_layers, 05_dense, 06_spatial
• 08_dataloader, 09_autograd, 10_optimizers, 11_training
• 12_compression (consolidated 3 scattered if blocks)
• 15_mlops (consolidated 6 scattered if blocks)

All 17 modules now follow consistent structure:
1. Content and implementations
2. Main execution block (if __name__)
3. ML Systems Thinking Questions
4. Module Summary (always last section)

Updated CLAUDE.md with explicit ordering requirements to prevent future issues.
2025-09-17 17:33:09 -04:00
Vijay Janapa Reddi
e08dcacc5c Fix spatial module section ordering
- Move ML Systems Thinking sections before Module Summary
- Ensure Module Summary is final section for consistency
- Complete standardization of all module structures

All modules now follow correct pattern:
[Content] → ML Systems Thinking → Module Summary
2025-09-17 14:56:18 -04:00
Vijay Janapa Reddi
d04d66a716 Implement interactive ML Systems questions and standardize module structure
Major Educational Framework Enhancements:
• Deploy interactive NBGrader text response questions across ALL modules
• Replace passive question lists with active 150-300 word student responses
• Enable comprehensive ML Systems learning assessment and grading

TinyGPT Integration (Module 16):
• Complete TinyGPT implementation showing 70% component reuse from TinyTorch
• Demonstrates vision-to-language framework generalization principles
• Full transformer architecture with attention, tokenization, and generation
• Shakespeare demo showing autoregressive text generation capabilities

Module Structure Standardization:
• Fix section ordering across all modules: Tests → Questions → Summary
• Ensure Module Summary is always the final section for consistency
• Standardize comprehensive testing patterns before educational content

Interactive Question Implementation:
• 3 focused questions per module replacing 10-15 passive questions
• NBGrader integration with manual grading workflow for text responses
• Questions target ML Systems thinking: scaling, deployment, optimization
• Cumulative knowledge building across the 16-module progression

Technical Infrastructure:
• TPM agent for coordinated multi-agent development workflows
• Enhanced documentation with pedagogical design principles
• Updated book structure to include TinyGPT as capstone demonstration
• Comprehensive QA validation of all module structures

Framework Design Insights:
• Mathematical unity: Dense layers power both vision and language models
• Attention as key innovation for sequential relationship modeling
• Production-ready patterns: training loops, optimization, evaluation
• System-level thinking: memory, performance, scaling considerations

Educational Impact:
• Transform passive learning to active engagement through written responses
• Enable instructors to assess deep ML Systems understanding
• Provide clear progression from foundations to complete language models
• Demonstrate real-world framework design principles and trade-offs
2025-09-17 14:42:24 -04:00
Vijay Janapa Reddi
c2ee7c6fe6 Restore TinyGPT implementation files after stash merge
- Move TinyGPT files to correct directory structure
- Resolve merge conflicts from stash restoration
- TinyGPT now implements attention and transformer models using TinyTorch foundation
2025-09-17 09:43:19 -04:00
Vijay Janapa Reddi
6d16e60f21 Position TinyTorch as standalone ML Systems course with systems-first approach
* Update README.md to lead with ML Systems value proposition
  - Lead with "Build ML Systems From First Principles"
  - Emphasize systems understanding through implementation
  - Add learning path progression to TinyGPT
  - Make MLSys book connection secondary/optional
  - Focus on memory analysis, compute patterns, bottlenecks

* Update CLAUDE.md agent instructions for ML Systems focus
  - Module Developer: Must include ML Systems analysis in every module
  - Documentation Publisher: Must add systems insights sections
  - QA Agent: Must test performance characteristics, not just correctness
  - Add principle: "Every module teaches systems thinking through implementation"
  - Require memory profiling, complexity analysis, scaling behavior
  - Mandate production context and hardware implications

* Key positioning changes:
  - TinyTorch = ML SYSTEMS course, not just ML algorithms
  - Understanding comes through building complete systems
  - Every implementation teaches memory, performance, scaling
  - Bridge academic rigor with production engineering reality

This repositions TinyTorch as the definitive hands-on ML Systems engineering course.
2025-09-17 09:41:21 -04:00
Vijay Janapa Reddi
9ab3b7a5b6 Document north star CIFAR-10 training capabilities
- Add comprehensive README section showcasing 75% accuracy goal
- Update dataloader module README with CIFAR-10 support details
- Update training module README with checkpointing features
- Create complete CIFAR-10 training guide for students
- Document all north star implementations in CLAUDE.md

Students can now train real CNNs on CIFAR-10 using 100% TinyTorch code.
2025-09-17 00:43:19 -04:00
Vijay Janapa Reddi
17a4701756 Complete north star validation and demo pipeline
- Export all modules with CIFAR-10 and checkpointing enhancements
- Create demo_cifar10_training.py showing complete pipeline
- Fix module issues preventing clean imports
- Validate all components work together
- Confirm students can achieve 75% CIFAR-10 accuracy goal

Pipeline validated:
 CIFAR-10 dataset downloading
 Model creation and training
 Checkpointing for best models
 Evaluation tools
 Complete end-to-end workflow
2025-09-17 00:32:13 -04:00
Vijay Janapa Reddi
edbe2e8e2b Merge north star enhancements for CIFAR-10 goal
Adds minimal but essential functionality to achieve semester goal:
- Real dataset downloading (CIFAR-10)
- Model checkpointing during training
- Basic evaluation tools
- Training history tracking

Students can now train CNNs on real data and reach 75% accuracy
2025-09-17 00:15:19 -04:00
Vijay Janapa Reddi
662c4cb4d5 Add minimal enhancements for CIFAR-10 north star goal
Enhancements for achieving 75% accuracy on CIFAR-10:

Module 08 (DataLoader):
- Add download_cifar10() function for real dataset downloading
- Implement CIFAR10Dataset class for loading real CV data
- Simple implementation focused on educational value

Module 11 (Training):
- Add model checkpointing (save_checkpoint/load_checkpoint)
- Enhanced fit() with save_best parameter
- Add evaluation tools: compute_confusion_matrix, evaluate_model
- Add plot_training_history for tracking progress

These minimal changes enable students to:
1. Download and load real CIFAR-10 data
2. Train CNNs with checkpointing
3. Evaluate model performance
4. Achieve our north star goal of 75% accuracy
2025-09-17 00:15:13 -04:00
Vijay Janapa Reddi
074fbc70ec Comprehensive TinyTorch framework evaluation and analysis
Assessment Results:
- 75% real implementation vs 25% educational scaffolding
- Working end-to-end training on CIFAR-10 dataset
- Comprehensive architecture coverage (MLPs, CNNs, Attention)
- Production-oriented features (MLOps, profiling, compression)
- Professional development workflow with CLI tools

Key Findings:
- Students build functional ML framework from scratch
- Real datasets and meaningful evaluation capabilities
- Progressive complexity through 16-module structure
- Systems engineering principles throughout
- Ready for serious ML systems education

Gaps Identified:
- GPU acceleration and distributed training
- Advanced optimizers and model serialization
- Some memory optimization opportunities

Recommendation: Excellent foundation for ML systems engineering education
2025-09-16 22:41:07 -04:00
Vijay Janapa Reddi
fb689ac4fb Update documentation with agent workflow and checkpoint system
Documentation updates:
- Enhanced CLAUDE.md with checkpoint implementation case study
- Updated README.md with checkpoint achievement system
- Expanded checkpoint-system.md with CLI documentation
- Added comprehensive agent workflow case study

Agent workflow documented:
- Module Developer implemented checkpoint tests and CLI integration
- QA Agent tested all 16 checkpoints and integration systems
- Package Manager created module-level integration testing
- Documentation Publisher updated all guides and references
- Workflow Coordinator orchestrated successful agent collaboration

Features documented:
- 16-checkpoint capability assessment system
- Rich CLI progress tracking with visual timelines
- Two-tier validation (integration + capability tests)
- Module completion workflow with automatic testing
- Complete agent coordination success pattern
2025-09-16 21:37:52 -04:00
Vijay Janapa Reddi
e0998417ca Implement Package Manager integration testing system
Features:
- Module-level integration tests for immediate validation
- Two-tier validation: integration tests + checkpoint tests
- Quick package validation after every module completion
- Comprehensive integration test suite for all modules
- Package Manager coordination and test running

Two-Tier System:
1. Integration Test (Package Manager) - "Module works in package"
   - Quick validation (< 1 second)
   - Import validation and basic functionality
   - No conflicts with other modules

2. Checkpoint Test (existing) - "Complete capability unlocked"
   - Comprehensive validation (2-10 seconds)
   - End-to-end workflows and multi-module capabilities
   - Major milestone achievements

CLI Workflow:
- tito module complete 02_tensor
- → Export + Integration test + Checkpoint test
- → Two-tier results with different messaging
- → Immediate feedback + capability celebrations

Integration:
- 15 module integration tests covering complete course
- Package health validation and dependency checking
- Clean separation from checkpoint capability testing
- Professional Package Manager workflow
2025-09-16 21:32:08 -04:00
Vijay Janapa Reddi
99af6bd094 Add automatic post-module integration testing workflow
Features:
- New `tito module complete <module>` command for full workflow
- Enhanced `tito export --test-checkpoint` for optional testing
- Automatic checkpoint tests after successful module exports
- Module-to-checkpoint mapping for 16 checkpoints
- Progress celebration and next step guidance
- Clear error handling and recovery guidance

Workflow:
- Student completes module → runs tito module complete
- System exports module → runs integration test → shows progress
- Immediate feedback on capability advancement
- Smart suggestions for next learning steps

Integration:
- Maps each module to corresponding checkpoint capability
- Provides Rich CLI celebration when checkpoints achieved
- Seamless integration with existing checkpoint system
- Maintains backward compatibility with existing commands
2025-09-16 21:15:03 -04:00
Vijay Janapa Reddi
b4b920c64d Implement comprehensive checkpoint system with CLI integration
Features:
- 16 checkpoint test suite validating ML systems capabilities
- Integration tests covering complete learning progression
- Rich CLI progress tracking with visual timelines
- Capability-driven assessment from environment to production

Checkpoints:
- Environment setup through full ML system deployment
- Each checkpoint validates integrated functionality
- Progressive capability building with clear success criteria
- Professional CLI interface with status/timeline/test commands
2025-09-16 21:02:11 -04:00
Vijay Janapa Reddi
719507bb8f Standardize NBGrader formatting and fix test execution patterns across all modules
This comprehensive update ensures all TinyTorch modules follow consistent NBGrader
formatting guidelines and proper Python module structure:

- Fix test execution patterns: All test calls now wrapped in if __name__ == "__main__" blocks
- Add ML Systems Thinking Questions to modules missing them
- Standardize NBGrader formatting (BEGIN/END SOLUTION blocks, STEP-BY-STEP, etc.)
- Remove unused imports across all modules
- Fix syntax errors (apostrophes, special characters)
- Ensure modules can be imported without running tests

Affected modules: All 17 development modules (00-16)
Agent workflow: Module Developer → QA Agent → Package Manager coordination
Testing: Comprehensive QA validation completed
2025-09-16 19:48:54 -04:00
Vijay Janapa Reddi
6349c218d2 Standardize all modules to follow NBGrader style guide
- Updated 7 non-compliant modules for consistency
- Module 01_setup: Added EXAMPLE USAGE sections with code examples
- Module 02_tensor: Added STEP-BY-STEP IMPLEMENTATION and LEARNING CONNECTIONS
- Module 05_dense: Added LEARNING CONNECTIONS to all functions
- Module 06_spatial: Added STEP-BY-STEP and LEARNING CONNECTIONS
- Module 08_dataloader: Added LEARNING CONNECTIONS sections
- Module 11_training: Added STEP-BY-STEP and LEARNING CONNECTIONS
- Module 14_benchmarking: Added STEP-BY-STEP and LEARNING CONNECTIONS
- All modules now follow consistent format per NBGRADER_STYLE_GUIDE.md
- Preserved all existing solution blocks and functionality
2025-09-16 16:48:14 -04:00
Vijay Janapa Reddi
0a0197b72c Add NBGrader style guide and compliance checker
- Created comprehensive NBGRADER_STYLE_GUIDE.md with standard format
- Defined required sections: TODO, STEP-BY-STEP, EXAMPLE USAGE, HINTS, CONNECTIONS
- Added check_compliance.py script to audit all modules
- Identified 8/17 modules fully compliant, 9 need updates
- Established clear quality standards for educational content
2025-09-16 16:03:42 -04:00
Vijay Janapa Reddi
2130d8fc38 Add comprehensive checkpoint integration testing
- Created test_checkpoint_integration.py to validate all checkpoint achievements
- Tests verify module existence, package exports, and capabilities
- Validates progressive learning journey from Foundation to Serving
- Ensures each checkpoint delivers its promised ML systems capability
- Confirmed all production modules (12, 13, 15) are fully functional with solutions
2025-09-16 14:10:07 -04:00
Vijay Janapa Reddi
16c13a8fa4 Rename milestone to checkpoint system with enhanced Rich CLI visualizations
Major changes:
- Renamed entire system from "milestone" to "checkpoint" for academic framing
- Checkpoints are now positioned as academic progress markers in learning journey
- Implemented enhanced Rich CLI timeline with progress bars and connecting lines
- Added overall progress tracking (16/16 modules = 100%)

Enhanced timeline visualization:
- Horizontal view shows progress bar with filled/unfilled segments
- Visual connecting lines between checkpoints showing completion status
- Color-coded progress: green (complete), yellow (in-progress), dim (future)
- Percentage indicators for each checkpoint and overall progress

CLI improvements:
- `tito checkpoint status` - Shows overall and per-checkpoint progress
- `tito checkpoint timeline --horizontal` - Rich visual progress line
- `tito checkpoint timeline` - Vertical tree view with module details
- Better progress indicators with filled bars and connecting lines

Documentation updates:
- Renamed milestone-system.md to checkpoint-system.md
- Updated all references from milestone to checkpoint terminology
- Emphasized academic checkpoint philosophy and progress markers
- Added descriptions of new Rich CLI visualizations

Benefits:
- More academic framing aligns with educational context
- Visual progress bars provide immediate feedback on learning journey
- Checkpoint terminology is more familiar to students
- Rich CLI visualizations make progress tracking engaging
2025-09-16 13:27:43 -04:00
Vijay Janapa Reddi
449ff36e41 Implement comprehensive milestone system for capability-driven learning
Features implemented:
- Complete milestone tracking system with Foundation → Architecture → Training → Inference → Serving progression
- Rich CLI visualization with status, timeline (horizontal/vertical), and progress tracking
- Ticker-based granular progress within each milestone showing module completion
- Comprehensive documentation explaining the pedagogical approach and system benefits
- Integration with existing tito CLI infrastructure and module detection

Key capabilities:
- `tito milestone status` - shows current progress and capabilities unlocked
- `tito milestone timeline` - visual progress timeline with multiple views
- `tito milestone test/unlock` - placeholder for future capability testing
- Automatic module detection and progress calculation
- Clear capability statements for each milestone achievement

Benefits:
- Transforms learning from "completing modules" to "building capabilities"
- Provides clear motivation through visual progress and capability unlocks
- Aligns with real ML engineering workflow: Foundation → Architecture → Training → Inference → Serving
- Gives students concrete sense of progress toward complete ML framework
2025-09-16 13:15:13 -04:00
Vijay Janapa Reddi
ea9ab1066a Restructure course to start with hands-on Module 0: Setup
- Moved Introduction to "Course Orientation" section (no longer Module 0)
- Renumbered all modules: Setup becomes Module 0, course now has 16 modules
- Updated table of contents to separate orientation from formal course modules
- Updated intro.md and vision.md to reflect 16 modules instead of 17
- Course now starts immediately with hands-on implementation (Setup)
- Maintains Build→Use→Reflect philosophy by removing non-implementation module
- Introduction remains accessible as orientation material without being numbered module
2025-09-16 10:12:33 -04:00
Vijay Janapa Reddi
3db221f1e7 Enhance TinyTorch vision communication on website
- Enhanced book/intro.md with comprehensive ML systems vision sections including "Our Vision", "Systems-First Thinking", "Beyond Code: Systems Intuition", and expanded "Who This Is For"
- Created book/vision.md with complete educational philosophy explaining the problem TinyTorch solves, systems thinking approach, target audience, and learning outcomes
- Updated book/_toc.yml to include vision document in Additional Resources section
- Content emphasizes training ML systems engineers vs ML users, focusing on memory management, performance analysis, and production trade-offs
- Maintains existing structure for NBGrader compatibility while clearly communicating educational vision to students
2025-09-16 09:57:12 -04:00
Vijay Janapa Reddi
5e9e0b9817 Document current ML systems integration status in CLAUDE.md
- Add comprehensive ML Systems Content Integration section
- Document that ML systems rationale is ALREADY integrated across modules
- List specific ML systems concepts covered in each module
- Reference all documentation resources (instructor guide, architecture diagrams)
- Clarify current status to prevent duplicate work

Key integration points documented:
- Memory analysis in optimizers (Adam 3× memory usage)
- Performance insights across training/spatial/attention modules
- System trade-offs and production contexts
- NBGrader integration with instructor workflow
- Comprehensive documentation with Mermaid diagrams
2025-09-16 09:44:38 -04:00
Vijay Janapa Reddi
48dfc4c820 Add example NBGrader assignments for 01_setup module
- Include source and release versions of 01_setup assignment
- Demonstrates working NBGrader workflow with real module
- Shows what instructors will get when running tito nbgrader generate/release
- Provides template for how assignments are structured

These are example outputs from testing NBGrader integration.
2025-09-16 08:42:11 -04:00
Vijay Janapa Reddi
01a9b5ebc3 Emphasize Module 0 as the starting point in README
- Update Quick Start to show clear 3-step progression: Setup → Module 0 → Module 1
- Restructure module listing to highlight "START HERE!" for Module 0
- Add explicit "Module Progression" showing 0 → 1-16 flow
- Expand Module 0 description with bullet points about what users will explore
- Make it crystal clear that everyone should begin with Module 0 (Introduction)

The introduction module provides crucial system understanding before diving into implementation,
ensuring users understand the architecture and dependencies before building.
2025-09-16 08:38:49 -04:00
Vijay Janapa Reddi
26375b830f Add introduction module to Jupyter Book and refactor classroom documentation
- Create comprehensive introduction module (00-introduction.md) for Jupyter Book
- Add visual system overview and architecture documentation
- Update TOC to include introduction as module 0 in Foundation section
- Refactor classroom-use.md to be high-level overview pointing to instructor guide
- Eliminate duplication between classroom-use and instructor guide
- Ensure all 17 modules (00-16) are properly documented

Features:
- Introduction module provides system overview and dependency visualizations
- Clear separation: classroom-use = overview, instructor-guide = detailed workflow
- Professional navigation structure with all modules properly ordered
- Cross-references between related documentation sections

Successfully built and tested with jupyter-book build.
2025-09-16 08:22:57 -04:00
Vijay Janapa Reddi
11c689ef58 Add comprehensive NBGrader documentation for instructors
- Create complete instructor guide with user journey from setup to course completion
- Cover all phases: setup, course prep, assignment management, grading workflow
- Include weekly routines, troubleshooting, and student guidance
- Add quick reference card for daily commands
- Update Jupyter Book TOC to include instructor documentation
- Update classroom-use guide to reference comprehensive documentation

Features documented:
- 30-minute initial setup process
- Weekly assignment workflow (generate -> release -> grade -> feedback)
- Batch operations for efficiency
- System monitoring and analytics
- End-to-semester procedures
- Student support guidelines
- Common troubleshooting scenarios

Provides complete user journey for instructors and TAs using NBGrader + TinyTorch.
2025-09-16 02:45:02 -04:00
Vijay Janapa Reddi
a3918e89e8 Clean up NBGrader configuration for TinyTorch
- Remove deprecated AssignApp configuration (use modern NBGrader APIs)
- Remove invalid configuration options that generate warnings
- Fix Exchange configuration (use CourseDirectory.course_id)
- Simplify config to essential settings for educational workflows
- Tested: generate, release, and validate functionality all working correctly
2025-09-16 02:36:57 -04:00
Vijay Janapa Reddi
a4e0a34922 Update gitignore for NBGrader and virtual environment
- Add .venv/ to gitignore for virtual environment files
- Add gradebook.db* to gitignore for NBGrader database files
- Add assignments/submitted/, assignments/autograded/, assignments/feedback/ to gitignore
- Keep assignments/source/ and assignments/release/ tracked for educational content
2025-09-16 02:34:10 -04:00
Vijay Janapa Reddi
11c56ba2dd Integrate NBGrader with TinyTorch and enhance status checking
- Fix NBGrader configuration to use proper assignments/ directory structure
- Update NBGrader commands to work with TinyTorch modules in modules/source/
- Initialize complete NBGrader workflow: generate -> release -> collect -> autograde
- Add virtual environment setup with all required dependencies (numpy, matplotlib, pytest, nbgrader, rich, networkx)
- Integrate comprehensive status checking into tito CLI hierarchy (tito/core/status_analyzer.py)
- Remove standalone status scripts - everything now unified under tito commands
- Provide end-to-end tested workflow for educational assignment management

Tested functionality:
- tito module status --comprehensive (full system health dashboard)
- tito nbgrader init/generate/release/status (complete assignment workflow)
- Virtual environment with proper dependency management
- Professional CLI architecture with no standalone scripts
2025-09-16 02:30:49 -04:00
Vijay Janapa Reddi
d1943b678a Update project documentation and workflow standards
- Add virtual environment requirements and standards to CLAUDE.md
- Update README.md with new 00_introduction module overview
- Include visual system architecture and dependency analysis features
- Document proper development environment setup requirements
- Add troubleshooting guidance for environment issues
2025-09-16 02:24:42 -04:00
Vijay Janapa Reddi
9116e4f256 Fix 00_introduction module technical requirements after agent review
- Add missing NBGrader metadata to markdown and code cells
- Implement conditional test execution with __name__ == "__main__"
- Ensure tests only run when module executed directly, not on import
- Maintain existing export directive (#| default_exp introduction)
- All agents approved: Education Architect, Module Developer, QA, Package Manager, Documentation Publisher
2025-09-16 02:24:27 -04:00
Vijay Janapa Reddi
b9863a9146 Integrate comprehensive status checker into tito CLI architecture
- Extract status analysis logic from standalone script into tito/core/status_analyzer.py
- Refactor tito/commands/status.py to support both basic and comprehensive modes
- Add --comprehensive flag for full system health dashboard
- Comprehensive analysis includes environment health, module compliance, and actionable insights
- Remove standalone tinytorch_status_checker.py script

Users can now run 'tito module status --comprehensive' for complete system analysis.
2025-09-16 02:12:32 -04:00
Vijay Janapa Reddi
869f862ba5 Add comprehensive 00_introduction module with system architecture overview
This introduces a complete visual overview system for TinyTorch that provides:

- Interactive dependency graph visualization of all 17 modules
- Comprehensive system architecture diagrams with layered components
- Automated learning roadmap generation with optimal module sequence
- Component analysis tools for understanding module complexity
- ML systems thinking questions connecting education to industry
- Export functions for programmatic access to framework metadata

The module serves as the entry point for new learners, providing complete
context for the TinyTorch learning journey and helping students understand
how all components work together to create a production ML framework.

Key features:
- TinyTorchAnalyzer class for automated module discovery and analysis
- NetworkX-based dependency graph construction and visualization
- Matplotlib-powered interactive diagrams and charts
- Comprehensive testing suite validating all functionality
- Integration with existing TinyTorch module workflow
2025-09-16 01:53:55 -04:00