Conversation
PR SummaryLow Risk Overview The associated test is adjusted for the new model outputs: the target series is explicitly named, and assertions are updated to the new Written by Cursor Bugbot for commit b9262bb. This will update automatically on new commits. Configure here. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2315 +/- ##
=======================================
Coverage 93.05% 93.05%
=======================================
Files 78 78
Lines 12230 12230
=======================================
Hits 11381 11381
Misses 849 849 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
What's the argument for keeping/removing? If nobody uses it, sure |
|
Trying to fix CI in #2316 |
juanitorduz
left a comment
There was a problem hiding this comment.
I think we should promote these baselines more. So I would not remove it.
| from pymc_marketing.mmm.components.adstock import NoAdstock | ||
| from pymc_marketing.mmm.components.saturation import NoSaturation | ||
| from pymc_marketing.mmm.mmm import MMM | ||
| from pymc_marketing.mmm.multidimensional import MMM |
There was a problem hiding this comment.
Return type incompatible with publicly exported MMM class
High Severity
FancyLinearRegression now returns an instance of pymc_marketing.mmm.multidimensional.MMM, but the public API in pymc_marketing/mmm/__init__.py still exports MMM from pymc_marketing.mmm.mmm — a completely unrelated class with no shared inheritance. Users who from pymc_marketing.mmm import MMM, FancyLinearRegression will find that isinstance(FancyLinearRegression(...), MMM) returns False. The test masks this by importing MMM directly from multidimensional rather than using the public API.
Additional Locations (1)
There was a problem hiding this comment.
I think is ok, as we will work on the migration soon. Wdyt @williambdean ?
There was a problem hiding this comment.
yeah, that's fine.


Description
Migration ... but also open to removal...
Related Issue
Checklist
pre-commit.ci autofixto auto-fix.