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

SectionExamplesFocus Area
A1-10Basic Loading (CSV, JSON, Parquet)
B11-20DataLoader & Batching
C21-30Streaming & Memory
D31-45Transforms Pipeline
E46-55Quality & Validation
F56-65Drift Detection
G66-75Federated & Splitting
H76-85HuggingFace Hub
I86-95CLI & REPL
J96-100Edge 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