[BUG] remove `RecurrentNetwork` and `DecoderMLP` from `utils.__all__` #2424
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 166 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.306
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #2424"
general
weight: 0.35
phoeenniixx
LLM generated content, by Claude Opus 5
Reference Issues/PRs
None. Found by checking that every
__all__entry resolves.What does this implement/fix? Explain your changes.
pytorch_forecasting/utils/__init__.pylists"RecurrentNetwork"and"DecoderMLP"in__all__. Those are models (pytorch_forecasting.models.rnn/.mlp), andpytorch_forecasting.utilsdoesn't import them. It shouldn't, since the models themselves import fromutils. So a star-import fails:This PR removes the two stale entries (
+0/−2). The models are still importable frompytorch_forecasting/pytorch_forecasting.modelsas before.What should a reviewer concentrate their feedback on?
Nothing in particular. This only changes
__all__, and no runtime code changes.Did you add any tests for the change?
No new test. I checked it manually on
main:AttributeErrorabovefrom pytorch_forecasting.utils import *succeeds, and[n for n in __all__ if not hasattr(module, n)]is[]Any other comments?
AI-assisted, human reviewed.
🤖 Generated with Claude Code