← Back to all sparks
T

theseusplot

ANALYTICS
Velocity0.0

R package theseusplot by hoxo-m — release notes from GitHub.

A model-comparison waterfall plot trades defaults for defensible ones

data-visualizationmodel-comparisonggplot2r-packagewaterfall-charts
Current state
TheseusPlot visualises how a refitted model's score differs from a baseline, broken down by subgroup contribution, built on waterfalls and ggplot2. Two releases exist. The recent one changes user-facing defaults — group labels, decimal places, an xlab argument, removal of the automatic column-name subtitle — and fixes bar scaling and text sizing.
Where it's heading
This is an early package finding its presentation conventions. The default label change from Original and Refitted to Baseline and Comparison generalises the tool beyond the model-refit framing its name implies, and dropping decimals from three to one is a readability decision. The bug fixes in both releases mostly concern the second group inheriting the first group's data — bin boundaries in 0.2.0, size bar counts in both — which suggests the two-group code path was the shaky part and is now settled.
Prediction
With defaults and the two-group path stabilised, further work is more likely to be plot customisation arguments than new comparison logic — though two releases is thin evidence for any confident call.

Recent moves

  1. 2mo ago

    New axis label control and reworked plot defaults

    Adds an xlab argument, drops the automatic column-name subtitle, renames default groups from Original and Refitted to Baseline and Comparison, and reduces displayed decimals from three to one. Also fixes missing subgroup size bars against waterfalls 1.1.4 and makes bar scaling consistent between plot() and plot_flip().

    View source ↗
  2. 4mo ago

    Second-group data leakage in discretization and size bars fixed

    Fixes where the second group incorrectly used the first group's data — bin boundaries under rate-based discretization, and size bar counts — plus warning suppression. Externally reported, with no new capability.

    View source ↗