medsim
R package medsim by Data-Wise — release notes from GitHub.
medsim is turning simulation runs into auditable artifacts, not just fast ones.
◆Recent moves
- 6h ago
medsim 0.5.1 — fixed-branch ARIV
Adds an opt-in fixed-branch ARIV to the MBCO-MI estimator plus branch diagnostics, after a comparator pilot found that averaging per-imputation statistics each computed on its own winning branch under-estimates the ARIV when imputations disagree. The default stays on legacy behavior, so this reads as instrumentation first and a method change second. The accompanying fix stops the new diagnostic columns from tripping the collapse audit 0.5.0 introduced.
View source ↗ - 16d ago
medsim 0.5.0 — chunked-run integrity
⚡ SPARKThe release where medsim stops being only a runner and starts being a chain of custody: provenance headers on every chunk, one asserted code SHA across a run, and a pilot-subset positive control that re-checks seeding and environment. It also repairs the collapse audit, which previously could not see a fully collapsed estimate column.
View source ↗ - 1mo ago
seed= now honored in sequential fallback paths
Fixes a reproducibility bug where the seed= argument was ignored in the sequential fallback paths of medsim_run_parallel — exactly the path R CMD check and single-core machines take. Test coverage rose from 93.2% to 95.1%, concentrated on progress, plotting and workflow error branches.
View source ↗ - 2mo ago
Docs and dependency metadata synced to the 0.2.0 state
Documentation and metadata only — the notes state the installed package is identical to 0.2.0. Remotes: is trimmed to medfit alone, continuing the dependency pruning that started in 0.1.1.
View source ↗ - 2mo ago
Missing-data mediation: amputation, non-normal DGMs, D4-MBCO
⚡ SPARKThe release that gave medsim its missing-data line: rate-calibrated MCAR/MAR/MNAR amputation, Fleishman non-normal generators, and a D4-stacked MBCO estimator validated to reproduce mitml::testModels(method='D4') exactly. Everything the 0.5.x integrity work protects was defined here.
View source ↗ - 3mo ago
v0.1.1 — cleanup release
Pure hygiene ahead of CRAN: probmed and medrobust dropped from Suggests and Remotes because no medsim code referenced them, cache examples moved to tempdir(), and three broken README URLs fixed. No API changes.
View source ↗