sync-with-cpan: Include semantic-versioning 'v' in version pattern #24917
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.31) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 105 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.279
Real PR Conversation Timeline
1 comments
"Review active on #24917"
general
weight: 0.35
tonycoz
In 1c90da2f77 (committed Mar 26 2024), a regex pattern for recognizing distribution version numbers was introduced with the intention of accommodating semantic versioning when synching "cpan-first" libraries into the core distribution. The one applicable case to date is that of the podlators distribution, whose versioning looks like:
v6.1.0
The regex pattern was not capturing that initial 'v'. As a consequence, Porting/sync-with-cpan was incorrectly composing a new value for podlator's DISTRIBUTION element in %Maintainers::Modules that looked like:
vv6.1.0
... when the new value should simply have been:
v6.1.1
This patch appears to DTRT.
Fixes GH #24912
-------------------------------------------------------------------------------