[ENH] Add minimal default vignette test in TestAllPtForecastersV2 and fix SCINet default num_levels #2560
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 186 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.313
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2560"
general
weight: 0.35
phoeenniixx
Reference Issues/PRs
Fixes #2469. See also #2434.
What does this implement/fix? Explain your changes.
TestAllPtForecastersV2.test_minimal_vignetteinpytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.py, instantiating each v2 forecaster with all default model and datamodule parameters, runningfitandpredicton a minimalTimeSeries, and checking the returned predictionTimeSeries.num_levelsinSCINetForecasterandSCINet_v2from3to1so2 ** num_levelsdivides the default datamodulecontext_lengthof30instead of raising aValueErroron default initialization.What should a reviewer concentrate their feedback on?
SCINet_v2andSCINetForecasterdefaultnum_levelsto1is the preferred default over keeping3.Trainerbatch/epoch limits intest_minimal_vignetteare minimal enough for CI runtime while still verifying default model and datamodule compatibility.Did you add any tests for the change?
Yes, added
TestAllPtForecastersV2.test_minimal_vignetteinpytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.pyand verified all 15 v2 forecasters and allSCINet_v2suite tests pass locally.Any other comments?
No.
PR checklist