How-to guides

Short, focused recipes. Each one assumes you know the basics from the Tutorial and gets straight to the point.

Drive a model with recorded data

Replay a recorded log in a model, and handle running out of data.

Choose and check an input model

Choose, fit and check an input model before trusting it.

Compare scenarios fairly

Compare scenarios and input models with paired statistics.

Compare policies with polymorphic functions

Swap decision logic with polymorphic @cb.function methods and compare policies in one experiment.

Find the best parameters

Tune parameter values, size the search batches, and read the chosen solution’s independent estimate.

Draw your model

Draw a model’s structure and its process interactions.

Capture and plot histories

Keep raw histories and plot them.

Debug a failed trial

Find out why a trial failed, and reproduce it.

Write a custom input source

Write your own resampling or generative input source.

Run big experiments fast

Make big experiments fast and memory-friendly.