Skip to content

Breaking API changes from the big refactor ship without migration guide; empty stub files left behind #170

Open

Description

@f1i3g3

Problem

The refactor merged via #163/#160 changed the public API substantially, but there is no CHANGELOG / MIGRATION / release-notes material in the repo:

  • Statistic constructors now require ParameterValues from an explicit parameterization (e.g. Distribution.DEFAULT.parse({...})); previously parameterless/dict-style construction worked.
  • GoodnessOfFitHypothesis now takes a single argument (flagged during review of Feature/refactor #160).
  • The old classmethod API of multiple_testing was removed in favour of the typed Holm().test(PValues(p), alpha=...) style.
  • Old import paths are gone: persistence/sqlalchemy/datastorage.py and persistence/models/base.py remain in the tree as 0-byte files, so stale imports fail with a bare ImportError instead of a helpful deprecation message.
  • Flat modules like statistics/goodness_of_fit/normal.py were replaced by statistics/goodness_of_fit/continuous/<family>/.

Downstream users upgrading will hit ImportError/TypeError with no guidance.

Suggestion

  • Add a MIGRATION.md (or a docs section) with before/after snippets for the top entry points.
  • Either delete the empty stub files or turn them into explicit DeprecationWarning shims that re-export from the new locations.
  • Publish the migration notes with the next release (the version is git-tag driven via poetry-dynamic-versioning, so a tagged release will pick them up automatically).

Activity

  1. added
    documentation
    enhancement
    python
    testing
    on Nov 23, 2026
  2. added theissue type on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.1.0documentationenhancementpythontesting

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions