100 Executable Examples
This section provides 100 executable cargo examples demonstrating alimentar's capabilities. Each example follows Toyota Production System principles for quality assurance.
Philosophy
- Heijunka (Leveling): Examples organized by complexity
- Jidoka (Automation with Human Touch): Graceful error handling
- Poka-Yoke (Error Prevention): Type-safe APIs
- Kaizen (Continuous Improvement): Feedback-driven refinement
Organization
| Section | Examples | Focus Area |
|---|---|---|
| A | 1-10 | Basic Loading (CSV, JSON, Parquet) |
| B | 11-20 | DataLoader & Batching |
| C | 21-30 | Streaming & Memory |
| D | 31-45 | Transforms Pipeline |
| E | 46-55 | Quality & Validation |
| F | 56-65 | Drift Detection |
| G | 66-75 | Federated & Splitting |
| H | 76-85 | HuggingFace Hub |
| I | 86-95 | CLI & REPL |
| J | 96-100 | Edge Cases & WASM |
Running Examples
# Generate test fixtures first
cargo run --bin generate_fixtures
# Run specific example
cargo test test_example_001_csv_loading
# Run all 100 examples tests
cargo test --test example_scenarios