rgpycrumbs.surrogate.plt_cases

Draw per-case oracle calls and wall time, one panel per benchmark board.

Added in version 1.12.0.

TABLE is a tidy CSV with one row per case: board, case, label, search_calls, validation_calls, pipeline_wall_s, certified and optionally reference_pipeline_wall_s and pipeline_wall_sd. The last column is the sample standard deviation of repeated runs; the wall figure draws it as a horizontal bar and writes it beside the time. Boards and rows keep the order of the file. --baseline FILE adds comparison methods from a long CSV board, case, method, calls, converged. Files are <prefix>-calls (stacked search and independent-validation bars, linear axis) and <prefix>-wall (log axis, a tick at the reference time):

rgpycrumbs surrogate plt-cases cases.csv -o figs/cases --font Jost --reference-label "earlier record"

Attributes

Functions

main(*, table, prefix, baseline, reference_label, fmt, ...)

Draw the per-case calls and wall-time figures of TABLE.

Module Contents

rgpycrumbs.surrogate.plt_cases.warn_on_direct_script_import = None[source]
rgpycrumbs.surrogate.plt_cases.main(*, table, prefix, baseline, reference_label, fmt, dpi, font_dirs, font, legend_fontsize)[source]

Draw the per-case calls and wall-time figures of TABLE.