← Back to Pull requests

docs(df): word the OOB R2 kernel comments for the merged code #4034

Closed
unknown closed this pull request without merging on Nov 17, 2026 15:12 UTC
View on GitHub
unknown unknown commented on Nov 17, 2026 15:00 UTC
Author

Description

Follow-up to #3910: the review comments posted after the merge. Comments only, no code change.

  • df_regression_train_dense_default_impl.i:101: wording of the one-pass mean and variance comment, as suggested.

  • :183: the short-path comment described the change ("as on main"); it now describes the code (icx compiles the two loop forms differently, so the scalar kernel starts from the first response).

  • :253: the weighted variance is "divided by totalWeights".

  • :1516: names the -1 in the per-observation OOB error for what it is; the DAAL documentation of outOfBagErrorPerObservation defines it as "no OOB value was computed because this observation was not in the OOB set of any tree".
  • ---

    <details>
    <summary>Checklist:</summary>

    Completeness and readability

  • I have commented my code, particularly in hard-to-understand areas.

  • I have updated the documentation to reflect the changes or created a separate PR with updates and provided its number in the description, if necessary.

  • Git commit message contains an appropriate signed-off-by string _(see CONTRIBUTING.md for details)_.

  • I have resolved any merge conflicts that might occur with the base branch.
  • Testing

  • I have run it locally and tested the changes extensively: comments only.

  • All CI jobs are green or I have provided justification why they aren't.
  • Performance

  • I have provided justification why performance and/or quality metrics have changed or why changes are not expected: comments only.
  • </details>

    🤖 Generated with Claude Code

    Diff: 215 lines (+161 / -54) across 2 files Reviewer: david-cortes-intel Review duration: 12m
    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 · 215 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.322
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #4034"
    general weight: 0.35
    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.6% (MEDIUM) · Higher = larger blast radius
    36.6%
    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%