scenarioRunnerBoxPlot

fun ReportBuilder.scenarioRunnerBoxPlot(runner: ScenarioRunner, responseName: String, caption: String? = null, xAxisLabel: String? = null, yAxisLabel: String? = null)(source)

Appends a MultiBoxPlot comparing per-replication distributions of a single responseName across the executed scenarios in runner.

Each box represents one scenario, labelled by ksl.controls.experiments.Scenario.name, sourced from ScenarioRunner.observationsAsMap. Scenarios not yet executed or that produced no observations for responseName are omitted. Nothing is emitted when fewer than one scenario produced observations.

Axis labels default to "Scenario" (x) and responseName (y); override either via xAxisLabel / yAxisLabel.

Parameters

runner

the scenario runner

responseName

the response to visualise

caption

optional plot caption; defaults to "Cross-Scenario Distributions — <responseName>"

xAxisLabel

optional override for the x-axis label

yAxisLabel

optional override for the y-axis label