← Back to Pull requests

[BUG] Remove unnecessary test_integration skip for PatchTST_v2 #2456

Closed
unknown closed this pull request without merging on Oct 09, 2026 11:35 UTC
View on GitHub
unknown unknown commented on Oct 08, 2026 18:17 UTC
Author

Description

Fixes #2455

PatchTST_v2 was excluded from test_integration via the tests:skip_by_name tag in _patch_tst_pkg_v2.py. This PR removes the skip so the test runs again.

Investigation

I set up the environment and ran the full v2 test suite for PatchTST_v2. The model passes all tests — there is no underlying bug; the skip (added in the original model commit dd46c99) was simply unnecessary:

pytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.py::TestAllPtForecastersV2::test_doctest_examples[PatchTST_v2] PASSED
pytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.py::TestAllPtForecastersV2::test_integration[PatchTST_v2-0] PASSED
pytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.py::TestAllPtForecastersV2::test_integration[PatchTST_v2-1] PASSED
pytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.py::TestAllPtForecastersV2::test_integration[PatchTST_v2-2] PASSED
pytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.py::TestAllPtForecastersV2::test_integration[PatchTST_v2-3] PASSED
pytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.py::TestAllPtForecastersV2::test_checkpointing[PatchTST_v2-0..3] PASSED
pytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.py::TestAllPtForecastersV2::test_predict_modes[PatchTST_v2-0..3] PASSED
pytorch_forecasting/tests/test_all_v2/test_all_estimators_v2.py::TestAllPtForecastersV2::test_pkg_linkage[PatchTST_v2-PatchTST_v2] PASSED

The tag is removed entirely (rather than set to an empty list), matching the convention of all other v2 packages, none of which carry tests:skip_by_name.

Changes

  • Removed "tests:skip_by_name": ["test_integration"] from PatchTST_pkg_v2._tags
  • Diff: 219 lines (+164 / -55) across 2 files Reviewer: phoeenniixx Review duration: 1037m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 219 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.323
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2456"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36.7% (MEDIUM) · Higher = larger blast radius
    36.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.5% · Safe to merge
    14.5%