← Back to Pull requests

perlintern: Add symbol visibility info; minor edits #24992

Merged
khwilliamson merged 1 files (149 lines) on Oct 26, 2026 15:13 UTC
View on GitHub
khwilliamson khwilliamson commented on Oct 22, 2026 10:28 UTC
Author

The visibility of some symbols listed in perlintern is restricted. This
notes the visibility of all symbols in the pod.

  • I could be persuaded to write a perldelta entry
  • Diff: 149 lines (+137 / -12) across 1 files Reviewer: tonycoz Review duration: 6044m
    All Vouch review confidence checks passed
    Residual risk 0.03 = Change Risk (0.33) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.33 · 149 lines diff across 1 files
    0.33
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.89 · 3 substantive comment(s)
    0.89
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    90%
    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.300
    Real PR Conversation Timeline
    4 items
    tonycoz tonycoz commented on code on Oct 26, 2026 01:01 UTC
    Code Review
    autodoc.pl:1
    @@ -3126,9 +3126,9 @@ ($destpod)
     |
     |This file contains most of the documentation of the perl public API, as
     |generated by F<embed.pl>.  Specifically, it is a listing of functions,
    -|macros, flags, and variables that may be used by extension writers.  Besides
    -|L<perlintern> and F<$config_h>, some items are listed here as being actually
    -|documented in another pod.
    +|macros, flags, typedefs, structs, unions, enums, and variables that may be
    +|used by extension writers.  Besides L<perlintern> and F<$config_h>, some
    +items are listed here as being actually documented in another pod.

    I don't think it has an effect, but the leading | is missing, though it's present for other lines with no pod syntax.

    tonycoz tonycoz commented on Oct 26, 2026 01:03 UTC
    Contributor

    Looks find otherwise.

    khwilliamson khwilliamson commented on code on Oct 26, 2026 11:21 UTC
    Code Review
    autodoc.pl:1
    @@ -3126,9 +3126,9 @@ ($destpod)
     |
     |This file contains most of the documentation of the perl public API, as
     |generated by F<embed.pl>.  Specifically, it is a listing of functions,
    -|macros, flags, and variables that may be used by extension writers.  Besides
    -|L<perlintern> and F<$config_h>, some items are listed here as being actually
    -|documented in another pod.
    +|macros, flags, typedefs, structs, unions, enums, and variables that may be
    +|used by extension writers.  Besides L<perlintern> and F<$config_h>, some
    +items are listed here as being actually documented in another pod.

    Good catch. Here's the current comment in the program about the pipe symbols

    Leading '|' is to hide these lines from pod checkers. khw is unsure if this is still needed.

    Reviewers
    Assignees
    khwilliamson khwilliamson
    Labels
    risk: low confidence: 90.6% 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: 33.0% (LOW) · Higher = larger blast radius
    33.0%
    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: 90.6% · Lower = rushed or shallow review
    90.6%
    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: 3.1% · Safe to merge
    3.1%
    Repository