← Back to Pull requests

Check private create_library_to_link arguments once #821

Open
dzbarsky opened this pull request with 21 lines diff across 1 files
View on GitHub
dzbarsky dzbarsky commented on Jul 31, 2026 19:00 UTC
Author

Combine the five create_library_to_link private-argument predicates into one existing-position check_private_api invocation. Preserve all allowlisted arguments, _UNBOUND normalization, conditional forwarding, and caller-stack authorization behavior while avoiding up to four duplicate Java calls.

Validation: 51 remote C++ common, C++ import, and ThinLTO tests passed.

Diff: 21 lines (+9 / -12) across 1 files Reviewer: lilygorsheneva Review duration: 124402m
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.28) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.28 · 21 lines diff across 1 files
0.28
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 1 substantive comment(s)
0.00
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.350
Diff Size diff_size
0.185
Real PR Conversation Timeline
3 items
lilygorsheneva lilygorsheneva approved these changes on Jul 31, 2026 20:14 UTC
Approved Reviewer

Approved these changes.

lilygorsheneva lilygorsheneva approved these changes on Sep 07, 2026 16:06 UTC
Approved Reviewer

Approved these changes.

Assignees
dzbarsky dzbarsky
Labels
risk: low confidence: 46.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: 28.5% (LOW) · Higher = larger blast radius
28.5%
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.5% · Lower = rushed or shallow review
46.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: 15.2% · Safe to merge
15.2%