Module Bonsai_bench_scenario.Scenario

type ('input, 'action) t = {
  1. initial : 'input;
  2. test_name : string;
  3. interaction : 'input Input.t -> 'action Interaction.t;
}

A Scenario.t is a useful pattern for specifying the inputs and interactions for a benchmark or interaction Computation_report test. It allows instantiating a Var.t for the test locally, so it gets GCed between runs.