← Back to Pull requests

`<charconv>`: Make `_Digit_from_byte` function-local #6440

Closed
unknown closed this pull request without merging on Sep 16, 2026 18:23 UTC
View on GitHub
unknown unknown commented on Sep 09, 2026 08:06 UTC
Author

<!-- Before submitting a pull request, please ensure that:

Any AI-generated code has been clearly disclosed in your PR description.
We strongly discourage AI-generated changes to product code because the STL
is a highly unusual codebase with complex correctness and performance
requirements imposed by the Standard, and highly unusual code patterns that
don't look like typical codebases. Our intensive code review process
(to avoid bugs) is intentionally a bottleneck, so we ask that you be
considerate of the time and effort that we'll need to spend, by starting
with changes that you fully understand. Test code has weaker requirements,
so AI-generated changes for tests can be acceptable if properly disclosed.

Your PR description explains your intent behind the changes.
We discourage AI-generated PR descriptions because we can read the changes,
and we have access to the same AI tools that you have, so we can get
an AI-generated summary if we want.

Identifiers in product code changes are properly _Ugly as per
https://eel.is/c++draft/lex.name#3.1 or there are no product code changes.

These changes introduce no known ABI breaks (adding members, renaming
members, adding virtual functions, changing whether a type is an aggregate
or trivially copyable, etc.).

Your changes are written from scratch using only this repository, the C++
Working Draft (including any cited standards), other WG21 papers (excluding
reference implementations outside of proposed standard wording), and LWG
issues as reference material. If your changes are derived from a project
that's already listed in NOTICE.txt, that's fine, but please mention it.
If your changes are derived from any other project, you
must* mention it
here, so we can determine whether the license is compatible and what else
needs to be done.
-->
Fixes: #6365

Diff: 239 lines (+179 / -60) across 2 files Reviewer: frederick-vs-ja Review duration: 10697m
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 239 lines diff across 2 files
0.42
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.328
Shallow Review Depth shallow_review_depth
0.289
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #6440"
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: 42.2% (MEDIUM) · Higher = larger blast radius
42.2%
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: 16.7% · Safe to merge
16.7%
Repository