Skip to content

v0.1.5 — robustness + audit-5 cleanup

Choose a tag to compare

@jturner-uofl jturner-uofl released this 26 May 17:34
· 37 commits to main since this release

[0.1.5] — 2026-05-26

Fixed

  • regrid_response(em) on a Gaussian-identity GLM is now a
    no-op (was: raised ValueError: No transform recognised). The
    identity-link path now resolves to make_tran("identity")
    instead of routing through detect_transform("y"), which only
    recognises function-call shapes. Matches R emmeans::regrid
    on glm(y ~ x, family=gaussian()).
  • Cox PH baseline-unidentified warning now also detects the
    Cox model when it appears as info.raw_result.model.__class__,
    not only as info.raw_result.__class__. Wrapped result objects
    (e.g. MI-pooled, custom proxies) now trigger the warning as
    intended. Plain PHRegResults behaviour is unchanged.
  • Three tests now pass under pytest -W error (strict CI):
    test_response_for_ols_is_noop, test_response_scale_binomial_in_unit_interval,
    and test_pbmodcomp_bootstrap_more_conservative_in_small_sample
    each carry a @pytest.mark.filterwarnings(...) decorator for
    the warning the test legitimately expects.
  • qdrg("~ x", ...) (R-style RHS-only formula with leading
    tilde) is now accepted alongside the existing "x" and
    "y ~ x" forms.

Fixed (documentation)

  • README banner version: (v0.1.3)(v0.1.5) (banner was
    unchanged across 0.1.3 → 0.1.4 → 0.1.5).
  • docs/index.md and docs/PERFORMANCE_REPORT.md version stamps
    synced to 0.1.5.
  • README and docs/r_parity_matrix.md test count: 312313
    (measured with the [parallel,plot,tutorial] extras installed,
    which include the optional linearmodels / joblib tests).
  • docs/PERFORMANCE_REPORT.md speedup arithmetic corrected on
    four rows: 13.7x → 11.5x (n=1000), 8.1x → 7.5x (n=10000 and
    n=100000), 7.6x → 7.7x (n=500000). Underlying timings
    unchanged; the displayed ratios now match R_time / pymmeans_time
    exactly.