← Back to Pull requests

[DOC] replace v2 package layer with forecaster layer #2520

Open
unknown opened this pull request with 187 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 15, 2026 11:01 UTC
Author

related to #2515

<!-- Add the relevant parent issue or Work Item 3 issue number here. -->

What does this implement/fix? Explain your changes.

This PR replaces the v2 Package Layer documentation with the new v2 Forecaster Layer documentation.

Changes:

  • Added forecaster_v2.rst documenting the Forecaster Layer.

  • Added an overview of BaseForecaster, including its fit() and predict() methods.

  • Documented the Forecaster training and prediction workflow.

  • Added an autosummary listing the available v2 Forecaster implementations.

  • Preserved the v2 beta warning.

  • Removed the obsolete pkg_v2.rst documentation page.

  • Updated references in api_v2.rst and pkg.rst to point to the new Forecaster documentation and avoid broken links.
  • Did you add any tests for the change?

    No automated tests were added because this PR only changes documentation.

    Documentation build verification was performed successfully:

    sphinx-build -b html -D master_doc=forecaster_v2 -D "exclude_patterns=tutorials/*.ipynb" docs/source docs/build/forecaster-check
    

    The build succeeded with 50 warnings.

    Any other comments?

    This PR is limited to Work Item 3. Documentation changes belonging to the other work items are intentionally left untouched.

    PR checklist

  • The PR title starts with [DOC].

  • Added/modified tests (not applicable; documentation-only change).

  • Used pre-commit hooks when committing to ensure that code is compliant with hooks.
  • Diff: 187 lines (+140 / -47) across 2 files Reviewer: phoeenniixx Review duration: 21932m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 187 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.313
    Real PR Conversation Timeline
    1 comments
    "Review active on #2520"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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: 35.8% (MEDIUM) · Higher = larger blast radius
    35.8%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 19.1% · Safe to merge
    19.1%