# `mix slither.example`
[🔗](https://github.com/nshkrdotcom/slither/blob/v0.1.0/lib/mix/tasks/slither.example.ex#L1)

Run Slither examples showing why process isolation beats free-threaded Python.

Each example demonstrates a concurrency scenario that breaks under naive
free-threaded Python (PEP 703) but works correctly under Slither's
process-per-worker architecture.

## Usage

    mix slither.example                  # List available examples
    mix slither.example text_analysis    # Run a specific example
    mix slither.example --all            # Run all stdlib examples (1-3)
    mix slither.example --no-baseline    # Skip pure-Python baseline comparison

## Available Examples

    text_analysis   Shared accumulator races (Store + Pipe)       [stdlib]
    batch_stats     Fault-isolated parallel compute (Dispatch)    [stdlib]
    data_etl        Hot-reload under contention (Store + Pipe)    [stdlib]
    ml_scoring      Session-scoped state isolation (Pipe)         [scikit-learn]
    image_pipeline  Backpressure + memory safety (WeightedBatch)  [Pillow]

Examples marked [stdlib] require no Python packages beyond the standard library.
Examples with third-party deps are installed automatically via Snakepit/uv.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
