Tutorials
Step-by-step guides for learning joshpy.
Orchestration
Tutorials for running parameter sweeps and managing simulations.
Manual Workflow
Learn each component of joshpy by using them directly:
JobConfig,SweepConfig,SweepParameterfor configurationJobExpanderfor expanding parameter combinationsRunRegistryfor experiment trackingrun_sweep()for execution
Best for: Understanding how joshpy works under the hood.
SweepManager Workflow
Use the high-level SweepManager class that handles:
- Expansion, execution, and result collection
- Automatic registry management
- Context manager for cleanup
Best for: Production workflows where you want simplicity.
Analysis
Tutorials for exploring and visualizing results.
Analysis & Visualization
Explore and visualize simulation results:
- Data discovery with
registry.get_data_summary() - Diagnostic plots with
SimulationDiagnostics - Custom queries with
DiagnosticQueries - Direct SQL access to DuckDB
- R/ggplot2 integration for publication-quality figures
Best for: Understanding the analysis layer (works with any registry).
Prerequisites
All tutorials assume:
- joshpy is installed with all dependencies:
pip install joshpy[all] - Josh JAR is available (auto-downloaded if needed)
- Java 17+ is installed
Recommended Order
- First: Manual Workflow - understand the components
- Then: SweepManager - see the simplified workflow
- Finally: Analysis - learn visualization patterns